Skip to main content

Class: RespondNexusTaskCompletedRequest

workflowservice.v1.RespondNexusTaskCompletedRequest

Represents a RespondNexusTaskCompletedRequest.

Implements

Constructors

constructor

new RespondNexusTaskCompletedRequest(properties?): RespondNexusTaskCompletedRequest

Constructs a new RespondNexusTaskCompletedRequest.

Parameters

NameTypeDescription
properties?IRespondNexusTaskCompletedRequestProperties to set

Returns

RespondNexusTaskCompletedRequest

Properties

identity

identity: string

The identity of the client who initiated this request.

Implementation of

IRespondNexusTaskCompletedRequest.identity


namespace

namespace: string

RespondNexusTaskCompletedRequest namespace.

Implementation of

IRespondNexusTaskCompletedRequest.namespace


response

Optional response: null | IResponse

Embedded response to be translated into a frontend response.

Implementation of

IRespondNexusTaskCompletedRequest.response


taskToken

taskToken: Uint8Array

A unique identifier for this task as received via a poll response.

Implementation of

IRespondNexusTaskCompletedRequest.taskToken

Methods

toJSON

toJSON(): Object

Converts this RespondNexusTaskCompletedRequest to JSON.

Returns

Object

JSON object


create

create(properties?): RespondNexusTaskCompletedRequest

Creates a new RespondNexusTaskCompletedRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IRespondNexusTaskCompletedRequestProperties to set

Returns

RespondNexusTaskCompletedRequest

RespondNexusTaskCompletedRequest instance


decode

decode(reader, length?): RespondNexusTaskCompletedRequest

Decodes a RespondNexusTaskCompletedRequest message from the specified reader or buffer.

Parameters

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

Returns

RespondNexusTaskCompletedRequest

RespondNexusTaskCompletedRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): RespondNexusTaskCompletedRequest

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

RespondNexusTaskCompletedRequest

RespondNexusTaskCompletedRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified RespondNexusTaskCompletedRequest message. Does not implicitly temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): RespondNexusTaskCompletedRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

RespondNexusTaskCompletedRequest

RespondNexusTaskCompletedRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for RespondNexusTaskCompletedRequest

Parameters

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

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageRespondNexusTaskCompletedRequestRespondNexusTaskCompletedRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object