Skip to main content

Class: ResolveChildWorkflowExecutionStartFailure

coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure

Provide lang the cause of failure

Implements

Constructors

constructor

new ResolveChildWorkflowExecutionStartFailure(properties?): ResolveChildWorkflowExecutionStartFailure

Constructs a new ResolveChildWorkflowExecutionStartFailure.

Parameters

NameTypeDescription
properties?IResolveChildWorkflowExecutionStartFailureProperties 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

NameTypeDescription
properties?IResolveChildWorkflowExecutionStartFailureProperties to set

Returns

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure instance


decode

decode(reader, length?): ResolveChildWorkflowExecutionStartFailure

Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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

NameTypeDescription
readerUint8Array | ReaderReader 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

NameTypeDescription
messageIResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?WriterWriter 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

NameTypeDescription
messageIResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?WriterWriter 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

NameTypeDescription
objectObjectPlain object

Returns

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ResolveChildWorkflowExecutionStartFailure

Parameters

NameTypeDescription
typeUrlPrefix?stringyour 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

NameTypeDescription
messageResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure
options?IConversionOptionsConversion options

Returns

Object

Plain object