Skip to main content

Class: RespondActivityTaskCanceledByIdRequest

workflowservice.v1.RespondActivityTaskCanceledByIdRequest

Represents a RespondActivityTaskCanceledByIdRequest.

Implements

Constructors

constructor

new RespondActivityTaskCanceledByIdRequest(properties?)

Constructs a new RespondActivityTaskCanceledByIdRequest.

Parameters

NameTypeDescription
properties?IRespondActivityTaskCanceledByIdRequestProperties to set

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


create

Static create(properties?): RespondActivityTaskCanceledByIdRequest

Creates a new RespondActivityTaskCanceledByIdRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IRespondActivityTaskCanceledByIdRequestProperties to set

Returns

RespondActivityTaskCanceledByIdRequest

RespondActivityTaskCanceledByIdRequest instance


decode

Static decode(reader, length?): RespondActivityTaskCanceledByIdRequest

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

RespondActivityTaskCanceledByIdRequest

RespondActivityTaskCanceledByIdRequest


decodeDelimited

Static decodeDelimited(reader): RespondActivityTaskCanceledByIdRequest

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

RespondActivityTaskCanceledByIdRequest

RespondActivityTaskCanceledByIdRequest


encode

Static encode(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

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

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


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for RespondActivityTaskCanceledByIdRequest

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 RespondActivityTaskCanceledByIdRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageRespondActivityTaskCanceledByIdRequestRespondActivityTaskCanceledByIdRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object