Skip to main content

Class: ActivityTaskTimedOutEventAttributes

history.v1.ActivityTaskTimedOutEventAttributes

Represents an ActivityTaskTimedOutEventAttributes.

Implements#

Constructors#

constructor#

new ActivityTaskTimedOutEventAttributes(properties?)

Constructs a new ActivityTaskTimedOutEventAttributes.

Parameters#

NameType
properties?IActivityTaskTimedOutEventAttributes

Properties#

failure#

Optional failure: null | IFailure

ActivityTaskTimedOutEventAttributes failure.

Implementation of#

IActivityTaskTimedOutEventAttributes.failure


retryState#

retryState: RetryState

ActivityTaskTimedOutEventAttributes retryState.

Implementation of#

IActivityTaskTimedOutEventAttributes.retryState


scheduledEventId#

scheduledEventId: Long

ActivityTaskTimedOutEventAttributes scheduledEventId.

Implementation of#

IActivityTaskTimedOutEventAttributes.scheduledEventId


startedEventId#

startedEventId: Long

ActivityTaskTimedOutEventAttributes startedEventId.

Implementation of#

IActivityTaskTimedOutEventAttributes.startedEventId

Methods#

toJSON#

toJSON(): Object

Converts this ActivityTaskTimedOutEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ActivityTaskTimedOutEventAttributes

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

ActivityTaskTimedOutEventAttributes

ActivityTaskTimedOutEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ActivityTaskTimedOutEventAttributes

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

ActivityTaskTimedOutEventAttributes

ActivityTaskTimedOutEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ActivityTaskTimedOutEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ActivityTaskTimedOutEventAttributes

ActivityTaskTimedOutEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageActivityTaskTimedOutEventAttributesActivityTaskTimedOutEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object