Skip to main content

Class: ChildWorkflowExecutionFailedEventAttributes

history.v1.ChildWorkflowExecutionFailedEventAttributes

Represents a ChildWorkflowExecutionFailedEventAttributes.

Implements#

Constructors#

constructor#

new ChildWorkflowExecutionFailedEventAttributes(properties?)

Constructs a new ChildWorkflowExecutionFailedEventAttributes.

Parameters#

NameType
properties?IChildWorkflowExecutionFailedEventAttributes

Properties#

failure#

Optional failure: null | IFailure

ChildWorkflowExecutionFailedEventAttributes failure.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.failure


initiatedEventId#

initiatedEventId: Long

ChildWorkflowExecutionFailedEventAttributes initiatedEventId.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.initiatedEventId


namespace#

namespace: string

ChildWorkflowExecutionFailedEventAttributes namespace.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.namespace


retryState#

retryState: RetryState

ChildWorkflowExecutionFailedEventAttributes retryState.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.retryState


startedEventId#

startedEventId: Long

ChildWorkflowExecutionFailedEventAttributes startedEventId.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.startedEventId


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ChildWorkflowExecutionFailedEventAttributes workflowExecution.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.workflowExecution


workflowType#

Optional workflowType: null | IWorkflowType

ChildWorkflowExecutionFailedEventAttributes workflowType.

Implementation of#

IChildWorkflowExecutionFailedEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ChildWorkflowExecutionFailedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ChildWorkflowExecutionFailedEventAttributes

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

ChildWorkflowExecutionFailedEventAttributes

ChildWorkflowExecutionFailedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ChildWorkflowExecutionFailedEventAttributes

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

ChildWorkflowExecutionFailedEventAttributes

ChildWorkflowExecutionFailedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ChildWorkflowExecutionFailedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ChildWorkflowExecutionFailedEventAttributes

ChildWorkflowExecutionFailedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageChildWorkflowExecutionFailedEventAttributesChildWorkflowExecutionFailedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object