Skip to main content

Class: ChildWorkflowExecutionStartedEventAttributes

history.v1.ChildWorkflowExecutionStartedEventAttributes

Represents a ChildWorkflowExecutionStartedEventAttributes.

Implements#

Constructors#

constructor#

new ChildWorkflowExecutionStartedEventAttributes(properties?)

Constructs a new ChildWorkflowExecutionStartedEventAttributes.

Parameters#

NameType
properties?IChildWorkflowExecutionStartedEventAttributes

Properties#

header#

Optional header: null | IHeader

ChildWorkflowExecutionStartedEventAttributes header.

Implementation of#

IChildWorkflowExecutionStartedEventAttributes.header


initiatedEventId#

initiatedEventId: Long

ChildWorkflowExecutionStartedEventAttributes initiatedEventId.

Implementation of#

IChildWorkflowExecutionStartedEventAttributes.initiatedEventId


namespace#

namespace: string

ChildWorkflowExecutionStartedEventAttributes namespace.

Implementation of#

IChildWorkflowExecutionStartedEventAttributes.namespace


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ChildWorkflowExecutionStartedEventAttributes workflowExecution.

Implementation of#

IChildWorkflowExecutionStartedEventAttributes.workflowExecution


workflowType#

Optional workflowType: null | IWorkflowType

ChildWorkflowExecutionStartedEventAttributes workflowType.

Implementation of#

IChildWorkflowExecutionStartedEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ChildWorkflowExecutionStartedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ChildWorkflowExecutionStartedEventAttributes

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

ChildWorkflowExecutionStartedEventAttributes

ChildWorkflowExecutionStartedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ChildWorkflowExecutionStartedEventAttributes

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

ChildWorkflowExecutionStartedEventAttributes

ChildWorkflowExecutionStartedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ChildWorkflowExecutionStartedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ChildWorkflowExecutionStartedEventAttributes

ChildWorkflowExecutionStartedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageChildWorkflowExecutionStartedEventAttributesChildWorkflowExecutionStartedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object