Skip to main content

Class: RespondWorkflowTaskCompletedRequest

workflowservice.v1.RespondWorkflowTaskCompletedRequest

Represents a RespondWorkflowTaskCompletedRequest.

Implements#

Constructors#

constructor#

new RespondWorkflowTaskCompletedRequest(properties?)

Constructs a new RespondWorkflowTaskCompletedRequest.

Parameters#

NameType
properties?IRespondWorkflowTaskCompletedRequest

Properties#

binaryChecksum#

binaryChecksum: string

RespondWorkflowTaskCompletedRequest binaryChecksum.

Implementation of#

IRespondWorkflowTaskCompletedRequest.binaryChecksum


commands#

commands: ICommand[]

RespondWorkflowTaskCompletedRequest commands.

Implementation of#

IRespondWorkflowTaskCompletedRequest.commands


forceCreateNewWorkflowTask#

forceCreateNewWorkflowTask: boolean

RespondWorkflowTaskCompletedRequest forceCreateNewWorkflowTask.

Implementation of#

IRespondWorkflowTaskCompletedRequest.forceCreateNewWorkflowTask


identity#

identity: string

RespondWorkflowTaskCompletedRequest identity.

Implementation of#

IRespondWorkflowTaskCompletedRequest.identity


namespace#

namespace: string

RespondWorkflowTaskCompletedRequest namespace.

Implementation of#

IRespondWorkflowTaskCompletedRequest.namespace


queryResults#

queryResults: Object

RespondWorkflowTaskCompletedRequest queryResults.

Index signature#

▪ [k: string]: IWorkflowQueryResult

Implementation of#

IRespondWorkflowTaskCompletedRequest.queryResults


returnNewWorkflowTask#

returnNewWorkflowTask: boolean

RespondWorkflowTaskCompletedRequest returnNewWorkflowTask.

Implementation of#

IRespondWorkflowTaskCompletedRequest.returnNewWorkflowTask


stickyAttributes#

Optional stickyAttributes: null | IStickyExecutionAttributes

RespondWorkflowTaskCompletedRequest stickyAttributes.

Implementation of#

IRespondWorkflowTaskCompletedRequest.stickyAttributes


taskToken#

taskToken: Uint8Array

RespondWorkflowTaskCompletedRequest taskToken.

Implementation of#

IRespondWorkflowTaskCompletedRequest.taskToken

Methods#

toJSON#

toJSON(): Object

Converts this RespondWorkflowTaskCompletedRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RespondWorkflowTaskCompletedRequest

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

RespondWorkflowTaskCompletedRequest

RespondWorkflowTaskCompletedRequest


decodeDelimited#

Static decodeDelimited(reader): RespondWorkflowTaskCompletedRequest

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

RespondWorkflowTaskCompletedRequest

RespondWorkflowTaskCompletedRequest


encode#

Static encode(message, writer?): Writer

Encodes the specified RespondWorkflowTaskCompletedRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.verify|verify} messages.

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified RespondWorkflowTaskCompletedRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.verify|verify} messages.

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RespondWorkflowTaskCompletedRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RespondWorkflowTaskCompletedRequest

RespondWorkflowTaskCompletedRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRespondWorkflowTaskCompletedRequestRespondWorkflowTaskCompletedRequest
options?IConversionOptions-

Returns#

Object

Plain object