Skip to main content

Class: ChildWorkflowExecutionCanceledEventAttributes

history.v1.ChildWorkflowExecutionCanceledEventAttributes

Represents a ChildWorkflowExecutionCanceledEventAttributes.

Implements#

Constructors#

constructor#

new ChildWorkflowExecutionCanceledEventAttributes(properties?)

Constructs a new ChildWorkflowExecutionCanceledEventAttributes.

Parameters#

NameType
properties?IChildWorkflowExecutionCanceledEventAttributes

Properties#

details#

Optional details: null | IPayloads

ChildWorkflowExecutionCanceledEventAttributes details.

Implementation of#

IChildWorkflowExecutionCanceledEventAttributes.details


initiatedEventId#

initiatedEventId: Long

ChildWorkflowExecutionCanceledEventAttributes initiatedEventId.

Implementation of#

IChildWorkflowExecutionCanceledEventAttributes.initiatedEventId


namespace#

namespace: string

ChildWorkflowExecutionCanceledEventAttributes namespace.

Implementation of#

IChildWorkflowExecutionCanceledEventAttributes.namespace


startedEventId#

startedEventId: Long

ChildWorkflowExecutionCanceledEventAttributes startedEventId.

Implementation of#

IChildWorkflowExecutionCanceledEventAttributes.startedEventId


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ChildWorkflowExecutionCanceledEventAttributes workflowExecution.

Implementation of#

IChildWorkflowExecutionCanceledEventAttributes.workflowExecution


workflowType#

Optional workflowType: null | IWorkflowType

ChildWorkflowExecutionCanceledEventAttributes workflowType.

Implementation of#

IChildWorkflowExecutionCanceledEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ChildWorkflowExecutionCanceledEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ChildWorkflowExecutionCanceledEventAttributes

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

ChildWorkflowExecutionCanceledEventAttributes

ChildWorkflowExecutionCanceledEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ChildWorkflowExecutionCanceledEventAttributes

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

ChildWorkflowExecutionCanceledEventAttributes

ChildWorkflowExecutionCanceledEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ChildWorkflowExecutionCanceledEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ChildWorkflowExecutionCanceledEventAttributes

ChildWorkflowExecutionCanceledEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageChildWorkflowExecutionCanceledEventAttributesChildWorkflowExecutionCanceledEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object