Skip to main content

Class: ChildWorkflowExecutionTimedOutEventAttributes

history.v1.ChildWorkflowExecutionTimedOutEventAttributes

Represents a ChildWorkflowExecutionTimedOutEventAttributes.

Implements#

Constructors#

constructor#

new ChildWorkflowExecutionTimedOutEventAttributes(properties?)

Constructs a new ChildWorkflowExecutionTimedOutEventAttributes.

Parameters#

NameType
properties?IChildWorkflowExecutionTimedOutEventAttributes

Properties#

initiatedEventId#

initiatedEventId: Long

ChildWorkflowExecutionTimedOutEventAttributes initiatedEventId.

Implementation of#

IChildWorkflowExecutionTimedOutEventAttributes.initiatedEventId


namespace#

namespace: string

ChildWorkflowExecutionTimedOutEventAttributes namespace.

Implementation of#

IChildWorkflowExecutionTimedOutEventAttributes.namespace


retryState#

retryState: RetryState

ChildWorkflowExecutionTimedOutEventAttributes retryState.

Implementation of#

IChildWorkflowExecutionTimedOutEventAttributes.retryState


startedEventId#

startedEventId: Long

ChildWorkflowExecutionTimedOutEventAttributes startedEventId.

Implementation of#

IChildWorkflowExecutionTimedOutEventAttributes.startedEventId


workflowExecution#

Optional workflowExecution: null | IWorkflowExecution

ChildWorkflowExecutionTimedOutEventAttributes workflowExecution.

Implementation of#

IChildWorkflowExecutionTimedOutEventAttributes.workflowExecution


workflowType#

Optional workflowType: null | IWorkflowType

ChildWorkflowExecutionTimedOutEventAttributes workflowType.

Implementation of#

IChildWorkflowExecutionTimedOutEventAttributes.workflowType

Methods#

toJSON#

toJSON(): Object

Converts this ChildWorkflowExecutionTimedOutEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ChildWorkflowExecutionTimedOutEventAttributes

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

ChildWorkflowExecutionTimedOutEventAttributes

ChildWorkflowExecutionTimedOutEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ChildWorkflowExecutionTimedOutEventAttributes

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

ChildWorkflowExecutionTimedOutEventAttributes

ChildWorkflowExecutionTimedOutEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ChildWorkflowExecutionTimedOutEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ChildWorkflowExecutionTimedOutEventAttributes

ChildWorkflowExecutionTimedOutEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageChildWorkflowExecutionTimedOutEventAttributesChildWorkflowExecutionTimedOutEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object