WAWebProtobufsVnameCert.pb.go 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851
  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: waVnameCert/WAWebProtobufsVnameCert.proto
  6. package waVnameCert
  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 BizAccountLinkInfo_AccountType int32
  21. const (
  22. BizAccountLinkInfo_ENTERPRISE BizAccountLinkInfo_AccountType = 0
  23. )
  24. // Enum value maps for BizAccountLinkInfo_AccountType.
  25. var (
  26. BizAccountLinkInfo_AccountType_name = map[int32]string{
  27. 0: "ENTERPRISE",
  28. }
  29. BizAccountLinkInfo_AccountType_value = map[string]int32{
  30. "ENTERPRISE": 0,
  31. }
  32. )
  33. func (x BizAccountLinkInfo_AccountType) Enum() *BizAccountLinkInfo_AccountType {
  34. p := new(BizAccountLinkInfo_AccountType)
  35. *p = x
  36. return p
  37. }
  38. func (x BizAccountLinkInfo_AccountType) String() string {
  39. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  40. }
  41. func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor {
  42. return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0].Descriptor()
  43. }
  44. func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType {
  45. return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0]
  46. }
  47. func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber {
  48. return protoreflect.EnumNumber(x)
  49. }
  50. // Deprecated: Do not use.
  51. func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error {
  52. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  53. if err != nil {
  54. return err
  55. }
  56. *x = BizAccountLinkInfo_AccountType(num)
  57. return nil
  58. }
  59. // Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead.
  60. func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) {
  61. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 0}
  62. }
  63. type BizAccountLinkInfo_HostStorageType int32
  64. const (
  65. BizAccountLinkInfo_ON_PREMISE BizAccountLinkInfo_HostStorageType = 0
  66. BizAccountLinkInfo_FACEBOOK BizAccountLinkInfo_HostStorageType = 1
  67. )
  68. // Enum value maps for BizAccountLinkInfo_HostStorageType.
  69. var (
  70. BizAccountLinkInfo_HostStorageType_name = map[int32]string{
  71. 0: "ON_PREMISE",
  72. 1: "FACEBOOK",
  73. }
  74. BizAccountLinkInfo_HostStorageType_value = map[string]int32{
  75. "ON_PREMISE": 0,
  76. "FACEBOOK": 1,
  77. }
  78. )
  79. func (x BizAccountLinkInfo_HostStorageType) Enum() *BizAccountLinkInfo_HostStorageType {
  80. p := new(BizAccountLinkInfo_HostStorageType)
  81. *p = x
  82. return p
  83. }
  84. func (x BizAccountLinkInfo_HostStorageType) String() string {
  85. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  86. }
  87. func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
  88. return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1].Descriptor()
  89. }
  90. func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType {
  91. return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1]
  92. }
  93. func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber {
  94. return protoreflect.EnumNumber(x)
  95. }
  96. // Deprecated: Do not use.
  97. func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error {
  98. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  99. if err != nil {
  100. return err
  101. }
  102. *x = BizAccountLinkInfo_HostStorageType(num)
  103. return nil
  104. }
  105. // Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead.
  106. func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
  107. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 1}
  108. }
  109. type BizIdentityInfo_ActualActorsType int32
  110. const (
  111. BizIdentityInfo_SELF BizIdentityInfo_ActualActorsType = 0
  112. BizIdentityInfo_BSP BizIdentityInfo_ActualActorsType = 1
  113. )
  114. // Enum value maps for BizIdentityInfo_ActualActorsType.
  115. var (
  116. BizIdentityInfo_ActualActorsType_name = map[int32]string{
  117. 0: "SELF",
  118. 1: "BSP",
  119. }
  120. BizIdentityInfo_ActualActorsType_value = map[string]int32{
  121. "SELF": 0,
  122. "BSP": 1,
  123. }
  124. )
  125. func (x BizIdentityInfo_ActualActorsType) Enum() *BizIdentityInfo_ActualActorsType {
  126. p := new(BizIdentityInfo_ActualActorsType)
  127. *p = x
  128. return p
  129. }
  130. func (x BizIdentityInfo_ActualActorsType) String() string {
  131. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  132. }
  133. func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor {
  134. return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2].Descriptor()
  135. }
  136. func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType {
  137. return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2]
  138. }
  139. func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber {
  140. return protoreflect.EnumNumber(x)
  141. }
  142. // Deprecated: Do not use.
  143. func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error {
  144. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  145. if err != nil {
  146. return err
  147. }
  148. *x = BizIdentityInfo_ActualActorsType(num)
  149. return nil
  150. }
  151. // Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead.
  152. func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) {
  153. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 0}
  154. }
  155. type BizIdentityInfo_HostStorageType int32
  156. const (
  157. BizIdentityInfo_ON_PREMISE BizIdentityInfo_HostStorageType = 0
  158. BizIdentityInfo_FACEBOOK BizIdentityInfo_HostStorageType = 1
  159. )
  160. // Enum value maps for BizIdentityInfo_HostStorageType.
  161. var (
  162. BizIdentityInfo_HostStorageType_name = map[int32]string{
  163. 0: "ON_PREMISE",
  164. 1: "FACEBOOK",
  165. }
  166. BizIdentityInfo_HostStorageType_value = map[string]int32{
  167. "ON_PREMISE": 0,
  168. "FACEBOOK": 1,
  169. }
  170. )
  171. func (x BizIdentityInfo_HostStorageType) Enum() *BizIdentityInfo_HostStorageType {
  172. p := new(BizIdentityInfo_HostStorageType)
  173. *p = x
  174. return p
  175. }
  176. func (x BizIdentityInfo_HostStorageType) String() string {
  177. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  178. }
  179. func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
  180. return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3].Descriptor()
  181. }
  182. func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType {
  183. return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3]
  184. }
  185. func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber {
  186. return protoreflect.EnumNumber(x)
  187. }
  188. // Deprecated: Do not use.
  189. func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error {
  190. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  191. if err != nil {
  192. return err
  193. }
  194. *x = BizIdentityInfo_HostStorageType(num)
  195. return nil
  196. }
  197. // Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead.
  198. func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
  199. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 1}
  200. }
  201. type BizIdentityInfo_VerifiedLevelValue int32
  202. const (
  203. BizIdentityInfo_UNKNOWN BizIdentityInfo_VerifiedLevelValue = 0
  204. BizIdentityInfo_LOW BizIdentityInfo_VerifiedLevelValue = 1
  205. BizIdentityInfo_HIGH BizIdentityInfo_VerifiedLevelValue = 2
  206. )
  207. // Enum value maps for BizIdentityInfo_VerifiedLevelValue.
  208. var (
  209. BizIdentityInfo_VerifiedLevelValue_name = map[int32]string{
  210. 0: "UNKNOWN",
  211. 1: "LOW",
  212. 2: "HIGH",
  213. }
  214. BizIdentityInfo_VerifiedLevelValue_value = map[string]int32{
  215. "UNKNOWN": 0,
  216. "LOW": 1,
  217. "HIGH": 2,
  218. }
  219. )
  220. func (x BizIdentityInfo_VerifiedLevelValue) Enum() *BizIdentityInfo_VerifiedLevelValue {
  221. p := new(BizIdentityInfo_VerifiedLevelValue)
  222. *p = x
  223. return p
  224. }
  225. func (x BizIdentityInfo_VerifiedLevelValue) String() string {
  226. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  227. }
  228. func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor {
  229. return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4].Descriptor()
  230. }
  231. func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType {
  232. return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4]
  233. }
  234. func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber {
  235. return protoreflect.EnumNumber(x)
  236. }
  237. // Deprecated: Do not use.
  238. func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error {
  239. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  240. if err != nil {
  241. return err
  242. }
  243. *x = BizIdentityInfo_VerifiedLevelValue(num)
  244. return nil
  245. }
  246. // Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead.
  247. func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) {
  248. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 2}
  249. }
  250. type BizAccountLinkInfo struct {
  251. state protoimpl.MessageState `protogen:"open.v1"`
  252. WhatsappBizAcctFbid *uint64 `protobuf:"varint,1,opt,name=whatsappBizAcctFbid" json:"whatsappBizAcctFbid,omitempty"`
  253. WhatsappAcctNumber *string `protobuf:"bytes,2,opt,name=whatsappAcctNumber" json:"whatsappAcctNumber,omitempty"`
  254. IssueTime *uint64 `protobuf:"varint,3,opt,name=issueTime" json:"issueTime,omitempty"`
  255. HostStorage *BizAccountLinkInfo_HostStorageType `protobuf:"varint,4,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_HostStorageType" json:"hostStorage,omitempty"`
  256. AccountType *BizAccountLinkInfo_AccountType `protobuf:"varint,5,opt,name=accountType,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_AccountType" json:"accountType,omitempty"`
  257. unknownFields protoimpl.UnknownFields
  258. sizeCache protoimpl.SizeCache
  259. }
  260. func (x *BizAccountLinkInfo) Reset() {
  261. *x = BizAccountLinkInfo{}
  262. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0]
  263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  264. ms.StoreMessageInfo(mi)
  265. }
  266. func (x *BizAccountLinkInfo) String() string {
  267. return protoimpl.X.MessageStringOf(x)
  268. }
  269. func (*BizAccountLinkInfo) ProtoMessage() {}
  270. func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message {
  271. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0]
  272. if x != nil {
  273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  274. if ms.LoadMessageInfo() == nil {
  275. ms.StoreMessageInfo(mi)
  276. }
  277. return ms
  278. }
  279. return mi.MessageOf(x)
  280. }
  281. // Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead.
  282. func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) {
  283. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0}
  284. }
  285. func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 {
  286. if x != nil && x.WhatsappBizAcctFbid != nil {
  287. return *x.WhatsappBizAcctFbid
  288. }
  289. return 0
  290. }
  291. func (x *BizAccountLinkInfo) GetWhatsappAcctNumber() string {
  292. if x != nil && x.WhatsappAcctNumber != nil {
  293. return *x.WhatsappAcctNumber
  294. }
  295. return ""
  296. }
  297. func (x *BizAccountLinkInfo) GetIssueTime() uint64 {
  298. if x != nil && x.IssueTime != nil {
  299. return *x.IssueTime
  300. }
  301. return 0
  302. }
  303. func (x *BizAccountLinkInfo) GetHostStorage() BizAccountLinkInfo_HostStorageType {
  304. if x != nil && x.HostStorage != nil {
  305. return *x.HostStorage
  306. }
  307. return BizAccountLinkInfo_ON_PREMISE
  308. }
  309. func (x *BizAccountLinkInfo) GetAccountType() BizAccountLinkInfo_AccountType {
  310. if x != nil && x.AccountType != nil {
  311. return *x.AccountType
  312. }
  313. return BizAccountLinkInfo_ENTERPRISE
  314. }
  315. type BizIdentityInfo struct {
  316. state protoimpl.MessageState `protogen:"open.v1"`
  317. Vlevel *BizIdentityInfo_VerifiedLevelValue `protobuf:"varint,1,opt,name=vlevel,enum=WAWebProtobufsVnameCert.BizIdentityInfo_VerifiedLevelValue" json:"vlevel,omitempty"`
  318. VnameCert *VerifiedNameCertificate `protobuf:"bytes,2,opt,name=vnameCert" json:"vnameCert,omitempty"`
  319. Signed *bool `protobuf:"varint,3,opt,name=signed" json:"signed,omitempty"`
  320. Revoked *bool `protobuf:"varint,4,opt,name=revoked" json:"revoked,omitempty"`
  321. HostStorage *BizIdentityInfo_HostStorageType `protobuf:"varint,5,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizIdentityInfo_HostStorageType" json:"hostStorage,omitempty"`
  322. ActualActors *BizIdentityInfo_ActualActorsType `protobuf:"varint,6,opt,name=actualActors,enum=WAWebProtobufsVnameCert.BizIdentityInfo_ActualActorsType" json:"actualActors,omitempty"`
  323. PrivacyModeTS *uint64 `protobuf:"varint,7,opt,name=privacyModeTS" json:"privacyModeTS,omitempty"`
  324. FeatureControls *uint64 `protobuf:"varint,8,opt,name=featureControls" json:"featureControls,omitempty"`
  325. unknownFields protoimpl.UnknownFields
  326. sizeCache protoimpl.SizeCache
  327. }
  328. func (x *BizIdentityInfo) Reset() {
  329. *x = BizIdentityInfo{}
  330. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1]
  331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  332. ms.StoreMessageInfo(mi)
  333. }
  334. func (x *BizIdentityInfo) String() string {
  335. return protoimpl.X.MessageStringOf(x)
  336. }
  337. func (*BizIdentityInfo) ProtoMessage() {}
  338. func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message {
  339. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1]
  340. if x != nil {
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. if ms.LoadMessageInfo() == nil {
  343. ms.StoreMessageInfo(mi)
  344. }
  345. return ms
  346. }
  347. return mi.MessageOf(x)
  348. }
  349. // Deprecated: Use BizIdentityInfo.ProtoReflect.Descriptor instead.
  350. func (*BizIdentityInfo) Descriptor() ([]byte, []int) {
  351. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1}
  352. }
  353. func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue {
  354. if x != nil && x.Vlevel != nil {
  355. return *x.Vlevel
  356. }
  357. return BizIdentityInfo_UNKNOWN
  358. }
  359. func (x *BizIdentityInfo) GetVnameCert() *VerifiedNameCertificate {
  360. if x != nil {
  361. return x.VnameCert
  362. }
  363. return nil
  364. }
  365. func (x *BizIdentityInfo) GetSigned() bool {
  366. if x != nil && x.Signed != nil {
  367. return *x.Signed
  368. }
  369. return false
  370. }
  371. func (x *BizIdentityInfo) GetRevoked() bool {
  372. if x != nil && x.Revoked != nil {
  373. return *x.Revoked
  374. }
  375. return false
  376. }
  377. func (x *BizIdentityInfo) GetHostStorage() BizIdentityInfo_HostStorageType {
  378. if x != nil && x.HostStorage != nil {
  379. return *x.HostStorage
  380. }
  381. return BizIdentityInfo_ON_PREMISE
  382. }
  383. func (x *BizIdentityInfo) GetActualActors() BizIdentityInfo_ActualActorsType {
  384. if x != nil && x.ActualActors != nil {
  385. return *x.ActualActors
  386. }
  387. return BizIdentityInfo_SELF
  388. }
  389. func (x *BizIdentityInfo) GetPrivacyModeTS() uint64 {
  390. if x != nil && x.PrivacyModeTS != nil {
  391. return *x.PrivacyModeTS
  392. }
  393. return 0
  394. }
  395. func (x *BizIdentityInfo) GetFeatureControls() uint64 {
  396. if x != nil && x.FeatureControls != nil {
  397. return *x.FeatureControls
  398. }
  399. return 0
  400. }
  401. type LocalizedName struct {
  402. state protoimpl.MessageState `protogen:"open.v1"`
  403. Lg *string `protobuf:"bytes,1,opt,name=lg" json:"lg,omitempty"`
  404. Lc *string `protobuf:"bytes,2,opt,name=lc" json:"lc,omitempty"`
  405. VerifiedName *string `protobuf:"bytes,3,opt,name=verifiedName" json:"verifiedName,omitempty"`
  406. unknownFields protoimpl.UnknownFields
  407. sizeCache protoimpl.SizeCache
  408. }
  409. func (x *LocalizedName) Reset() {
  410. *x = LocalizedName{}
  411. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2]
  412. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  413. ms.StoreMessageInfo(mi)
  414. }
  415. func (x *LocalizedName) String() string {
  416. return protoimpl.X.MessageStringOf(x)
  417. }
  418. func (*LocalizedName) ProtoMessage() {}
  419. func (x *LocalizedName) ProtoReflect() protoreflect.Message {
  420. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2]
  421. if x != nil {
  422. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  423. if ms.LoadMessageInfo() == nil {
  424. ms.StoreMessageInfo(mi)
  425. }
  426. return ms
  427. }
  428. return mi.MessageOf(x)
  429. }
  430. // Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead.
  431. func (*LocalizedName) Descriptor() ([]byte, []int) {
  432. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{2}
  433. }
  434. func (x *LocalizedName) GetLg() string {
  435. if x != nil && x.Lg != nil {
  436. return *x.Lg
  437. }
  438. return ""
  439. }
  440. func (x *LocalizedName) GetLc() string {
  441. if x != nil && x.Lc != nil {
  442. return *x.Lc
  443. }
  444. return ""
  445. }
  446. func (x *LocalizedName) GetVerifiedName() string {
  447. if x != nil && x.VerifiedName != nil {
  448. return *x.VerifiedName
  449. }
  450. return ""
  451. }
  452. type VerifiedNameCertificate struct {
  453. state protoimpl.MessageState `protogen:"open.v1"`
  454. Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
  455. Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
  456. ServerSignature []byte `protobuf:"bytes,3,opt,name=serverSignature" json:"serverSignature,omitempty"`
  457. unknownFields protoimpl.UnknownFields
  458. sizeCache protoimpl.SizeCache
  459. }
  460. func (x *VerifiedNameCertificate) Reset() {
  461. *x = VerifiedNameCertificate{}
  462. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3]
  463. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  464. ms.StoreMessageInfo(mi)
  465. }
  466. func (x *VerifiedNameCertificate) String() string {
  467. return protoimpl.X.MessageStringOf(x)
  468. }
  469. func (*VerifiedNameCertificate) ProtoMessage() {}
  470. func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message {
  471. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3]
  472. if x != nil {
  473. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  474. if ms.LoadMessageInfo() == nil {
  475. ms.StoreMessageInfo(mi)
  476. }
  477. return ms
  478. }
  479. return mi.MessageOf(x)
  480. }
  481. // Deprecated: Use VerifiedNameCertificate.ProtoReflect.Descriptor instead.
  482. func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) {
  483. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3}
  484. }
  485. func (x *VerifiedNameCertificate) GetDetails() []byte {
  486. if x != nil {
  487. return x.Details
  488. }
  489. return nil
  490. }
  491. func (x *VerifiedNameCertificate) GetSignature() []byte {
  492. if x != nil {
  493. return x.Signature
  494. }
  495. return nil
  496. }
  497. func (x *VerifiedNameCertificate) GetServerSignature() []byte {
  498. if x != nil {
  499. return x.ServerSignature
  500. }
  501. return nil
  502. }
  503. type BizAccountPayload struct {
  504. state protoimpl.MessageState `protogen:"open.v1"`
  505. VnameCert *VerifiedNameCertificate `protobuf:"bytes,1,opt,name=vnameCert" json:"vnameCert,omitempty"`
  506. BizAcctLinkInfo []byte `protobuf:"bytes,2,opt,name=bizAcctLinkInfo" json:"bizAcctLinkInfo,omitempty"`
  507. unknownFields protoimpl.UnknownFields
  508. sizeCache protoimpl.SizeCache
  509. }
  510. func (x *BizAccountPayload) Reset() {
  511. *x = BizAccountPayload{}
  512. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4]
  513. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  514. ms.StoreMessageInfo(mi)
  515. }
  516. func (x *BizAccountPayload) String() string {
  517. return protoimpl.X.MessageStringOf(x)
  518. }
  519. func (*BizAccountPayload) ProtoMessage() {}
  520. func (x *BizAccountPayload) ProtoReflect() protoreflect.Message {
  521. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4]
  522. if x != nil {
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. if ms.LoadMessageInfo() == nil {
  525. ms.StoreMessageInfo(mi)
  526. }
  527. return ms
  528. }
  529. return mi.MessageOf(x)
  530. }
  531. // Deprecated: Use BizAccountPayload.ProtoReflect.Descriptor instead.
  532. func (*BizAccountPayload) Descriptor() ([]byte, []int) {
  533. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{4}
  534. }
  535. func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate {
  536. if x != nil {
  537. return x.VnameCert
  538. }
  539. return nil
  540. }
  541. func (x *BizAccountPayload) GetBizAcctLinkInfo() []byte {
  542. if x != nil {
  543. return x.BizAcctLinkInfo
  544. }
  545. return nil
  546. }
  547. type VerifiedNameCertificate_Details struct {
  548. state protoimpl.MessageState `protogen:"open.v1"`
  549. Serial *uint64 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
  550. Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
  551. VerifiedName *string `protobuf:"bytes,4,opt,name=verifiedName" json:"verifiedName,omitempty"`
  552. LocalizedNames []*LocalizedName `protobuf:"bytes,8,rep,name=localizedNames" json:"localizedNames,omitempty"`
  553. IssueTime *uint64 `protobuf:"varint,10,opt,name=issueTime" json:"issueTime,omitempty"`
  554. unknownFields protoimpl.UnknownFields
  555. sizeCache protoimpl.SizeCache
  556. }
  557. func (x *VerifiedNameCertificate_Details) Reset() {
  558. *x = VerifiedNameCertificate_Details{}
  559. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5]
  560. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  561. ms.StoreMessageInfo(mi)
  562. }
  563. func (x *VerifiedNameCertificate_Details) String() string {
  564. return protoimpl.X.MessageStringOf(x)
  565. }
  566. func (*VerifiedNameCertificate_Details) ProtoMessage() {}
  567. func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message {
  568. mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5]
  569. if x != nil {
  570. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  571. if ms.LoadMessageInfo() == nil {
  572. ms.StoreMessageInfo(mi)
  573. }
  574. return ms
  575. }
  576. return mi.MessageOf(x)
  577. }
  578. // Deprecated: Use VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead.
  579. func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) {
  580. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3, 0}
  581. }
  582. func (x *VerifiedNameCertificate_Details) GetSerial() uint64 {
  583. if x != nil && x.Serial != nil {
  584. return *x.Serial
  585. }
  586. return 0
  587. }
  588. func (x *VerifiedNameCertificate_Details) GetIssuer() string {
  589. if x != nil && x.Issuer != nil {
  590. return *x.Issuer
  591. }
  592. return ""
  593. }
  594. func (x *VerifiedNameCertificate_Details) GetVerifiedName() string {
  595. if x != nil && x.VerifiedName != nil {
  596. return *x.VerifiedName
  597. }
  598. return ""
  599. }
  600. func (x *VerifiedNameCertificate_Details) GetLocalizedNames() []*LocalizedName {
  601. if x != nil {
  602. return x.LocalizedNames
  603. }
  604. return nil
  605. }
  606. func (x *VerifiedNameCertificate_Details) GetIssueTime() uint64 {
  607. if x != nil && x.IssueTime != nil {
  608. return *x.IssueTime
  609. }
  610. return 0
  611. }
  612. var File_waVnameCert_WAWebProtobufsVnameCert_proto protoreflect.FileDescriptor
  613. const file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc = "" +
  614. "\n" +
  615. ")waVnameCert/WAWebProtobufsVnameCert.proto\x12\x17WAWebProtobufsVnameCert\"\x9e\x03\n" +
  616. "\x12BizAccountLinkInfo\x120\n" +
  617. "\x13whatsappBizAcctFbid\x18\x01 \x01(\x04R\x13whatsappBizAcctFbid\x12.\n" +
  618. "\x12whatsappAcctNumber\x18\x02 \x01(\tR\x12whatsappAcctNumber\x12\x1c\n" +
  619. "\tissueTime\x18\x03 \x01(\x04R\tissueTime\x12]\n" +
  620. "\vhostStorage\x18\x04 \x01(\x0e2;.WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageTypeR\vhostStorage\x12Y\n" +
  621. "\vaccountType\x18\x05 \x01(\x0e27.WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountTypeR\vaccountType\"\x1d\n" +
  622. "\vAccountType\x12\x0e\n" +
  623. "\n" +
  624. "ENTERPRISE\x10\x00\"/\n" +
  625. "\x0fHostStorageType\x12\x0e\n" +
  626. "\n" +
  627. "ON_PREMISE\x10\x00\x12\f\n" +
  628. "\bFACEBOOK\x10\x01\"\x81\x05\n" +
  629. "\x0fBizIdentityInfo\x12S\n" +
  630. "\x06vlevel\x18\x01 \x01(\x0e2;.WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValueR\x06vlevel\x12N\n" +
  631. "\tvnameCert\x18\x02 \x01(\v20.WAWebProtobufsVnameCert.VerifiedNameCertificateR\tvnameCert\x12\x16\n" +
  632. "\x06signed\x18\x03 \x01(\bR\x06signed\x12\x18\n" +
  633. "\arevoked\x18\x04 \x01(\bR\arevoked\x12Z\n" +
  634. "\vhostStorage\x18\x05 \x01(\x0e28.WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageTypeR\vhostStorage\x12]\n" +
  635. "\factualActors\x18\x06 \x01(\x0e29.WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsTypeR\factualActors\x12$\n" +
  636. "\rprivacyModeTS\x18\a \x01(\x04R\rprivacyModeTS\x12(\n" +
  637. "\x0ffeatureControls\x18\b \x01(\x04R\x0ffeatureControls\"%\n" +
  638. "\x10ActualActorsType\x12\b\n" +
  639. "\x04SELF\x10\x00\x12\a\n" +
  640. "\x03BSP\x10\x01\"/\n" +
  641. "\x0fHostStorageType\x12\x0e\n" +
  642. "\n" +
  643. "ON_PREMISE\x10\x00\x12\f\n" +
  644. "\bFACEBOOK\x10\x01\"4\n" +
  645. "\x12VerifiedLevelValue\x12\v\n" +
  646. "\aUNKNOWN\x10\x00\x12\a\n" +
  647. "\x03LOW\x10\x01\x12\b\n" +
  648. "\x04HIGH\x10\x02\"S\n" +
  649. "\rLocalizedName\x12\x0e\n" +
  650. "\x02lg\x18\x01 \x01(\tR\x02lg\x12\x0e\n" +
  651. "\x02lc\x18\x02 \x01(\tR\x02lc\x12\"\n" +
  652. "\fverifiedName\x18\x03 \x01(\tR\fverifiedName\"\xc9\x02\n" +
  653. "\x17VerifiedNameCertificate\x12\x18\n" +
  654. "\adetails\x18\x01 \x01(\fR\adetails\x12\x1c\n" +
  655. "\tsignature\x18\x02 \x01(\fR\tsignature\x12(\n" +
  656. "\x0fserverSignature\x18\x03 \x01(\fR\x0fserverSignature\x1a\xcb\x01\n" +
  657. "\aDetails\x12\x16\n" +
  658. "\x06serial\x18\x01 \x01(\x04R\x06serial\x12\x16\n" +
  659. "\x06issuer\x18\x02 \x01(\tR\x06issuer\x12\"\n" +
  660. "\fverifiedName\x18\x04 \x01(\tR\fverifiedName\x12N\n" +
  661. "\x0elocalizedNames\x18\b \x03(\v2&.WAWebProtobufsVnameCert.LocalizedNameR\x0elocalizedNames\x12\x1c\n" +
  662. "\tissueTime\x18\n" +
  663. " \x01(\x04R\tissueTime\"\x8d\x01\n" +
  664. "\x11BizAccountPayload\x12N\n" +
  665. "\tvnameCert\x18\x01 \x01(\v20.WAWebProtobufsVnameCert.VerifiedNameCertificateR\tvnameCert\x12(\n" +
  666. "\x0fbizAcctLinkInfo\x18\x02 \x01(\fR\x0fbizAcctLinkInfoB2Z0git.bobomao.top/joey/whatsmeow/proto/waVnameCert"
  667. var (
  668. file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce sync.Once
  669. file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData []byte
  670. )
  671. func file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP() []byte {
  672. file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce.Do(func() {
  673. file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc), len(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc)))
  674. })
  675. return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData
  676. }
  677. var file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
  678. var file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  679. var file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = []any{
  680. (BizAccountLinkInfo_AccountType)(0), // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType
  681. (BizAccountLinkInfo_HostStorageType)(0), // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType
  682. (BizIdentityInfo_ActualActorsType)(0), // 2: WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType
  683. (BizIdentityInfo_HostStorageType)(0), // 3: WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType
  684. (BizIdentityInfo_VerifiedLevelValue)(0), // 4: WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue
  685. (*BizAccountLinkInfo)(nil), // 5: WAWebProtobufsVnameCert.BizAccountLinkInfo
  686. (*BizIdentityInfo)(nil), // 6: WAWebProtobufsVnameCert.BizIdentityInfo
  687. (*LocalizedName)(nil), // 7: WAWebProtobufsVnameCert.LocalizedName
  688. (*VerifiedNameCertificate)(nil), // 8: WAWebProtobufsVnameCert.VerifiedNameCertificate
  689. (*BizAccountPayload)(nil), // 9: WAWebProtobufsVnameCert.BizAccountPayload
  690. (*VerifiedNameCertificate_Details)(nil), // 10: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details
  691. }
  692. var file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = []int32{
  693. 1, // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType
  694. 0, // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.accountType:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType
  695. 4, // 2: WAWebProtobufsVnameCert.BizIdentityInfo.vlevel:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue
  696. 8, // 3: WAWebProtobufsVnameCert.BizIdentityInfo.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate
  697. 3, // 4: WAWebProtobufsVnameCert.BizIdentityInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType
  698. 2, // 5: WAWebProtobufsVnameCert.BizIdentityInfo.actualActors:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType
  699. 8, // 6: WAWebProtobufsVnameCert.BizAccountPayload.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate
  700. 7, // 7: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details.localizedNames:type_name -> WAWebProtobufsVnameCert.LocalizedName
  701. 8, // [8:8] is the sub-list for method output_type
  702. 8, // [8:8] is the sub-list for method input_type
  703. 8, // [8:8] is the sub-list for extension type_name
  704. 8, // [8:8] is the sub-list for extension extendee
  705. 0, // [0:8] is the sub-list for field type_name
  706. }
  707. func init() { file_waVnameCert_WAWebProtobufsVnameCert_proto_init() }
  708. func file_waVnameCert_WAWebProtobufsVnameCert_proto_init() {
  709. if File_waVnameCert_WAWebProtobufsVnameCert_proto != nil {
  710. return
  711. }
  712. type x struct{}
  713. out := protoimpl.TypeBuilder{
  714. File: protoimpl.DescBuilder{
  715. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  716. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc), len(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc)),
  717. NumEnums: 5,
  718. NumMessages: 6,
  719. NumExtensions: 0,
  720. NumServices: 0,
  721. },
  722. GoTypes: file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes,
  723. DependencyIndexes: file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs,
  724. EnumInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes,
  725. MessageInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes,
  726. }.Build()
  727. File_waVnameCert_WAWebProtobufsVnameCert_proto = out.File
  728. file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = nil
  729. file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = nil
  730. }