Class: LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:17354
Represents a LIDMigrationMappingSyncPayload.
Implements
Constructors
new LIDMigrationMappingSyncPayload()
new LIDMigrationMappingSyncPayload(
properties
?):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:17360
Constructs a new LIDMigrationMappingSyncPayload.
Parameters
properties?
ILIDMigrationMappingSyncPayload
Properties to set
Returns
LIDMigrationMappingSyncPayload
Properties
chatDbMigrationTimestamp?
optional
chatDbMigrationTimestamp:null
|number
|Long
Defined in: WAProto/index.d.ts:17366
LIDMigrationMappingSyncPayload chatDbMigrationTimestamp.
Implementation of
ILIDMigrationMappingSyncPayload
.chatDbMigrationTimestamp
pnToLidMappings
pnToLidMappings:
ILIDMigrationMapping
[]
Defined in: WAProto/index.d.ts:17363
LIDMigrationMappingSyncPayload pnToLidMappings.
Implementation of
ILIDMigrationMappingSyncPayload
.pnToLidMappings
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:17436
Converts this LIDMigrationMappingSyncPayload to JSON.
Returns
object
JSON object
create()
static
create(properties
?):LIDMigrationMappingSyncPayload
Defined in: WAProto/index.d.ts:17373
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:17399
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:17408
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:17381
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:17389
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:17422
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:17443
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:17430
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:17415
Verifies a LIDMigrationMappingSyncPayload message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not