Skip to main content

Class: StickyExecutionAttributes

taskqueue.v1.StickyExecutionAttributes

Represents a StickyExecutionAttributes.

Properties​

scheduleToStartTimeout​

• Optional scheduleToStartTimeout: null | $Properties

(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)


workerTaskQueue​

• Optional workerTaskQueue: null | $Properties

StickyExecutionAttributes workerTaskQueue.

Methods​

toJSON​

▸ toJSON(): Object

Converts this StickyExecutionAttributes to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): StickyExecutionAttributes & $Properties

Creates a new StickyExecutionAttributes instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

StickyExecutionAttributes & $Properties

StickyExecutionAttributes instance

▸ create(properties?): StickyExecutionAttributes

Parameters​

NameType
properties?$Properties

Returns​

StickyExecutionAttributes


decode​

▸ decode(reader, length?): StickyExecutionAttributes & $Properties

Decodes a StickyExecutionAttributes message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns​

StickyExecutionAttributes & $Properties

StickyExecutionAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): StickyExecutionAttributes & $Properties

Decodes a StickyExecutionAttributes message from the specified reader or buffer, length delimited.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

StickyExecutionAttributes & $Properties

StickyExecutionAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode​

▸ encode(message, writer?): Writer

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

Parameters​

NameTypeDescription
message$PropertiesStickyExecutionAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

NameTypeDescription
message$PropertiesStickyExecutionAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


fromObject​

▸ 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​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageStickyExecutionAttributesStickyExecutionAttributes
options?IConversionOptionsConversion options

Returns​

Object

Plain object