Skip to main content

Class: ScheduleActivityTaskCommandAttributes

command.v1.ScheduleActivityTaskCommandAttributes

Represents a ScheduleActivityTaskCommandAttributes.

Implements#

Constructors#

constructor#

new ScheduleActivityTaskCommandAttributes(properties?)

Constructs a new ScheduleActivityTaskCommandAttributes.

Parameters#

NameType
properties?IScheduleActivityTaskCommandAttributes

Properties#

activityId#

activityId: string

ScheduleActivityTaskCommandAttributes activityId.

Implementation of#

IScheduleActivityTaskCommandAttributes.activityId


activityType#

Optional activityType: null | IActivityType

ScheduleActivityTaskCommandAttributes activityType.

Implementation of#

IScheduleActivityTaskCommandAttributes.activityType


header#

Optional header: null | IHeader

ScheduleActivityTaskCommandAttributes header.

Implementation of#

IScheduleActivityTaskCommandAttributes.header


heartbeatTimeout#

Optional heartbeatTimeout: null | IDuration

ScheduleActivityTaskCommandAttributes heartbeatTimeout.

Implementation of#

IScheduleActivityTaskCommandAttributes.heartbeatTimeout


input#

Optional input: null | IPayloads

ScheduleActivityTaskCommandAttributes input.

Implementation of#

IScheduleActivityTaskCommandAttributes.input


namespace#

namespace: string

ScheduleActivityTaskCommandAttributes namespace.

Implementation of#

IScheduleActivityTaskCommandAttributes.namespace


retryPolicy#

Optional retryPolicy: null | IRetryPolicy

ScheduleActivityTaskCommandAttributes retryPolicy.

Implementation of#

IScheduleActivityTaskCommandAttributes.retryPolicy


scheduleToCloseTimeout#

Optional scheduleToCloseTimeout: null | IDuration

ScheduleActivityTaskCommandAttributes scheduleToCloseTimeout.

Implementation of#

IScheduleActivityTaskCommandAttributes.scheduleToCloseTimeout


scheduleToStartTimeout#

Optional scheduleToStartTimeout: null | IDuration

ScheduleActivityTaskCommandAttributes scheduleToStartTimeout.

Implementation of#

IScheduleActivityTaskCommandAttributes.scheduleToStartTimeout


startToCloseTimeout#

Optional startToCloseTimeout: null | IDuration

ScheduleActivityTaskCommandAttributes startToCloseTimeout.

Implementation of#

IScheduleActivityTaskCommandAttributes.startToCloseTimeout


taskQueue#

Optional taskQueue: null | ITaskQueue

ScheduleActivityTaskCommandAttributes taskQueue.

Implementation of#

IScheduleActivityTaskCommandAttributes.taskQueue

Methods#

toJSON#

toJSON(): Object

Converts this ScheduleActivityTaskCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ScheduleActivityTaskCommandAttributes

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

ScheduleActivityTaskCommandAttributes

ScheduleActivityTaskCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): ScheduleActivityTaskCommandAttributes

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

ScheduleActivityTaskCommandAttributes

ScheduleActivityTaskCommandAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ScheduleActivityTaskCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ScheduleActivityTaskCommandAttributes

ScheduleActivityTaskCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageScheduleActivityTaskCommandAttributesScheduleActivityTaskCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object