Skip to main content

Class: WorkflowExecutionTimedOutEventAttributes

history.v1.WorkflowExecutionTimedOutEventAttributes

Represents a WorkflowExecutionTimedOutEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowExecutionTimedOutEventAttributes(properties?)

Constructs a new WorkflowExecutionTimedOutEventAttributes.

Parameters#

NameType
properties?IWorkflowExecutionTimedOutEventAttributes

Properties#

newExecutionRunId#

newExecutionRunId: string

WorkflowExecutionTimedOutEventAttributes newExecutionRunId.

Implementation of#

IWorkflowExecutionTimedOutEventAttributes.newExecutionRunId


retryState#

retryState: RetryState

WorkflowExecutionTimedOutEventAttributes retryState.

Implementation of#

IWorkflowExecutionTimedOutEventAttributes.retryState

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionTimedOutEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionTimedOutEventAttributes

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

WorkflowExecutionTimedOutEventAttributes

WorkflowExecutionTimedOutEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionTimedOutEventAttributes

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

WorkflowExecutionTimedOutEventAttributes

WorkflowExecutionTimedOutEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionTimedOutEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionTimedOutEventAttributes

WorkflowExecutionTimedOutEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionTimedOutEventAttributesWorkflowExecutionTimedOutEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object