public static final class BatchProcessMetadata.IndividualProcessStatus extends GeneratedMessageV3 implements BatchProcessMetadata.IndividualProcessStatusOrBuilder
The status of a each individual document in the batch process.
Protobuf type
google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus
Static Fields
public static final int HUMAN_REVIEW_OPERATION_FIELD_NUMBER
Field Value
public static final int HUMAN_REVIEW_STATUS_FIELD_NUMBER
Field Value
public static final int INPUT_GCS_SOURCE_FIELD_NUMBER
Field Value
public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER
Field Value
public static final int STATUS_FIELD_NUMBER
Field Value
Static Methods
public static BatchProcessMetadata.IndividualProcessStatus getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder()
Returns
public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)
Parameter
Returns
public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchProcessMetadata.IndividualProcessStatus> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
Returns
public String getHumanReviewOperation()
The name of the operation triggered by the processed document. If the
human review process is not triggered, this field will be empty. It has
the same response type and metadata as the long running operation
returned by ReviewDocument method.
string human_review_operation = 4 [deprecated = true];
Returns
Type | Description |
String | The humanReviewOperation.
|
public ByteString getHumanReviewOperationBytes()
The name of the operation triggered by the processed document. If the
human review process is not triggered, this field will be empty. It has
the same response type and metadata as the long running operation
returned by ReviewDocument method.
string human_review_operation = 4 [deprecated = true];
Returns
Type | Description |
ByteString | The bytes for humanReviewOperation.
|
public HumanReviewStatus getHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
Returns
public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
Returns
public String getInputGcsSource()
The source of the document, same as the [input_gcs_source] field in the
request when the batch process started. The batch process is started by
take snapshot of that document, since a user can move or change that
document during the process.
string input_gcs_source = 1;
Returns
Type | Description |
String | The inputGcsSource.
|
public ByteString getInputGcsSourceBytes()
The source of the document, same as the [input_gcs_source] field in the
request when the batch process started. The batch process is started by
take snapshot of that document, since a user can move or change that
document during the process.
string input_gcs_source = 1;
Returns
Type | Description |
ByteString | The bytes for inputGcsSource.
|
public String getOutputGcsDestination()
The output_gcs_destination (in the request as 'output_gcs_destination')
of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;
Returns
Type | Description |
String | The outputGcsDestination.
|
public ByteString getOutputGcsDestinationBytes()
The output_gcs_destination (in the request as 'output_gcs_destination')
of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;
Returns
Type | Description |
ByteString | The bytes for outputGcsDestination.
|
public Parser<BatchProcessMetadata.IndividualProcessStatus> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Status getStatus()
The status of the processing of the document.
.google.rpc.Status status = 2;
Returns
Type | Description |
com.google.rpc.Status | The status.
|
public StatusOrBuilder getStatusOrBuilder()
The status of the processing of the document.
.google.rpc.Status status = 2;
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
public boolean hasStatus()
The status of the processing of the document.
.google.rpc.Status status = 2;
Returns
Type | Description |
boolean | Whether the status field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType()
Returns
protected BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public BatchProcessMetadata.IndividualProcessStatus.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions