Skip to main content

Class: MsgRowOpaqueData

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

Represents a MsgRowOpaqueData.

Implements

Constructors

new MsgRowOpaqueData()

new MsgRowOpaqueData(properties?): MsgRowOpaqueData

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

Constructs a new MsgRowOpaqueData.

Parameters

properties?

IMsgRowOpaqueData

Properties to set

Returns

MsgRowOpaqueData

Properties

currentMsg?

optional currentMsg: null | IMsgOpaqueData

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

MsgRowOpaqueData currentMsg.

Implementation of

IMsgRowOpaqueData.currentMsg


quotedMsg?

optional quotedMsg: null | IMsgOpaqueData

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

MsgRowOpaqueData quotedMsg.

Implementation of

IMsgRowOpaqueData.quotedMsg

Methods

toJSON()

toJSON(): object

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

Converts this MsgRowOpaqueData to JSON.

Returns

object

JSON object


create()

static create(properties?): MsgRowOpaqueData

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

Creates a new MsgRowOpaqueData instance using the specified properties.

Parameters

properties?

IMsgRowOpaqueData

Properties to set

Returns

MsgRowOpaqueData

MsgRowOpaqueData instance


decode()

static decode(reader, length?): MsgRowOpaqueData

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

Decodes a MsgRowOpaqueData 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

MsgRowOpaqueData

MsgRowOpaqueData

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): MsgRowOpaqueData

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

Decodes a MsgRowOpaqueData message from the specified reader or buffer, length delimited.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

MsgRowOpaqueData

MsgRowOpaqueData

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

Encodes the specified MsgRowOpaqueData message. Does not implicitly verify messages.

Parameters

message

IMsgRowOpaqueData

MsgRowOpaqueData 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:34550

Encodes the specified MsgRowOpaqueData message, length delimited. Does not implicitly verify messages.

Parameters

message

IMsgRowOpaqueData

MsgRowOpaqueData message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): MsgRowOpaqueData

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

Creates a MsgRowOpaqueData message from a plain object. Also converts values to their respective internal types.

Parameters

object

Plain object

Returns

MsgRowOpaqueData

MsgRowOpaqueData


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for MsgRowOpaqueData

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

Creates a plain object from a MsgRowOpaqueData message. Also converts values to other types if specified.

Parameters

message

MsgRowOpaqueData

MsgRowOpaqueData

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a MsgRowOpaqueData message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not