Skip to main content

Class: StickyExecutionAttributes

taskqueue.v1.StickyExecutionAttributes

Represents a StickyExecutionAttributes.

Implements#

Constructors#

constructor#

new StickyExecutionAttributes(properties?)

Constructs a new StickyExecutionAttributes.

Parameters#

NameType
properties?IStickyExecutionAttributes

Properties#

scheduleToStartTimeout#

Optional scheduleToStartTimeout: null | IDuration

StickyExecutionAttributes scheduleToStartTimeout.

Implementation of#

IStickyExecutionAttributes.scheduleToStartTimeout


workerTaskQueue#

Optional workerTaskQueue: null | ITaskQueue

StickyExecutionAttributes workerTaskQueue.

Implementation of#

IStickyExecutionAttributes.workerTaskQueue

Methods#

toJSON#

toJSON(): Object

Converts this StickyExecutionAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): StickyExecutionAttributes

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

StickyExecutionAttributes

StickyExecutionAttributes


decodeDelimited#

Static decodeDelimited(reader): StickyExecutionAttributes

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

StickyExecutionAttributes

StickyExecutionAttributes


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): StickyExecutionAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

StickyExecutionAttributes

StickyExecutionAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageStickyExecutionAttributesStickyExecutionAttributes
options?IConversionOptions-

Returns#

Object

Plain object