Skip to main content

Class: SignalExternalWorkflowExecutionFailedEventAttributes

history.v1.SignalExternalWorkflowExecutionFailedEventAttributes

Represents a SignalExternalWorkflowExecutionFailedEventAttributes.

Implements#

Constructors#

constructor#

new SignalExternalWorkflowExecutionFailedEventAttributes(properties?)

Constructs a new SignalExternalWorkflowExecutionFailedEventAttributes.

Parameters#

NameType
properties?ISignalExternalWorkflowExecutionFailedEventAttributes

Properties#

cause#

cause: SignalExternalWorkflowExecutionFailedCause

SignalExternalWorkflowExecutionFailedEventAttributes cause.

Implementation of#

ISignalExternalWorkflowExecutionFailedEventAttributes.cause


control#

control: string

SignalExternalWorkflowExecutionFailedEventAttributes control.

Implementation of#

ISignalExternalWorkflowExecutionFailedEventAttributes.control


initiatedEventId#

initiatedEventId: Long

SignalExternalWorkflowExecutionFailedEventAttributes initiatedEventId.

Implementation of#

ISignalExternalWorkflowExecutionFailedEventAttributes.initiatedEventId


namespace#

namespace: string

SignalExternalWorkflowExecutionFailedEventAttributes namespace.

Implementation of#

ISignalExternalWorkflowExecutionFailedEventAttributes.namespace


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

SignalExternalWorkflowExecutionFailedEventAttributes workflowExecution.

Implementation of#

ISignalExternalWorkflowExecutionFailedEventAttributes.workflowExecution


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

SignalExternalWorkflowExecutionFailedEventAttributes workflowTaskCompletedEventId.

Implementation of#

ISignalExternalWorkflowExecutionFailedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this SignalExternalWorkflowExecutionFailedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): SignalExternalWorkflowExecutionFailedEventAttributes

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

SignalExternalWorkflowExecutionFailedEventAttributes

SignalExternalWorkflowExecutionFailedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): SignalExternalWorkflowExecutionFailedEventAttributes

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

SignalExternalWorkflowExecutionFailedEventAttributes

SignalExternalWorkflowExecutionFailedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): SignalExternalWorkflowExecutionFailedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

SignalExternalWorkflowExecutionFailedEventAttributes

SignalExternalWorkflowExecutionFailedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageSignalExternalWorkflowExecutionFailedEventAttributesSignalExternalWorkflowExecutionFailedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object