Skip to main content

Class: UpdateWorkflowExecutionOptionsResponse

Represents an UpdateWorkflowExecutionOptionsResponse.

Properties​

updateTime?​

optional updateTime?: $Properties | null

The Workflow Execution time when the options were updated. When time skipping is enabled, this is the workflow's virtual time rather than wall-clock time.

This timestamp cannot be used for time-skipping fast-forward verification, use fast_forward_id in PollWorkflowExecutionTimeSkippingRequest instead.


workflowExecutionOptions?​

optional workflowExecutionOptions?: $Properties | null

Workflow Execution options after update.

Methods​

toJSON()​

toJSON(): object

Converts this UpdateWorkflowExecutionOptionsResponse to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): UpdateWorkflowExecutionOptionsResponse & $Shape

Creates a new UpdateWorkflowExecutionOptionsResponse instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

UpdateWorkflowExecutionOptionsResponse & $Shape

UpdateWorkflowExecutionOptionsResponse instance

Call Signature​

static create(properties?): UpdateWorkflowExecutionOptionsResponse

Creates a new UpdateWorkflowExecutionOptionsResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

UpdateWorkflowExecutionOptionsResponse

UpdateWorkflowExecutionOptionsResponse instance


decode()​

static decode(reader, length?): UpdateWorkflowExecutionOptionsResponse & $Shape

Decodes an UpdateWorkflowExecutionOptionsResponse message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

UpdateWorkflowExecutionOptionsResponse & $Shape

UpdateWorkflowExecutionOptionsResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): UpdateWorkflowExecutionOptionsResponse & $Shape

Decodes an UpdateWorkflowExecutionOptionsResponse message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

UpdateWorkflowExecutionOptionsResponse & $Shape

UpdateWorkflowExecutionOptionsResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified UpdateWorkflowExecutionOptionsResponse message. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse.verify|verify messages.

Parameters​

message​

$Properties

UpdateWorkflowExecutionOptionsResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

UpdateWorkflowExecutionOptionsResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): UpdateWorkflowExecutionOptionsResponse

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

Parameters​

object​

Plain object

Returns​

UpdateWorkflowExecutionOptionsResponse

UpdateWorkflowExecutionOptionsResponse


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

UpdateWorkflowExecutionOptionsResponse

UpdateWorkflowExecutionOptionsResponse

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object