Google Cloud Document Ai V1 Client - Class BatchProcessMetadata (1.0.1)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class BatchProcessMetadata.

The long running operation metadata for batch process method.

Generated from protobuf message google.cloud.documentai.v1.BatchProcessMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

The state of the current batch processing.

↳ state_message string

A message providing more details about the current state of processing. For example, the error message if the operation is failed.

↳ create_time Google\Protobuf\Timestamp

The creation time of the operation.

↳ update_time Google\Protobuf\Timestamp

The last update time of the operation.

↳ individual_process_statuses array<Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus>

The list of response details of each document.

getState

The state of the current batch processing.

Generated from protobuf field .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1;

Returns
TypeDescription
int

setState

The state of the current batch processing.

Generated from protobuf field .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateMessage

A message providing more details about the current state of processing.

For example, the error message if the operation is failed.

Generated from protobuf field string state_message = 2;

Returns
TypeDescription
string

setStateMessage

A message providing more details about the current state of processing.

For example, the error message if the operation is failed.

Generated from protobuf field string state_message = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

The creation time of the operation.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The creation time of the operation.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

The last update time of the operation.

Generated from protobuf field .google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

The last update time of the operation.

Generated from protobuf field .google.protobuf.Timestamp update_time = 4;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getIndividualProcessStatuses

The list of response details of each document.

Generated from protobuf field repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIndividualProcessStatuses

The list of response details of each document.

Generated from protobuf field repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5;

Parameter
NameDescription
var array<Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus>
Returns
TypeDescription
$this