Skip to main content

Class: WorkflowExecutionConfig

workflow.v1.WorkflowExecutionConfig

Represents a WorkflowExecutionConfig.

Implements#

Constructors#

constructor#

new WorkflowExecutionConfig(properties?)

Constructs a new WorkflowExecutionConfig.

Parameters#

NameType
properties?IWorkflowExecutionConfig

Properties#

defaultWorkflowTaskTimeout#

Optional defaultWorkflowTaskTimeout: null | IDuration

WorkflowExecutionConfig defaultWorkflowTaskTimeout.

Implementation of#

IWorkflowExecutionConfig.defaultWorkflowTaskTimeout


taskQueue#

Optional taskQueue: null | ITaskQueue

WorkflowExecutionConfig taskQueue.

Implementation of#

IWorkflowExecutionConfig.taskQueue


workflowExecutionTimeout#

Optional workflowExecutionTimeout: null | IDuration

WorkflowExecutionConfig workflowExecutionTimeout.

Implementation of#

IWorkflowExecutionConfig.workflowExecutionTimeout


workflowRunTimeout#

Optional workflowRunTimeout: null | IDuration

WorkflowExecutionConfig workflowRunTimeout.

Implementation of#

IWorkflowExecutionConfig.workflowRunTimeout

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionConfig to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionConfig

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

WorkflowExecutionConfig

WorkflowExecutionConfig


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionConfig

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

WorkflowExecutionConfig

WorkflowExecutionConfig


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionConfig

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionConfig

WorkflowExecutionConfig


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionConfigWorkflowExecutionConfig
options?IConversionOptions-

Returns#

Object

Plain object