WSnsCommentTask.pb.go 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WSnsCommentTask.proto
  6. package wecom
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type SnsCommentTaskMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. SnsId int64 `protobuf:"varint,2,opt,name=SnsId,proto3" json:"SnsId,omitempty"` // 朋友圈id
  24. PostId string `protobuf:"bytes,3,opt,name=PostId,proto3" json:"PostId,omitempty"` // 朋友圈postid
  25. Comment string `protobuf:"bytes,4,opt,name=Comment,proto3" json:"Comment,omitempty"` // 评论
  26. RefWxId int64 `protobuf:"varint,5,opt,name=RefWxId,proto3" json:"RefWxId,omitempty"` // 回复的好友id
  27. RefCommentId int64 `protobuf:"varint,6,opt,name=RefCommentId,proto3" json:"RefCommentId,omitempty"` // 回复的评论id
  28. TaskId int64 `protobuf:"varint,7,opt,name=TaskId,proto3" json:"TaskId,omitempty"` //任务id 在TaskResult中回传
  29. unknownFields protoimpl.UnknownFields
  30. sizeCache protoimpl.SizeCache
  31. }
  32. func (x *SnsCommentTaskMessage) Reset() {
  33. *x = SnsCommentTaskMessage{}
  34. mi := &file_wecom_WSnsCommentTask_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. func (x *SnsCommentTaskMessage) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*SnsCommentTaskMessage) ProtoMessage() {}
  42. func (x *SnsCommentTaskMessage) ProtoReflect() protoreflect.Message {
  43. mi := &file_wecom_WSnsCommentTask_proto_msgTypes[0]
  44. if x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use SnsCommentTaskMessage.ProtoReflect.Descriptor instead.
  54. func (*SnsCommentTaskMessage) Descriptor() ([]byte, []int) {
  55. return file_wecom_WSnsCommentTask_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *SnsCommentTaskMessage) GetWxId() int64 {
  58. if x != nil {
  59. return x.WxId
  60. }
  61. return 0
  62. }
  63. func (x *SnsCommentTaskMessage) GetSnsId() int64 {
  64. if x != nil {
  65. return x.SnsId
  66. }
  67. return 0
  68. }
  69. func (x *SnsCommentTaskMessage) GetPostId() string {
  70. if x != nil {
  71. return x.PostId
  72. }
  73. return ""
  74. }
  75. func (x *SnsCommentTaskMessage) GetComment() string {
  76. if x != nil {
  77. return x.Comment
  78. }
  79. return ""
  80. }
  81. func (x *SnsCommentTaskMessage) GetRefWxId() int64 {
  82. if x != nil {
  83. return x.RefWxId
  84. }
  85. return 0
  86. }
  87. func (x *SnsCommentTaskMessage) GetRefCommentId() int64 {
  88. if x != nil {
  89. return x.RefCommentId
  90. }
  91. return 0
  92. }
  93. func (x *SnsCommentTaskMessage) GetTaskId() int64 {
  94. if x != nil {
  95. return x.TaskId
  96. }
  97. return 0
  98. }
  99. var File_wecom_WSnsCommentTask_proto protoreflect.FileDescriptor
  100. const file_wecom_WSnsCommentTask_proto_rawDesc = "" +
  101. "\n" +
  102. "\x1bwecom/WSnsCommentTask.proto\x12\x10Im.Scrm.Ww.Proto\"\xc9\x01\n" +
  103. "\x15SnsCommentTaskMessage\x12\x12\n" +
  104. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x14\n" +
  105. "\x05SnsId\x18\x02 \x01(\x03R\x05SnsId\x12\x16\n" +
  106. "\x06PostId\x18\x03 \x01(\tR\x06PostId\x12\x18\n" +
  107. "\aComment\x18\x04 \x01(\tR\aComment\x12\x18\n" +
  108. "\aRefWxId\x18\x05 \x01(\x03R\aRefWxId\x12\"\n" +
  109. "\fRefCommentId\x18\x06 \x01(\x03R\fRefCommentId\x12\x16\n" +
  110. "\x06TaskId\x18\a \x01(\x03R\x06TaskIdB\x13Z\x11./workphone/wecomb\x06proto3"
  111. var (
  112. file_wecom_WSnsCommentTask_proto_rawDescOnce sync.Once
  113. file_wecom_WSnsCommentTask_proto_rawDescData []byte
  114. )
  115. func file_wecom_WSnsCommentTask_proto_rawDescGZIP() []byte {
  116. file_wecom_WSnsCommentTask_proto_rawDescOnce.Do(func() {
  117. file_wecom_WSnsCommentTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WSnsCommentTask_proto_rawDesc), len(file_wecom_WSnsCommentTask_proto_rawDesc)))
  118. })
  119. return file_wecom_WSnsCommentTask_proto_rawDescData
  120. }
  121. var file_wecom_WSnsCommentTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  122. var file_wecom_WSnsCommentTask_proto_goTypes = []any{
  123. (*SnsCommentTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.SnsCommentTaskMessage
  124. }
  125. var file_wecom_WSnsCommentTask_proto_depIdxs = []int32{
  126. 0, // [0:0] is the sub-list for method output_type
  127. 0, // [0:0] is the sub-list for method input_type
  128. 0, // [0:0] is the sub-list for extension type_name
  129. 0, // [0:0] is the sub-list for extension extendee
  130. 0, // [0:0] is the sub-list for field type_name
  131. }
  132. func init() { file_wecom_WSnsCommentTask_proto_init() }
  133. func file_wecom_WSnsCommentTask_proto_init() {
  134. if File_wecom_WSnsCommentTask_proto != nil {
  135. return
  136. }
  137. type x struct{}
  138. out := protoimpl.TypeBuilder{
  139. File: protoimpl.DescBuilder{
  140. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  141. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WSnsCommentTask_proto_rawDesc), len(file_wecom_WSnsCommentTask_proto_rawDesc)),
  142. NumEnums: 0,
  143. NumMessages: 1,
  144. NumExtensions: 0,
  145. NumServices: 0,
  146. },
  147. GoTypes: file_wecom_WSnsCommentTask_proto_goTypes,
  148. DependencyIndexes: file_wecom_WSnsCommentTask_proto_depIdxs,
  149. MessageInfos: file_wecom_WSnsCommentTask_proto_msgTypes,
  150. }.Build()
  151. File_wecom_WSnsCommentTask_proto = out.File
  152. file_wecom_WSnsCommentTask_proto_goTypes = nil
  153. file_wecom_WSnsCommentTask_proto_depIdxs = nil
  154. }