Class: LIDMigrationMappingSyncMessage
Defined in: WAProto/index.d.ts:15803
Represents a LIDMigrationMappingSyncMessage.
Implements
Constructors
new LIDMigrationMappingSyncMessage()
new LIDMigrationMappingSyncMessage(
properties
?):LIDMigrationMappingSyncMessage
Defined in: WAProto/index.d.ts:15809
Constructs a new LIDMigrationMappingSyncMessage.
Parameters
properties?
ILIDMigrationMappingSyncMessage
Properties to set
Returns
LIDMigrationMappingSyncMessage
Properties
encodedMappingPayload?
optional
encodedMappingPayload:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:15812
LIDMigrationMappingSyncMessage encodedMappingPayload.
Implementation of
ILIDMigrationMappingSyncMessage
.encodedMappingPayload
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:15882
Converts this LIDMigrationMappingSyncMessage to JSON.
Returns
object
JSON object
create()
static
create(properties
?):LIDMigrationMappingSyncMessage
Defined in: WAProto/index.d.ts:15819
Creates a new LIDMigrationMappingSyncMessage instance using the specified properties.
Parameters
properties?
ILIDMigrationMappingSyncMessage
Properties to set
Returns
LIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage instance
decode()
static
decode(reader
,length
?):LIDMigrationMappingSyncMessage
Defined in: WAProto/index.d.ts:15845
Decodes a LIDMigrationMappingSyncMessage 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
LIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):LIDMigrationMappingSyncMessage
Defined in: WAProto/index.d.ts:15854
Decodes a LIDMigrationMappingSyncMessage message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
LIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage
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:15827
Encodes the specified LIDMigrationMappingSyncMessage message. Does not implicitly verify messages.
Parameters
message
ILIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage 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:15835
Encodes the specified LIDMigrationMappingSyncMessage message, length delimited. Does not implicitly verify messages.
Parameters
message
ILIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):LIDMigrationMappingSyncMessage
Defined in: WAProto/index.d.ts:15868
Creates a LIDMigrationMappingSyncMessage message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
LIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:15889
Gets the default type url for LIDMigrationMappingSyncMessage
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:15876
Creates a plain object from a LIDMigrationMappingSyncMessage message. Also converts values to other types if specified.
Parameters
message
LIDMigrationMappingSyncMessage
LIDMigrationMappingSyncMessage
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:15861
Verifies a LIDMigrationMappingSyncMessage message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not