Skip to main content

Class: ActivityTaskCancelRequestedEventAttributes

history.v1.ActivityTaskCancelRequestedEventAttributes

Represents an ActivityTaskCancelRequestedEventAttributes.

Implements#

Constructors#

constructor#

new ActivityTaskCancelRequestedEventAttributes(properties?)

Constructs a new ActivityTaskCancelRequestedEventAttributes.

Parameters#

NameType
properties?IActivityTaskCancelRequestedEventAttributes

Properties#

scheduledEventId#

scheduledEventId: Long

ActivityTaskCancelRequestedEventAttributes scheduledEventId.

Implementation of#

IActivityTaskCancelRequestedEventAttributes.scheduledEventId


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

ActivityTaskCancelRequestedEventAttributes workflowTaskCompletedEventId.

Implementation of#

IActivityTaskCancelRequestedEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this ActivityTaskCancelRequestedEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ActivityTaskCancelRequestedEventAttributes

Decodes an ActivityTaskCancelRequestedEventAttributes 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#

ActivityTaskCancelRequestedEventAttributes

ActivityTaskCancelRequestedEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ActivityTaskCancelRequestedEventAttributes

Decodes an ActivityTaskCancelRequestedEventAttributes 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#

ActivityTaskCancelRequestedEventAttributes

ActivityTaskCancelRequestedEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ActivityTaskCancelRequestedEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ActivityTaskCancelRequestedEventAttributes

ActivityTaskCancelRequestedEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageActivityTaskCancelRequestedEventAttributesActivityTaskCancelRequestedEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object