Skip to main content

Class: ChildWorkflowExecutionTerminatedEventAttributes

history.v1.ChildWorkflowExecutionTerminatedEventAttributes

Represents a ChildWorkflowExecutionTerminatedEventAttributes.

Implements#

Constructors#

constructor#

new ChildWorkflowExecutionTerminatedEventAttributes(properties?)

Constructs a new ChildWorkflowExecutionTerminatedEventAttributes.

Parameters#

NameType
properties?IChildWorkflowExecutionTerminatedEventAttributes

Properties#

initiatedEventId#

initiatedEventId: Long

ChildWorkflowExecutionTerminatedEventAttributes initiatedEventId.

Implementation of#

IChildWorkflowExecutionTerminatedEventAttributes.initiatedEventId


namespace#

namespace: string

ChildWorkflowExecutionTerminatedEventAttributes namespace.

Implementation of#

IChildWorkflowExecutionTerminatedEventAttributes.namespace


startedEventId#

startedEventId: Long

ChildWorkflowExecutionTerminatedEventAttributes startedEventId.

Implementation of#

IChildWorkflowExecutionTerminatedEventAttributes.startedEventId


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ChildWorkflowExecutionTerminatedEventAttributes workflowExecution.

Implementation of#

IChildWorkflowExecutionTerminatedEventAttributes.workflowExecution


workflowType#

Optional workflowType: null | IWorkflowType

ChildWorkflowExecutionTerminatedEventAttributes workflowType.

Implementation of#

IChildWorkflowExecutionTerminatedEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ChildWorkflowExecutionTerminatedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ChildWorkflowExecutionTerminatedEventAttributes

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

ChildWorkflowExecutionTerminatedEventAttributes

ChildWorkflowExecutionTerminatedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ChildWorkflowExecutionTerminatedEventAttributes

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

ChildWorkflowExecutionTerminatedEventAttributes

ChildWorkflowExecutionTerminatedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ChildWorkflowExecutionTerminatedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ChildWorkflowExecutionTerminatedEventAttributes

ChildWorkflowExecutionTerminatedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageChildWorkflowExecutionTerminatedEventAttributesChildWorkflowExecutionTerminatedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object