Skip to main content

Class: RespondActivityTaskCompletedRequest

workflowservice.v1.RespondActivityTaskCompletedRequest

Represents a RespondActivityTaskCompletedRequest.

Implements#

Constructors#

constructor#

new RespondActivityTaskCompletedRequest(properties?)

Constructs a new RespondActivityTaskCompletedRequest.

Parameters#

NameType
properties?IRespondActivityTaskCompletedRequest

Properties#

identity#

identity: string

RespondActivityTaskCompletedRequest identity.

Implementation of#

IRespondActivityTaskCompletedRequest.identity


namespace#

namespace: string

RespondActivityTaskCompletedRequest namespace.

Implementation of#

IRespondActivityTaskCompletedRequest.namespace


result#

Optional result: null | IPayloads

RespondActivityTaskCompletedRequest result.

Implementation of#

IRespondActivityTaskCompletedRequest.result


taskToken#

taskToken: Uint8Array

RespondActivityTaskCompletedRequest taskToken.

Implementation of#

IRespondActivityTaskCompletedRequest.taskToken

Methods#

toJSON#

toJSON(): Object

Converts this RespondActivityTaskCompletedRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RespondActivityTaskCompletedRequest

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

RespondActivityTaskCompletedRequest

RespondActivityTaskCompletedRequest


decodeDelimited#

Static decodeDelimited(reader): RespondActivityTaskCompletedRequest

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

RespondActivityTaskCompletedRequest

RespondActivityTaskCompletedRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RespondActivityTaskCompletedRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RespondActivityTaskCompletedRequest

RespondActivityTaskCompletedRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRespondActivityTaskCompletedRequestRespondActivityTaskCompletedRequest
options?IConversionOptions-

Returns#

Object

Plain object