Skip to main content

Class: WorkflowExecutionFailedEventAttributes

history.v1.WorkflowExecutionFailedEventAttributes

Represents a WorkflowExecutionFailedEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowExecutionFailedEventAttributes(properties?)

Constructs a new WorkflowExecutionFailedEventAttributes.

Parameters#

NameType
properties?IWorkflowExecutionFailedEventAttributes

Properties#

failure#

Optional failure: null | IFailure

WorkflowExecutionFailedEventAttributes failure.

Implementation of#

IWorkflowExecutionFailedEventAttributes.failure


newExecutionRunId#

newExecutionRunId: string

WorkflowExecutionFailedEventAttributes newExecutionRunId.

Implementation of#

IWorkflowExecutionFailedEventAttributes.newExecutionRunId


retryState#

retryState: RetryState

WorkflowExecutionFailedEventAttributes retryState.

Implementation of#

IWorkflowExecutionFailedEventAttributes.retryState


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

WorkflowExecutionFailedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IWorkflowExecutionFailedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionFailedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionFailedEventAttributes

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

WorkflowExecutionFailedEventAttributes

WorkflowExecutionFailedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionFailedEventAttributes

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

WorkflowExecutionFailedEventAttributes

WorkflowExecutionFailedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionFailedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionFailedEventAttributes

WorkflowExecutionFailedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionFailedEventAttributesWorkflowExecutionFailedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object