Skip to main content

Class: PollWorkflowExecutionTimeSkippingResponse

workflowservice.v1.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: null | $Properties

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​

▸ create(properties?): PollWorkflowExecutionTimeSkippingResponse & $Properties

Creates a new PollWorkflowExecutionTimeSkippingResponse instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

PollWorkflowExecutionTimeSkippingResponse & $Properties

PollWorkflowExecutionTimeSkippingResponse instance

▸ create(properties?): PollWorkflowExecutionTimeSkippingResponse

Parameters​

NameType
properties?$Properties

Returns​

PollWorkflowExecutionTimeSkippingResponse


decode​

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

Decodes a PollWorkflowExecutionTimeSkippingResponse message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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​

▸ decodeDelimited(reader): PollWorkflowExecutionTimeSkippingResponse & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader 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​

▸ encode(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): PollWorkflowExecutionTimeSkippingResponse

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

PollWorkflowExecutionTimeSkippingResponse

PollWorkflowExecutionTimeSkippingResponse


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messagePollWorkflowExecutionTimeSkippingResponsePollWorkflowExecutionTimeSkippingResponse
options?IConversionOptionsConversion options

Returns​

Object

Plain object