Skip to main content

Class: ChildWorkflowExecutionCompletedEventAttributes

history.v1.ChildWorkflowExecutionCompletedEventAttributes

Represents a ChildWorkflowExecutionCompletedEventAttributes.

Implements#

Constructors#

constructor#

new ChildWorkflowExecutionCompletedEventAttributes(properties?)

Constructs a new ChildWorkflowExecutionCompletedEventAttributes.

Parameters#

NameType
properties?IChildWorkflowExecutionCompletedEventAttributes

Properties#

initiatedEventId#

initiatedEventId: Long

ChildWorkflowExecutionCompletedEventAttributes initiatedEventId.

Implementation of#

IChildWorkflowExecutionCompletedEventAttributes.initiatedEventId


namespace#

namespace: string

ChildWorkflowExecutionCompletedEventAttributes namespace.

Implementation of#

IChildWorkflowExecutionCompletedEventAttributes.namespace


result#

Optional result: null | IPayloads

ChildWorkflowExecutionCompletedEventAttributes result.

Implementation of#

IChildWorkflowExecutionCompletedEventAttributes.result


startedEventId#

startedEventId: Long

ChildWorkflowExecutionCompletedEventAttributes startedEventId.

Implementation of#

IChildWorkflowExecutionCompletedEventAttributes.startedEventId


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ChildWorkflowExecutionCompletedEventAttributes workflowExecution.

Implementation of#

IChildWorkflowExecutionCompletedEventAttributes.workflowExecution


workflowType#

Optional workflowType: null | IWorkflowType

ChildWorkflowExecutionCompletedEventAttributes workflowType.

Implementation of#

IChildWorkflowExecutionCompletedEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ChildWorkflowExecutionCompletedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ChildWorkflowExecutionCompletedEventAttributes

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

ChildWorkflowExecutionCompletedEventAttributes

ChildWorkflowExecutionCompletedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ChildWorkflowExecutionCompletedEventAttributes

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

ChildWorkflowExecutionCompletedEventAttributes

ChildWorkflowExecutionCompletedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static 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#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageChildWorkflowExecutionCompletedEventAttributesChildWorkflowExecutionCompletedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object