WAWebProtobufLidMigrationSyncPayload.pb.go 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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: waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto
  6. package waLidMigrationSyncPayload
  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. )
  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 LIDMigrationMapping struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Pn *uint64 `protobuf:"varint,1,req,name=pn" json:"pn,omitempty"`
  23. AssignedLid *uint64 `protobuf:"varint,2,req,name=assignedLid" json:"assignedLid,omitempty"`
  24. LatestLid *uint64 `protobuf:"varint,3,opt,name=latestLid" json:"latestLid,omitempty"`
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *LIDMigrationMapping) Reset() {
  29. *x = LIDMigrationMapping{}
  30. mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *LIDMigrationMapping) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*LIDMigrationMapping) ProtoMessage() {}
  38. func (x *LIDMigrationMapping) ProtoReflect() protoreflect.Message {
  39. mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use LIDMigrationMapping.ProtoReflect.Descriptor instead.
  50. func (*LIDMigrationMapping) Descriptor() ([]byte, []int) {
  51. return file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *LIDMigrationMapping) GetPn() uint64 {
  54. if x != nil && x.Pn != nil {
  55. return *x.Pn
  56. }
  57. return 0
  58. }
  59. func (x *LIDMigrationMapping) GetAssignedLid() uint64 {
  60. if x != nil && x.AssignedLid != nil {
  61. return *x.AssignedLid
  62. }
  63. return 0
  64. }
  65. func (x *LIDMigrationMapping) GetLatestLid() uint64 {
  66. if x != nil && x.LatestLid != nil {
  67. return *x.LatestLid
  68. }
  69. return 0
  70. }
  71. type LIDMigrationMappingSyncPayload struct {
  72. state protoimpl.MessageState `protogen:"open.v1"`
  73. PnToLidMappings []*LIDMigrationMapping `protobuf:"bytes,1,rep,name=pnToLidMappings" json:"pnToLidMappings,omitempty"`
  74. ChatDbMigrationTimestamp *uint64 `protobuf:"varint,2,opt,name=chatDbMigrationTimestamp" json:"chatDbMigrationTimestamp,omitempty"`
  75. unknownFields protoimpl.UnknownFields
  76. sizeCache protoimpl.SizeCache
  77. }
  78. func (x *LIDMigrationMappingSyncPayload) Reset() {
  79. *x = LIDMigrationMappingSyncPayload{}
  80. mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[1]
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. ms.StoreMessageInfo(mi)
  83. }
  84. func (x *LIDMigrationMappingSyncPayload) String() string {
  85. return protoimpl.X.MessageStringOf(x)
  86. }
  87. func (*LIDMigrationMappingSyncPayload) ProtoMessage() {}
  88. func (x *LIDMigrationMappingSyncPayload) ProtoReflect() protoreflect.Message {
  89. mi := &file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes[1]
  90. if x != nil {
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. if ms.LoadMessageInfo() == nil {
  93. ms.StoreMessageInfo(mi)
  94. }
  95. return ms
  96. }
  97. return mi.MessageOf(x)
  98. }
  99. // Deprecated: Use LIDMigrationMappingSyncPayload.ProtoReflect.Descriptor instead.
  100. func (*LIDMigrationMappingSyncPayload) Descriptor() ([]byte, []int) {
  101. return file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescGZIP(), []int{1}
  102. }
  103. func (x *LIDMigrationMappingSyncPayload) GetPnToLidMappings() []*LIDMigrationMapping {
  104. if x != nil {
  105. return x.PnToLidMappings
  106. }
  107. return nil
  108. }
  109. func (x *LIDMigrationMappingSyncPayload) GetChatDbMigrationTimestamp() uint64 {
  110. if x != nil && x.ChatDbMigrationTimestamp != nil {
  111. return *x.ChatDbMigrationTimestamp
  112. }
  113. return 0
  114. }
  115. var File_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto protoreflect.FileDescriptor
  116. const file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc = "" +
  117. "\n" +
  118. "DwaLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto\x12$WAWebProtobufLidMigrationSyncPayload\"e\n" +
  119. "\x13LIDMigrationMapping\x12\x0e\n" +
  120. "\x02pn\x18\x01 \x02(\x04R\x02pn\x12 \n" +
  121. "\vassignedLid\x18\x02 \x02(\x04R\vassignedLid\x12\x1c\n" +
  122. "\tlatestLid\x18\x03 \x01(\x04R\tlatestLid\"\xc1\x01\n" +
  123. "\x1eLIDMigrationMappingSyncPayload\x12c\n" +
  124. "\x0fpnToLidMappings\x18\x01 \x03(\v29.WAWebProtobufLidMigrationSyncPayload.LIDMigrationMappingR\x0fpnToLidMappings\x12:\n" +
  125. "\x18chatDbMigrationTimestamp\x18\x02 \x01(\x04R\x18chatDbMigrationTimestampB5Z3git.bobomao.top/joey/testwh/proto/waLidMigrationSyncPayload"
  126. var (
  127. file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescOnce sync.Once
  128. file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescData []byte
  129. )
  130. func file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescGZIP() []byte {
  131. file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescOnce.Do(func() {
  132. file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc), len(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc)))
  133. })
  134. return file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDescData
  135. }
  136. var file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  137. var file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_goTypes = []any{
  138. (*LIDMigrationMapping)(nil), // 0: WAWebProtobufLidMigrationSyncPayload.LIDMigrationMapping
  139. (*LIDMigrationMappingSyncPayload)(nil), // 1: WAWebProtobufLidMigrationSyncPayload.LIDMigrationMappingSyncPayload
  140. }
  141. var file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_depIdxs = []int32{
  142. 0, // 0: WAWebProtobufLidMigrationSyncPayload.LIDMigrationMappingSyncPayload.pnToLidMappings:type_name -> WAWebProtobufLidMigrationSyncPayload.LIDMigrationMapping
  143. 1, // [1:1] is the sub-list for method output_type
  144. 1, // [1:1] is the sub-list for method input_type
  145. 1, // [1:1] is the sub-list for extension type_name
  146. 1, // [1:1] is the sub-list for extension extendee
  147. 0, // [0:1] is the sub-list for field type_name
  148. }
  149. func init() { file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_init() }
  150. func file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_init() {
  151. if File_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto != nil {
  152. return
  153. }
  154. type x struct{}
  155. out := protoimpl.TypeBuilder{
  156. File: protoimpl.DescBuilder{
  157. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  158. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc), len(file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_rawDesc)),
  159. NumEnums: 0,
  160. NumMessages: 2,
  161. NumExtensions: 0,
  162. NumServices: 0,
  163. },
  164. GoTypes: file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_goTypes,
  165. DependencyIndexes: file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_depIdxs,
  166. MessageInfos: file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_msgTypes,
  167. }.Build()
  168. File_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto = out.File
  169. file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_goTypes = nil
  170. file_waLidMigrationSyncPayload_WAWebProtobufLidMigrationSyncPayload_proto_depIdxs = nil
  171. }