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