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