Skip to main content

Class: BatchOperationUnpauseActivities

batch.v1.BatchOperationUnpauseActivities

BatchOperationUnpauseActivities sends unpause requests to batch workflows.

Properties​

activity​

• Optional activity: "type" | "matchAll"

The activity to unpause. If match_all is set to true, all activities will be unpaused.


identity​

• identity: string

The identity of the worker/client.


jitter​

• Optional jitter: null | $Properties

If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.


matchAll​

• Optional matchAll: null | boolean

BatchOperationUnpauseActivities matchAll.


resetAttempts​

• resetAttempts: boolean

Setting this flag will also reset the number of attempts.


resetHeartbeat​

• resetHeartbeat: boolean

Setting this flag will also reset the heartbeat details.


type​

• Optional type: null | string

BatchOperationUnpauseActivities type.

Methods​

toJSON​

▸ toJSON(): Object

Converts this BatchOperationUnpauseActivities to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): BatchOperationUnpauseActivities & $Shape

Creates a new BatchOperationUnpauseActivities instance using the specified properties.

Parameters​

NameTypeDescription
properties?$ShapeProperties to set

Returns​

BatchOperationUnpauseActivities & $Shape

BatchOperationUnpauseActivities instance

▸ create(properties?): BatchOperationUnpauseActivities

Parameters​

NameType
properties?$Properties

Returns​

BatchOperationUnpauseActivities


decode​

▸ decode(reader, length?): BatchOperationUnpauseActivities & $Shape

Decodes a BatchOperationUnpauseActivities message from the specified reader or buffer.

Parameters​

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

Returns​

BatchOperationUnpauseActivities & $Shape

BatchOperationUnpauseActivities

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): BatchOperationUnpauseActivities & $Shape

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

BatchOperationUnpauseActivities & $Shape

BatchOperationUnpauseActivities

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 BatchOperationUnpauseActivities message. Does not implicitly temporal.api.batch.v1.BatchOperationUnpauseActivities.verify|verify messages.

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): BatchOperationUnpauseActivities

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

BatchOperationUnpauseActivities

BatchOperationUnpauseActivities


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageBatchOperationUnpauseActivitiesBatchOperationUnpauseActivities
options?IConversionOptionsConversion options

Returns​

Object

Plain object