WAWebProtobufsGroupHistory.pb.go 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v3.21.12
  5. // source: waGroupHistory/WAWebProtobufsGroupHistory.proto
  6. package waGroupHistory
  7. import (
  8. reflect "reflect"
  9. sync "sync"
  10. unsafe "unsafe"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. waCommon "git.bobomao.top/joey/testwh/proto/waCommon"
  14. waWeb "git.bobomao.top/joey/testwh/proto/waWeb"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type GroupHistory struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. Messages []*waWeb.WebMessageInfo `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
  25. AssociatedMessageLists []*AssociatedMessageList `protobuf:"bytes,2,rep,name=associatedMessageLists" json:"associatedMessageLists,omitempty"`
  26. CommentMessages []*waWeb.WebMessageInfo `protobuf:"bytes,3,rep,name=commentMessages" json:"commentMessages,omitempty"`
  27. unknownFields protoimpl.UnknownFields
  28. sizeCache protoimpl.SizeCache
  29. }
  30. func (x *GroupHistory) Reset() {
  31. *x = GroupHistory{}
  32. mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. func (x *GroupHistory) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*GroupHistory) ProtoMessage() {}
  40. func (x *GroupHistory) ProtoReflect() protoreflect.Message {
  41. mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[0]
  42. if x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use GroupHistory.ProtoReflect.Descriptor instead.
  52. func (*GroupHistory) Descriptor() ([]byte, []int) {
  53. return file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *GroupHistory) GetMessages() []*waWeb.WebMessageInfo {
  56. if x != nil {
  57. return x.Messages
  58. }
  59. return nil
  60. }
  61. func (x *GroupHistory) GetAssociatedMessageLists() []*AssociatedMessageList {
  62. if x != nil {
  63. return x.AssociatedMessageLists
  64. }
  65. return nil
  66. }
  67. func (x *GroupHistory) GetCommentMessages() []*waWeb.WebMessageInfo {
  68. if x != nil {
  69. return x.CommentMessages
  70. }
  71. return nil
  72. }
  73. type AssociatedMessageList struct {
  74. state protoimpl.MessageState `protogen:"open.v1"`
  75. Messages []*waWeb.WebMessageInfo `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
  76. ParentMessage *waCommon.MessageKey `protobuf:"bytes,2,opt,name=parentMessage" json:"parentMessage,omitempty"`
  77. AssociationType *int32 `protobuf:"varint,3,opt,name=associationType" json:"associationType,omitempty"`
  78. unknownFields protoimpl.UnknownFields
  79. sizeCache protoimpl.SizeCache
  80. }
  81. func (x *AssociatedMessageList) Reset() {
  82. *x = AssociatedMessageList{}
  83. mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[1]
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. ms.StoreMessageInfo(mi)
  86. }
  87. func (x *AssociatedMessageList) String() string {
  88. return protoimpl.X.MessageStringOf(x)
  89. }
  90. func (*AssociatedMessageList) ProtoMessage() {}
  91. func (x *AssociatedMessageList) ProtoReflect() protoreflect.Message {
  92. mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[1]
  93. if x != nil {
  94. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  95. if ms.LoadMessageInfo() == nil {
  96. ms.StoreMessageInfo(mi)
  97. }
  98. return ms
  99. }
  100. return mi.MessageOf(x)
  101. }
  102. // Deprecated: Use AssociatedMessageList.ProtoReflect.Descriptor instead.
  103. func (*AssociatedMessageList) Descriptor() ([]byte, []int) {
  104. return file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP(), []int{1}
  105. }
  106. func (x *AssociatedMessageList) GetMessages() []*waWeb.WebMessageInfo {
  107. if x != nil {
  108. return x.Messages
  109. }
  110. return nil
  111. }
  112. func (x *AssociatedMessageList) GetParentMessage() *waCommon.MessageKey {
  113. if x != nil {
  114. return x.ParentMessage
  115. }
  116. return nil
  117. }
  118. func (x *AssociatedMessageList) GetAssociationType() int32 {
  119. if x != nil && x.AssociationType != nil {
  120. return *x.AssociationType
  121. }
  122. return 0
  123. }
  124. var File_waGroupHistory_WAWebProtobufsGroupHistory_proto protoreflect.FileDescriptor
  125. const file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc = "" +
  126. "\n" +
  127. "/waGroupHistory/WAWebProtobufsGroupHistory.proto\x12\x1aWAWebProtobufsGroupHistory\x1a\x17waCommon/WACommon.proto\x1a\x1dwaWeb/WAWebProtobufsWeb.proto\"\x85\x02\n" +
  128. "\fGroupHistory\x12=\n" +
  129. "\bmessages\x18\x01 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\bmessages\x12i\n" +
  130. "\x16associatedMessageLists\x18\x02 \x03(\v21.WAWebProtobufsGroupHistory.AssociatedMessageListR\x16associatedMessageLists\x12K\n" +
  131. "\x0fcommentMessages\x18\x03 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\x0fcommentMessages\"\xbc\x01\n" +
  132. "\x15AssociatedMessageList\x12=\n" +
  133. "\bmessages\x18\x01 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\bmessages\x12:\n" +
  134. "\rparentMessage\x18\x02 \x01(\v2\x14.WACommon.MessageKeyR\rparentMessage\x12(\n" +
  135. "\x0fassociationType\x18\x03 \x01(\x05R\x0fassociationTypeB*Z(git.bobomao.top/joey/testwh/proto/waGroupHistory"
  136. var (
  137. file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescOnce sync.Once
  138. file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescData []byte
  139. )
  140. func file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP() []byte {
  141. file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescOnce.Do(func() {
  142. file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc), len(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc)))
  143. })
  144. return file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescData
  145. }
  146. var file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  147. var file_waGroupHistory_WAWebProtobufsGroupHistory_proto_goTypes = []any{
  148. (*GroupHistory)(nil), // 0: WAWebProtobufsGroupHistory.GroupHistory
  149. (*AssociatedMessageList)(nil), // 1: WAWebProtobufsGroupHistory.AssociatedMessageList
  150. (*waWeb.WebMessageInfo)(nil), // 2: WAWebProtobufsWeb.WebMessageInfo
  151. (*waCommon.MessageKey)(nil), // 3: WACommon.MessageKey
  152. }
  153. var file_waGroupHistory_WAWebProtobufsGroupHistory_proto_depIdxs = []int32{
  154. 2, // 0: WAWebProtobufsGroupHistory.GroupHistory.messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
  155. 1, // 1: WAWebProtobufsGroupHistory.GroupHistory.associatedMessageLists:type_name -> WAWebProtobufsGroupHistory.AssociatedMessageList
  156. 2, // 2: WAWebProtobufsGroupHistory.GroupHistory.commentMessages:type_name -> WAWebProtobufsWeb.WebMessageInfo
  157. 2, // 3: WAWebProtobufsGroupHistory.AssociatedMessageList.messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
  158. 3, // 4: WAWebProtobufsGroupHistory.AssociatedMessageList.parentMessage:type_name -> WACommon.MessageKey
  159. 5, // [5:5] is the sub-list for method output_type
  160. 5, // [5:5] is the sub-list for method input_type
  161. 5, // [5:5] is the sub-list for extension type_name
  162. 5, // [5:5] is the sub-list for extension extendee
  163. 0, // [0:5] is the sub-list for field type_name
  164. }
  165. func init() { file_waGroupHistory_WAWebProtobufsGroupHistory_proto_init() }
  166. func file_waGroupHistory_WAWebProtobufsGroupHistory_proto_init() {
  167. if File_waGroupHistory_WAWebProtobufsGroupHistory_proto != nil {
  168. return
  169. }
  170. type x struct{}
  171. out := protoimpl.TypeBuilder{
  172. File: protoimpl.DescBuilder{
  173. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  174. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc), len(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc)),
  175. NumEnums: 0,
  176. NumMessages: 2,
  177. NumExtensions: 0,
  178. NumServices: 0,
  179. },
  180. GoTypes: file_waGroupHistory_WAWebProtobufsGroupHistory_proto_goTypes,
  181. DependencyIndexes: file_waGroupHistory_WAWebProtobufsGroupHistory_proto_depIdxs,
  182. MessageInfos: file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes,
  183. }.Build()
  184. File_waGroupHistory_WAWebProtobufsGroupHistory_proto = out.File
  185. file_waGroupHistory_WAWebProtobufsGroupHistory_proto_goTypes = nil
  186. file_waGroupHistory_WAWebProtobufsGroupHistory_proto_depIdxs = nil
  187. }