Skip to main content

Class: ListTaskQueuePartitionsRequest

workflowservice.v1.ListTaskQueuePartitionsRequest

Represents a ListTaskQueuePartitionsRequest.

Implements

Constructors

constructor

new ListTaskQueuePartitionsRequest(properties?)

Constructs a new ListTaskQueuePartitionsRequest.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsRequestProperties to set

Properties

namespace

namespace: string

ListTaskQueuePartitionsRequest namespace.

Implementation of

IListTaskQueuePartitionsRequest.namespace


taskQueue

Optional taskQueue: null | ITaskQueue

ListTaskQueuePartitionsRequest taskQueue.

Implementation of

IListTaskQueuePartitionsRequest.taskQueue

Methods

toJSON

toJSON(): Object

Converts this ListTaskQueuePartitionsRequest to JSON.

Returns

Object

JSON object


create

Static create(properties?): ListTaskQueuePartitionsRequest

Creates a new ListTaskQueuePartitionsRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsRequestProperties to set

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest instance


decode

Static decode(reader, length?): ListTaskQueuePartitionsRequest

Decodes a ListTaskQueuePartitionsRequest message from the specified reader or buffer.

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest


decodeDelimited

Static decodeDelimited(reader): ListTaskQueuePartitionsRequest

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

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest


encode

Static encode(message, writer?): Writer

Encodes the specified ListTaskQueuePartitionsRequest message. Does not implicitly temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIListTaskQueuePartitionsRequestListTaskQueuePartitionsRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

Encodes the specified ListTaskQueuePartitionsRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIListTaskQueuePartitionsRequestListTaskQueuePartitionsRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

Static fromObject(object): ListTaskQueuePartitionsRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ListTaskQueuePartitionsRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

Static toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageListTaskQueuePartitionsRequestListTaskQueuePartitionsRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object