Class: BizIdentityInfo
Defined in: WAProto/index.d.ts:3492
Represents a BizIdentityInfo.
Implements
Constructors
new BizIdentityInfo()
new BizIdentityInfo(
properties
?):BizIdentityInfo
Defined in: WAProto/index.d.ts:3498
Constructs a new BizIdentityInfo.
Parameters
properties?
Properties to set
Returns
Properties
actualActors?
optional
actualActors:null
|ActualActorsType
Defined in: WAProto/index.d.ts:3516
BizIdentityInfo actualActors.
Implementation of
featureControls?
optional
featureControls:null
|number
|Long
Defined in: WAProto/index.d.ts:3522
BizIdentityInfo featureControls.
Implementation of
IBizIdentityInfo
.featureControls
hostStorage?
optional
hostStorage:null
|HostStorageType
Defined in: WAProto/index.d.ts:3513
BizIdentityInfo hostStorage.
Implementation of
privacyModeTs?
optional
privacyModeTs:null
|number
|Long
Defined in: WAProto/index.d.ts:3519
BizIdentityInfo privacyModeTs.
Implementation of
IBizIdentityInfo
.privacyModeTs
revoked?
optional
revoked:null
|boolean
Defined in: WAProto/index.d.ts:3510
BizIdentityInfo revoked.
Implementation of
signed?
optional
signed:null
|boolean
Defined in: WAProto/index.d.ts:3507
BizIdentityInfo signed.
Implementation of
vlevel?
optional
vlevel:null
|VerifiedLevelValue
Defined in: WAProto/index.d.ts:3501
BizIdentityInfo vlevel.
Implementation of
vnameCert?
optional
vnameCert:null
|IVerifiedNameCertificate
Defined in: WAProto/index.d.ts:3504
BizIdentityInfo vnameCert.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:3592
Converts this BizIdentityInfo to JSON.
Returns
object
JSON object
create()
static
create(properties
?):BizIdentityInfo
Defined in: WAProto/index.d.ts:3529
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:3555
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:3564
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:3537
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:3545
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:3578
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:3599
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:3586
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:3571
Verifies a BizIdentityInfo message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not