Skip to main content

Class: ListTaskQueuePartitionsRequest

workflowservice.v1.ListTaskQueuePartitionsRequest

Represents a ListTaskQueuePartitionsRequest.

Implements

Constructors

constructor

new ListTaskQueuePartitionsRequest(properties?): ListTaskQueuePartitionsRequest

Constructs a new ListTaskQueuePartitionsRequest.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsRequestProperties to set

Returns

ListTaskQueuePartitionsRequest

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

create(properties?): ListTaskQueuePartitionsRequest

Creates a new ListTaskQueuePartitionsRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsRequestProperties to set

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest instance


decode

decode(reader, length?): ListTaskQueuePartitionsRequest

Decodes a ListTaskQueuePartitionsRequest message from the specified reader or buffer.

Parameters

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

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ListTaskQueuePartitionsRequest

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

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

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

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

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

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