Skip to main content

Class: ListTaskQueuePartitionsResponse

workflowservice.v1.ListTaskQueuePartitionsResponse

Represents a ListTaskQueuePartitionsResponse.

Implements

Constructors

constructor

new ListTaskQueuePartitionsResponse(properties?)

Constructs a new ListTaskQueuePartitionsResponse.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsResponseProperties to set

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


create

Static create(properties?): ListTaskQueuePartitionsResponse

Creates a new ListTaskQueuePartitionsResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsResponseProperties to set

Returns

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse instance


decode

Static decode(reader, length?): ListTaskQueuePartitionsResponse

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

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse


decodeDelimited

Static decodeDelimited(reader): ListTaskQueuePartitionsResponse

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

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse


encode

Static encode(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

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

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


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ListTaskQueuePartitionsResponse

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 ListTaskQueuePartitionsResponse message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageListTaskQueuePartitionsResponseListTaskQueuePartitionsResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object