Skip to main content

Class: TimerCanceledEventAttributes

history.v1.TimerCanceledEventAttributes

Represents a TimerCanceledEventAttributes.

Implements#

Constructors#

constructor#

new TimerCanceledEventAttributes(properties?)

Constructs a new TimerCanceledEventAttributes.

Parameters#

NameType
properties?ITimerCanceledEventAttributes

Properties#

identity#

identity: string

TimerCanceledEventAttributes identity.

Implementation of#

ITimerCanceledEventAttributes.identity


startedEventId#

startedEventId: Long

TimerCanceledEventAttributes startedEventId.

Implementation of#

ITimerCanceledEventAttributes.startedEventId


timerId#

timerId: string

TimerCanceledEventAttributes timerId.

Implementation of#

ITimerCanceledEventAttributes.timerId


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

TimerCanceledEventAttributes workflowTaskCompletedEventId.

Implementation of#

ITimerCanceledEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this TimerCanceledEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): TimerCanceledEventAttributes

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

TimerCanceledEventAttributes

TimerCanceledEventAttributes


decodeDelimited#

Static decodeDelimited(reader): TimerCanceledEventAttributes

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

TimerCanceledEventAttributes

TimerCanceledEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): TimerCanceledEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

TimerCanceledEventAttributes

TimerCanceledEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageTimerCanceledEventAttributesTimerCanceledEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object