WAArmadilloICDC.pb.go 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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: waArmadilloICDC/WAArmadilloICDC.proto
  6. package waArmadilloICDC
  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 ICDCIdentityList struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Seq *int32 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
  23. Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
  24. Devices [][]byte `protobuf:"bytes,3,rep,name=devices" json:"devices,omitempty"`
  25. SigningDeviceIndex *int32 `protobuf:"varint,4,opt,name=signingDeviceIndex" json:"signingDeviceIndex,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *ICDCIdentityList) Reset() {
  30. *x = ICDCIdentityList{}
  31. mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *ICDCIdentityList) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*ICDCIdentityList) ProtoMessage() {}
  39. func (x *ICDCIdentityList) ProtoReflect() protoreflect.Message {
  40. mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[0]
  41. if x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use ICDCIdentityList.ProtoReflect.Descriptor instead.
  51. func (*ICDCIdentityList) Descriptor() ([]byte, []int) {
  52. return file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *ICDCIdentityList) GetSeq() int32 {
  55. if x != nil && x.Seq != nil {
  56. return *x.Seq
  57. }
  58. return 0
  59. }
  60. func (x *ICDCIdentityList) GetTimestamp() int64 {
  61. if x != nil && x.Timestamp != nil {
  62. return *x.Timestamp
  63. }
  64. return 0
  65. }
  66. func (x *ICDCIdentityList) GetDevices() [][]byte {
  67. if x != nil {
  68. return x.Devices
  69. }
  70. return nil
  71. }
  72. func (x *ICDCIdentityList) GetSigningDeviceIndex() int32 {
  73. if x != nil && x.SigningDeviceIndex != nil {
  74. return *x.SigningDeviceIndex
  75. }
  76. return 0
  77. }
  78. type SignedICDCIdentityList struct {
  79. state protoimpl.MessageState `protogen:"open.v1"`
  80. Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
  81. Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
  82. unknownFields protoimpl.UnknownFields
  83. sizeCache protoimpl.SizeCache
  84. }
  85. func (x *SignedICDCIdentityList) Reset() {
  86. *x = SignedICDCIdentityList{}
  87. mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[1]
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. ms.StoreMessageInfo(mi)
  90. }
  91. func (x *SignedICDCIdentityList) String() string {
  92. return protoimpl.X.MessageStringOf(x)
  93. }
  94. func (*SignedICDCIdentityList) ProtoMessage() {}
  95. func (x *SignedICDCIdentityList) ProtoReflect() protoreflect.Message {
  96. mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[1]
  97. if x != nil {
  98. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  99. if ms.LoadMessageInfo() == nil {
  100. ms.StoreMessageInfo(mi)
  101. }
  102. return ms
  103. }
  104. return mi.MessageOf(x)
  105. }
  106. // Deprecated: Use SignedICDCIdentityList.ProtoReflect.Descriptor instead.
  107. func (*SignedICDCIdentityList) Descriptor() ([]byte, []int) {
  108. return file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescGZIP(), []int{1}
  109. }
  110. func (x *SignedICDCIdentityList) GetDetails() []byte {
  111. if x != nil {
  112. return x.Details
  113. }
  114. return nil
  115. }
  116. func (x *SignedICDCIdentityList) GetSignature() []byte {
  117. if x != nil {
  118. return x.Signature
  119. }
  120. return nil
  121. }
  122. var File_waArmadilloICDC_WAArmadilloICDC_proto protoreflect.FileDescriptor
  123. const file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc = "" +
  124. "\n" +
  125. "%waArmadilloICDC/WAArmadilloICDC.proto\x12\x0fWAArmadilloICDC\"\x8c\x01\n" +
  126. "\x10ICDCIdentityList\x12\x10\n" +
  127. "\x03seq\x18\x01 \x01(\x05R\x03seq\x12\x1c\n" +
  128. "\ttimestamp\x18\x02 \x01(\x03R\ttimestamp\x12\x18\n" +
  129. "\adevices\x18\x03 \x03(\fR\adevices\x12.\n" +
  130. "\x12signingDeviceIndex\x18\x04 \x01(\x05R\x12signingDeviceIndex\"P\n" +
  131. "\x16SignedICDCIdentityList\x12\x18\n" +
  132. "\adetails\x18\x01 \x01(\fR\adetails\x12\x1c\n" +
  133. "\tsignature\x18\x02 \x01(\fR\tsignatureB+Z)go.mau.fi/whatsmeow/proto/waArmadilloICDC"
  134. var (
  135. file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescOnce sync.Once
  136. file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData []byte
  137. )
  138. func file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescGZIP() []byte {
  139. file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescOnce.Do(func() {
  140. file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc), len(file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc)))
  141. })
  142. return file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData
  143. }
  144. var file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  145. var file_waArmadilloICDC_WAArmadilloICDC_proto_goTypes = []any{
  146. (*ICDCIdentityList)(nil), // 0: WAArmadilloICDC.ICDCIdentityList
  147. (*SignedICDCIdentityList)(nil), // 1: WAArmadilloICDC.SignedICDCIdentityList
  148. }
  149. var file_waArmadilloICDC_WAArmadilloICDC_proto_depIdxs = []int32{
  150. 0, // [0:0] is the sub-list for method output_type
  151. 0, // [0:0] is the sub-list for method input_type
  152. 0, // [0:0] is the sub-list for extension type_name
  153. 0, // [0:0] is the sub-list for extension extendee
  154. 0, // [0:0] is the sub-list for field type_name
  155. }
  156. func init() { file_waArmadilloICDC_WAArmadilloICDC_proto_init() }
  157. func file_waArmadilloICDC_WAArmadilloICDC_proto_init() {
  158. if File_waArmadilloICDC_WAArmadilloICDC_proto != nil {
  159. return
  160. }
  161. type x struct{}
  162. out := protoimpl.TypeBuilder{
  163. File: protoimpl.DescBuilder{
  164. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  165. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc), len(file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc)),
  166. NumEnums: 0,
  167. NumMessages: 2,
  168. NumExtensions: 0,
  169. NumServices: 0,
  170. },
  171. GoTypes: file_waArmadilloICDC_WAArmadilloICDC_proto_goTypes,
  172. DependencyIndexes: file_waArmadilloICDC_WAArmadilloICDC_proto_depIdxs,
  173. MessageInfos: file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes,
  174. }.Build()
  175. File_waArmadilloICDC_WAArmadilloICDC_proto = out.File
  176. file_waArmadilloICDC_WAArmadilloICDC_proto_goTypes = nil
  177. file_waArmadilloICDC_WAArmadilloICDC_proto_depIdxs = nil
  178. }