Skip to main content

Class: WorkflowExecutionContinuedAsNewEventAttributes

history.v1.WorkflowExecutionContinuedAsNewEventAttributes

Represents a WorkflowExecutionContinuedAsNewEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowExecutionContinuedAsNewEventAttributes(properties?)

Constructs a new WorkflowExecutionContinuedAsNewEventAttributes.

Parameters#

NameType
properties?IWorkflowExecutionContinuedAsNewEventAttributes

Properties#

backoffStartInterval#

Optional backoffStartInterval: null | IDuration

WorkflowExecutionContinuedAsNewEventAttributes backoffStartInterval.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.backoffStartInterval


failure#

Optional failure: null | IFailure

WorkflowExecutionContinuedAsNewEventAttributes failure.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.failure


header#

Optional header: null | IHeader

WorkflowExecutionContinuedAsNewEventAttributes header.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.header


initiator#

initiator: ContinueAsNewInitiator

WorkflowExecutionContinuedAsNewEventAttributes initiator.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.initiator


input#

Optional input: null | IPayloads

WorkflowExecutionContinuedAsNewEventAttributes input.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.input


lastCompletionResult#

Optional lastCompletionResult: null | IPayloads

WorkflowExecutionContinuedAsNewEventAttributes lastCompletionResult.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.lastCompletionResult


memo#

Optional memo: null | IMemo

WorkflowExecutionContinuedAsNewEventAttributes memo.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.memo


newExecutionRunId#

newExecutionRunId: string

WorkflowExecutionContinuedAsNewEventAttributes newExecutionRunId.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.newExecutionRunId


searchAttributes#

Optional searchAttributes: null | ISearchAttributes

WorkflowExecutionContinuedAsNewEventAttributes searchAttributes.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.searchAttributes


taskQueue#

Optional taskQueue: null | ITaskQueue

WorkflowExecutionContinuedAsNewEventAttributes taskQueue.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.taskQueue


workflowRunTimeout#

Optional workflowRunTimeout: null | IDuration

WorkflowExecutionContinuedAsNewEventAttributes workflowRunTimeout.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.workflowRunTimeout


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

WorkflowExecutionContinuedAsNewEventAttributes workflowTaskCompletedEventId.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.workflowTaskCompletedEventId


workflowTaskTimeout#

Optional workflowTaskTimeout: null | IDuration

WorkflowExecutionContinuedAsNewEventAttributes workflowTaskTimeout.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.workflowTaskTimeout


workflowType#

Optional workflowType: null | IWorkflowType

WorkflowExecutionContinuedAsNewEventAttributes workflowType.

Implementation of#

IWorkflowExecutionContinuedAsNewEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionContinuedAsNewEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionContinuedAsNewEventAttributes

Decodes a WorkflowExecutionContinuedAsNewEventAttributes 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#

WorkflowExecutionContinuedAsNewEventAttributes

WorkflowExecutionContinuedAsNewEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionContinuedAsNewEventAttributes

Decodes a WorkflowExecutionContinuedAsNewEventAttributes 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#

WorkflowExecutionContinuedAsNewEventAttributes

WorkflowExecutionContinuedAsNewEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionContinuedAsNewEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionContinuedAsNewEventAttributes

WorkflowExecutionContinuedAsNewEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionContinuedAsNewEventAttributesWorkflowExecutionContinuedAsNewEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object