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