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
| Name | Type | Description |
|---|---|---|
properties? | $Properties | Properties to set |
Returns
StickyExecutionAttributes & $Properties
StickyExecutionAttributes instance
▸ create(properties?): StickyExecutionAttributes
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
decode
▸ decode(reader, length?): StickyExecutionAttributes & $Properties
Decodes a StickyExecutionAttributes message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message 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
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader 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
| Name | Type | Description |
|---|---|---|
message | $Properties | StickyExecutionAttributes message or plain object to encode |
writer? | Writer | Writer 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
| Name | Type | Description |
|---|---|---|
message | $Properties | StickyExecutionAttributes message or plain object to encode |
writer? | Writer | Writer 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
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
StickyExecutionAttributes
toObject
▸ toObject(message, options?): Object
Creates a plain object from a StickyExecutionAttributes message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | StickyExecutionAttributes | StickyExecutionAttributes |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object