Class: LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:15900
Represents a LIDMigrationMappingSyncPayload.
Implements
Constructors
new LIDMigrationMappingSyncPayload()
new LIDMigrationMappingSyncPayload(
properties
?):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:15906
Constructs a new LIDMigrationMappingSyncPayload.
Parameters
properties?
ILIDMigrationMappingSyncPayload
Properties to set
Returns
LIDMigrationMappingSyncPayload
Properties
pnToLidMappings
pnToLidMappings:
ILIDMigrationMapping
[]
Defined in: WAProto/index.d.ts:15909
LIDMigrationMappingSyncPayload pnToLidMappings.
Implementation of
ILIDMigrationMappingSyncPayload
.pnToLidMappings
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:15979
Converts this LIDMigrationMappingSyncPayload to JSON.
Returns
object
JSON object
create()
static
create(properties
?):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:15916
Creates a new LIDMigrationMappingSyncPayload instance using the specified properties.
Parameters
properties?
ILIDMigrationMappingSyncPayload
Properties to set
Returns
LIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload instance
decode()
static
decode(reader
,length
?):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:15942
Decodes a LIDMigrationMappingSyncPayload 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
LIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:15951
Decodes a LIDMigrationMappingSyncPayload message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
LIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload
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:15924
Encodes the specified LIDMigrationMappingSyncPayload message. Does not implicitly verify messages.
Parameters
message
ILIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload 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:15932
Encodes the specified LIDMigrationMappingSyncPayload message, length delimited. Does not implicitly verify messages.
Parameters
message
ILIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:15965
Creates a LIDMigrationMappingSyncPayload message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
LIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:15986
Gets the default type url for LIDMigrationMappingSyncPayload
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:15973
Creates a plain object from a LIDMigrationMappingSyncPayload message. Also converts values to other types if specified.
Parameters
message
LIDMigrationMappingSyncPayload
LIDMigrationMappingSyncPayload
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:15958
Verifies a LIDMigrationMappingSyncPayload message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not