Skip to main content

Class: WorkflowExecutionCanceledEventAttributes

history.v1.WorkflowExecutionCanceledEventAttributes

Represents a WorkflowExecutionCanceledEventAttributes.

Implements#

Constructors#

constructor#

new WorkflowExecutionCanceledEventAttributes(properties?)

Constructs a new WorkflowExecutionCanceledEventAttributes.

Parameters#

NameType
properties?IWorkflowExecutionCanceledEventAttributes

Properties#

details#

Optional details: null | IPayloads

WorkflowExecutionCanceledEventAttributes details.

Implementation of#

IWorkflowExecutionCanceledEventAttributes.details


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

WorkflowExecutionCanceledEventAttributes workflowTaskCompletedEventId.

Implementation of#

IWorkflowExecutionCanceledEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this WorkflowExecutionCanceledEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): WorkflowExecutionCanceledEventAttributes

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

WorkflowExecutionCanceledEventAttributes

WorkflowExecutionCanceledEventAttributes


decodeDelimited#

Static decodeDelimited(reader): WorkflowExecutionCanceledEventAttributes

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

WorkflowExecutionCanceledEventAttributes

WorkflowExecutionCanceledEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): WorkflowExecutionCanceledEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

WorkflowExecutionCanceledEventAttributes

WorkflowExecutionCanceledEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageWorkflowExecutionCanceledEventAttributesWorkflowExecutionCanceledEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object