Class: ChildWorkflowExecutionCompletedEventAttributes
Represents a ChildWorkflowExecutionCompletedEventAttributes.
Properties
initiatedEventId
initiatedEventId:
Long
Id of the START_CHILD_WORKFLOW_EXECUTION_INITIATED event which this event corresponds to
namespace
namespace:
string
Namespace of the child workflow.
SDKs and UI tools should use namespace field but server must use namespace_id only.
namespaceId
namespaceId:
string
ChildWorkflowExecutionCompletedEventAttributes namespaceId.
result?
optionalresult?:$Properties|null
ChildWorkflowExecutionCompletedEventAttributes result.
startedEventId
startedEventId:
Long
Id of the CHILD_WORKFLOW_EXECUTION_STARTED event which this event corresponds to
workflowExecution?
optionalworkflowExecution?:$Properties|null
ChildWorkflowExecutionCompletedEventAttributes workflowExecution.
workflowType?
optionalworkflowType?:$Properties|null
ChildWorkflowExecutionCompletedEventAttributes workflowType.
Methods
toJSON()
toJSON():
object
Converts this ChildWorkflowExecutionCompletedEventAttributes to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):ChildWorkflowExecutionCompletedEventAttributes&$Properties
Creates a new ChildWorkflowExecutionCompletedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ChildWorkflowExecutionCompletedEventAttributes & $Properties
ChildWorkflowExecutionCompletedEventAttributes instance
Call Signature
staticcreate(properties?):ChildWorkflowExecutionCompletedEventAttributes
Creates a new ChildWorkflowExecutionCompletedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ChildWorkflowExecutionCompletedEventAttributes
ChildWorkflowExecutionCompletedEventAttributes instance
decode()
staticdecode(reader,length?):ChildWorkflowExecutionCompletedEventAttributes&$Properties
Decodes a ChildWorkflowExecutionCompletedEventAttributes message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
ChildWorkflowExecutionCompletedEventAttributes & $Properties
ChildWorkflowExecutionCompletedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):ChildWorkflowExecutionCompletedEventAttributes&$Properties
Decodes a ChildWorkflowExecutionCompletedEventAttributes message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
ChildWorkflowExecutionCompletedEventAttributes & $Properties
ChildWorkflowExecutionCompletedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified ChildWorkflowExecutionCompletedEventAttributes message. Does not implicitly temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.verify|verify messages.
Parameters
message
ChildWorkflowExecutionCompletedEventAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ChildWorkflowExecutionCompletedEventAttributes message, length delimited. Does not implicitly temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.verify|verify messages.
Parameters
message
ChildWorkflowExecutionCompletedEventAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):ChildWorkflowExecutionCompletedEventAttributes
Creates a ChildWorkflowExecutionCompletedEventAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
ChildWorkflowExecutionCompletedEventAttributes
ChildWorkflowExecutionCompletedEventAttributes
toObject()
statictoObject(message,options?):object
Creates a plain object from a ChildWorkflowExecutionCompletedEventAttributes message. Also converts values to other types if specified.
Parameters
message
ChildWorkflowExecutionCompletedEventAttributes
ChildWorkflowExecutionCompletedEventAttributes
options?
IConversionOptions
Conversion options
Returns
object
Plain object