Skip to main content

Class: ResolveRequestCancelExternalWorkflow

coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow

Represents a ResolveRequestCancelExternalWorkflow.

Implements#

Constructors#

constructor#

new ResolveRequestCancelExternalWorkflow(properties?)

Constructs a new ResolveRequestCancelExternalWorkflow.

Parameters#

NameType
properties?IResolveRequestCancelExternalWorkflow

Properties#

failure#

Optional failure: null | IFailure

type / info.

Implementation of#

IResolveRequestCancelExternalWorkflow.failure


seq#

seq: number

RequestCancelExternalWorkflowExecution command

Implementation of#

IResolveRequestCancelExternalWorkflow.seq

Methods#

toJSON#

toJSON(): Object

Converts this ResolveRequestCancelExternalWorkflow to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ResolveRequestCancelExternalWorkflow

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

ResolveRequestCancelExternalWorkflow

ResolveRequestCancelExternalWorkflow


decodeDelimited#

Static decodeDelimited(reader): ResolveRequestCancelExternalWorkflow

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

ResolveRequestCancelExternalWorkflow

ResolveRequestCancelExternalWorkflow


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ResolveRequestCancelExternalWorkflow

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ResolveRequestCancelExternalWorkflow

ResolveRequestCancelExternalWorkflow


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageResolveRequestCancelExternalWorkflowResolveRequestCancelExternalWorkflow
options?IConversionOptions-

Returns#

Object

Plain object