Skip to main content

Class: PollWorkflowExecutionUpdateRequest

workflowservice.v1.PollWorkflowExecutionUpdateRequest

Represents a PollWorkflowExecutionUpdateRequest.

Properties

identity

identity: string

The identity of the worker/client who is polling this Update outcome.


namespace

namespace: string

The namespace of the Workflow Execution to which the Update was originally issued.


updateRef

Optional updateRef: null | $Properties

The Update reference returned in the initial UpdateWorkflowExecutionResponse.


waitPolicy

Optional waitPolicy: null | $Properties

Specifies client's intent to wait for Update results. Omit to request a non-blocking poll.

Methods

toJSON

toJSON(): Object

Converts this PollWorkflowExecutionUpdateRequest to JSON.

Returns

Object

JSON object


create

create(properties?): PollWorkflowExecutionUpdateRequest & $Properties

Creates a new PollWorkflowExecutionUpdateRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

PollWorkflowExecutionUpdateRequest & $Properties

PollWorkflowExecutionUpdateRequest instance

create(properties?): PollWorkflowExecutionUpdateRequest

Parameters

NameType
properties?$Properties

Returns

PollWorkflowExecutionUpdateRequest


decode

decode(reader, length?): PollWorkflowExecutionUpdateRequest & $Properties

Decodes a PollWorkflowExecutionUpdateRequest message from the specified reader or buffer.

Parameters

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

Returns

PollWorkflowExecutionUpdateRequest & $Properties

PollWorkflowExecutionUpdateRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): PollWorkflowExecutionUpdateRequest & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

PollWorkflowExecutionUpdateRequest & $Properties

PollWorkflowExecutionUpdateRequest

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): PollWorkflowExecutionUpdateRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

PollWorkflowExecutionUpdateRequest

PollWorkflowExecutionUpdateRequest


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messagePollWorkflowExecutionUpdateRequestPollWorkflowExecutionUpdateRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object