Skip to main content

Class: DescribeTaskQueueResponse

workflowservice.v1.DescribeTaskQueueResponse

Represents a DescribeTaskQueueResponse.

Implements

Constructors

constructor

new DescribeTaskQueueResponse(properties?): DescribeTaskQueueResponse

Constructs a new DescribeTaskQueueResponse.

Parameters

NameTypeDescription
properties?IDescribeTaskQueueResponseProperties to set

Returns

DescribeTaskQueueResponse

Properties

pollers

pollers: IPollerInfo[]

Deprecated. Use versions_info.types_info.pollers with ENHANCED mode instead. Not set in ENHANCED mode.

Implementation of

IDescribeTaskQueueResponse.pollers


taskQueueStatus

Optional taskQueueStatus: null | ITaskQueueStatus

Deprecated. Not set in ENHANCED mode.

Implementation of

IDescribeTaskQueueResponse.taskQueueStatus


versioningInfo

Optional versioningInfo: null | ITaskQueueVersioningInfo

Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to. When not present, it means the tasks are routed to Unversioned workers (workers with UNVERSIONED or unspecified WorkerVersioningMode.) Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion and SetWorkerDeploymentRampingVersion on Worker Deployments. Note: This information is not relevant to Pinned workflow executions and their activities as they are always routed to their Pinned Deployment Version. However, new workflow executions are typically not Pinned until they complete their first task (unless they are started with a Pinned VersioningOverride or are Child Workflows of a Pinned parent).

Implementation of

IDescribeTaskQueueResponse.versioningInfo


versionsInfo

versionsInfo: Object

This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. Only set in ENHANCED mode.

Index signature

▪ [k: string]: ITaskQueueVersionInfo

Implementation of

IDescribeTaskQueueResponse.versionsInfo

Methods

toJSON

toJSON(): Object

Converts this DescribeTaskQueueResponse to JSON.

Returns

Object

JSON object


create

create(properties?): DescribeTaskQueueResponse

Creates a new DescribeTaskQueueResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IDescribeTaskQueueResponseProperties to set

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse instance


decode

decode(reader, length?): DescribeTaskQueueResponse

Decodes a DescribeTaskQueueResponse message from the specified reader or buffer.

Parameters

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

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DescribeTaskQueueResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse

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 DescribeTaskQueueResponse message. Does not implicitly temporal.api.workflowservice.v1.DescribeTaskQueueResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): DescribeTaskQueueResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DescribeTaskQueueResponse

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

Parameters

NameTypeDescription
messageDescribeTaskQueueResponseDescribeTaskQueueResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object