Skip to main content

Class: ActivityTaskScheduledEventAttributes

history.v1.ActivityTaskScheduledEventAttributes

Represents an ActivityTaskScheduledEventAttributes.

Implements#

Constructors#

constructor#

new ActivityTaskScheduledEventAttributes(properties?)

Constructs a new ActivityTaskScheduledEventAttributes.

Parameters#

NameType
properties?IActivityTaskScheduledEventAttributes

Properties#

activityId#

activityId: string

ActivityTaskScheduledEventAttributes activityId.

Implementation of#

IActivityTaskScheduledEventAttributes.activityId


activityType#

Optional activityType: null | IActivityType

ActivityTaskScheduledEventAttributes activityType.

Implementation of#

IActivityTaskScheduledEventAttributes.activityType


header#

Optional header: null | IHeader

ActivityTaskScheduledEventAttributes header.

Implementation of#

IActivityTaskScheduledEventAttributes.header


heartbeatTimeout#

Optional heartbeatTimeout: null | IDuration

ActivityTaskScheduledEventAttributes heartbeatTimeout.

Implementation of#

IActivityTaskScheduledEventAttributes.heartbeatTimeout


input#

Optional input: null | IPayloads

ActivityTaskScheduledEventAttributes input.

Implementation of#

IActivityTaskScheduledEventAttributes.input


namespace#

namespace: string

ActivityTaskScheduledEventAttributes namespace.

Implementation of#

IActivityTaskScheduledEventAttributes.namespace


retryPolicy#

Optional retryPolicy: null | IRetryPolicy

ActivityTaskScheduledEventAttributes retryPolicy.

Implementation of#

IActivityTaskScheduledEventAttributes.retryPolicy


scheduleToCloseTimeout#

Optional scheduleToCloseTimeout: null | IDuration

ActivityTaskScheduledEventAttributes scheduleToCloseTimeout.

Implementation of#

IActivityTaskScheduledEventAttributes.scheduleToCloseTimeout


scheduleToStartTimeout#

Optional scheduleToStartTimeout: null | IDuration

ActivityTaskScheduledEventAttributes scheduleToStartTimeout.

Implementation of#

IActivityTaskScheduledEventAttributes.scheduleToStartTimeout


startToCloseTimeout#

Optional startToCloseTimeout: null | IDuration

ActivityTaskScheduledEventAttributes startToCloseTimeout.

Implementation of#

IActivityTaskScheduledEventAttributes.startToCloseTimeout


taskQueue#

Optional taskQueue: null | ITaskQueue

ActivityTaskScheduledEventAttributes taskQueue.

Implementation of#

IActivityTaskScheduledEventAttributes.taskQueue


workflowTaskCompletedEventId#

workflowTaskCompletedEventId: Long

ActivityTaskScheduledEventAttributes workflowTaskCompletedEventId.

Implementation of#

IActivityTaskScheduledEventAttributes.workflowTaskCompletedEventId

Methods#

toJSON#

toJSON(): Object

Converts this ActivityTaskScheduledEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ActivityTaskScheduledEventAttributes

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

ActivityTaskScheduledEventAttributes

ActivityTaskScheduledEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ActivityTaskScheduledEventAttributes

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

ActivityTaskScheduledEventAttributes

ActivityTaskScheduledEventAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ActivityTaskScheduledEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ActivityTaskScheduledEventAttributes

ActivityTaskScheduledEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageActivityTaskScheduledEventAttributesActivityTaskScheduledEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object