Skip to main content

Class: ListTaskQueuePartitionsResponse

workflowservice.v1.ListTaskQueuePartitionsResponse

Represents a ListTaskQueuePartitionsResponse.

Implements#

Constructors#

constructor#

new ListTaskQueuePartitionsResponse(properties?)

Constructs a new ListTaskQueuePartitionsResponse.

Parameters#

NameType
properties?IListTaskQueuePartitionsResponse

Properties#

activityTaskQueuePartitions#

activityTaskQueuePartitions: ITaskQueuePartitionMetadata[]

ListTaskQueuePartitionsResponse activityTaskQueuePartitions.

Implementation of#

IListTaskQueuePartitionsResponse.activityTaskQueuePartitions


workflowTaskQueuePartitions#

workflowTaskQueuePartitions: ITaskQueuePartitionMetadata[]

ListTaskQueuePartitionsResponse workflowTaskQueuePartitions.

Implementation of#

IListTaskQueuePartitionsResponse.workflowTaskQueuePartitions

Methods#

toJSON#

toJSON(): Object

Converts this ListTaskQueuePartitionsResponse to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ListTaskQueuePartitionsResponse

Decodes a ListTaskQueuePartitionsResponse 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#

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse


decodeDelimited#

Static decodeDelimited(reader): ListTaskQueuePartitionsResponse

Decodes a ListTaskQueuePartitionsResponse 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#

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse


encode#

Static encode(message, writer?): Writer

Encodes the specified ListTaskQueuePartitionsResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse.verify|verify} messages.

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ListTaskQueuePartitionsResponse

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageListTaskQueuePartitionsResponseListTaskQueuePartitionsResponse
options?IConversionOptions-

Returns#

Object

Plain object