Skip to main content

Class: ChildWorkflowExecutionCompletedEventAttributes

history.v1.ChildWorkflowExecutionCompletedEventAttributes

Represents a ChildWorkflowExecutionCompletedEventAttributes.

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

ChildWorkflowExecutionCompletedEventAttributes namespaceId.


result

Optional result: null | $Properties

ChildWorkflowExecutionCompletedEventAttributes result.


startedEventId

startedEventId: Long

Id of the CHILD_WORKFLOW_EXECUTION_STARTED event which this event corresponds to


workflowExecution

Optional workflowExecution: null | $Properties

ChildWorkflowExecutionCompletedEventAttributes workflowExecution.


workflowType

Optional workflowType: null | $Properties

ChildWorkflowExecutionCompletedEventAttributes workflowType.

Methods

toJSON

toJSON(): Object

Converts this ChildWorkflowExecutionCompletedEventAttributes to JSON.

Returns

Object

JSON object


create

create(properties?): ChildWorkflowExecutionCompletedEventAttributes & $Properties

Creates a new ChildWorkflowExecutionCompletedEventAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

ChildWorkflowExecutionCompletedEventAttributes & $Properties

ChildWorkflowExecutionCompletedEventAttributes instance

create(properties?): ChildWorkflowExecutionCompletedEventAttributes

Parameters

NameType
properties?$Properties

Returns

ChildWorkflowExecutionCompletedEventAttributes


decode

decode(reader, length?): ChildWorkflowExecutionCompletedEventAttributes & $Properties

Decodes a ChildWorkflowExecutionCompletedEventAttributes message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ChildWorkflowExecutionCompletedEventAttributes & $Properties

ChildWorkflowExecutionCompletedEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ChildWorkflowExecutionCompletedEventAttributes & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ChildWorkflowExecutionCompletedEventAttributes & $Properties

ChildWorkflowExecutionCompletedEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesChildWorkflowExecutionCompletedEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesChildWorkflowExecutionCompletedEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): ChildWorkflowExecutionCompletedEventAttributes

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ChildWorkflowExecutionCompletedEventAttributes

ChildWorkflowExecutionCompletedEventAttributes


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageChildWorkflowExecutionCompletedEventAttributesChildWorkflowExecutionCompletedEventAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object