Skip to main content

Class: ListTaskQueuePartitionsRequest

workflowservice.v1.ListTaskQueuePartitionsRequest

Represents a ListTaskQueuePartitionsRequest.

Implements#

Constructors#

constructor#

new ListTaskQueuePartitionsRequest(properties?)

Constructs a new ListTaskQueuePartitionsRequest.

Parameters#

NameType
properties?IListTaskQueuePartitionsRequest

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


decode#

Static decode(reader, length?): ListTaskQueuePartitionsRequest

Decodes a ListTaskQueuePartitionsRequest message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

ListTaskQueuePartitionsRequest

ListTaskQueuePartitionsRequest


decodeDelimited#

Static decodeDelimited(reader): ListTaskQueuePartitionsRequest

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

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} 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 {@link temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest.verify|verify} messages.

Parameters#

NameTypeDescription
messageIListTaskQueuePartitionsRequestListTaskQueuePartitionsRequest message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

NameTypeDescription
messageIListTaskQueuePartitionsRequestListTaskQueuePartitionsRequest message or plain object to encode
writer?Writer-

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


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?IConversionOptions-

Returns#

Object

Plain object