Skip to main content

Class: ResolveChildWorkflowExecutionStartCancelled

coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled

The failure is constructed in core for lang's convenience.

Implements#

Constructors#

constructor#

new ResolveChildWorkflowExecutionStartCancelled(properties?)

Constructs a new ResolveChildWorkflowExecutionStartCancelled.

Parameters#

NameType
properties?IResolveChildWorkflowExecutionStartCancelled

Properties#

failure#

Optional failure: null | IFailure

ResolveChildWorkflowExecutionStartCancelled failure.

Implementation of#

IResolveChildWorkflowExecutionStartCancelled.failure

Methods#

toJSON#

toJSON(): Object

Converts this ResolveChildWorkflowExecutionStartCancelled to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ResolveChildWorkflowExecutionStartCancelled

Decodes a ResolveChildWorkflowExecutionStartCancelled 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#

ResolveChildWorkflowExecutionStartCancelled

ResolveChildWorkflowExecutionStartCancelled


decodeDelimited#

Static decodeDelimited(reader): ResolveChildWorkflowExecutionStartCancelled

Decodes a ResolveChildWorkflowExecutionStartCancelled 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#

ResolveChildWorkflowExecutionStartCancelled

ResolveChildWorkflowExecutionStartCancelled


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ResolveChildWorkflowExecutionStartCancelled

Creates a ResolveChildWorkflowExecutionStartCancelled message from a plain object. Also converts values to their respective internal types.

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ResolveChildWorkflowExecutionStartCancelled

ResolveChildWorkflowExecutionStartCancelled


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageResolveChildWorkflowExecutionStartCancelledResolveChildWorkflowExecutionStartCancelled
options?IConversionOptions-

Returns#

Object

Plain object