Skip to main content

Class: ChildWorkflowExecutionTimedOutEventAttributes

history.v1.ChildWorkflowExecutionTimedOutEventAttributes

Represents a ChildWorkflowExecutionTimedOutEventAttributes.

Implements

Constructors

constructor

new ChildWorkflowExecutionTimedOutEventAttributes(properties?): ChildWorkflowExecutionTimedOutEventAttributes

Constructs a new ChildWorkflowExecutionTimedOutEventAttributes.

Parameters

NameTypeDescription
properties?IChildWorkflowExecutionTimedOutEventAttributesProperties to set

Returns

ChildWorkflowExecutionTimedOutEventAttributes

Properties

initiatedEventId

initiatedEventId: Long

Id of the START_CHILD_WORKFLOW_EXECUTION_INITIATED event which this event corresponds to

Implementation of

IChildWorkflowExecutionTimedOutEventAttributes.initiatedEventId


namespace

namespace: string

Namespace of the child workflow. SDKs and UI tools should use namespace field but server must use namespace_id only.

Implementation of

IChildWorkflowExecutionTimedOutEventAttributes.namespace


namespaceId

namespaceId: string

ChildWorkflowExecutionTimedOutEventAttributes namespaceId.

Implementation of

IChildWorkflowExecutionTimedOutEventAttributes.namespaceId


retryState

retryState: RetryState

ChildWorkflowExecutionTimedOutEventAttributes retryState.

Implementation of

IChildWorkflowExecutionTimedOutEventAttributes.retryState


startedEventId

startedEventId: Long

Id of the CHILD_WORKFLOW_EXECUTION_STARTED event which this event corresponds to

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


create

create(properties?): ChildWorkflowExecutionTimedOutEventAttributes

Creates a new ChildWorkflowExecutionTimedOutEventAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?IChildWorkflowExecutionTimedOutEventAttributesProperties to set

Returns

ChildWorkflowExecutionTimedOutEventAttributes

ChildWorkflowExecutionTimedOutEventAttributes instance


decode

decode(reader, length?): ChildWorkflowExecutionTimedOutEventAttributes

Decodes a ChildWorkflowExecutionTimedOutEventAttributes message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ChildWorkflowExecutionTimedOutEventAttributes

ChildWorkflowExecutionTimedOutEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ChildWorkflowExecutionTimedOutEventAttributes

Decodes a ChildWorkflowExecutionTimedOutEventAttributes message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ChildWorkflowExecutionTimedOutEventAttributes

ChildWorkflowExecutionTimedOutEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIChildWorkflowExecutionTimedOutEventAttributesChildWorkflowExecutionTimedOutEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIChildWorkflowExecutionTimedOutEventAttributesChildWorkflowExecutionTimedOutEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

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


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ChildWorkflowExecutionTimedOutEventAttributes

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageChildWorkflowExecutionTimedOutEventAttributesChildWorkflowExecutionTimedOutEventAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object