Skip to main content

Class: ListTaskQueuePartitionsResponse

workflowservice.v1.ListTaskQueuePartitionsResponse

Represents a ListTaskQueuePartitionsResponse.

Implements

Constructors

constructor

new ListTaskQueuePartitionsResponse(properties?): ListTaskQueuePartitionsResponse

Constructs a new ListTaskQueuePartitionsResponse.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsResponseProperties to set

Returns

ListTaskQueuePartitionsResponse

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

create(properties?): ListTaskQueuePartitionsResponse

Creates a new ListTaskQueuePartitionsResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IListTaskQueuePartitionsResponseProperties to set

Returns

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse instance


decode

decode(reader, length?): ListTaskQueuePartitionsResponse

Decodes a ListTaskQueuePartitionsResponse message from the specified reader or buffer.

Parameters

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

Returns

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ListTaskQueuePartitionsResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ListTaskQueuePartitionsResponse

ListTaskQueuePartitionsResponse

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

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

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

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

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