Skip to main content

Class: DescribeBatchOperationResponse

workflowservice.v1.DescribeBatchOperationResponse

Represents a DescribeBatchOperationResponse.

Implements

Constructors

constructor

new DescribeBatchOperationResponse(properties?): DescribeBatchOperationResponse

Constructs a new DescribeBatchOperationResponse.

Parameters

NameTypeDescription
properties?IDescribeBatchOperationResponseProperties to set

Returns

DescribeBatchOperationResponse

Properties

closeTime

Optional closeTime: null | ITimestamp

Batch operation close time

Implementation of

IDescribeBatchOperationResponse.closeTime


completeOperationCount

completeOperationCount: Long

Complete operation count

Implementation of

IDescribeBatchOperationResponse.completeOperationCount


failureOperationCount

failureOperationCount: Long

Failure operation count

Implementation of

IDescribeBatchOperationResponse.failureOperationCount


identity

identity: string

Identity indicates the operator identity

Implementation of

IDescribeBatchOperationResponse.identity


jobId

jobId: string

Batch job ID

Implementation of

IDescribeBatchOperationResponse.jobId


operationType

operationType: BatchOperationType

Batch operation type

Implementation of

IDescribeBatchOperationResponse.operationType


reason

reason: string

Reason indicates the reason to stop a operation

Implementation of

IDescribeBatchOperationResponse.reason


startTime

Optional startTime: null | ITimestamp

Batch operation start time

Implementation of

IDescribeBatchOperationResponse.startTime


state

state: BatchOperationState

Batch operation state

Implementation of

IDescribeBatchOperationResponse.state


totalOperationCount

totalOperationCount: Long

Total operation count

Implementation of

IDescribeBatchOperationResponse.totalOperationCount

Methods

toJSON

toJSON(): Object

Converts this DescribeBatchOperationResponse to JSON.

Returns

Object

JSON object


create

create(properties?): DescribeBatchOperationResponse

Creates a new DescribeBatchOperationResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IDescribeBatchOperationResponseProperties to set

Returns

DescribeBatchOperationResponse

DescribeBatchOperationResponse instance


decode

decode(reader, length?): DescribeBatchOperationResponse

Decodes a DescribeBatchOperationResponse message from the specified reader or buffer.

Parameters

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

Returns

DescribeBatchOperationResponse

DescribeBatchOperationResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DescribeBatchOperationResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DescribeBatchOperationResponse

DescribeBatchOperationResponse

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

Parameters

NameTypeDescription
messageIDescribeBatchOperationResponseDescribeBatchOperationResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIDescribeBatchOperationResponseDescribeBatchOperationResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): DescribeBatchOperationResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DescribeBatchOperationResponse

DescribeBatchOperationResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DescribeBatchOperationResponse

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 DescribeBatchOperationResponse message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageDescribeBatchOperationResponseDescribeBatchOperationResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object