Skip to main content

Class: ChildWorkflowExecutionTerminatedEventAttributes

Represents a ChildWorkflowExecutionTerminatedEventAttributes.

Properties​

initiatedEventId​

initiatedEventId: Long

Id of the START_CHILD_WORKFLOW_EXECUTION_INITIATED event which this event corresponds to


namespace​

namespace: string

Namespace of the child workflow. SDKs and UI tools should use namespace field but server must use namespace_id only.


namespaceId​

namespaceId: string

ChildWorkflowExecutionTerminatedEventAttributes namespaceId.


startedEventId​

startedEventId: Long

Id of the CHILD_WORKFLOW_EXECUTION_STARTED event which this event corresponds to


workflowExecution?​

optional workflowExecution?: $Properties | null

ChildWorkflowExecutionTerminatedEventAttributes workflowExecution.


workflowType?​

optional workflowType?: $Properties | null

ChildWorkflowExecutionTerminatedEventAttributes workflowType.

Methods​

toJSON()​

toJSON(): object

Converts this ChildWorkflowExecutionTerminatedEventAttributes to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ChildWorkflowExecutionTerminatedEventAttributes & $Properties

Creates a new ChildWorkflowExecutionTerminatedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ChildWorkflowExecutionTerminatedEventAttributes & $Properties

ChildWorkflowExecutionTerminatedEventAttributes instance

Call Signature​

static create(properties?): ChildWorkflowExecutionTerminatedEventAttributes

Creates a new ChildWorkflowExecutionTerminatedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ChildWorkflowExecutionTerminatedEventAttributes

ChildWorkflowExecutionTerminatedEventAttributes instance


decode()​

static decode(reader, length?): ChildWorkflowExecutionTerminatedEventAttributes & $Properties

Decodes a ChildWorkflowExecutionTerminatedEventAttributes message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

ChildWorkflowExecutionTerminatedEventAttributes & $Properties

ChildWorkflowExecutionTerminatedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ChildWorkflowExecutionTerminatedEventAttributes & $Properties

Decodes a ChildWorkflowExecutionTerminatedEventAttributes message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ChildWorkflowExecutionTerminatedEventAttributes & $Properties

ChildWorkflowExecutionTerminatedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

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

Parameters​

message​

$Properties

ChildWorkflowExecutionTerminatedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

ChildWorkflowExecutionTerminatedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

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​

object​

Plain 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​

message​

ChildWorkflowExecutionTerminatedEventAttributes

ChildWorkflowExecutionTerminatedEventAttributes

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object