Skip to main content

Class: StickyExecutionAttributes

taskqueue.v1.StickyExecutionAttributes

Represents a StickyExecutionAttributes.

Implements

Constructors

constructor

new StickyExecutionAttributes(properties?): StickyExecutionAttributes

Constructs a new StickyExecutionAttributes.

Parameters

NameTypeDescription
properties?IStickyExecutionAttributesProperties to set

Returns

StickyExecutionAttributes

Properties

scheduleToStartTimeout

Optional scheduleToStartTimeout: null | IDuration

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

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


create

create(properties?): StickyExecutionAttributes

Creates a new StickyExecutionAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?IStickyExecutionAttributesProperties to set

Returns

StickyExecutionAttributes

StickyExecutionAttributes instance


decode

decode(reader, length?): StickyExecutionAttributes

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

StickyExecutionAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): StickyExecutionAttributes

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

StickyExecutionAttributes

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
messageIStickyExecutionAttributesStickyExecutionAttributes 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
messageIStickyExecutionAttributesStickyExecutionAttributes 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


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for StickyExecutionAttributes

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


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