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