Class: BizIdentityInfo
Defined in: WAProto/index.d.ts:3244
Represents a BizIdentityInfo.
Implements
Constructors
new BizIdentityInfo()
new BizIdentityInfo(
properties
?):BizIdentityInfo
Defined in: WAProto/index.d.ts:3250
Constructs a new BizIdentityInfo.
Parameters
properties?
Properties to set
Returns
Properties
actualActors?
optional
actualActors:null
|ActualActorsType
Defined in: WAProto/index.d.ts:3268
BizIdentityInfo actualActors.
Implementation of
featureControls?
optional
featureControls:null
|number
|Long
Defined in: WAProto/index.d.ts:3274
BizIdentityInfo featureControls.
Implementation of
IBizIdentityInfo
.featureControls
hostStorage?
optional
hostStorage:null
|HostStorageType
Defined in: WAProto/index.d.ts:3265
BizIdentityInfo hostStorage.
Implementation of
privacyModeTs?
optional
privacyModeTs:null
|number
|Long
Defined in: WAProto/index.d.ts:3271
BizIdentityInfo privacyModeTs.
Implementation of
IBizIdentityInfo
.privacyModeTs
revoked?
optional
revoked:null
|boolean
Defined in: WAProto/index.d.ts:3262
BizIdentityInfo revoked.
Implementation of
signed?
optional
signed:null
|boolean
Defined in: WAProto/index.d.ts:3259
BizIdentityInfo signed.
Implementation of
vlevel?
optional
vlevel:null
|VerifiedLevelValue
Defined in: WAProto/index.d.ts:3253
BizIdentityInfo vlevel.
Implementation of
vnameCert?
optional
vnameCert:null
|IVerifiedNameCertificate
Defined in: WAProto/index.d.ts:3256
BizIdentityInfo vnameCert.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:3344
Converts this BizIdentityInfo to JSON.
Returns
object
JSON object
create()
static
create(properties
?):BizIdentityInfo
Defined in: WAProto/index.d.ts:3281
Creates a new BizIdentityInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
BizIdentityInfo instance
decode()
static
decode(reader
,length
?):BizIdentityInfo
Defined in: WAProto/index.d.ts:3307
Decodes a BizIdentityInfo message from the specified reader or buffer.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
length?
number
Message length if known beforehand
Returns
BizIdentityInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):BizIdentityInfo
Defined in: WAProto/index.d.ts:3316
Decodes a BizIdentityInfo message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
BizIdentityInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
static
encode(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:3289
Encodes the specified BizIdentityInfo message. Does not implicitly verify messages.
Parameters
message
BizIdentityInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
static
encodeDelimited(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:3297
Encodes the specified BizIdentityInfo message, length delimited. Does not implicitly verify messages.
Parameters
message
BizIdentityInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):BizIdentityInfo
Defined in: WAProto/index.d.ts:3330
Creates a BizIdentityInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
BizIdentityInfo
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:3351
Gets the default type url for BizIdentityInfo
Parameters
typeUrlPrefix?
string
your custom typeUrlPrefix(default "type.googleapis.com")
Returns
string
The default type url
toObject()
static
toObject(message
,options
?):object
Defined in: WAProto/index.d.ts:3338
Creates a plain object from a BizIdentityInfo message. Also converts values to other types if specified.
Parameters
message
BizIdentityInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:3323
Verifies a BizIdentityInfo message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not