Skip to main content

Class: LIDMigrationMappingSyncMessage

Defined in: WAProto/index.d.ts:17254

Represents a LIDMigrationMappingSyncMessage.

Implements

Constructors

new LIDMigrationMappingSyncMessage()

new LIDMigrationMappingSyncMessage(properties?): LIDMigrationMappingSyncMessage

Defined in: WAProto/index.d.ts:17260

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:17263

LIDMigrationMappingSyncMessage encodedMappingPayload.

Implementation of

ILIDMigrationMappingSyncMessage.encodedMappingPayload

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:17333

Converts this LIDMigrationMappingSyncMessage to JSON.

Returns

object

JSON object


create()

static create(properties?): LIDMigrationMappingSyncMessage

Defined in: WAProto/index.d.ts:17270

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:17296

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:17305

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:17278

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:17286

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:17319

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:17340

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:17327

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:17312

Verifies a LIDMigrationMappingSyncMessage message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not