Class: ResolveChildWorkflowExecutionStartFailure
coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure
Provide lang the cause of failure
Implements
Constructors
constructor
• new ResolveChildWorkflowExecutionStartFailure(properties?): ResolveChildWorkflowExecutionStartFailure
Constructs a new ResolveChildWorkflowExecutionStartFailure.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IResolveChildWorkflowExecutionStartFailure | Properties to set |
Returns
ResolveChildWorkflowExecutionStartFailure
Properties
cause
• cause: StartChildWorkflowExecutionFailedCause
ResolveChildWorkflowExecutionStartFailure cause.
Implementation of
IResolveChildWorkflowExecutionStartFailure.cause
workflowId
• workflowId: string
Lang should have this information but it's more convenient to pass it back for error construction on the lang side.
Implementation of
IResolveChildWorkflowExecutionStartFailure.workflowId
workflowType
• workflowType: string
ResolveChildWorkflowExecutionStartFailure workflowType.
Implementation of
IResolveChildWorkflowExecutionStartFailure.workflowType
Methods
toJSON
▸ toJSON(): Object
Converts this ResolveChildWorkflowExecutionStartFailure to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ResolveChildWorkflowExecutionStartFailure
Creates a new ResolveChildWorkflowExecutionStartFailure instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IResolveChildWorkflowExecutionStartFailure | Properties to set |
Returns
ResolveChildWorkflowExecutionStartFailure
ResolveChildWorkflowExecutionStartFailure instance
decode
▸ decode(reader, length?): ResolveChildWorkflowExecutionStartFailure
Decodes a ResolveChildWorkflowExecutionStartFailure 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
ResolveChildWorkflowExecutionStartFailure
ResolveChildWorkflowExecutionStartFailure
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ResolveChildWorkflowExecutionStartFailure
Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
ResolveChildWorkflowExecutionStartFailure
ResolveChildWorkflowExecutionStartFailure
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 ResolveChildWorkflowExecutionStartFailure message. Does not implicitly coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IResolveChildWorkflowExecutionStartFailure | ResolveChildWorkflowExecutionStartFailure message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified ResolveChildWorkflowExecutionStartFailure message, length delimited. Does not implicitly coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IResolveChildWorkflowExecutionStartFailure | ResolveChildWorkflowExecutionStartFailure message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): ResolveChildWorkflowExecutionStartFailure
Creates a ResolveChildWorkflowExecutionStartFailure message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
ResolveChildWorkflowExecutionStartFailure
ResolveChildWorkflowExecutionStartFailure
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for ResolveChildWorkflowExecutionStartFailure
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 ResolveChildWorkflowExecutionStartFailure message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | ResolveChildWorkflowExecutionStartFailure | ResolveChildWorkflowExecutionStartFailure |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object