Class BatchProcessMetadata.IndividualProcessStatus.Builder (2.49.0)

public static final class BatchProcessMetadata.IndividualProcessStatus.Builder extends GeneratedMessageV3.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder> implements BatchProcessMetadata.IndividualProcessStatusOrBuilder

The status of a each individual document in the batch process.

Protobuf type google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessMetadata.IndividualProcessStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

build()

public BatchProcessMetadata.IndividualProcessStatus build()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus

buildPartial()

public BatchProcessMetadata.IndividualProcessStatus buildPartial()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus

clear()

public BatchProcessMetadata.IndividualProcessStatus.Builder clear()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchProcessMetadata.IndividualProcessStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

clearHumanReviewOperation() (deprecated)

public BatchProcessMetadata.IndividualProcessStatus.Builder clearHumanReviewOperation()

Deprecated. google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=629

The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.

string human_review_operation = 4 [deprecated = true];

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

clearHumanReviewStatus()

public BatchProcessMetadata.IndividualProcessStatus.Builder clearHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

clearInputGcsSource()

public BatchProcessMetadata.IndividualProcessStatus.Builder clearInputGcsSource()

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchProcessMetadata.IndividualProcessStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

clearOutputGcsDestination()

public BatchProcessMetadata.IndividualProcessStatus.Builder clearOutputGcsDestination()

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

clearStatus()

public BatchProcessMetadata.IndividualProcessStatus.Builder clearStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

clone()

public BatchProcessMetadata.IndividualProcessStatus.Builder clone()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

getDefaultInstanceForType()

public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHumanReviewOperation() (deprecated)

public String getHumanReviewOperation()

Deprecated. google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=629

The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.

string human_review_operation = 4 [deprecated = true];

Returns
Type Description
String

The humanReviewOperation.

getHumanReviewOperationBytes() (deprecated)

public ByteString getHumanReviewOperationBytes()

Deprecated. google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=629

The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.

string human_review_operation = 4 [deprecated = true];

Returns
Type Description
ByteString

The bytes for humanReviewOperation.

getHumanReviewStatus()

public HumanReviewStatus getHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Returns
Type Description
HumanReviewStatus

The humanReviewStatus.

getHumanReviewStatusBuilder()

public HumanReviewStatus.Builder getHumanReviewStatusBuilder()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Returns
Type Description
HumanReviewStatus.Builder

getHumanReviewStatusOrBuilder()

public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Returns
Type Description
HumanReviewStatusOrBuilder

getInputGcsSource()

public String getInputGcsSource()

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Returns
Type Description
String

The inputGcsSource.

getInputGcsSourceBytes()

public ByteString getInputGcsSourceBytes()

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Returns
Type Description
ByteString

The bytes for inputGcsSource.

getOutputGcsDestination()

public String getOutputGcsDestination()

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Returns
Type Description
String

The outputGcsDestination.

getOutputGcsDestinationBytes()

public ByteString getOutputGcsDestinationBytes()

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Returns
Type Description
ByteString

The bytes for outputGcsDestination.

getStatus()

public Status getStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasHumanReviewStatus()

public boolean hasHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Returns
Type Description
boolean

Whether the humanReviewStatus field is set.

hasStatus()

public boolean hasStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchProcessMetadata.IndividualProcessStatus other)

public BatchProcessMetadata.IndividualProcessStatus.Builder mergeFrom(BatchProcessMetadata.IndividualProcessStatus other)
Parameter
Name Description
other BatchProcessMetadata.IndividualProcessStatus
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchProcessMetadata.IndividualProcessStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchProcessMetadata.IndividualProcessStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

mergeHumanReviewStatus(HumanReviewStatus value)

public BatchProcessMetadata.IndividualProcessStatus.Builder mergeHumanReviewStatus(HumanReviewStatus value)

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Parameter
Name Description
value HumanReviewStatus
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

mergeStatus(Status value)

public BatchProcessMetadata.IndividualProcessStatus.Builder mergeStatus(Status value)

The status processing the document.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchProcessMetadata.IndividualProcessStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

setHumanReviewOperation(String value) (deprecated)

public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewOperation(String value)

Deprecated. google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=629

The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.

string human_review_operation = 4 [deprecated = true];

Parameter
Name Description
value String

The humanReviewOperation to set.

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

setHumanReviewOperationBytes(ByteString value) (deprecated)

public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewOperationBytes(ByteString value)

Deprecated. google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=629

The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.

string human_review_operation = 4 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for humanReviewOperation to set.

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

setHumanReviewStatus(HumanReviewStatus value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewStatus(HumanReviewStatus value)

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Parameter
Name Description
value HumanReviewStatus
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

setHumanReviewStatus(HumanReviewStatus.Builder builderForValue)

public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewStatus(HumanReviewStatus.Builder builderForValue)

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;

Parameter
Name Description
builderForValue HumanReviewStatus.Builder
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

setInputGcsSource(String value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setInputGcsSource(String value)

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Parameter
Name Description
value String

The inputGcsSource to set.

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

setInputGcsSourceBytes(ByteString value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setInputGcsSourceBytes(ByteString value)

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Parameter
Name Description
value ByteString

The bytes for inputGcsSource to set.

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

setOutputGcsDestination(String value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setOutputGcsDestination(String value)

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Parameter
Name Description
value String

The outputGcsDestination to set.

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

setOutputGcsDestinationBytes(ByteString value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setOutputGcsDestinationBytes(ByteString value)

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Parameter
Name Description
value ByteString

The bytes for outputGcsDestination to set.

Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

setStatus(Status value)

public BatchProcessMetadata.IndividualProcessStatus.Builder setStatus(Status value)

The status processing the document.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

setStatus(Status.Builder builderForValue)

public BatchProcessMetadata.IndividualProcessStatus.Builder setStatus(Status.Builder builderForValue)

The status processing the document.

.google.rpc.Status status = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchProcessMetadata.IndividualProcessStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides