Skip to main content

Class: RequestCancelActivityTaskCommandAttributes

command.v1.RequestCancelActivityTaskCommandAttributes

Represents a RequestCancelActivityTaskCommandAttributes.

Implements#

Constructors#

constructor#

new RequestCancelActivityTaskCommandAttributes(properties?)

Constructs a new RequestCancelActivityTaskCommandAttributes.

Parameters#

NameType
properties?IRequestCancelActivityTaskCommandAttributes

Properties#

scheduledEventId#

scheduledEventId: Long

RequestCancelActivityTaskCommandAttributes scheduledEventId.

Implementation of#

IRequestCancelActivityTaskCommandAttributes.scheduledEventId

Methods#

toJSON#

toJSON(): Object

Converts this RequestCancelActivityTaskCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): RequestCancelActivityTaskCommandAttributes

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

RequestCancelActivityTaskCommandAttributes

RequestCancelActivityTaskCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): RequestCancelActivityTaskCommandAttributes

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

RequestCancelActivityTaskCommandAttributes

RequestCancelActivityTaskCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): RequestCancelActivityTaskCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

RequestCancelActivityTaskCommandAttributes

RequestCancelActivityTaskCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageRequestCancelActivityTaskCommandAttributesRequestCancelActivityTaskCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object