Skip to main content

Class: ContinueAsNewWorkflowExecutionCommandAttributes

command.v1.ContinueAsNewWorkflowExecutionCommandAttributes

Represents a ContinueAsNewWorkflowExecutionCommandAttributes.

Implements#

Constructors#

constructor#

new ContinueAsNewWorkflowExecutionCommandAttributes(properties?)

Constructs a new ContinueAsNewWorkflowExecutionCommandAttributes.

Parameters#

NameType
properties?IContinueAsNewWorkflowExecutionCommandAttributes

Properties#

backoffStartInterval#

Optional backoffStartInterval: null | IDuration

ContinueAsNewWorkflowExecutionCommandAttributes backoffStartInterval.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.backoffStartInterval


cronSchedule#

cronSchedule: string

ContinueAsNewWorkflowExecutionCommandAttributes cronSchedule.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.cronSchedule


failure#

Optional failure: null | IFailure

ContinueAsNewWorkflowExecutionCommandAttributes failure.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.failure


header#

Optional header: null | IHeader

ContinueAsNewWorkflowExecutionCommandAttributes header.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.header


initiator#

initiator: ContinueAsNewInitiator

ContinueAsNewWorkflowExecutionCommandAttributes initiator.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.initiator


input#

Optional input: null | IPayloads

ContinueAsNewWorkflowExecutionCommandAttributes input.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.input


lastCompletionResult#

Optional lastCompletionResult: null | IPayloads

ContinueAsNewWorkflowExecutionCommandAttributes lastCompletionResult.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.lastCompletionResult


memo#

Optional memo: null | IMemo

ContinueAsNewWorkflowExecutionCommandAttributes memo.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.memo


retryPolicy#

Optional retryPolicy: null | IRetryPolicy

ContinueAsNewWorkflowExecutionCommandAttributes retryPolicy.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.retryPolicy


searchAttributes#

Optional searchAttributes: null | ISearchAttributes

ContinueAsNewWorkflowExecutionCommandAttributes searchAttributes.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.searchAttributes


taskQueue#

Optional taskQueue: null | ITaskQueue

ContinueAsNewWorkflowExecutionCommandAttributes taskQueue.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.taskQueue


workflowRunTimeout#

Optional workflowRunTimeout: null | IDuration

ContinueAsNewWorkflowExecutionCommandAttributes workflowRunTimeout.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.workflowRunTimeout


workflowTaskTimeout#

Optional workflowTaskTimeout: null | IDuration

ContinueAsNewWorkflowExecutionCommandAttributes workflowTaskTimeout.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.workflowTaskTimeout


workflowType#

Optional workflowType: null | IWorkflowType

ContinueAsNewWorkflowExecutionCommandAttributes workflowType.

Implementation of#

IContinueAsNewWorkflowExecutionCommandAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ContinueAsNewWorkflowExecutionCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ContinueAsNewWorkflowExecutionCommandAttributes

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

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): ContinueAsNewWorkflowExecutionCommandAttributes

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

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ContinueAsNewWorkflowExecutionCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageContinueAsNewWorkflowExecutionCommandAttributesContinueAsNewWorkflowExecutionCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object