Class: DescribeBatchOperationResponse
Represents a DescribeBatchOperationResponse.
Properties
closeTime?
optionalcloseTime?:$Properties|null
Batch operation close time
completeOperationCount
completeOperationCount:
Long
Complete operation count
executions
executions:
$Properties[]
Executions is the list of workflow OR standalone activity executions to apply the batch operation
failureOperationCount
failureOperationCount:
Long
Failure operation count
identity
identity:
string
Identity indicates the operator identity
jobId
jobId:
string
Batch job ID
operationType
operationType:
BatchOperationType
Batch operation type
query
query:
string
Query is the visibility query that defines the group of workflow to apply the batch operation
reason
reason:
string
Reason indicates the reason to stop a operation
startTime?
optionalstartTime?:$Properties|null
Batch operation start time
state
state:
BatchOperationState
Batch operation state
totalOperationCount
totalOperationCount:
Long
Total operation count
Methods
toJSON()
toJSON():
object
Converts this DescribeBatchOperationResponse to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):DescribeBatchOperationResponse&$Properties
Creates a new DescribeBatchOperationResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DescribeBatchOperationResponse & $Properties
DescribeBatchOperationResponse instance
Call Signature
staticcreate(properties?):DescribeBatchOperationResponse
Creates a new DescribeBatchOperationResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DescribeBatchOperationResponse
DescribeBatchOperationResponse instance
decode()
staticdecode(reader,length?):DescribeBatchOperationResponse&$Properties
Decodes a DescribeBatchOperationResponse message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
DescribeBatchOperationResponse & $Properties
DescribeBatchOperationResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):DescribeBatchOperationResponse&$Properties
Decodes a DescribeBatchOperationResponse message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
DescribeBatchOperationResponse & $Properties
DescribeBatchOperationResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified DescribeBatchOperationResponse message. Does not implicitly temporal.api.workflowservice.v1.DescribeBatchOperationResponse.verify|verify messages.
Parameters
message
DescribeBatchOperationResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified DescribeBatchOperationResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.DescribeBatchOperationResponse.verify|verify messages.
Parameters
message
DescribeBatchOperationResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):DescribeBatchOperationResponse
Creates a DescribeBatchOperationResponse message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
DescribeBatchOperationResponse
DescribeBatchOperationResponse
toObject()
statictoObject(message,options?):object
Creates a plain object from a DescribeBatchOperationResponse message. Also converts values to other types if specified.
Parameters
message
DescribeBatchOperationResponse
DescribeBatchOperationResponse
options?
IConversionOptions
Conversion options
Returns
object
Plain object