WSnsMsgNotice.pb.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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/WSnsMsgNotice.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 SnsMsgNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  23. Type int32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"` // 类型:1 评论,2 点赞
  24. SnsId int64 `protobuf:"varint,3,opt,name=SnsId,proto3" json:"SnsId,omitempty"`
  25. FriendId int64 `protobuf:"varint,4,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 评论人的微信号
  26. Content string `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"` // 评论内容
  27. CommentId int64 `protobuf:"varint,6,opt,name=CommentId,proto3" json:"CommentId,omitempty"` // 微信本地数据库的id
  28. ReplyCommentId int64 `protobuf:"varint,7,opt,name=ReplyCommentId,proto3" json:"ReplyCommentId,omitempty"` // 回复的微信本地数据库的id
  29. ReplyWxId int64 `protobuf:"varint,8,opt,name=ReplyWxId,proto3" json:"ReplyWxId,omitempty"` // 评论对象的微信号
  30. Time int32 `protobuf:"varint,9,opt,name=Time,proto3" json:"Time,omitempty"` // 评论时间
  31. PostId string `protobuf:"bytes,10,opt,name=PostId,proto3" json:"PostId,omitempty"` // sns postid
  32. unknownFields protoimpl.UnknownFields
  33. sizeCache protoimpl.SizeCache
  34. }
  35. func (x *SnsMsgNoticeMessage) Reset() {
  36. *x = SnsMsgNoticeMessage{}
  37. mi := &file_wecom_WSnsMsgNotice_proto_msgTypes[0]
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. ms.StoreMessageInfo(mi)
  40. }
  41. func (x *SnsMsgNoticeMessage) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*SnsMsgNoticeMessage) ProtoMessage() {}
  45. func (x *SnsMsgNoticeMessage) ProtoReflect() protoreflect.Message {
  46. mi := &file_wecom_WSnsMsgNotice_proto_msgTypes[0]
  47. if x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use SnsMsgNoticeMessage.ProtoReflect.Descriptor instead.
  57. func (*SnsMsgNoticeMessage) Descriptor() ([]byte, []int) {
  58. return file_wecom_WSnsMsgNotice_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *SnsMsgNoticeMessage) GetWxId() int64 {
  61. if x != nil {
  62. return x.WxId
  63. }
  64. return 0
  65. }
  66. func (x *SnsMsgNoticeMessage) GetType() int32 {
  67. if x != nil {
  68. return x.Type
  69. }
  70. return 0
  71. }
  72. func (x *SnsMsgNoticeMessage) GetSnsId() int64 {
  73. if x != nil {
  74. return x.SnsId
  75. }
  76. return 0
  77. }
  78. func (x *SnsMsgNoticeMessage) GetFriendId() int64 {
  79. if x != nil {
  80. return x.FriendId
  81. }
  82. return 0
  83. }
  84. func (x *SnsMsgNoticeMessage) GetContent() string {
  85. if x != nil {
  86. return x.Content
  87. }
  88. return ""
  89. }
  90. func (x *SnsMsgNoticeMessage) GetCommentId() int64 {
  91. if x != nil {
  92. return x.CommentId
  93. }
  94. return 0
  95. }
  96. func (x *SnsMsgNoticeMessage) GetReplyCommentId() int64 {
  97. if x != nil {
  98. return x.ReplyCommentId
  99. }
  100. return 0
  101. }
  102. func (x *SnsMsgNoticeMessage) GetReplyWxId() int64 {
  103. if x != nil {
  104. return x.ReplyWxId
  105. }
  106. return 0
  107. }
  108. func (x *SnsMsgNoticeMessage) GetTime() int32 {
  109. if x != nil {
  110. return x.Time
  111. }
  112. return 0
  113. }
  114. func (x *SnsMsgNoticeMessage) GetPostId() string {
  115. if x != nil {
  116. return x.PostId
  117. }
  118. return ""
  119. }
  120. var File_wecom_WSnsMsgNotice_proto protoreflect.FileDescriptor
  121. const file_wecom_WSnsMsgNotice_proto_rawDesc = "" +
  122. "\n" +
  123. "\x19wecom/WSnsMsgNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\x99\x02\n" +
  124. "\x13SnsMsgNoticeMessage\x12\x12\n" +
  125. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x12\n" +
  126. "\x04Type\x18\x02 \x01(\x05R\x04Type\x12\x14\n" +
  127. "\x05SnsId\x18\x03 \x01(\x03R\x05SnsId\x12\x1a\n" +
  128. "\bFriendId\x18\x04 \x01(\x03R\bFriendId\x12\x18\n" +
  129. "\aContent\x18\x05 \x01(\tR\aContent\x12\x1c\n" +
  130. "\tCommentId\x18\x06 \x01(\x03R\tCommentId\x12&\n" +
  131. "\x0eReplyCommentId\x18\a \x01(\x03R\x0eReplyCommentId\x12\x1c\n" +
  132. "\tReplyWxId\x18\b \x01(\x03R\tReplyWxId\x12\x12\n" +
  133. "\x04Time\x18\t \x01(\x05R\x04Time\x12\x16\n" +
  134. "\x06PostId\x18\n" +
  135. " \x01(\tR\x06PostIdB\x13Z\x11./workphone/wecomb\x06proto3"
  136. var (
  137. file_wecom_WSnsMsgNotice_proto_rawDescOnce sync.Once
  138. file_wecom_WSnsMsgNotice_proto_rawDescData []byte
  139. )
  140. func file_wecom_WSnsMsgNotice_proto_rawDescGZIP() []byte {
  141. file_wecom_WSnsMsgNotice_proto_rawDescOnce.Do(func() {
  142. file_wecom_WSnsMsgNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WSnsMsgNotice_proto_rawDesc), len(file_wecom_WSnsMsgNotice_proto_rawDesc)))
  143. })
  144. return file_wecom_WSnsMsgNotice_proto_rawDescData
  145. }
  146. var file_wecom_WSnsMsgNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  147. var file_wecom_WSnsMsgNotice_proto_goTypes = []any{
  148. (*SnsMsgNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.SnsMsgNoticeMessage
  149. }
  150. var file_wecom_WSnsMsgNotice_proto_depIdxs = []int32{
  151. 0, // [0:0] is the sub-list for method output_type
  152. 0, // [0:0] is the sub-list for method input_type
  153. 0, // [0:0] is the sub-list for extension type_name
  154. 0, // [0:0] is the sub-list for extension extendee
  155. 0, // [0:0] is the sub-list for field type_name
  156. }
  157. func init() { file_wecom_WSnsMsgNotice_proto_init() }
  158. func file_wecom_WSnsMsgNotice_proto_init() {
  159. if File_wecom_WSnsMsgNotice_proto != nil {
  160. return
  161. }
  162. type x struct{}
  163. out := protoimpl.TypeBuilder{
  164. File: protoimpl.DescBuilder{
  165. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  166. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WSnsMsgNotice_proto_rawDesc), len(file_wecom_WSnsMsgNotice_proto_rawDesc)),
  167. NumEnums: 0,
  168. NumMessages: 1,
  169. NumExtensions: 0,
  170. NumServices: 0,
  171. },
  172. GoTypes: file_wecom_WSnsMsgNotice_proto_goTypes,
  173. DependencyIndexes: file_wecom_WSnsMsgNotice_proto_depIdxs,
  174. MessageInfos: file_wecom_WSnsMsgNotice_proto_msgTypes,
  175. }.Build()
  176. File_wecom_WSnsMsgNotice_proto = out.File
  177. file_wecom_WSnsMsgNotice_proto_goTypes = nil
  178. file_wecom_WSnsMsgNotice_proto_depIdxs = nil
  179. }