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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int HUMAN_REVIEW_OPERATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int HUMAN_REVIEW_STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INPUT_GCS_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static BatchProcessMetadata.IndividualProcessStatus getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder()
public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)
public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input)
public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteString data)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(CodedInputStream input)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data)
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchProcessMetadata.IndividualProcessStatus> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
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=518
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()
Deprecated. google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=518
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;
public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
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()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public Status getStatus()
The status processing the document.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
com.google.rpc.Status | The status.
|
public StatusOrBuilder getStatusOrBuilder()
The status processing the document.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
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 processing the document.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
boolean | Whether the status field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType()
protected BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public BatchProcessMetadata.IndividualProcessStatus.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides