Skip to main content

Class: StopBatchOperationRequest

workflowservice.v1.StopBatchOperationRequest

Represents a StopBatchOperationRequest.

Properties​

identity​

• identity: string

Identity of the operator


jobId​

• jobId: string

Batch job id


namespace​

• namespace: string

Namespace that contains the batch operation


reason​

• reason: string

Reason to stop a batch operation

Methods​

toJSON​

▸ toJSON(): Object

Converts this StopBatchOperationRequest to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): StopBatchOperationRequest & $Properties

Creates a new StopBatchOperationRequest instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

StopBatchOperationRequest & $Properties

StopBatchOperationRequest instance

▸ create(properties?): StopBatchOperationRequest

Parameters​

NameType
properties?$Properties

Returns​

StopBatchOperationRequest


decode​

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

Decodes a StopBatchOperationRequest message from the specified reader or buffer.

Parameters​

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

Returns​

StopBatchOperationRequest & $Properties

StopBatchOperationRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): StopBatchOperationRequest & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

StopBatchOperationRequest & $Properties

StopBatchOperationRequest

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

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): StopBatchOperationRequest

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

StopBatchOperationRequest

StopBatchOperationRequest


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageStopBatchOperationRequestStopBatchOperationRequest
options?IConversionOptionsConversion options

Returns​

Object

Plain object