Skip to main content

Class: RespondWorkflowTaskCompletedRequest

workflowservice.v1.RespondWorkflowTaskCompletedRequest

Represents a RespondWorkflowTaskCompletedRequest.

Implements​

Constructors​

constructor​

β€’ new RespondWorkflowTaskCompletedRequest(properties?)

Constructs a new RespondWorkflowTaskCompletedRequest.

Parameters​

NameTypeDescription
properties?IRespondWorkflowTaskCompletedRequestProperties to set

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


create​

β–Έ Static create(properties?): RespondWorkflowTaskCompletedRequest

Creates a new RespondWorkflowTaskCompletedRequest instance using the specified properties.

Parameters​

NameTypeDescription
properties?IRespondWorkflowTaskCompletedRequestProperties to set

Returns​

RespondWorkflowTaskCompletedRequest

RespondWorkflowTaskCompletedRequest instance


decode​

β–Έ Static decode(reader, length?): RespondWorkflowTaskCompletedRequest

Decodes a RespondWorkflowTaskCompletedRequest message from the specified reader or buffer.

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns​

RespondWorkflowTaskCompletedRequest

RespondWorkflowTaskCompletedRequest


decodeDelimited​

β–Έ Static decodeDelimited(reader): RespondWorkflowTaskCompletedRequest

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

Throws

If the payload is not a reader or valid buffer

Throws

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 temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.verify|verify messages.

Parameters​

NameTypeDescription
messageIRespondWorkflowTaskCompletedRequestRespondWorkflowTaskCompletedRequest message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

β–Έ Static encodeDelimited(message, writer?): Writer

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

Parameters​

NameTypeDescription
messageIRespondWorkflowTaskCompletedRequestRespondWorkflowTaskCompletedRequest message or plain object to encode
writer?WriterWriter to encode to

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


getTypeUrl​

β–Έ Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for RespondWorkflowTaskCompletedRequest

Parameters​

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns​

string

The default type url


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?IConversionOptionsConversion options

Returns​

Object

Plain object