Skip to main content

Class: ContinueAsNewWorkflowExecutionCommandAttributes

command.v1.ContinueAsNewWorkflowExecutionCommandAttributes

Represents a ContinueAsNewWorkflowExecutionCommandAttributes.

Implements

Constructors

constructor

new ContinueAsNewWorkflowExecutionCommandAttributes(properties?): ContinueAsNewWorkflowExecutionCommandAttributes

Constructs a new ContinueAsNewWorkflowExecutionCommandAttributes.

Parameters

NameTypeDescription
properties?IContinueAsNewWorkflowExecutionCommandAttributesProperties to set

Returns

ContinueAsNewWorkflowExecutionCommandAttributes

Properties

backoffStartInterval

Optional backoffStartInterval: null | IDuration

How long the workflow start will be delayed - not really a "backoff" in the traditional sense.

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.backoffStartInterval


cronSchedule

cronSchedule: string

Should be removed. Not necessarily unused but unclear and not exposed by SDKs.

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.cronSchedule


failure

Optional failure: null | IFailure

Should be removed

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.failure


Optional header: null | IHeader

ContinueAsNewWorkflowExecutionCommandAttributes header.

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.header


initiator

initiator: ContinueAsNewInitiator

Should be removed

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.initiator


input

Optional input: null | IPayloads

ContinueAsNewWorkflowExecutionCommandAttributes input.

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.input


lastCompletionResult

Optional lastCompletionResult: null | IPayloads

Should be removed

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


useCompatibleVersion

useCompatibleVersion: boolean

If this is set, the workflow executing this command wishes to continue as new using a version compatible with the version that this workflow most recently ran on.

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.useCompatibleVersion


workflowRunTimeout

Optional workflowRunTimeout: null | IDuration

Timeout of a single workflow run.

Implementation of

IContinueAsNewWorkflowExecutionCommandAttributes.workflowRunTimeout


workflowTaskTimeout

Optional workflowTaskTimeout: null | IDuration

Timeout of a single workflow task.

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


create

create(properties?): ContinueAsNewWorkflowExecutionCommandAttributes

Creates a new ContinueAsNewWorkflowExecutionCommandAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?IContinueAsNewWorkflowExecutionCommandAttributesProperties to set

Returns

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes instance


decode

decode(reader, length?): ContinueAsNewWorkflowExecutionCommandAttributes

Decodes a ContinueAsNewWorkflowExecutionCommandAttributes message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ContinueAsNewWorkflowExecutionCommandAttributes

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes

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

Parameters

NameTypeDescription
messageIContinueAsNewWorkflowExecutionCommandAttributesContinueAsNewWorkflowExecutionCommandAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIContinueAsNewWorkflowExecutionCommandAttributesContinueAsNewWorkflowExecutionCommandAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

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


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ContinueAsNewWorkflowExecutionCommandAttributes

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageContinueAsNewWorkflowExecutionCommandAttributesContinueAsNewWorkflowExecutionCommandAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object