Skip to main content

Class: GetWorkerBuildIdCompatibilityRequest

workflowservice.v1.GetWorkerBuildIdCompatibilityRequest

Represents a GetWorkerBuildIdCompatibilityRequest.

Implements

Constructors

constructor

new GetWorkerBuildIdCompatibilityRequest(properties?): GetWorkerBuildIdCompatibilityRequest

Constructs a new GetWorkerBuildIdCompatibilityRequest.

Parameters

NameTypeDescription
properties?IGetWorkerBuildIdCompatibilityRequestProperties to set

Returns

GetWorkerBuildIdCompatibilityRequest

Properties

maxSets

maxSets: number

Limits how many compatible sets will be returned. Specify 1 to only return the current default major version set. 0 returns all sets.

Implementation of

IGetWorkerBuildIdCompatibilityRequest.maxSets


namespace

namespace: string

GetWorkerBuildIdCompatibilityRequest namespace.

Implementation of

IGetWorkerBuildIdCompatibilityRequest.namespace


taskQueue

taskQueue: string

Must be set, the task queue to interrogate about worker id compatibility.

Implementation of

IGetWorkerBuildIdCompatibilityRequest.taskQueue

Methods

toJSON

toJSON(): Object

Converts this GetWorkerBuildIdCompatibilityRequest to JSON.

Returns

Object

JSON object


create

create(properties?): GetWorkerBuildIdCompatibilityRequest

Creates a new GetWorkerBuildIdCompatibilityRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IGetWorkerBuildIdCompatibilityRequestProperties to set

Returns

GetWorkerBuildIdCompatibilityRequest

GetWorkerBuildIdCompatibilityRequest instance


decode

decode(reader, length?): GetWorkerBuildIdCompatibilityRequest

Decodes a GetWorkerBuildIdCompatibilityRequest message from the specified reader or buffer.

Parameters

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

Returns

GetWorkerBuildIdCompatibilityRequest

GetWorkerBuildIdCompatibilityRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): GetWorkerBuildIdCompatibilityRequest

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

GetWorkerBuildIdCompatibilityRequest

GetWorkerBuildIdCompatibilityRequest

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): GetWorkerBuildIdCompatibilityRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

GetWorkerBuildIdCompatibilityRequest

GetWorkerBuildIdCompatibilityRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for GetWorkerBuildIdCompatibilityRequest

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

Parameters

NameTypeDescription
messageGetWorkerBuildIdCompatibilityRequestGetWorkerBuildIdCompatibilityRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object