Skip to main content

Class: WorkflowExecutionStartedEventAttributes

history.v1.WorkflowExecutionStartedEventAttributes

Represents a WorkflowExecutionStartedEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowExecutionStartedEventAttributes(properties?)

Constructs a new WorkflowExecutionStartedEventAttributes.

Parameters#

NameType
properties?IWorkflowExecutionStartedEventAttributes

Properties#

attempt#

attempt: number

WorkflowExecutionStartedEventAttributes attempt.

Implementation of#

IWorkflowExecutionStartedEventAttributes.attempt


continuedExecutionRunId#

continuedExecutionRunId: string

WorkflowExecutionStartedEventAttributes continuedExecutionRunId.

Implementation of#

IWorkflowExecutionStartedEventAttributes.continuedExecutionRunId


continuedFailure#

Optional continuedFailure: null | IFailure

WorkflowExecutionStartedEventAttributes continuedFailure.

Implementation of#

IWorkflowExecutionStartedEventAttributes.continuedFailure


cronSchedule#

cronSchedule: string

WorkflowExecutionStartedEventAttributes cronSchedule.

Implementation of#

IWorkflowExecutionStartedEventAttributes.cronSchedule


firstExecutionRunId#

firstExecutionRunId: string

WorkflowExecutionStartedEventAttributes firstExecutionRunId.

Implementation of#

IWorkflowExecutionStartedEventAttributes.firstExecutionRunId


firstWorkflowTaskBackoff#

Optional firstWorkflowTaskBackoff: null | IDuration

WorkflowExecutionStartedEventAttributes firstWorkflowTaskBackoff.

Implementation of#

IWorkflowExecutionStartedEventAttributes.firstWorkflowTaskBackoff


header#

Optional header: null | IHeader

WorkflowExecutionStartedEventAttributes header.

Implementation of#

IWorkflowExecutionStartedEventAttributes.header


identity#

identity: string

WorkflowExecutionStartedEventAttributes identity.

Implementation of#

IWorkflowExecutionStartedEventAttributes.identity


initiator#

initiator: ContinueAsNewInitiator

WorkflowExecutionStartedEventAttributes initiator.

Implementation of#

IWorkflowExecutionStartedEventAttributes.initiator


input#

Optional input: null | IPayloads

WorkflowExecutionStartedEventAttributes input.

Implementation of#

IWorkflowExecutionStartedEventAttributes.input


lastCompletionResult#

Optional lastCompletionResult: null | IPayloads

WorkflowExecutionStartedEventAttributes lastCompletionResult.

Implementation of#

IWorkflowExecutionStartedEventAttributes.lastCompletionResult


memo#

Optional memo: null | IMemo

WorkflowExecutionStartedEventAttributes memo.

Implementation of#

IWorkflowExecutionStartedEventAttributes.memo


originalExecutionRunId#

originalExecutionRunId: string

WorkflowExecutionStartedEventAttributes originalExecutionRunId.

Implementation of#

IWorkflowExecutionStartedEventAttributes.originalExecutionRunId


parentInitiatedEventId#

parentInitiatedEventId: Long

WorkflowExecutionStartedEventAttributes parentInitiatedEventId.

Implementation of#

IWorkflowExecutionStartedEventAttributes.parentInitiatedEventId


parentWorkflowExecution#

Optional parentWorkflowExecution: null | IWorkflowExecution

WorkflowExecutionStartedEventAttributes parentWorkflowExecution.

Implementation of#

IWorkflowExecutionStartedEventAttributes.parentWorkflowExecution


parentWorkflowNamespace#

parentWorkflowNamespace: string

WorkflowExecutionStartedEventAttributes parentWorkflowNamespace.

Implementation of#

IWorkflowExecutionStartedEventAttributes.parentWorkflowNamespace


prevAutoResetPoints#

Optional prevAutoResetPoints: null | IResetPoints

WorkflowExecutionStartedEventAttributes prevAutoResetPoints.

Implementation of#

IWorkflowExecutionStartedEventAttributes.prevAutoResetPoints


retryPolicy#

Optional retryPolicy: null | IRetryPolicy

WorkflowExecutionStartedEventAttributes retryPolicy.

Implementation of#

IWorkflowExecutionStartedEventAttributes.retryPolicy


searchAttributes#

Optional searchAttributes: null | ISearchAttributes

WorkflowExecutionStartedEventAttributes searchAttributes.

Implementation of#

IWorkflowExecutionStartedEventAttributes.searchAttributes


taskQueue#

Optional taskQueue: null | ITaskQueue

WorkflowExecutionStartedEventAttributes taskQueue.

Implementation of#

IWorkflowExecutionStartedEventAttributes.taskQueue


workflowExecutionExpirationTime#

Optional workflowExecutionExpirationTime: null | ITimestamp

WorkflowExecutionStartedEventAttributes workflowExecutionExpirationTime.

Implementation of#

IWorkflowExecutionStartedEventAttributes.workflowExecutionExpirationTime


workflowExecutionTimeout#

Optional workflowExecutionTimeout: null | IDuration

WorkflowExecutionStartedEventAttributes workflowExecutionTimeout.

Implementation of#

IWorkflowExecutionStartedEventAttributes.workflowExecutionTimeout


workflowRunTimeout#

Optional workflowRunTimeout: null | IDuration

WorkflowExecutionStartedEventAttributes workflowRunTimeout.

Implementation of#

IWorkflowExecutionStartedEventAttributes.workflowRunTimeout


workflowTaskTimeout#

Optional workflowTaskTimeout: null | IDuration

WorkflowExecutionStartedEventAttributes workflowTaskTimeout.

Implementation of#

IWorkflowExecutionStartedEventAttributes.workflowTaskTimeout


workflowType#

Optional workflowType: null | IWorkflowType

WorkflowExecutionStartedEventAttributes workflowType.

Implementation of#

IWorkflowExecutionStartedEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionStartedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionStartedEventAttributes

Decodes a WorkflowExecutionStartedEventAttributes message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

WorkflowExecutionStartedEventAttributes

WorkflowExecutionStartedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionStartedEventAttributes

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

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

WorkflowExecutionStartedEventAttributes

WorkflowExecutionStartedEventAttributes


encode#

Static encode(message, writer?): Writer

Encodes the specified WorkflowExecutionStartedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.verify|verify} messages.

Parameters#

NameTypeDescription
messageIWorkflowExecutionStartedEventAttributesWorkflowExecutionStartedEventAttributes message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified WorkflowExecutionStartedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.verify|verify} messages.

Parameters#

NameTypeDescription
messageIWorkflowExecutionStartedEventAttributesWorkflowExecutionStartedEventAttributes message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionStartedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionStartedEventAttributes

WorkflowExecutionStartedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionStartedEventAttributesWorkflowExecutionStartedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object