Skip to main content

Class: PollWorkflowExecutionTimeSkippingResponse

Represents a PollWorkflowExecutionTimeSkippingResponse.

Properties​

failedReason​

failedReason: string

Set only when the result is FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED; explains why the fast-forward can no longer complete.


fastForwardInfo?​

optional fastForwardInfo?: $Properties | null

The execution's current fast-forward, if any.


fastForwardPollingResult​

fastForwardPollingResult: FastForwardPollingResult

The outcome of the poll for the fast-forward identified by the request's fast_forward_id.

Methods​

toJSON()​

toJSON(): object

Converts this PollWorkflowExecutionTimeSkippingResponse to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): PollWorkflowExecutionTimeSkippingResponse & $Properties

Creates a new PollWorkflowExecutionTimeSkippingResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

PollWorkflowExecutionTimeSkippingResponse & $Properties

PollWorkflowExecutionTimeSkippingResponse instance

Call Signature​

static create(properties?): PollWorkflowExecutionTimeSkippingResponse

Creates a new PollWorkflowExecutionTimeSkippingResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

PollWorkflowExecutionTimeSkippingResponse

PollWorkflowExecutionTimeSkippingResponse instance


decode()​

static decode(reader, length?): PollWorkflowExecutionTimeSkippingResponse & $Properties

Decodes a PollWorkflowExecutionTimeSkippingResponse 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​

PollWorkflowExecutionTimeSkippingResponse & $Properties

PollWorkflowExecutionTimeSkippingResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): PollWorkflowExecutionTimeSkippingResponse & $Properties

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

PollWorkflowExecutionTimeSkippingResponse & $Properties

PollWorkflowExecutionTimeSkippingResponse

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

Parameters​

message​

$Properties

PollWorkflowExecutionTimeSkippingResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

PollWorkflowExecutionTimeSkippingResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): PollWorkflowExecutionTimeSkippingResponse

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

Parameters​

object​

Plain object

Returns​

PollWorkflowExecutionTimeSkippingResponse

PollWorkflowExecutionTimeSkippingResponse


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

PollWorkflowExecutionTimeSkippingResponse

PollWorkflowExecutionTimeSkippingResponse

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object