Skip to main content

Class: DescribeWorkerDeploymentVersionRequest

workflowservice.v1.DescribeWorkerDeploymentVersionRequest

Represents a DescribeWorkerDeploymentVersionRequest.

Properties​

deploymentVersion​

• Optional deploymentVersion: null | $Properties

Required.


namespace​

• namespace: string

DescribeWorkerDeploymentVersionRequest namespace.


reportTaskQueueStats​

• reportTaskQueueStats: boolean

Report stats for task queues which have been polled by this version.


version​

• version: string

Deprecated. Use deployment_version.

Methods​

toJSON​

▸ toJSON(): Object

Converts this DescribeWorkerDeploymentVersionRequest to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): DescribeWorkerDeploymentVersionRequest & $Properties

Creates a new DescribeWorkerDeploymentVersionRequest instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

DescribeWorkerDeploymentVersionRequest & $Properties

DescribeWorkerDeploymentVersionRequest instance

▸ create(properties?): DescribeWorkerDeploymentVersionRequest

Parameters​

NameType
properties?$Properties

Returns​

DescribeWorkerDeploymentVersionRequest


decode​

▸ decode(reader, length?): DescribeWorkerDeploymentVersionRequest & $Properties

Decodes a DescribeWorkerDeploymentVersionRequest message from the specified reader or buffer.

Parameters​

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

Returns​

DescribeWorkerDeploymentVersionRequest & $Properties

DescribeWorkerDeploymentVersionRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): DescribeWorkerDeploymentVersionRequest & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

DescribeWorkerDeploymentVersionRequest & $Properties

DescribeWorkerDeploymentVersionRequest

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

Parameters​

NameTypeDescription
message$PropertiesDescribeWorkerDeploymentVersionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

NameTypeDescription
message$PropertiesDescribeWorkerDeploymentVersionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): DescribeWorkerDeploymentVersionRequest

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

DescribeWorkerDeploymentVersionRequest

DescribeWorkerDeploymentVersionRequest


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageDescribeWorkerDeploymentVersionRequestDescribeWorkerDeploymentVersionRequest
options?IConversionOptionsConversion options

Returns​

Object

Plain object