Skip to main content

Class: RequestCancelExternalWorkflowExecutionFailedEventAttributes

history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes

Represents a RequestCancelExternalWorkflowExecutionFailedEventAttributes.

Implements#

Constructors#

constructor#

new RequestCancelExternalWorkflowExecutionFailedEventAttributes(properties?)

Constructs a new RequestCancelExternalWorkflowExecutionFailedEventAttributes.

Parameters#

NameType
properties?IRequestCancelExternalWorkflowExecutionFailedEventAttributes

Properties#

cause#

cause: CancelExternalWorkflowExecutionFailedCause

RequestCancelExternalWorkflowExecutionFailedEventAttributes cause.

Implementation of#

IRequestCancelExternalWorkflowExecutionFailedEventAttributes.cause


control#

control: string

RequestCancelExternalWorkflowExecutionFailedEventAttributes control.

Implementation of#

IRequestCancelExternalWorkflowExecutionFailedEventAttributes.control


initiatedEventId#

initiatedEventId: Long

RequestCancelExternalWorkflowExecutionFailedEventAttributes initiatedEventId.

Implementation of#

IRequestCancelExternalWorkflowExecutionFailedEventAttributes.initiatedEventId


namespace#

namespace: string

RequestCancelExternalWorkflowExecutionFailedEventAttributes namespace.

Implementation of#

IRequestCancelExternalWorkflowExecutionFailedEventAttributes.namespace


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

RequestCancelExternalWorkflowExecutionFailedEventAttributes workflowExecution.

Implementation of#

IRequestCancelExternalWorkflowExecutionFailedEventAttributes.workflowExecution


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

RequestCancelExternalWorkflowExecutionFailedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IRequestCancelExternalWorkflowExecutionFailedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this RequestCancelExternalWorkflowExecutionFailedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RequestCancelExternalWorkflowExecutionFailedEventAttributes

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

RequestCancelExternalWorkflowExecutionFailedEventAttributes

RequestCancelExternalWorkflowExecutionFailedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): RequestCancelExternalWorkflowExecutionFailedEventAttributes

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

RequestCancelExternalWorkflowExecutionFailedEventAttributes

RequestCancelExternalWorkflowExecutionFailedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RequestCancelExternalWorkflowExecutionFailedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RequestCancelExternalWorkflowExecutionFailedEventAttributes

RequestCancelExternalWorkflowExecutionFailedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRequestCancelExternalWorkflowExecutionFailedEventAttributesRequestCancelExternalWorkflowExecutionFailedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object