WACompanionReg.pb.go 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032
  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: waCompanionReg/WACompanionReg.proto
  6. package waCompanionReg
  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 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. CompleteOnDemandReady *bool `protobuf:"varint,18,opt,name=completeOnDemandReady" json:"completeOnDemandReady,omitempty"`
  542. ThumbnailSyncDaysLimit *uint32 `protobuf:"varint,19,opt,name=thumbnailSyncDaysLimit" json:"thumbnailSyncDaysLimit,omitempty"`
  543. unknownFields protoimpl.UnknownFields
  544. sizeCache protoimpl.SizeCache
  545. }
  546. func (x *DeviceProps_HistorySyncConfig) Reset() {
  547. *x = DeviceProps_HistorySyncConfig{}
  548. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[8]
  549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  550. ms.StoreMessageInfo(mi)
  551. }
  552. func (x *DeviceProps_HistorySyncConfig) String() string {
  553. return protoimpl.X.MessageStringOf(x)
  554. }
  555. func (*DeviceProps_HistorySyncConfig) ProtoMessage() {}
  556. func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message {
  557. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[8]
  558. if x != nil {
  559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  560. if ms.LoadMessageInfo() == nil {
  561. ms.StoreMessageInfo(mi)
  562. }
  563. return ms
  564. }
  565. return mi.MessageOf(x)
  566. }
  567. // Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead.
  568. func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) {
  569. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{0, 0}
  570. }
  571. func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 {
  572. if x != nil && x.FullSyncDaysLimit != nil {
  573. return *x.FullSyncDaysLimit
  574. }
  575. return 0
  576. }
  577. func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 {
  578. if x != nil && x.FullSyncSizeMbLimit != nil {
  579. return *x.FullSyncSizeMbLimit
  580. }
  581. return 0
  582. }
  583. func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 {
  584. if x != nil && x.StorageQuotaMb != nil {
  585. return *x.StorageQuotaMb
  586. }
  587. return 0
  588. }
  589. func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool {
  590. if x != nil && x.InlineInitialPayloadInE2EeMsg != nil {
  591. return *x.InlineInitialPayloadInE2EeMsg
  592. }
  593. return false
  594. }
  595. func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 {
  596. if x != nil && x.RecentSyncDaysLimit != nil {
  597. return *x.RecentSyncDaysLimit
  598. }
  599. return 0
  600. }
  601. func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool {
  602. if x != nil && x.SupportCallLogHistory != nil {
  603. return *x.SupportCallLogHistory
  604. }
  605. return false
  606. }
  607. func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool {
  608. if x != nil && x.SupportBotUserAgentChatHistory != nil {
  609. return *x.SupportBotUserAgentChatHistory
  610. }
  611. return false
  612. }
  613. func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool {
  614. if x != nil && x.SupportCagReactionsAndPolls != nil {
  615. return *x.SupportCagReactionsAndPolls
  616. }
  617. return false
  618. }
  619. func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool {
  620. if x != nil && x.SupportBizHostedMsg != nil {
  621. return *x.SupportBizHostedMsg
  622. }
  623. return false
  624. }
  625. func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool {
  626. if x != nil && x.SupportRecentSyncChunkMessageCountTuning != nil {
  627. return *x.SupportRecentSyncChunkMessageCountTuning
  628. }
  629. return false
  630. }
  631. func (x *DeviceProps_HistorySyncConfig) GetSupportHostedGroupMsg() bool {
  632. if x != nil && x.SupportHostedGroupMsg != nil {
  633. return *x.SupportHostedGroupMsg
  634. }
  635. return false
  636. }
  637. func (x *DeviceProps_HistorySyncConfig) GetSupportFbidBotChatHistory() bool {
  638. if x != nil && x.SupportFbidBotChatHistory != nil {
  639. return *x.SupportFbidBotChatHistory
  640. }
  641. return false
  642. }
  643. func (x *DeviceProps_HistorySyncConfig) GetSupportAddOnHistorySyncMigration() bool {
  644. if x != nil && x.SupportAddOnHistorySyncMigration != nil {
  645. return *x.SupportAddOnHistorySyncMigration
  646. }
  647. return false
  648. }
  649. func (x *DeviceProps_HistorySyncConfig) GetSupportMessageAssociation() bool {
  650. if x != nil && x.SupportMessageAssociation != nil {
  651. return *x.SupportMessageAssociation
  652. }
  653. return false
  654. }
  655. func (x *DeviceProps_HistorySyncConfig) GetSupportGroupHistory() bool {
  656. if x != nil && x.SupportGroupHistory != nil {
  657. return *x.SupportGroupHistory
  658. }
  659. return false
  660. }
  661. func (x *DeviceProps_HistorySyncConfig) GetOnDemandReady() bool {
  662. if x != nil && x.OnDemandReady != nil {
  663. return *x.OnDemandReady
  664. }
  665. return false
  666. }
  667. func (x *DeviceProps_HistorySyncConfig) GetSupportGuestChat() bool {
  668. if x != nil && x.SupportGuestChat != nil {
  669. return *x.SupportGuestChat
  670. }
  671. return false
  672. }
  673. func (x *DeviceProps_HistorySyncConfig) GetCompleteOnDemandReady() bool {
  674. if x != nil && x.CompleteOnDemandReady != nil {
  675. return *x.CompleteOnDemandReady
  676. }
  677. return false
  678. }
  679. func (x *DeviceProps_HistorySyncConfig) GetThumbnailSyncDaysLimit() uint32 {
  680. if x != nil && x.ThumbnailSyncDaysLimit != nil {
  681. return *x.ThumbnailSyncDaysLimit
  682. }
  683. return 0
  684. }
  685. type DeviceProps_AppVersion struct {
  686. state protoimpl.MessageState `protogen:"open.v1"`
  687. Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"`
  688. Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"`
  689. Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"`
  690. Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"`
  691. Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"`
  692. unknownFields protoimpl.UnknownFields
  693. sizeCache protoimpl.SizeCache
  694. }
  695. func (x *DeviceProps_AppVersion) Reset() {
  696. *x = DeviceProps_AppVersion{}
  697. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[9]
  698. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  699. ms.StoreMessageInfo(mi)
  700. }
  701. func (x *DeviceProps_AppVersion) String() string {
  702. return protoimpl.X.MessageStringOf(x)
  703. }
  704. func (*DeviceProps_AppVersion) ProtoMessage() {}
  705. func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message {
  706. mi := &file_waCompanionReg_WACompanionReg_proto_msgTypes[9]
  707. if x != nil {
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. if ms.LoadMessageInfo() == nil {
  710. ms.StoreMessageInfo(mi)
  711. }
  712. return ms
  713. }
  714. return mi.MessageOf(x)
  715. }
  716. // Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead.
  717. func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) {
  718. return file_waCompanionReg_WACompanionReg_proto_rawDescGZIP(), []int{0, 1}
  719. }
  720. func (x *DeviceProps_AppVersion) GetPrimary() uint32 {
  721. if x != nil && x.Primary != nil {
  722. return *x.Primary
  723. }
  724. return 0
  725. }
  726. func (x *DeviceProps_AppVersion) GetSecondary() uint32 {
  727. if x != nil && x.Secondary != nil {
  728. return *x.Secondary
  729. }
  730. return 0
  731. }
  732. func (x *DeviceProps_AppVersion) GetTertiary() uint32 {
  733. if x != nil && x.Tertiary != nil {
  734. return *x.Tertiary
  735. }
  736. return 0
  737. }
  738. func (x *DeviceProps_AppVersion) GetQuaternary() uint32 {
  739. if x != nil && x.Quaternary != nil {
  740. return *x.Quaternary
  741. }
  742. return 0
  743. }
  744. func (x *DeviceProps_AppVersion) GetQuinary() uint32 {
  745. if x != nil && x.Quinary != nil {
  746. return *x.Quinary
  747. }
  748. return 0
  749. }
  750. var File_waCompanionReg_WACompanionReg_proto protoreflect.FileDescriptor
  751. const file_waCompanionReg_WACompanionReg_proto_rawDesc = "" +
  752. "\n" +
  753. "#waCompanionReg/WACompanionReg.proto\x12\x0eWACompanionReg\"\x87\x0f\n" +
  754. "\vDeviceProps\x12\x0e\n" +
  755. "\x02os\x18\x01 \x01(\tR\x02os\x12@\n" +
  756. "\aversion\x18\x02 \x01(\v2&.WACompanionReg.DeviceProps.AppVersionR\aversion\x12L\n" +
  757. "\fplatformType\x18\x03 \x01(\x0e2(.WACompanionReg.DeviceProps.PlatformTypeR\fplatformType\x12(\n" +
  758. "\x0frequireFullSync\x18\x04 \x01(\bR\x0frequireFullSync\x12[\n" +
  759. "\x11historySyncConfig\x18\x05 \x01(\v2-.WACompanionReg.DeviceProps.HistorySyncConfigR\x11historySyncConfig\x1a\xd1\b\n" +
  760. "\x11HistorySyncConfig\x12,\n" +
  761. "\x11fullSyncDaysLimit\x18\x01 \x01(\rR\x11fullSyncDaysLimit\x120\n" +
  762. "\x13fullSyncSizeMbLimit\x18\x02 \x01(\rR\x13fullSyncSizeMbLimit\x12&\n" +
  763. "\x0estorageQuotaMb\x18\x03 \x01(\rR\x0estorageQuotaMb\x12D\n" +
  764. "\x1dinlineInitialPayloadInE2EeMsg\x18\x04 \x01(\bR\x1dinlineInitialPayloadInE2EeMsg\x120\n" +
  765. "\x13recentSyncDaysLimit\x18\x05 \x01(\rR\x13recentSyncDaysLimit\x124\n" +
  766. "\x15supportCallLogHistory\x18\x06 \x01(\bR\x15supportCallLogHistory\x12F\n" +
  767. "\x1esupportBotUserAgentChatHistory\x18\a \x01(\bR\x1esupportBotUserAgentChatHistory\x12@\n" +
  768. "\x1bsupportCagReactionsAndPolls\x18\b \x01(\bR\x1bsupportCagReactionsAndPolls\x120\n" +
  769. "\x13supportBizHostedMsg\x18\t \x01(\bR\x13supportBizHostedMsg\x12Z\n" +
  770. "(supportRecentSyncChunkMessageCountTuning\x18\n" +
  771. " \x01(\bR(supportRecentSyncChunkMessageCountTuning\x124\n" +
  772. "\x15supportHostedGroupMsg\x18\v \x01(\bR\x15supportHostedGroupMsg\x12<\n" +
  773. "\x19supportFbidBotChatHistory\x18\f \x01(\bR\x19supportFbidBotChatHistory\x12J\n" +
  774. " supportAddOnHistorySyncMigration\x18\r \x01(\bR supportAddOnHistorySyncMigration\x12<\n" +
  775. "\x19supportMessageAssociation\x18\x0e \x01(\bR\x19supportMessageAssociation\x120\n" +
  776. "\x13supportGroupHistory\x18\x0f \x01(\bR\x13supportGroupHistory\x12$\n" +
  777. "\ronDemandReady\x18\x10 \x01(\bR\ronDemandReady\x12*\n" +
  778. "\x10supportGuestChat\x18\x11 \x01(\bR\x10supportGuestChat\x124\n" +
  779. "\x15completeOnDemandReady\x18\x12 \x01(\bR\x15completeOnDemandReady\x126\n" +
  780. "\x16thumbnailSyncDaysLimit\x18\x13 \x01(\rR\x16thumbnailSyncDaysLimit\x1a\x9a\x01\n" +
  781. "\n" +
  782. "AppVersion\x12\x18\n" +
  783. "\aprimary\x18\x01 \x01(\rR\aprimary\x12\x1c\n" +
  784. "\tsecondary\x18\x02 \x01(\rR\tsecondary\x12\x1a\n" +
  785. "\btertiary\x18\x03 \x01(\rR\btertiary\x12\x1e\n" +
  786. "\n" +
  787. "quaternary\x18\x04 \x01(\rR\n" +
  788. "quaternary\x12\x18\n" +
  789. "\aquinary\x18\x05 \x01(\rR\aquinary\"\xdf\x02\n" +
  790. "\fPlatformType\x12\v\n" +
  791. "\aUNKNOWN\x10\x00\x12\n" +
  792. "\n" +
  793. "\x06CHROME\x10\x01\x12\v\n" +
  794. "\aFIREFOX\x10\x02\x12\x06\n" +
  795. "\x02IE\x10\x03\x12\t\n" +
  796. "\x05OPERA\x10\x04\x12\n" +
  797. "\n" +
  798. "\x06SAFARI\x10\x05\x12\b\n" +
  799. "\x04EDGE\x10\x06\x12\v\n" +
  800. "\aDESKTOP\x10\a\x12\b\n" +
  801. "\x04IPAD\x10\b\x12\x12\n" +
  802. "\x0eANDROID_TABLET\x10\t\x12\t\n" +
  803. "\x05OHANA\x10\n" +
  804. "\x12\t\n" +
  805. "\x05ALOHA\x10\v\x12\f\n" +
  806. "\bCATALINA\x10\f\x12\n" +
  807. "\n" +
  808. "\x06TCL_TV\x10\r\x12\r\n" +
  809. "\tIOS_PHONE\x10\x0e\x12\x10\n" +
  810. "\fIOS_CATALYST\x10\x0f\x12\x11\n" +
  811. "\rANDROID_PHONE\x10\x10\x12\x15\n" +
  812. "\x11ANDROID_AMBIGUOUS\x10\x11\x12\v\n" +
  813. "\aWEAR_OS\x10\x12\x12\f\n" +
  814. "\bAR_WRIST\x10\x13\x12\r\n" +
  815. "\tAR_DEVICE\x10\x14\x12\a\n" +
  816. "\x03UWP\x10\x15\x12\x06\n" +
  817. "\x02VR\x10\x16\x12\r\n" +
  818. "\tCLOUD_API\x10\x17\x12\x10\n" +
  819. "\fSMARTGLASSES\x10\x18\"\x96\x01\n" +
  820. "\x1aCompanionEphemeralIdentity\x12\x1c\n" +
  821. "\tpublicKey\x18\x01 \x01(\fR\tpublicKey\x12H\n" +
  822. "\n" +
  823. "deviceType\x18\x02 \x01(\x0e2(.WACompanionReg.DeviceProps.PlatformTypeR\n" +
  824. "deviceType\x12\x10\n" +
  825. "\x03ref\x18\x03 \x01(\tR\x03ref\")\n" +
  826. "\x13CompanionCommitment\x12\x12\n" +
  827. "\x04hash\x18\x01 \x01(\fR\x04hash\"\x96\x01\n" +
  828. "\x0fProloguePayload\x12>\n" +
  829. "\x1acompanionEphemeralIdentity\x18\x01 \x01(\fR\x1acompanionEphemeralIdentity\x12C\n" +
  830. "\n" +
  831. "commitment\x18\x02 \x01(\v2#.WACompanionReg.CompanionCommitmentR\n" +
  832. "commitment\"N\n" +
  833. "\x18PrimaryEphemeralIdentity\x12\x1c\n" +
  834. "\tpublicKey\x18\x01 \x01(\fR\tpublicKey\x12\x14\n" +
  835. "\x05nonce\x18\x02 \x01(\fR\x05nonce\"\x92\x01\n" +
  836. "\x0ePairingRequest\x12.\n" +
  837. "\x12companionPublicKey\x18\x01 \x01(\fR\x12companionPublicKey\x122\n" +
  838. "\x14companionIdentityKey\x18\x02 \x01(\fR\x14companionIdentityKey\x12\x1c\n" +
  839. "\tadvSecret\x18\x03 \x01(\fR\tadvSecret\"U\n" +
  840. "\x17EncryptedPairingRequest\x12*\n" +
  841. "\x10encryptedPayload\x18\x01 \x01(\fR\x10encryptedPayload\x12\x0e\n" +
  842. "\x02IV\x18\x02 \x01(\fR\x02IV\"\xc4\x01\n" +
  843. "\x12ClientPairingProps\x120\n" +
  844. "\x13isChatDbLidMigrated\x18\x01 \x01(\bR\x13isChatDbLidMigrated\x124\n" +
  845. "\x15isSyncdPureLidSession\x18\x02 \x01(\bR\x15isSyncdPureLidSession\x12F\n" +
  846. "\x1eisSyncdSnapshotRecoveryEnabled\x18\x03 \x01(\bR\x1eisSyncdSnapshotRecoveryEnabledB*Z(git.bobomao.top/joey/testwh/proto/waCompanionReg"
  847. var (
  848. file_waCompanionReg_WACompanionReg_proto_rawDescOnce sync.Once
  849. file_waCompanionReg_WACompanionReg_proto_rawDescData []byte
  850. )
  851. func file_waCompanionReg_WACompanionReg_proto_rawDescGZIP() []byte {
  852. file_waCompanionReg_WACompanionReg_proto_rawDescOnce.Do(func() {
  853. file_waCompanionReg_WACompanionReg_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waCompanionReg_WACompanionReg_proto_rawDesc), len(file_waCompanionReg_WACompanionReg_proto_rawDesc)))
  854. })
  855. return file_waCompanionReg_WACompanionReg_proto_rawDescData
  856. }
  857. var file_waCompanionReg_WACompanionReg_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  858. var file_waCompanionReg_WACompanionReg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  859. var file_waCompanionReg_WACompanionReg_proto_goTypes = []any{
  860. (DeviceProps_PlatformType)(0), // 0: WACompanionReg.DeviceProps.PlatformType
  861. (*DeviceProps)(nil), // 1: WACompanionReg.DeviceProps
  862. (*CompanionEphemeralIdentity)(nil), // 2: WACompanionReg.CompanionEphemeralIdentity
  863. (*CompanionCommitment)(nil), // 3: WACompanionReg.CompanionCommitment
  864. (*ProloguePayload)(nil), // 4: WACompanionReg.ProloguePayload
  865. (*PrimaryEphemeralIdentity)(nil), // 5: WACompanionReg.PrimaryEphemeralIdentity
  866. (*PairingRequest)(nil), // 6: WACompanionReg.PairingRequest
  867. (*EncryptedPairingRequest)(nil), // 7: WACompanionReg.EncryptedPairingRequest
  868. (*ClientPairingProps)(nil), // 8: WACompanionReg.ClientPairingProps
  869. (*DeviceProps_HistorySyncConfig)(nil), // 9: WACompanionReg.DeviceProps.HistorySyncConfig
  870. (*DeviceProps_AppVersion)(nil), // 10: WACompanionReg.DeviceProps.AppVersion
  871. }
  872. var file_waCompanionReg_WACompanionReg_proto_depIdxs = []int32{
  873. 10, // 0: WACompanionReg.DeviceProps.version:type_name -> WACompanionReg.DeviceProps.AppVersion
  874. 0, // 1: WACompanionReg.DeviceProps.platformType:type_name -> WACompanionReg.DeviceProps.PlatformType
  875. 9, // 2: WACompanionReg.DeviceProps.historySyncConfig:type_name -> WACompanionReg.DeviceProps.HistorySyncConfig
  876. 0, // 3: WACompanionReg.CompanionEphemeralIdentity.deviceType:type_name -> WACompanionReg.DeviceProps.PlatformType
  877. 3, // 4: WACompanionReg.ProloguePayload.commitment:type_name -> WACompanionReg.CompanionCommitment
  878. 5, // [5:5] is the sub-list for method output_type
  879. 5, // [5:5] is the sub-list for method input_type
  880. 5, // [5:5] is the sub-list for extension type_name
  881. 5, // [5:5] is the sub-list for extension extendee
  882. 0, // [0:5] is the sub-list for field type_name
  883. }
  884. func init() { file_waCompanionReg_WACompanionReg_proto_init() }
  885. func file_waCompanionReg_WACompanionReg_proto_init() {
  886. if File_waCompanionReg_WACompanionReg_proto != nil {
  887. return
  888. }
  889. type x struct{}
  890. out := protoimpl.TypeBuilder{
  891. File: protoimpl.DescBuilder{
  892. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  893. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waCompanionReg_WACompanionReg_proto_rawDesc), len(file_waCompanionReg_WACompanionReg_proto_rawDesc)),
  894. NumEnums: 1,
  895. NumMessages: 10,
  896. NumExtensions: 0,
  897. NumServices: 0,
  898. },
  899. GoTypes: file_waCompanionReg_WACompanionReg_proto_goTypes,
  900. DependencyIndexes: file_waCompanionReg_WACompanionReg_proto_depIdxs,
  901. EnumInfos: file_waCompanionReg_WACompanionReg_proto_enumTypes,
  902. MessageInfos: file_waCompanionReg_WACompanionReg_proto_msgTypes,
  903. }.Build()
  904. File_waCompanionReg_WACompanionReg_proto = out.File
  905. file_waCompanionReg_WACompanionReg_proto_goTypes = nil
  906. file_waCompanionReg_WACompanionReg_proto_depIdxs = nil
  907. }