Class: ChildWorkflowExecutionTerminatedEventAttributes
history.v1.ChildWorkflowExecutionTerminatedEventAttributes
Represents a ChildWorkflowExecutionTerminatedEventAttributes.
Implements
Constructors
constructor
• new ChildWorkflowExecutionTerminatedEventAttributes(properties?): ChildWorkflowExecutionTerminatedEventAttributes
Constructs a new ChildWorkflowExecutionTerminatedEventAttributes.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IChildWorkflowExecutionTerminatedEventAttributes | Properties to set |
Returns
ChildWorkflowExecutionTerminatedEventAttributes
Properties
initiatedEventId
• initiatedEventId: Long
Id of the START_CHILD_WORKFLOW_EXECUTION_INITIATED event which this event corresponds to
Implementation of
IChildWorkflowExecutionTerminatedEventAttributes.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
IChildWorkflowExecutionTerminatedEventAttributes.namespace
namespaceId
• namespaceId: string
ChildWorkflowExecutionTerminatedEventAttributes namespaceId.
Implementation of
IChildWorkflowExecutionTerminatedEventAttributes.namespaceId
startedEventId
• startedEventId: Long
Id of the CHILD_WORKFLOW_EXECUTION_STARTED event which this event corresponds to
Implementation of
IChildWorkflowExecutionTerminatedEventAttributes.startedEventId
workflowExecution
• Optional workflowExecution: null | IWorkflowExecution
ChildWorkflowExecutionTerminatedEventAttributes workflowExecution.
Implementation of
IChildWorkflowExecutionTerminatedEventAttributes.workflowExecution
workflowType
• Optional workflowType: null | IWorkflowType
ChildWorkflowExecutionTerminatedEventAttributes workflowType.
Implementation of
IChildWorkflowExecutionTerminatedEventAttributes.workflowType
Methods
toJSON
▸ toJSON(): Object
Converts this ChildWorkflowExecutionTerminatedEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ChildWorkflowExecutionTerminatedEventAttributes
Creates a new ChildWorkflowExecutionTerminatedEventAttributes instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IChildWorkflowExecutionTerminatedEventAttributes | Properties to set |
Returns
ChildWorkflowExecutionTerminatedEventAttributes
ChildWorkflowExecutionTerminatedEventAttributes instance
decode
▸ decode(reader, length?): ChildWorkflowExecutionTerminatedEventAttributes
Decodes a ChildWorkflowExecutionTerminatedEventAttributes message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
ChildWorkflowExecutionTerminatedEventAttributes
ChildWorkflowExecutionTerminatedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ChildWorkflowExecutionTerminatedEventAttributes
Decodes a ChildWorkflowExecutionTerminatedEventAttributes message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
ChildWorkflowExecutionTerminatedEventAttributes
ChildWorkflowExecutionTerminatedEventAttributes
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 ChildWorkflowExecutionTerminatedEventAttributes message. Does not implicitly temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IChildWorkflowExecutionTerminatedEventAttributes | ChildWorkflowExecutionTerminatedEventAttributes message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified ChildWorkflowExecutionTerminatedEventAttributes message, length delimited. Does not implicitly temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IChildWorkflowExecutionTerminatedEventAttributes | ChildWorkflowExecutionTerminatedEventAttributes message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): ChildWorkflowExecutionTerminatedEventAttributes
Creates a ChildWorkflowExecutionTerminatedEventAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
ChildWorkflowExecutionTerminatedEventAttributes
ChildWorkflowExecutionTerminatedEventAttributes
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for ChildWorkflowExecutionTerminatedEventAttributes
Parameters
| Name | Type | Description |
|---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
toObject
▸ toObject(message, options?): Object
Creates a plain object from a ChildWorkflowExecutionTerminatedEventAttributes message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | ChildWorkflowExecutionTerminatedEventAttributes | ChildWorkflowExecutionTerminatedEventAttributes |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object