Skip to main content

Class: RespondActivityTaskCanceledByIdRequest

workflowservice.v1.RespondActivityTaskCanceledByIdRequest

Represents a RespondActivityTaskCanceledByIdRequest.

Implements#

Constructors#

constructor#

new RespondActivityTaskCanceledByIdRequest(properties?)

Constructs a new RespondActivityTaskCanceledByIdRequest.

Parameters#

NameType
properties?IRespondActivityTaskCanceledByIdRequest

Properties#

activityId#

activityId: string

RespondActivityTaskCanceledByIdRequest activityId.

Implementation of#

IRespondActivityTaskCanceledByIdRequest.activityId


details#

Optional details: null | IPayloads

RespondActivityTaskCanceledByIdRequest details.

Implementation of#

IRespondActivityTaskCanceledByIdRequest.details


identity#

identity: string

RespondActivityTaskCanceledByIdRequest identity.

Implementation of#

IRespondActivityTaskCanceledByIdRequest.identity


namespace#

namespace: string

RespondActivityTaskCanceledByIdRequest namespace.

Implementation of#

IRespondActivityTaskCanceledByIdRequest.namespace


runId#

runId: string

RespondActivityTaskCanceledByIdRequest runId.

Implementation of#

IRespondActivityTaskCanceledByIdRequest.runId


workflowId#

workflowId: string

RespondActivityTaskCanceledByIdRequest workflowId.

Implementation of#

IRespondActivityTaskCanceledByIdRequest.workflowId

Methods#

toJSON#

toJSON(): Object

Converts this RespondActivityTaskCanceledByIdRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RespondActivityTaskCanceledByIdRequest

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

RespondActivityTaskCanceledByIdRequest

RespondActivityTaskCanceledByIdRequest


decodeDelimited#

Static decodeDelimited(reader): RespondActivityTaskCanceledByIdRequest

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

RespondActivityTaskCanceledByIdRequest

RespondActivityTaskCanceledByIdRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RespondActivityTaskCanceledByIdRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RespondActivityTaskCanceledByIdRequest

RespondActivityTaskCanceledByIdRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRespondActivityTaskCanceledByIdRequestRespondActivityTaskCanceledByIdRequest
options?IConversionOptions-

Returns#

Object

Plain object