Class: LIDMigrationMapping
Defined in: WAProto/index.d.ts:17151
Represents a LIDMigrationMapping.
Implements
Constructors
new LIDMigrationMapping()
new LIDMigrationMapping(
properties
?):LIDMigrationMapping
Defined in: WAProto/index.d.ts:17157
Constructs a new LIDMigrationMapping.
Parameters
properties?
Properties to set
Returns
Properties
assignedLid
assignedLid:
number
|Long
Defined in: WAProto/index.d.ts:17163
LIDMigrationMapping assignedLid.
Implementation of
ILIDMigrationMapping
.assignedLid
latestLid?
optional
latestLid:null
|number
|Long
Defined in: WAProto/index.d.ts:17166
LIDMigrationMapping latestLid.
Implementation of
ILIDMigrationMapping
.latestLid
pn
pn:
number
|Long
Defined in: WAProto/index.d.ts:17160
LIDMigrationMapping pn.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:17236
Converts this LIDMigrationMapping to JSON.
Returns
object
JSON object
create()
static
create(properties
?):LIDMigrationMapping
Defined in: WAProto/index.d.ts:17173
Creates a new LIDMigrationMapping instance using the specified properties.
Parameters
properties?
Properties to set
Returns
LIDMigrationMapping instance
decode()
static
decode(reader
,length
?):LIDMigrationMapping
Defined in: WAProto/index.d.ts:17199
Decodes a LIDMigrationMapping 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
LIDMigrationMapping
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):LIDMigrationMapping
Defined in: WAProto/index.d.ts:17208
Decodes a LIDMigrationMapping message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
LIDMigrationMapping
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:17181
Encodes the specified LIDMigrationMapping message. Does not implicitly verify messages.
Parameters
message
LIDMigrationMapping 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:17189
Encodes the specified LIDMigrationMapping message, length delimited. Does not implicitly verify messages.
Parameters
message
LIDMigrationMapping message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):LIDMigrationMapping
Defined in: WAProto/index.d.ts:17222
Creates a LIDMigrationMapping message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
LIDMigrationMapping
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:17243
Gets the default type url for LIDMigrationMapping
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:17230
Creates a plain object from a LIDMigrationMapping message. Also converts values to other types if specified.
Parameters
message
LIDMigrationMapping
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:17215
Verifies a LIDMigrationMapping message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not