Skip to main content

Class: WorkflowExecutionTimeSkippingTransitionedEventAttributes

Attributes for an event indicating that time skipping state changed for a workflow execution: either time was advanced, or time skipping was stopped automatically due to the fast_forward completing. The worker_may_ignore field in HistoryEvent should always be set true for this event.

Properties​

disabledAfterFastForward​

disabledAfterFastForward: boolean

When true, time skipping has been stopped automatically due to a call to fast_forward completing. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "after" is used to indicate temporal ordering. --)


targetTime?​

optional targetTime?: $Properties | null

The virtual time point that time skipping advanced to.


wallClockTime?​

optional wallClockTime?: $Properties | null

The wall-clock time when the time-skipping state changed event was generated.

Methods​

toJSON()​

toJSON(): object

Converts this WorkflowExecutionTimeSkippingTransitionedEventAttributes to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): WorkflowExecutionTimeSkippingTransitionedEventAttributes & $Properties

Creates a new WorkflowExecutionTimeSkippingTransitionedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

WorkflowExecutionTimeSkippingTransitionedEventAttributes & $Properties

WorkflowExecutionTimeSkippingTransitionedEventAttributes instance

Call Signature​

static create(properties?): WorkflowExecutionTimeSkippingTransitionedEventAttributes

Creates a new WorkflowExecutionTimeSkippingTransitionedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

WorkflowExecutionTimeSkippingTransitionedEventAttributes

WorkflowExecutionTimeSkippingTransitionedEventAttributes instance


decode()​

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

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

WorkflowExecutionTimeSkippingTransitionedEventAttributes & $Properties

WorkflowExecutionTimeSkippingTransitionedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): WorkflowExecutionTimeSkippingTransitionedEventAttributes & $Properties

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

WorkflowExecutionTimeSkippingTransitionedEventAttributes & $Properties

WorkflowExecutionTimeSkippingTransitionedEventAttributes

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

Parameters​

message​

$Properties

WorkflowExecutionTimeSkippingTransitionedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

WorkflowExecutionTimeSkippingTransitionedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): WorkflowExecutionTimeSkippingTransitionedEventAttributes

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

Parameters​

object​

Plain object

Returns​

WorkflowExecutionTimeSkippingTransitionedEventAttributes

WorkflowExecutionTimeSkippingTransitionedEventAttributes


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

WorkflowExecutionTimeSkippingTransitionedEventAttributes

WorkflowExecutionTimeSkippingTransitionedEventAttributes

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object