WACompanionReg.pb.go 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v6.31.1
  5. // source: waCompanionReg/WACompanionReg.proto
  6. package waCompanionReg
  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 DeviceProps_PlatformType int32
  21. const (
  22. DeviceProps_UNKNOWN DeviceProps_PlatformType = 0
  23. DeviceProps_CHROME DeviceProps_PlatformType = 1
  24. DeviceProps_FIREFOX DeviceProps_PlatformType = 2
  25. DeviceProps_IE DeviceProps_PlatformType = 3
  26. DeviceProps_OPERA DeviceProps_PlatformType = 4
  27. DeviceProps_SAFARI DeviceProps_PlatformType = 5
  28. DeviceProps_EDGE DeviceProps_PlatformType = 6
  29. DeviceProps_DESKTOP DeviceProps_PlatformType = 7
  30. DeviceProps_IPAD DeviceProps_PlatformType = 8
  31. DeviceProps_ANDROID_TABLET DeviceProps_PlatformType = 9
  32. DeviceProps_OHANA DeviceProps_PlatformType = 10
  33. DeviceProps_ALOHA DeviceProps_PlatformType = 11
  34. DeviceProps_CATALINA DeviceProps_PlatformType = 12
  35. DeviceProps_TCL_TV DeviceProps_PlatformType = 13
  36. DeviceProps_IOS_PHONE DeviceProps_PlatformType = 14
  37. DeviceProps_IOS_CATALYST DeviceProps_PlatformType = 15
  38. DeviceProps_ANDROID_PHONE DeviceProps_PlatformType = 16
  39. DeviceProps_ANDROID_AMBIGUOUS DeviceProps_PlatformType = 17
  40. DeviceProps_WEAR_OS DeviceProps_PlatformType = 18
  41. DeviceProps_AR_WRIST DeviceProps_PlatformType = 19
  42. DeviceProps_AR_DEVICE DeviceProps_PlatformType = 20
  43. DeviceProps_UWP DeviceProps_PlatformType = 21
  44. DeviceProps_VR DeviceProps_PlatformType = 22
  45. DeviceProps_CLOUD_API DeviceProps_PlatformType = 23
  46. DeviceProps_SMARTGLASSES DeviceProps_PlatformType = 24
  47. )
  48. // Enum value maps for DeviceProps_PlatformType.
  49. var (
  50. DeviceProps_PlatformType_name = map[int32]string{
  51. 0: "UNKNOWN",
  52. 1: "CHROME",
  53. 2: "FIREFOX",
  54. 3: "IE",
  55. 4: "OPERA",
  56. 5: "SAFARI",
  57. 6: "EDGE",
  58. 7: "DESKTOP",
  59. 8: "IPAD",
  60. 9: "ANDROID_TABLET",
  61. 10: "OHANA",
  62. 11: "ALOHA",
  63. 12: "CATALINA",
  64. 13: "TCL_TV",
  65. 14: "IOS_PHONE",
  66. 15: "IOS_CATALYST",
  67. 16: "ANDROID_PHONE",
  68. 17: "ANDROID_AMBIGUOUS",
  69. 18: "WEAR_OS",
  70. 19: "AR_WRIST",
  71. 20: "AR_DEVICE",
  72. 21: "UWP",
  73. 22: "VR",
  74. 23: "CLOUD_API",
  75. 24: "SMARTGLASSES",
  76. }
  77. DeviceProps_PlatformType_value = map[string]int32{
  78. "UNKNOWN": 0,
  79. "CHROME": 1,
  80. "FIREFOX": 2,
  81. "IE": 3,
  82. "OPERA": 4,
  83. "SAFARI": 5,
  84. "EDGE": 6,
  85. "DESKTOP": 7,
  86. "IPAD": 8,
  87. "ANDROID_TABLET": 9,
  88. "OHANA": 10,
  89. "ALOHA": 11,
  90. "CATALINA": 12,
  91. "TCL_TV": 13,
  92. "IOS_PHONE": 14,
  93. "IOS_CATALYST": 15,
  94. "ANDROID_PHONE": 16,
  95. "ANDROID_AMBIGUOUS": 17,
  96. "WEAR_OS": 18,
  97. "AR_WRIST": 19,
  98. "AR_DEVICE": 20,
  99. "UWP": 21,
  100. "VR": 22,
  101. "CLOUD_API": 23,
  102. "SMARTGLASSES": 24,
  103. }
  104. )
  105. func (x DeviceProps_PlatformType) Enum() *DeviceProps_PlatformType {
  106. p := new(DeviceProps_PlatformType)
  107. *p = x
  108. return p
  109. }
  110. func (x DeviceProps_PlatformType) String() string {
  111. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  112. }
  113. func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor {
  114. return file_waCompanionReg_WACompanionReg_proto_enumTypes[0].Descriptor()
  115. }
  116. func (DeviceProps_PlatformType) Type() protoreflect.EnumType {
  117. return &file_waCompanionReg_WACompanionReg_proto_enumTypes[0]
  118. }
  119. func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber {
  120. return protoreflect.EnumNumber(x)
  121. }
  122. // Deprecated: Do not use.
  123. func (x *DeviceProps_PlatformType) UnmarshalJSON(b []byte) error {
  124. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  125. if err != nil {
  126. return err
  127. }
  128. *x = DeviceProps_PlatformType(num)
  129. return nil
  130. }
  131. // Deprecated: Use DeviceProps_PlatformType.Descriptor instead.
  132. func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) {
  133. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{0, 0}
  134. }
  135. type DeviceProps struct {
  136. state protoimpl.MessageState `protogen:"open.v1"`
  137. Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"`
  138. Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
  139. PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=WACompanionReg.DeviceProps_PlatformType" json:"platformType,omitempty"`
  140. RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"`
  141. HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"`
  142. unknownFields protoimpl.UnknownFields
  143. sizeCache protoimpl.SizeCache
  144. }
  145. func (x *DeviceProps) Reset() {
  146. *x = DeviceProps{}
  147. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[0]
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. ms.StoreMessageInfo(mi)
  150. }
  151. func (x *DeviceProps) String() string {
  152. return protoimpl.X.MessageStringOf(x)
  153. }
  154. func (*DeviceProps) ProtoMessage() {}
  155. func (x *DeviceProps) ProtoReflect() protoreflect.Message {
  156. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[0]
  157. if x != nil {
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. if ms.LoadMessageInfo() == nil {
  160. ms.StoreMessageInfo(mi)
  161. }
  162. return ms
  163. }
  164. return mi.MessageOf(x)
  165. }
  166. // Deprecated: Use DeviceProps.ProtoReflect.Descriptor instead.
  167. func (*DeviceProps) Descriptor() ([]byte, []int) {
  168. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{0}
  169. }
  170. func (x *DeviceProps) GetOs() string {
  171. if x != nil && x.Os != nil {
  172. return *x.Os
  173. }
  174. return ""
  175. }
  176. func (x *DeviceProps) GetVersion() *DeviceProps_AppVersion {
  177. if x != nil {
  178. return x.Version
  179. }
  180. return nil
  181. }
  182. func (x *DeviceProps) GetPlatformType() DeviceProps_PlatformType {
  183. if x != nil && x.PlatformType != nil {
  184. return *x.PlatformType
  185. }
  186. return DeviceProps_UNKNOWN
  187. }
  188. func (x *DeviceProps) GetRequireFullSync() bool {
  189. if x != nil && x.RequireFullSync != nil {
  190. return *x.RequireFullSync
  191. }
  192. return false
  193. }
  194. func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig {
  195. if x != nil {
  196. return x.HistorySyncConfig
  197. }
  198. return nil
  199. }
  200. type CompanionEphemeralIdentity struct {
  201. state protoimpl.MessageState `protogen:"open.v1"`
  202. PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
  203. DeviceType *DeviceProps_PlatformType `protobuf:"varint,2,opt,name=deviceType,enum=WACompanionReg.DeviceProps_PlatformType" json:"deviceType,omitempty"`
  204. Ref *string `protobuf:"bytes,3,opt,name=ref" json:"ref,omitempty"`
  205. unknownFields protoimpl.UnknownFields
  206. sizeCache protoimpl.SizeCache
  207. }
  208. func (x *CompanionEphemeralIdentity) Reset() {
  209. *x = CompanionEphemeralIdentity{}
  210. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[1]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. func (x *CompanionEphemeralIdentity) String() string {
  215. return protoimpl.X.MessageStringOf(x)
  216. }
  217. func (*CompanionEphemeralIdentity) ProtoMessage() {}
  218. func (x *CompanionEphemeralIdentity) ProtoReflect() protoreflect.Message {
  219. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[1]
  220. if x != nil {
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. if ms.LoadMessageInfo() == nil {
  223. ms.StoreMessageInfo(mi)
  224. }
  225. return ms
  226. }
  227. return mi.MessageOf(x)
  228. }
  229. // Deprecated: Use CompanionEphemeralIdentity.ProtoReflect.Descriptor instead.
  230. func (*CompanionEphemeralIdentity) Descriptor() ([]byte, []int) {
  231. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{1}
  232. }
  233. func (x *CompanionEphemeralIdentity) GetPublicKey() []byte {
  234. if x != nil {
  235. return x.PublicKey
  236. }
  237. return nil
  238. }
  239. func (x *CompanionEphemeralIdentity) GetDeviceType() DeviceProps_PlatformType {
  240. if x != nil && x.DeviceType != nil {
  241. return *x.DeviceType
  242. }
  243. return DeviceProps_UNKNOWN
  244. }
  245. func (x *CompanionEphemeralIdentity) GetRef() string {
  246. if x != nil && x.Ref != nil {
  247. return *x.Ref
  248. }
  249. return ""
  250. }
  251. type CompanionCommitment struct {
  252. state protoimpl.MessageState `protogen:"open.v1"`
  253. Hash []byte `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
  254. unknownFields protoimpl.UnknownFields
  255. sizeCache protoimpl.SizeCache
  256. }
  257. func (x *CompanionCommitment) Reset() {
  258. *x = CompanionCommitment{}
  259. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[2]
  260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  261. ms.StoreMessageInfo(mi)
  262. }
  263. func (x *CompanionCommitment) String() string {
  264. return protoimpl.X.MessageStringOf(x)
  265. }
  266. func (*CompanionCommitment) ProtoMessage() {}
  267. func (x *CompanionCommitment) ProtoReflect() protoreflect.Message {
  268. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[2]
  269. if x != nil {
  270. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  271. if ms.LoadMessageInfo() == nil {
  272. ms.StoreMessageInfo(mi)
  273. }
  274. return ms
  275. }
  276. return mi.MessageOf(x)
  277. }
  278. // Deprecated: Use CompanionCommitment.ProtoReflect.Descriptor instead.
  279. func (*CompanionCommitment) Descriptor() ([]byte, []int) {
  280. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{2}
  281. }
  282. func (x *CompanionCommitment) GetHash() []byte {
  283. if x != nil {
  284. return x.Hash
  285. }
  286. return nil
  287. }
  288. type ProloguePayload struct {
  289. state protoimpl.MessageState `protogen:"open.v1"`
  290. CompanionEphemeralIdentity []byte `protobuf:"bytes,1,opt,name=companionEphemeralIdentity" json:"companionEphemeralIdentity,omitempty"`
  291. Commitment *CompanionCommitment `protobuf:"bytes,2,opt,name=commitment" json:"commitment,omitempty"`
  292. unknownFields protoimpl.UnknownFields
  293. sizeCache protoimpl.SizeCache
  294. }
  295. func (x *ProloguePayload) Reset() {
  296. *x = ProloguePayload{}
  297. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[3]
  298. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  299. ms.StoreMessageInfo(mi)
  300. }
  301. func (x *ProloguePayload) String() string {
  302. return protoimpl.X.MessageStringOf(x)
  303. }
  304. func (*ProloguePayload) ProtoMessage() {}
  305. func (x *ProloguePayload) ProtoReflect() protoreflect.Message {
  306. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[3]
  307. if x != nil {
  308. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  309. if ms.LoadMessageInfo() == nil {
  310. ms.StoreMessageInfo(mi)
  311. }
  312. return ms
  313. }
  314. return mi.MessageOf(x)
  315. }
  316. // Deprecated: Use ProloguePayload.ProtoReflect.Descriptor instead.
  317. func (*ProloguePayload) Descriptor() ([]byte, []int) {
  318. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{3}
  319. }
  320. func (x *ProloguePayload) GetCompanionEphemeralIdentity() []byte {
  321. if x != nil {
  322. return x.CompanionEphemeralIdentity
  323. }
  324. return nil
  325. }
  326. func (x *ProloguePayload) GetCommitment() *CompanionCommitment {
  327. if x != nil {
  328. return x.Commitment
  329. }
  330. return nil
  331. }
  332. type PrimaryEphemeralIdentity struct {
  333. state protoimpl.MessageState `protogen:"open.v1"`
  334. PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
  335. Nonce []byte `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
  336. unknownFields protoimpl.UnknownFields
  337. sizeCache protoimpl.SizeCache
  338. }
  339. func (x *PrimaryEphemeralIdentity) Reset() {
  340. *x = PrimaryEphemeralIdentity{}
  341. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[4]
  342. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  343. ms.StoreMessageInfo(mi)
  344. }
  345. func (x *PrimaryEphemeralIdentity) String() string {
  346. return protoimpl.X.MessageStringOf(x)
  347. }
  348. func (*PrimaryEphemeralIdentity) ProtoMessage() {}
  349. func (x *PrimaryEphemeralIdentity) ProtoReflect() protoreflect.Message {
  350. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[4]
  351. if x != nil {
  352. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  353. if ms.LoadMessageInfo() == nil {
  354. ms.StoreMessageInfo(mi)
  355. }
  356. return ms
  357. }
  358. return mi.MessageOf(x)
  359. }
  360. // Deprecated: Use PrimaryEphemeralIdentity.ProtoReflect.Descriptor instead.
  361. func (*PrimaryEphemeralIdentity) Descriptor() ([]byte, []int) {
  362. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{4}
  363. }
  364. func (x *PrimaryEphemeralIdentity) GetPublicKey() []byte {
  365. if x != nil {
  366. return x.PublicKey
  367. }
  368. return nil
  369. }
  370. func (x *PrimaryEphemeralIdentity) GetNonce() []byte {
  371. if x != nil {
  372. return x.Nonce
  373. }
  374. return nil
  375. }
  376. type PairingRequest struct {
  377. state protoimpl.MessageState `protogen:"open.v1"`
  378. CompanionPublicKey []byte `protobuf:"bytes,1,opt,name=companionPublicKey" json:"companionPublicKey,omitempty"`
  379. CompanionIdentityKey []byte `protobuf:"bytes,2,opt,name=companionIdentityKey" json:"companionIdentityKey,omitempty"`
  380. AdvSecret []byte `protobuf:"bytes,3,opt,name=advSecret" json:"advSecret,omitempty"`
  381. unknownFields protoimpl.UnknownFields
  382. sizeCache protoimpl.SizeCache
  383. }
  384. func (x *PairingRequest) Reset() {
  385. *x = PairingRequest{}
  386. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[5]
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. ms.StoreMessageInfo(mi)
  389. }
  390. func (x *PairingRequest) String() string {
  391. return protoimpl.X.MessageStringOf(x)
  392. }
  393. func (*PairingRequest) ProtoMessage() {}
  394. func (x *PairingRequest) ProtoReflect() protoreflect.Message {
  395. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[5]
  396. if x != nil {
  397. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  398. if ms.LoadMessageInfo() == nil {
  399. ms.StoreMessageInfo(mi)
  400. }
  401. return ms
  402. }
  403. return mi.MessageOf(x)
  404. }
  405. // Deprecated: Use PairingRequest.ProtoReflect.Descriptor instead.
  406. func (*PairingRequest) Descriptor() ([]byte, []int) {
  407. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{5}
  408. }
  409. func (x *PairingRequest) GetCompanionPublicKey() []byte {
  410. if x != nil {
  411. return x.CompanionPublicKey
  412. }
  413. return nil
  414. }
  415. func (x *PairingRequest) GetCompanionIdentityKey() []byte {
  416. if x != nil {
  417. return x.CompanionIdentityKey
  418. }
  419. return nil
  420. }
  421. func (x *PairingRequest) GetAdvSecret() []byte {
  422. if x != nil {
  423. return x.AdvSecret
  424. }
  425. return nil
  426. }
  427. type EncryptedPairingRequest struct {
  428. state protoimpl.MessageState `protogen:"open.v1"`
  429. EncryptedPayload []byte `protobuf:"bytes,1,opt,name=encryptedPayload" json:"encryptedPayload,omitempty"`
  430. IV []byte `protobuf:"bytes,2,opt,name=IV" json:"IV,omitempty"`
  431. unknownFields protoimpl.UnknownFields
  432. sizeCache protoimpl.SizeCache
  433. }
  434. func (x *EncryptedPairingRequest) Reset() {
  435. *x = EncryptedPairingRequest{}
  436. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[6]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. func (x *EncryptedPairingRequest) String() string {
  441. return protoimpl.X.MessageStringOf(x)
  442. }
  443. func (*EncryptedPairingRequest) ProtoMessage() {}
  444. func (x *EncryptedPairingRequest) ProtoReflect() protoreflect.Message {
  445. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[6]
  446. if x != nil {
  447. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  448. if ms.LoadMessageInfo() == nil {
  449. ms.StoreMessageInfo(mi)
  450. }
  451. return ms
  452. }
  453. return mi.MessageOf(x)
  454. }
  455. // Deprecated: Use EncryptedPairingRequest.ProtoReflect.Descriptor instead.
  456. func (*EncryptedPairingRequest) Descriptor() ([]byte, []int) {
  457. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{6}
  458. }
  459. func (x *EncryptedPairingRequest) GetEncryptedPayload() []byte {
  460. if x != nil {
  461. return x.EncryptedPayload
  462. }
  463. return nil
  464. }
  465. func (x *EncryptedPairingRequest) GetIV() []byte {
  466. if x != nil {
  467. return x.IV
  468. }
  469. return nil
  470. }
  471. type ClientPairingProps struct {
  472. state protoimpl.MessageState `protogen:"open.v1"`
  473. IsChatDbLidMigrated *bool `protobuf:"varint,1,opt,name=isChatDbLidMigrated" json:"isChatDbLidMigrated,omitempty"`
  474. IsSyncdPureLidSession *bool `protobuf:"varint,2,opt,name=isSyncdPureLidSession" json:"isSyncdPureLidSession,omitempty"`
  475. IsSyncdSnapshotRecoveryEnabled *bool `protobuf:"varint,3,opt,name=isSyncdSnapshotRecoveryEnabled" json:"isSyncdSnapshotRecoveryEnabled,omitempty"`
  476. unknownFields protoimpl.UnknownFields
  477. sizeCache protoimpl.SizeCache
  478. }
  479. func (x *ClientPairingProps) Reset() {
  480. *x = ClientPairingProps{}
  481. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[7]
  482. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  483. ms.StoreMessageInfo(mi)
  484. }
  485. func (x *ClientPairingProps) String() string {
  486. return protoimpl.X.MessageStringOf(x)
  487. }
  488. func (*ClientPairingProps) ProtoMessage() {}
  489. func (x *ClientPairingProps) ProtoReflect() protoreflect.Message {
  490. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[7]
  491. if x != nil {
  492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  493. if ms.LoadMessageInfo() == nil {
  494. ms.StoreMessageInfo(mi)
  495. }
  496. return ms
  497. }
  498. return mi.MessageOf(x)
  499. }
  500. // Deprecated: Use ClientPairingProps.ProtoReflect.Descriptor instead.
  501. func (*ClientPairingProps) Descriptor() ([]byte, []int) {
  502. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{7}
  503. }
  504. func (x *ClientPairingProps) GetIsChatDbLidMigrated() bool {
  505. if x != nil && x.IsChatDbLidMigrated != nil {
  506. return *x.IsChatDbLidMigrated
  507. }
  508. return false
  509. }
  510. func (x *ClientPairingProps) GetIsSyncdPureLidSession() bool {
  511. if x != nil && x.IsSyncdPureLidSession != nil {
  512. return *x.IsSyncdPureLidSession
  513. }
  514. return false
  515. }
  516. func (x *ClientPairingProps) GetIsSyncdSnapshotRecoveryEnabled() bool {
  517. if x != nil && x.IsSyncdSnapshotRecoveryEnabled != nil {
  518. return *x.IsSyncdSnapshotRecoveryEnabled
  519. }
  520. return false
  521. }
  522. type DeviceProps_HistorySyncConfig struct {
  523. state protoimpl.MessageState `protogen:"open.v1"`
  524. FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"`
  525. FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"`
  526. StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"`
  527. InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"`
  528. RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"`
  529. SupportCallLogHistory *bool `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"`
  530. SupportBotUserAgentChatHistory *bool `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"`
  531. SupportCagReactionsAndPolls *bool `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"`
  532. SupportBizHostedMsg *bool `protobuf:"varint,9,opt,name=supportBizHostedMsg" json:"supportBizHostedMsg,omitempty"`
  533. SupportRecentSyncChunkMessageCountTuning *bool `protobuf:"varint,10,opt,name=supportRecentSyncChunkMessageCountTuning" json:"supportRecentSyncChunkMessageCountTuning,omitempty"`
  534. SupportHostedGroupMsg *bool `protobuf:"varint,11,opt,name=supportHostedGroupMsg" json:"supportHostedGroupMsg,omitempty"`
  535. SupportFbidBotChatHistory *bool `protobuf:"varint,12,opt,name=supportFbidBotChatHistory" json:"supportFbidBotChatHistory,omitempty"`
  536. SupportAddOnHistorySyncMigration *bool `protobuf:"varint,13,opt,name=supportAddOnHistorySyncMigration" json:"supportAddOnHistorySyncMigration,omitempty"`
  537. SupportMessageAssociation *bool `protobuf:"varint,14,opt,name=supportMessageAssociation" json:"supportMessageAssociation,omitempty"`
  538. SupportGroupHistory *bool `protobuf:"varint,15,opt,name=supportGroupHistory" json:"supportGroupHistory,omitempty"`
  539. OnDemandReady *bool `protobuf:"varint,16,opt,name=onDemandReady" json:"onDemandReady,omitempty"`
  540. SupportGuestChat *bool `protobuf:"varint,17,opt,name=supportGuestChat" json:"supportGuestChat,omitempty"`
  541. unknownFields protoimpl.UnknownFields
  542. sizeCache protoimpl.SizeCache
  543. }
  544. func (x *DeviceProps_HistorySyncConfig) Reset() {
  545. *x = DeviceProps_HistorySyncConfig{}
  546. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[8]
  547. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  548. ms.StoreMessageInfo(mi)
  549. }
  550. func (x *DeviceProps_HistorySyncConfig) String() string {
  551. return protoimpl.X.MessageStringOf(x)
  552. }
  553. func (*DeviceProps_HistorySyncConfig) ProtoMessage() {}
  554. func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message {
  555. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[8]
  556. if x != nil {
  557. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  558. if ms.LoadMessageInfo() == nil {
  559. ms.StoreMessageInfo(mi)
  560. }
  561. return ms
  562. }
  563. return mi.MessageOf(x)
  564. }
  565. // Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead.
  566. func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) {
  567. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{0, 0}
  568. }
  569. func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 {
  570. if x != nil && x.FullSyncDaysLimit != nil {
  571. return *x.FullSyncDaysLimit
  572. }
  573. return 0
  574. }
  575. func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 {
  576. if x != nil && x.FullSyncSizeMbLimit != nil {
  577. return *x.FullSyncSizeMbLimit
  578. }
  579. return 0
  580. }
  581. func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 {
  582. if x != nil && x.StorageQuotaMb != nil {
  583. return *x.StorageQuotaMb
  584. }
  585. return 0
  586. }
  587. func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool {
  588. if x != nil && x.InlineInitialPayloadInE2EeMsg != nil {
  589. return *x.InlineInitialPayloadInE2EeMsg
  590. }
  591. return false
  592. }
  593. func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 {
  594. if x != nil && x.RecentSyncDaysLimit != nil {
  595. return *x.RecentSyncDaysLimit
  596. }
  597. return 0
  598. }
  599. func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool {
  600. if x != nil && x.SupportCallLogHistory != nil {
  601. return *x.SupportCallLogHistory
  602. }
  603. return false
  604. }
  605. func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool {
  606. if x != nil && x.SupportBotUserAgentChatHistory != nil {
  607. return *x.SupportBotUserAgentChatHistory
  608. }
  609. return false
  610. }
  611. func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool {
  612. if x != nil && x.SupportCagReactionsAndPolls != nil {
  613. return *x.SupportCagReactionsAndPolls
  614. }
  615. return false
  616. }
  617. func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool {
  618. if x != nil && x.SupportBizHostedMsg != nil {
  619. return *x.SupportBizHostedMsg
  620. }
  621. return false
  622. }
  623. func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool {
  624. if x != nil && x.SupportRecentSyncChunkMessageCountTuning != nil {
  625. return *x.SupportRecentSyncChunkMessageCountTuning
  626. }
  627. return false
  628. }
  629. func (x *DeviceProps_HistorySyncConfig) GetSupportHostedGroupMsg() bool {
  630. if x != nil && x.SupportHostedGroupMsg != nil {
  631. return *x.SupportHostedGroupMsg
  632. }
  633. return false
  634. }
  635. func (x *DeviceProps_HistorySyncConfig) GetSupportFbidBotChatHistory() bool {
  636. if x != nil && x.SupportFbidBotChatHistory != nil {
  637. return *x.SupportFbidBotChatHistory
  638. }
  639. return false
  640. }
  641. func (x *DeviceProps_HistorySyncConfig) GetSupportAddOnHistorySyncMigration() bool {
  642. if x != nil && x.SupportAddOnHistorySyncMigration != nil {
  643. return *x.SupportAddOnHistorySyncMigration
  644. }
  645. return false
  646. }
  647. func (x *DeviceProps_HistorySyncConfig) GetSupportMessageAssociation() bool {
  648. if x != nil && x.SupportMessageAssociation != nil {
  649. return *x.SupportMessageAssociation
  650. }
  651. return false
  652. }
  653. func (x *DeviceProps_HistorySyncConfig) GetSupportGroupHistory() bool {
  654. if x != nil && x.SupportGroupHistory != nil {
  655. return *x.SupportGroupHistory
  656. }
  657. return false
  658. }
  659. func (x *DeviceProps_HistorySyncConfig) GetOnDemandReady() bool {
  660. if x != nil && x.OnDemandReady != nil {
  661. return *x.OnDemandReady
  662. }
  663. return false
  664. }
  665. func (x *DeviceProps_HistorySyncConfig) GetSupportGuestChat() bool {
  666. if x != nil && x.SupportGuestChat != nil {
  667. return *x.SupportGuestChat
  668. }
  669. return false
  670. }
  671. type DeviceProps_AppVersion struct {
  672. state protoimpl.MessageState `protogen:"open.v1"`
  673. Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"`
  674. Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"`
  675. Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"`
  676. Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"`
  677. Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"`
  678. unknownFields protoimpl.UnknownFields
  679. sizeCache protoimpl.SizeCache
  680. }
  681. func (x *DeviceProps_AppVersion) Reset() {
  682. *x = DeviceProps_AppVersion{}
  683. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[9]
  684. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  685. ms.StoreMessageInfo(mi)
  686. }
  687. func (x *DeviceProps_AppVersion) String() string {
  688. return protoimpl.X.MessageStringOf(x)
  689. }
  690. func (*DeviceProps_AppVersion) ProtoMessage() {}
  691. func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message {
  692. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[9]
  693. if x != nil {
  694. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  695. if ms.LoadMessageInfo() == nil {
  696. ms.StoreMessageInfo(mi)
  697. }
  698. return ms
  699. }
  700. return mi.MessageOf(x)
  701. }
  702. // Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead.
  703. func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) {
  704. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{0, 1}
  705. }
  706. func (x *DeviceProps_AppVersion) GetPrimary() uint32 {
  707. if x != nil && x.Primary != nil {
  708. return *x.Primary
  709. }
  710. return 0
  711. }
  712. func (x *DeviceProps_AppVersion) GetSecondary() uint32 {
  713. if x != nil && x.Secondary != nil {
  714. return *x.Secondary
  715. }
  716. return 0
  717. }
  718. func (x *DeviceProps_AppVersion) GetTertiary() uint32 {
  719. if x != nil && x.Tertiary != nil {
  720. return *x.Tertiary
  721. }
  722. return 0
  723. }
  724. func (x *DeviceProps_AppVersion) GetQuaternary() uint32 {
  725. if x != nil && x.Quaternary != nil {
  726. return *x.Quaternary
  727. }
  728. return 0
  729. }
  730. func (x *DeviceProps_AppVersion) GetQuinary() uint32 {
  731. if x != nil && x.Quinary != nil {
  732. return *x.Quinary
  733. }
  734. return 0
  735. }
  736. var File_waCompanionReg_WACompanionReg_proto protoreflect.FileDescriptor
  737. const file_waCompanionReg_WACompanionReg_proto_rawDesc = "" +
  738. "\n" +
  739. "#waCompanionReg/WACompanionReg.proto\x12\x0eWACompanionReg\"\x99\x0e\n" +
  740. "\vDeviceProps\x12\x0e\n" +
  741. "\x02os\x18\x01 \x01(\tR\x02os\x12@\n" +
  742. "\aversion\x18\x02 \x01(\v2&.WACompanionReg.DeviceProps.AppVersionR\aversion\x12L\n" +
  743. "\fplatformType\x18\x03 \x01(\x0e2(.WACompanionReg.DeviceProps.PlatformTypeR\fplatformType\x12(\n" +
  744. "\x0frequireFullSync\x18\x04 \x01(\bR\x0frequireFullSync\x12[\n" +
  745. "\x11historySyncConfig\x18\x05 \x01(\v2-.WACompanionReg.DeviceProps.HistorySyncConfigR\x11historySyncConfig\x1a\xe3\a\n" +
  746. "\x11HistorySyncConfig\x12,\n" +
  747. "\x11fullSyncDaysLimit\x18\x01 \x01(\rR\x11fullSyncDaysLimit\x120\n" +
  748. "\x13fullSyncSizeMbLimit\x18\x02 \x01(\rR\x13fullSyncSizeMbLimit\x12&\n" +
  749. "\x0estorageQuotaMb\x18\x03 \x01(\rR\x0estorageQuotaMb\x12D\n" +
  750. "\x1dinlineInitialPayloadInE2EeMsg\x18\x04 \x01(\bR\x1dinlineInitialPayloadInE2EeMsg\x120\n" +
  751. "\x13recentSyncDaysLimit\x18\x05 \x01(\rR\x13recentSyncDaysLimit\x124\n" +
  752. "\x15supportCallLogHistory\x18\x06 \x01(\bR\x15supportCallLogHistory\x12F\n" +
  753. "\x1esupportBotUserAgentChatHistory\x18\a \x01(\bR\x1esupportBotUserAgentChatHistory\x12@\n" +
  754. "\x1bsupportCagReactionsAndPolls\x18\b \x01(\bR\x1bsupportCagReactionsAndPolls\x120\n" +
  755. "\x13supportBizHostedMsg\x18\t \x01(\bR\x13supportBizHostedMsg\x12Z\n" +
  756. "(supportRecentSyncChunkMessageCountTuning\x18\n" +
  757. " \x01(\bR(supportRecentSyncChunkMessageCountTuning\x124\n" +
  758. "\x15supportHostedGroupMsg\x18\v \x01(\bR\x15supportHostedGroupMsg\x12<\n" +
  759. "\x19supportFbidBotChatHistory\x18\f \x01(\bR\x19supportFbidBotChatHistory\x12J\n" +
  760. " supportAddOnHistorySyncMigration\x18\r \x01(\bR supportAddOnHistorySyncMigration\x12<\n" +
  761. "\x19supportMessageAssociation\x18\x0e \x01(\bR\x19supportMessageAssociation\x120\n" +
  762. "\x13supportGroupHistory\x18\x0f \x01(\bR\x13supportGroupHistory\x12$\n" +
  763. "\ronDemandReady\x18\x10 \x01(\bR\ronDemandReady\x12*\n" +
  764. "\x10supportGuestChat\x18\x11 \x01(\bR\x10supportGuestChat\x1a\x9a\x01\n" +
  765. "\n" +
  766. "AppVersion\x12\x18\n" +
  767. "\aprimary\x18\x01 \x01(\rR\aprimary\x12\x1c\n" +
  768. "\tsecondary\x18\x02 \x01(\rR\tsecondary\x12\x1a\n" +
  769. "\btertiary\x18\x03 \x01(\rR\btertiary\x12\x1e\n" +
  770. "\n" +
  771. "quaternary\x18\x04 \x01(\rR\n" +
  772. "quaternary\x12\x18\n" +
  773. "\aquinary\x18\x05 \x01(\rR\aquinary\"\xdf\x02\n" +
  774. "\fPlatformType\x12\v\n" +
  775. "\aUNKNOWN\x10\x00\x12\n" +
  776. "\n" +
  777. "\x06CHROME\x10\x01\x12\v\n" +
  778. "\aFIREFOX\x10\x02\x12\x06\n" +
  779. "\x02IE\x10\x03\x12\t\n" +
  780. "\x05OPERA\x10\x04\x12\n" +
  781. "\n" +
  782. "\x06SAFARI\x10\x05\x12\b\n" +
  783. "\x04EDGE\x10\x06\x12\v\n" +
  784. "\aDESKTOP\x10\a\x12\b\n" +
  785. "\x04IPAD\x10\b\x12\x12\n" +
  786. "\x0eANDROID_TABLET\x10\t\x12\t\n" +
  787. "\x05OHANA\x10\n" +
  788. "\x12\t\n" +
  789. "\x05ALOHA\x10\v\x12\f\n" +
  790. "\bCATALINA\x10\f\x12\n" +
  791. "\n" +
  792. "\x06TCL_TV\x10\r\x12\r\n" +
  793. "\tIOS_PHONE\x10\x0e\x12\x10\n" +
  794. "\fIOS_CATALYST\x10\x0f\x12\x11\n" +
  795. "\rANDROID_PHONE\x10\x10\x12\x15\n" +
  796. "\x11ANDROID_AMBIGUOUS\x10\x11\x12\v\n" +
  797. "\aWEAR_OS\x10\x12\x12\f\n" +
  798. "\bAR_WRIST\x10\x13\x12\r\n" +
  799. "\tAR_DEVICE\x10\x14\x12\a\n" +
  800. "\x03UWP\x10\x15\x12\x06\n" +
  801. "\x02VR\x10\x16\x12\r\n" +
  802. "\tCLOUD_API\x10\x17\x12\x10\n" +
  803. "\fSMARTGLASSES\x10\x18\"\x96\x01\n" +
  804. "\x1aCompanionEphemeralIdentity\x12\x1c\n" +
  805. "\tpublicKey\x18\x01 \x01(\fR\tpublicKey\x12H\n" +
  806. "\n" +
  807. "deviceType\x18\x02 \x01(\x0e2(.WACompanionReg.DeviceProps.PlatformTypeR\n" +
  808. "deviceType\x12\x10\n" +
  809. "\x03ref\x18\x03 \x01(\tR\x03ref\")\n" +
  810. "\x13CompanionCommitment\x12\x12\n" +
  811. "\x04hash\x18\x01 \x01(\fR\x04hash\"\x96\x01\n" +
  812. "\x0fProloguePayload\x12>\n" +
  813. "\x1acompanionEphemeralIdentity\x18\x01 \x01(\fR\x1acompanionEphemeralIdentity\x12C\n" +
  814. "\n" +
  815. "commitment\x18\x02 \x01(\v2#.WACompanionReg.CompanionCommitmentR\n" +
  816. "commitment\"N\n" +
  817. "\x18PrimaryEphemeralIdentity\x12\x1c\n" +
  818. "\tpublicKey\x18\x01 \x01(\fR\tpublicKey\x12\x14\n" +
  819. "\x05nonce\x18\x02 \x01(\fR\x05nonce\"\x92\x01\n" +
  820. "\x0ePairingRequest\x12.\n" +
  821. "\x12companionPublicKey\x18\x01 \x01(\fR\x12companionPublicKey\x122\n" +
  822. "\x14companionIdentityKey\x18\x02 \x01(\fR\x14companionIdentityKey\x12\x1c\n" +
  823. "\tadvSecret\x18\x03 \x01(\fR\tadvSecret\"U\n" +
  824. "\x17EncryptedPairingRequest\x12*\n" +
  825. "\x10encryptedPayload\x18\x01 \x01(\fR\x10encryptedPayload\x12\x0e\n" +
  826. "\x02IV\x18\x02 \x01(\fR\x02IV\"\xc4\x01\n" +
  827. "\x12ClientPairingProps\x120\n" +
  828. "\x13isChatDbLidMigrated\x18\x01 \x01(\bR\x13isChatDbLidMigrated\x124\n" +
  829. "\x15isSyncdPureLidSession\x18\x02 \x01(\bR\x15isSyncdPureLidSession\x12F\n" +
  830. "\x1eisSyncdSnapshotRecoveryEnabled\x18\x03 \x01(\bR\x1eisSyncdSnapshotRecoveryEnabledB5Z3git.bobomao.top/joey/whatsmeow/proto/waCompanionReg"
  831. var (
  832. file_waCompanionReg_WACompanionReg_proto_rawDescOnce sync.Once
  833. file_waCompanionReg_WACompanionReg_proto_rawDescData []byte
  834. )
  835. func file_waCompanionReg_WACompanionReg_proto_rawDescGZIP() []byte {
  836. file_waCompanionReg_WACompanionReg_proto_rawDescOnce.Do(func() {
  837. file_waCompanionReg_WACompanionReg_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waCompanionReg_WACompanionReg_proto_rawDesc), len(file_waCompanionReg_WACompanionReg_proto_rawDesc)))
  838. })
  839. return file_waCompanionReg_WACompanionReg_proto_rawDescData
  840. }
  841. var file_waCompanionReg_WACompanionReg_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  842. var file_waCompanionReg_WACompanionReg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  843. var file_waCompanionReg_WACompanionReg_proto_goTypes = []any{
  844. (DeviceProps_PlatformType)(0), // 0: WACompanionReg.DeviceProps.PlatformType
  845. (*DeviceProps)(nil), // 1: WACompanionReg.DeviceProps
  846. (*CompanionEphemeralIdentity)(nil), // 2: WACompanionReg.CompanionEphemeralIdentity
  847. (*CompanionCommitment)(nil), // 3: WACompanionReg.CompanionCommitment
  848. (*ProloguePayload)(nil), // 4: WACompanionReg.ProloguePayload
  849. (*PrimaryEphemeralIdentity)(nil), // 5: WACompanionReg.PrimaryEphemeralIdentity
  850. (*PairingRequest)(nil), // 6: WACompanionReg.PairingRequest
  851. (*EncryptedPairingRequest)(nil), // 7: WACompanionReg.EncryptedPairingRequest
  852. (*ClientPairingProps)(nil), // 8: WACompanionReg.ClientPairingProps
  853. (*DeviceProps_HistorySyncConfig)(nil), // 9: WACompanionReg.DeviceProps.HistorySyncConfig
  854. (*DeviceProps_AppVersion)(nil), // 10: WACompanionReg.DeviceProps.AppVersion
  855. }
  856. var file_waCompanionReg_WACompanionReg_proto_depIdxs = []int32{
  857. 10, // 0: WACompanionReg.DeviceProps.version:type_name -> WACompanionReg.DeviceProps.AppVersion
  858. 0, // 1: WACompanionReg.DeviceProps.platformType:type_name -> WACompanionReg.DeviceProps.PlatformType
  859. 9, // 2: WACompanionReg.DeviceProps.historySyncConfig:type_name -> WACompanionReg.DeviceProps.HistorySyncConfig
  860. 0, // 3: WACompanionReg.CompanionEphemeralIdentity.deviceType:type_name -> WACompanionReg.DeviceProps.PlatformType
  861. 3, // 4: WACompanionReg.ProloguePayload.commitment:type_name -> WACompanionReg.CompanionCommitment
  862. 5, // [5:5] is the sub-list for method output_type
  863. 5, // [5:5] is the sub-list for method input_type
  864. 5, // [5:5] is the sub-list for extension type_name
  865. 5, // [5:5] is the sub-list for extension extendee
  866. 0, // [0:5] is the sub-list for field type_name
  867. }
  868. func init() { file_waCompanionReg_WACompanionReg_proto_init() }
  869. func file_waCompanionReg_WACompanionReg_proto_init() {
  870. if File_waCompanionReg_WACompanionReg_proto != nil {
  871. return
  872. }
  873. type x struct{}
  874. out := protoimpl.TypeBuilder{
  875. File: protoimpl.DescBuilder{
  876. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  877. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waCompanionReg_WACompanionReg_proto_rawDesc), len(file_waCompanionReg_WACompanionReg_proto_rawDesc)),
  878. NumEnums: 1,
  879. NumMessages: 10,
  880. NumExtensions: 0,
  881. NumServices: 0,
  882. },
  883. GoTypes: file_waCompanionReg_WACompanionReg_proto_goTypes,
  884. DependencyIndexes: file_waCompanionReg_WACompanionReg_proto_depIdxs,
  885. EnumInfos: file_waCompanionReg_WACompanionReg_proto_enumTypes,
  886. MessageInfos: file_waCompanionReg_WACompanionReg_proto_msgTypes,
  887. }.Build()
  888. File_waCompanionReg_WACompanionReg_proto = out.File
  889. file_waCompanionReg_WACompanionReg_proto_goTypes = nil
  890. file_waCompanionReg_WACompanionReg_proto_depIdxs = nil
  891. }