Skip to main content

Class: StartChildWorkflowExecutionFailedEventAttributes

history.v1.StartChildWorkflowExecutionFailedEventAttributes

Represents a StartChildWorkflowExecutionFailedEventAttributes.

Implements#

Constructors#

constructor#

new StartChildWorkflowExecutionFailedEventAttributes(properties?)

Constructs a new StartChildWorkflowExecutionFailedEventAttributes.

Parameters#

NameType
properties?IStartChildWorkflowExecutionFailedEventAttributes

Properties#

cause#

cause: StartChildWorkflowExecutionFailedCause

StartChildWorkflowExecutionFailedEventAttributes cause.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.cause


control#

control: string

StartChildWorkflowExecutionFailedEventAttributes control.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.control


initiatedEventId#

initiatedEventId: Long

StartChildWorkflowExecutionFailedEventAttributes initiatedEventId.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.initiatedEventId


namespace#

namespace: string

StartChildWorkflowExecutionFailedEventAttributes namespace.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.namespace


workflowId#

workflowId: string

StartChildWorkflowExecutionFailedEventAttributes workflowId.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.workflowId


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

StartChildWorkflowExecutionFailedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.workflowTaskCompletedEventId


workflowType#

Optional workflowType: null | IWorkflowType

StartChildWorkflowExecutionFailedEventAttributes workflowType.

Implementation of#

IStartChildWorkflowExecutionFailedEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this StartChildWorkflowExecutionFailedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): StartChildWorkflowExecutionFailedEventAttributes

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

StartChildWorkflowExecutionFailedEventAttributes

StartChildWorkflowExecutionFailedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): StartChildWorkflowExecutionFailedEventAttributes

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

StartChildWorkflowExecutionFailedEventAttributes

StartChildWorkflowExecutionFailedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): StartChildWorkflowExecutionFailedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

StartChildWorkflowExecutionFailedEventAttributes

StartChildWorkflowExecutionFailedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageStartChildWorkflowExecutionFailedEventAttributesStartChildWorkflowExecutionFailedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object