Class: LIDMigrationMapping
Defined in: WAProto/index.d.ts:15700
Represents a LIDMigrationMapping.
Implements
Constructors
new LIDMigrationMapping()
new LIDMigrationMapping(
properties
?):LIDMigrationMapping
Defined in: WAProto/index.d.ts:15706
Constructs a new LIDMigrationMapping.
Parameters
properties?
Properties to set
Returns
Properties
assignedLid
assignedLid:
number
|Long
Defined in: WAProto/index.d.ts:15712
LIDMigrationMapping assignedLid.
Implementation of
ILIDMigrationMapping
.assignedLid
latestLid?
optional
latestLid:null
|number
|Long
Defined in: WAProto/index.d.ts:15715
LIDMigrationMapping latestLid.
Implementation of
ILIDMigrationMapping
.latestLid
pn
pn:
number
|Long
Defined in: WAProto/index.d.ts:15709
LIDMigrationMapping pn.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:15785
Converts this LIDMigrationMapping to JSON.
Returns
object
JSON object
create()
static
create(properties
?):LIDMigrationMapping
Defined in: WAProto/index.d.ts:15722
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:15748
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:15757
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:15730
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:15738
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:15771
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:15792
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:15779
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:15764
Verifies a LIDMigrationMapping message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not