Skip to main content

Class: ResolveChildWorkflowExecutionStartFailure

coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure

Provide lang the cause of failure

Implements#

Constructors#

constructor#

new ResolveChildWorkflowExecutionStartFailure(properties?)

Constructs a new ResolveChildWorkflowExecutionStartFailure.

Parameters#

NameType
properties?IResolveChildWorkflowExecutionStartFailure

Properties#

cause#

cause: StartChildWorkflowExecutionFailedCause

ResolveChildWorkflowExecutionStartFailure cause.

Implementation of#

IResolveChildWorkflowExecutionStartFailure.cause


workflowId#

workflowId: string

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


decode#

Static decode(reader, length?): ResolveChildWorkflowExecutionStartFailure

Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure


decodeDelimited#

Static decodeDelimited(reader): ResolveChildWorkflowExecutionStartFailure

Decodes a ResolveChildWorkflowExecutionStartFailure message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

ResolveChildWorkflowExecutionStartFailure

ResolveChildWorkflowExecutionStartFailure


encode#

Static encode(message, writer?): Writer

Encodes the specified ResolveChildWorkflowExecutionStartFailure message. Does not implicitly {@link coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify} messages.

Parameters#

NameTypeDescription
messageIResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified ResolveChildWorkflowExecutionStartFailure message, length delimited. Does not implicitly {@link coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure.verify|verify} messages.

Parameters#

NameTypeDescription
messageIResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static 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


toObject#

Static toObject(message, options?): Object

Creates a plain object from a ResolveChildWorkflowExecutionStartFailure message. Also converts values to other types if specified.

Parameters#

NameTypeDescription
messageResolveChildWorkflowExecutionStartFailureResolveChildWorkflowExecutionStartFailure
options?IConversionOptions-

Returns#

Object

Plain object