| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v6.31.1
- // source: waVnameCert/WAWebProtobufsVnameCert.proto
- package waVnameCert
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type BizAccountLinkInfo_AccountType int32
- const (
- BizAccountLinkInfo_ENTERPRISE BizAccountLinkInfo_AccountType = 0
- )
- // Enum value maps for BizAccountLinkInfo_AccountType.
- var (
- BizAccountLinkInfo_AccountType_name = map[int32]string{
- 0: "ENTERPRISE",
- }
- BizAccountLinkInfo_AccountType_value = map[string]int32{
- "ENTERPRISE": 0,
- }
- )
- func (x BizAccountLinkInfo_AccountType) Enum() *BizAccountLinkInfo_AccountType {
- p := new(BizAccountLinkInfo_AccountType)
- *p = x
- return p
- }
- func (x BizAccountLinkInfo_AccountType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0].Descriptor()
- }
- func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType {
- return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0]
- }
- func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = BizAccountLinkInfo_AccountType(num)
- return nil
- }
- // Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead.
- func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 0}
- }
- type BizAccountLinkInfo_HostStorageType int32
- const (
- BizAccountLinkInfo_ON_PREMISE BizAccountLinkInfo_HostStorageType = 0
- BizAccountLinkInfo_FACEBOOK BizAccountLinkInfo_HostStorageType = 1
- )
- // Enum value maps for BizAccountLinkInfo_HostStorageType.
- var (
- BizAccountLinkInfo_HostStorageType_name = map[int32]string{
- 0: "ON_PREMISE",
- 1: "FACEBOOK",
- }
- BizAccountLinkInfo_HostStorageType_value = map[string]int32{
- "ON_PREMISE": 0,
- "FACEBOOK": 1,
- }
- )
- func (x BizAccountLinkInfo_HostStorageType) Enum() *BizAccountLinkInfo_HostStorageType {
- p := new(BizAccountLinkInfo_HostStorageType)
- *p = x
- return p
- }
- func (x BizAccountLinkInfo_HostStorageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1].Descriptor()
- }
- func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType {
- return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1]
- }
- func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = BizAccountLinkInfo_HostStorageType(num)
- return nil
- }
- // Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead.
- func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 1}
- }
- type BizIdentityInfo_ActualActorsType int32
- const (
- BizIdentityInfo_SELF BizIdentityInfo_ActualActorsType = 0
- BizIdentityInfo_BSP BizIdentityInfo_ActualActorsType = 1
- )
- // Enum value maps for BizIdentityInfo_ActualActorsType.
- var (
- BizIdentityInfo_ActualActorsType_name = map[int32]string{
- 0: "SELF",
- 1: "BSP",
- }
- BizIdentityInfo_ActualActorsType_value = map[string]int32{
- "SELF": 0,
- "BSP": 1,
- }
- )
- func (x BizIdentityInfo_ActualActorsType) Enum() *BizIdentityInfo_ActualActorsType {
- p := new(BizIdentityInfo_ActualActorsType)
- *p = x
- return p
- }
- func (x BizIdentityInfo_ActualActorsType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2].Descriptor()
- }
- func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType {
- return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2]
- }
- func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = BizIdentityInfo_ActualActorsType(num)
- return nil
- }
- // Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead.
- func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 0}
- }
- type BizIdentityInfo_HostStorageType int32
- const (
- BizIdentityInfo_ON_PREMISE BizIdentityInfo_HostStorageType = 0
- BizIdentityInfo_FACEBOOK BizIdentityInfo_HostStorageType = 1
- )
- // Enum value maps for BizIdentityInfo_HostStorageType.
- var (
- BizIdentityInfo_HostStorageType_name = map[int32]string{
- 0: "ON_PREMISE",
- 1: "FACEBOOK",
- }
- BizIdentityInfo_HostStorageType_value = map[string]int32{
- "ON_PREMISE": 0,
- "FACEBOOK": 1,
- }
- )
- func (x BizIdentityInfo_HostStorageType) Enum() *BizIdentityInfo_HostStorageType {
- p := new(BizIdentityInfo_HostStorageType)
- *p = x
- return p
- }
- func (x BizIdentityInfo_HostStorageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3].Descriptor()
- }
- func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType {
- return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3]
- }
- func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = BizIdentityInfo_HostStorageType(num)
- return nil
- }
- // Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead.
- func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 1}
- }
- type BizIdentityInfo_VerifiedLevelValue int32
- const (
- BizIdentityInfo_UNKNOWN BizIdentityInfo_VerifiedLevelValue = 0
- BizIdentityInfo_LOW BizIdentityInfo_VerifiedLevelValue = 1
- BizIdentityInfo_HIGH BizIdentityInfo_VerifiedLevelValue = 2
- )
- // Enum value maps for BizIdentityInfo_VerifiedLevelValue.
- var (
- BizIdentityInfo_VerifiedLevelValue_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "LOW",
- 2: "HIGH",
- }
- BizIdentityInfo_VerifiedLevelValue_value = map[string]int32{
- "UNKNOWN": 0,
- "LOW": 1,
- "HIGH": 2,
- }
- )
- func (x BizIdentityInfo_VerifiedLevelValue) Enum() *BizIdentityInfo_VerifiedLevelValue {
- p := new(BizIdentityInfo_VerifiedLevelValue)
- *p = x
- return p
- }
- func (x BizIdentityInfo_VerifiedLevelValue) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4].Descriptor()
- }
- func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType {
- return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4]
- }
- func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = BizIdentityInfo_VerifiedLevelValue(num)
- return nil
- }
- // Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead.
- func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 2}
- }
- type BizAccountLinkInfo struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- WhatsappBizAcctFbid *uint64 `protobuf:"varint,1,opt,name=whatsappBizAcctFbid" json:"whatsappBizAcctFbid,omitempty"`
- WhatsappAcctNumber *string `protobuf:"bytes,2,opt,name=whatsappAcctNumber" json:"whatsappAcctNumber,omitempty"`
- IssueTime *uint64 `protobuf:"varint,3,opt,name=issueTime" json:"issueTime,omitempty"`
- HostStorage *BizAccountLinkInfo_HostStorageType `protobuf:"varint,4,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_HostStorageType" json:"hostStorage,omitempty"`
- AccountType *BizAccountLinkInfo_AccountType `protobuf:"varint,5,opt,name=accountType,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_AccountType" json:"accountType,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BizAccountLinkInfo) Reset() {
- *x = BizAccountLinkInfo{}
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BizAccountLinkInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BizAccountLinkInfo) ProtoMessage() {}
- func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message {
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead.
- func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0}
- }
- func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 {
- if x != nil && x.WhatsappBizAcctFbid != nil {
- return *x.WhatsappBizAcctFbid
- }
- return 0
- }
- func (x *BizAccountLinkInfo) GetWhatsappAcctNumber() string {
- if x != nil && x.WhatsappAcctNumber != nil {
- return *x.WhatsappAcctNumber
- }
- return ""
- }
- func (x *BizAccountLinkInfo) GetIssueTime() uint64 {
- if x != nil && x.IssueTime != nil {
- return *x.IssueTime
- }
- return 0
- }
- func (x *BizAccountLinkInfo) GetHostStorage() BizAccountLinkInfo_HostStorageType {
- if x != nil && x.HostStorage != nil {
- return *x.HostStorage
- }
- return BizAccountLinkInfo_ON_PREMISE
- }
- func (x *BizAccountLinkInfo) GetAccountType() BizAccountLinkInfo_AccountType {
- if x != nil && x.AccountType != nil {
- return *x.AccountType
- }
- return BizAccountLinkInfo_ENTERPRISE
- }
- type BizIdentityInfo struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Vlevel *BizIdentityInfo_VerifiedLevelValue `protobuf:"varint,1,opt,name=vlevel,enum=WAWebProtobufsVnameCert.BizIdentityInfo_VerifiedLevelValue" json:"vlevel,omitempty"`
- VnameCert *VerifiedNameCertificate `protobuf:"bytes,2,opt,name=vnameCert" json:"vnameCert,omitempty"`
- Signed *bool `protobuf:"varint,3,opt,name=signed" json:"signed,omitempty"`
- Revoked *bool `protobuf:"varint,4,opt,name=revoked" json:"revoked,omitempty"`
- HostStorage *BizIdentityInfo_HostStorageType `protobuf:"varint,5,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizIdentityInfo_HostStorageType" json:"hostStorage,omitempty"`
- ActualActors *BizIdentityInfo_ActualActorsType `protobuf:"varint,6,opt,name=actualActors,enum=WAWebProtobufsVnameCert.BizIdentityInfo_ActualActorsType" json:"actualActors,omitempty"`
- PrivacyModeTS *uint64 `protobuf:"varint,7,opt,name=privacyModeTS" json:"privacyModeTS,omitempty"`
- FeatureControls *uint64 `protobuf:"varint,8,opt,name=featureControls" json:"featureControls,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BizIdentityInfo) Reset() {
- *x = BizIdentityInfo{}
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BizIdentityInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BizIdentityInfo) ProtoMessage() {}
- func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message {
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BizIdentityInfo.ProtoReflect.Descriptor instead.
- func (*BizIdentityInfo) Descriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1}
- }
- func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue {
- if x != nil && x.Vlevel != nil {
- return *x.Vlevel
- }
- return BizIdentityInfo_UNKNOWN
- }
- func (x *BizIdentityInfo) GetVnameCert() *VerifiedNameCertificate {
- if x != nil {
- return x.VnameCert
- }
- return nil
- }
- func (x *BizIdentityInfo) GetSigned() bool {
- if x != nil && x.Signed != nil {
- return *x.Signed
- }
- return false
- }
- func (x *BizIdentityInfo) GetRevoked() bool {
- if x != nil && x.Revoked != nil {
- return *x.Revoked
- }
- return false
- }
- func (x *BizIdentityInfo) GetHostStorage() BizIdentityInfo_HostStorageType {
- if x != nil && x.HostStorage != nil {
- return *x.HostStorage
- }
- return BizIdentityInfo_ON_PREMISE
- }
- func (x *BizIdentityInfo) GetActualActors() BizIdentityInfo_ActualActorsType {
- if x != nil && x.ActualActors != nil {
- return *x.ActualActors
- }
- return BizIdentityInfo_SELF
- }
- func (x *BizIdentityInfo) GetPrivacyModeTS() uint64 {
- if x != nil && x.PrivacyModeTS != nil {
- return *x.PrivacyModeTS
- }
- return 0
- }
- func (x *BizIdentityInfo) GetFeatureControls() uint64 {
- if x != nil && x.FeatureControls != nil {
- return *x.FeatureControls
- }
- return 0
- }
- type LocalizedName struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Lg *string `protobuf:"bytes,1,opt,name=lg" json:"lg,omitempty"`
- Lc *string `protobuf:"bytes,2,opt,name=lc" json:"lc,omitempty"`
- VerifiedName *string `protobuf:"bytes,3,opt,name=verifiedName" json:"verifiedName,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LocalizedName) Reset() {
- *x = LocalizedName{}
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LocalizedName) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LocalizedName) ProtoMessage() {}
- func (x *LocalizedName) ProtoReflect() protoreflect.Message {
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead.
- func (*LocalizedName) Descriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{2}
- }
- func (x *LocalizedName) GetLg() string {
- if x != nil && x.Lg != nil {
- return *x.Lg
- }
- return ""
- }
- func (x *LocalizedName) GetLc() string {
- if x != nil && x.Lc != nil {
- return *x.Lc
- }
- return ""
- }
- func (x *LocalizedName) GetVerifiedName() string {
- if x != nil && x.VerifiedName != nil {
- return *x.VerifiedName
- }
- return ""
- }
- type VerifiedNameCertificate struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
- Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
- ServerSignature []byte `protobuf:"bytes,3,opt,name=serverSignature" json:"serverSignature,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *VerifiedNameCertificate) Reset() {
- *x = VerifiedNameCertificate{}
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *VerifiedNameCertificate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*VerifiedNameCertificate) ProtoMessage() {}
- func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message {
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use VerifiedNameCertificate.ProtoReflect.Descriptor instead.
- func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3}
- }
- func (x *VerifiedNameCertificate) GetDetails() []byte {
- if x != nil {
- return x.Details
- }
- return nil
- }
- func (x *VerifiedNameCertificate) GetSignature() []byte {
- if x != nil {
- return x.Signature
- }
- return nil
- }
- func (x *VerifiedNameCertificate) GetServerSignature() []byte {
- if x != nil {
- return x.ServerSignature
- }
- return nil
- }
- type BizAccountPayload struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- VnameCert *VerifiedNameCertificate `protobuf:"bytes,1,opt,name=vnameCert" json:"vnameCert,omitempty"`
- BizAcctLinkInfo []byte `protobuf:"bytes,2,opt,name=bizAcctLinkInfo" json:"bizAcctLinkInfo,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BizAccountPayload) Reset() {
- *x = BizAccountPayload{}
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BizAccountPayload) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BizAccountPayload) ProtoMessage() {}
- func (x *BizAccountPayload) ProtoReflect() protoreflect.Message {
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BizAccountPayload.ProtoReflect.Descriptor instead.
- func (*BizAccountPayload) Descriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{4}
- }
- func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate {
- if x != nil {
- return x.VnameCert
- }
- return nil
- }
- func (x *BizAccountPayload) GetBizAcctLinkInfo() []byte {
- if x != nil {
- return x.BizAcctLinkInfo
- }
- return nil
- }
- type VerifiedNameCertificate_Details struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Serial *uint64 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
- Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
- VerifiedName *string `protobuf:"bytes,4,opt,name=verifiedName" json:"verifiedName,omitempty"`
- LocalizedNames []*LocalizedName `protobuf:"bytes,8,rep,name=localizedNames" json:"localizedNames,omitempty"`
- IssueTime *uint64 `protobuf:"varint,10,opt,name=issueTime" json:"issueTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *VerifiedNameCertificate_Details) Reset() {
- *x = VerifiedNameCertificate_Details{}
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *VerifiedNameCertificate_Details) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*VerifiedNameCertificate_Details) ProtoMessage() {}
- func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message {
- mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead.
- func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) {
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3, 0}
- }
- func (x *VerifiedNameCertificate_Details) GetSerial() uint64 {
- if x != nil && x.Serial != nil {
- return *x.Serial
- }
- return 0
- }
- func (x *VerifiedNameCertificate_Details) GetIssuer() string {
- if x != nil && x.Issuer != nil {
- return *x.Issuer
- }
- return ""
- }
- func (x *VerifiedNameCertificate_Details) GetVerifiedName() string {
- if x != nil && x.VerifiedName != nil {
- return *x.VerifiedName
- }
- return ""
- }
- func (x *VerifiedNameCertificate_Details) GetLocalizedNames() []*LocalizedName {
- if x != nil {
- return x.LocalizedNames
- }
- return nil
- }
- func (x *VerifiedNameCertificate_Details) GetIssueTime() uint64 {
- if x != nil && x.IssueTime != nil {
- return *x.IssueTime
- }
- return 0
- }
- var File_waVnameCert_WAWebProtobufsVnameCert_proto protoreflect.FileDescriptor
- const file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc = "" +
- "\n" +
- ")waVnameCert/WAWebProtobufsVnameCert.proto\x12\x17WAWebProtobufsVnameCert\"\x9e\x03\n" +
- "\x12BizAccountLinkInfo\x120\n" +
- "\x13whatsappBizAcctFbid\x18\x01 \x01(\x04R\x13whatsappBizAcctFbid\x12.\n" +
- "\x12whatsappAcctNumber\x18\x02 \x01(\tR\x12whatsappAcctNumber\x12\x1c\n" +
- "\tissueTime\x18\x03 \x01(\x04R\tissueTime\x12]\n" +
- "\vhostStorage\x18\x04 \x01(\x0e2;.WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageTypeR\vhostStorage\x12Y\n" +
- "\vaccountType\x18\x05 \x01(\x0e27.WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountTypeR\vaccountType\"\x1d\n" +
- "\vAccountType\x12\x0e\n" +
- "\n" +
- "ENTERPRISE\x10\x00\"/\n" +
- "\x0fHostStorageType\x12\x0e\n" +
- "\n" +
- "ON_PREMISE\x10\x00\x12\f\n" +
- "\bFACEBOOK\x10\x01\"\x81\x05\n" +
- "\x0fBizIdentityInfo\x12S\n" +
- "\x06vlevel\x18\x01 \x01(\x0e2;.WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValueR\x06vlevel\x12N\n" +
- "\tvnameCert\x18\x02 \x01(\v20.WAWebProtobufsVnameCert.VerifiedNameCertificateR\tvnameCert\x12\x16\n" +
- "\x06signed\x18\x03 \x01(\bR\x06signed\x12\x18\n" +
- "\arevoked\x18\x04 \x01(\bR\arevoked\x12Z\n" +
- "\vhostStorage\x18\x05 \x01(\x0e28.WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageTypeR\vhostStorage\x12]\n" +
- "\factualActors\x18\x06 \x01(\x0e29.WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsTypeR\factualActors\x12$\n" +
- "\rprivacyModeTS\x18\a \x01(\x04R\rprivacyModeTS\x12(\n" +
- "\x0ffeatureControls\x18\b \x01(\x04R\x0ffeatureControls\"%\n" +
- "\x10ActualActorsType\x12\b\n" +
- "\x04SELF\x10\x00\x12\a\n" +
- "\x03BSP\x10\x01\"/\n" +
- "\x0fHostStorageType\x12\x0e\n" +
- "\n" +
- "ON_PREMISE\x10\x00\x12\f\n" +
- "\bFACEBOOK\x10\x01\"4\n" +
- "\x12VerifiedLevelValue\x12\v\n" +
- "\aUNKNOWN\x10\x00\x12\a\n" +
- "\x03LOW\x10\x01\x12\b\n" +
- "\x04HIGH\x10\x02\"S\n" +
- "\rLocalizedName\x12\x0e\n" +
- "\x02lg\x18\x01 \x01(\tR\x02lg\x12\x0e\n" +
- "\x02lc\x18\x02 \x01(\tR\x02lc\x12\"\n" +
- "\fverifiedName\x18\x03 \x01(\tR\fverifiedName\"\xc9\x02\n" +
- "\x17VerifiedNameCertificate\x12\x18\n" +
- "\adetails\x18\x01 \x01(\fR\adetails\x12\x1c\n" +
- "\tsignature\x18\x02 \x01(\fR\tsignature\x12(\n" +
- "\x0fserverSignature\x18\x03 \x01(\fR\x0fserverSignature\x1a\xcb\x01\n" +
- "\aDetails\x12\x16\n" +
- "\x06serial\x18\x01 \x01(\x04R\x06serial\x12\x16\n" +
- "\x06issuer\x18\x02 \x01(\tR\x06issuer\x12\"\n" +
- "\fverifiedName\x18\x04 \x01(\tR\fverifiedName\x12N\n" +
- "\x0elocalizedNames\x18\b \x03(\v2&.WAWebProtobufsVnameCert.LocalizedNameR\x0elocalizedNames\x12\x1c\n" +
- "\tissueTime\x18\n" +
- " \x01(\x04R\tissueTime\"\x8d\x01\n" +
- "\x11BizAccountPayload\x12N\n" +
- "\tvnameCert\x18\x01 \x01(\v20.WAWebProtobufsVnameCert.VerifiedNameCertificateR\tvnameCert\x12(\n" +
- "\x0fbizAcctLinkInfo\x18\x02 \x01(\fR\x0fbizAcctLinkInfoB2Z0git.bobomao.top/joey/whatsmeow/proto/waVnameCert"
- var (
- file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce sync.Once
- file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData []byte
- )
- func file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP() []byte {
- file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce.Do(func() {
- file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc), len(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc)))
- })
- return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData
- }
- var file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
- var file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
- var file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = []any{
- (BizAccountLinkInfo_AccountType)(0), // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType
- (BizAccountLinkInfo_HostStorageType)(0), // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType
- (BizIdentityInfo_ActualActorsType)(0), // 2: WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType
- (BizIdentityInfo_HostStorageType)(0), // 3: WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType
- (BizIdentityInfo_VerifiedLevelValue)(0), // 4: WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue
- (*BizAccountLinkInfo)(nil), // 5: WAWebProtobufsVnameCert.BizAccountLinkInfo
- (*BizIdentityInfo)(nil), // 6: WAWebProtobufsVnameCert.BizIdentityInfo
- (*LocalizedName)(nil), // 7: WAWebProtobufsVnameCert.LocalizedName
- (*VerifiedNameCertificate)(nil), // 8: WAWebProtobufsVnameCert.VerifiedNameCertificate
- (*BizAccountPayload)(nil), // 9: WAWebProtobufsVnameCert.BizAccountPayload
- (*VerifiedNameCertificate_Details)(nil), // 10: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details
- }
- var file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = []int32{
- 1, // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType
- 0, // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.accountType:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType
- 4, // 2: WAWebProtobufsVnameCert.BizIdentityInfo.vlevel:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue
- 8, // 3: WAWebProtobufsVnameCert.BizIdentityInfo.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate
- 3, // 4: WAWebProtobufsVnameCert.BizIdentityInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType
- 2, // 5: WAWebProtobufsVnameCert.BizIdentityInfo.actualActors:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType
- 8, // 6: WAWebProtobufsVnameCert.BizAccountPayload.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate
- 7, // 7: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details.localizedNames:type_name -> WAWebProtobufsVnameCert.LocalizedName
- 8, // [8:8] is the sub-list for method output_type
- 8, // [8:8] is the sub-list for method input_type
- 8, // [8:8] is the sub-list for extension type_name
- 8, // [8:8] is the sub-list for extension extendee
- 0, // [0:8] is the sub-list for field type_name
- }
- func init() { file_waVnameCert_WAWebProtobufsVnameCert_proto_init() }
- func file_waVnameCert_WAWebProtobufsVnameCert_proto_init() {
- if File_waVnameCert_WAWebProtobufsVnameCert_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc), len(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc)),
- NumEnums: 5,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes,
- DependencyIndexes: file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs,
- EnumInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes,
- MessageInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes,
- }.Build()
- File_waVnameCert_WAWebProtobufsVnameCert_proto = out.File
- file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = nil
- file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = nil
- }
|