Skip to main content

Class: AIQueryFanout

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

Represents a AIQueryFanout.

Implements

Constructors

new AIQueryFanout()

new AIQueryFanout(properties?): AIQueryFanout

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

Constructs a new AIQueryFanout.

Parameters

properties?

IAIQueryFanout

Properties to set

Returns

AIQueryFanout

Properties

message?

optional message: null | IMessage

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

AIQueryFanout message.

Implementation of

IAIQueryFanout.message


messageKey?

optional messageKey: null | IMessageKey

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

AIQueryFanout messageKey.

Implementation of

IAIQueryFanout.messageKey


timestamp?

optional timestamp: null | number | Long

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

AIQueryFanout timestamp.

Implementation of

IAIQueryFanout.timestamp

Methods

toJSON()

toJSON(): object

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

Converts this AIQueryFanout to JSON.

Returns

object

JSON object


create()

static create(properties?): AIQueryFanout

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

Creates a new AIQueryFanout instance using the specified properties.

Parameters

properties?

IAIQueryFanout

Properties to set

Returns

AIQueryFanout

AIQueryFanout instance


decode()

static decode(reader, length?): AIQueryFanout

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

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

AIQueryFanout

AIQueryFanout

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): AIQueryFanout

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

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

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

AIQueryFanout

AIQueryFanout

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

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

Parameters

message

IAIQueryFanout

AIQueryFanout 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:639

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

Parameters

message

IAIQueryFanout

AIQueryFanout message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): AIQueryFanout

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

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

Parameters

object

Plain object

Returns

AIQueryFanout

AIQueryFanout


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for AIQueryFanout

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

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

Parameters

message

AIQueryFanout

AIQueryFanout

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a AIQueryFanout message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not