Class BatchProcessMetadata.IndividualProcessStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus
-
- All Implemented Interfaces:
BatchProcessMetadata.IndividualProcessStatusOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- BatchProcessMetadata
public static final class BatchProcessMetadata.IndividualProcessStatus extends com.google.protobuf.GeneratedMessageV3 implements BatchProcessMetadata.IndividualProcessStatusOrBuilder
The status of a each individual document in the batch process.
Protobuf typegoogle.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchProcessMetadata.IndividualProcessStatus.Builder
The status of a each individual document in the batch process.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
HUMAN_REVIEW_OPERATION_FIELD_NUMBER
static int
HUMAN_REVIEW_STATUS_FIELD_NUMBER
static int
INPUT_GCS_SOURCE_FIELD_NUMBER
static int
OUTPUT_GCS_DESTINATION_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
static BatchProcessMetadata.IndividualProcessStatus
getDefaultInstance()
BatchProcessMetadata.IndividualProcessStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getHumanReviewOperation()
Deprecated.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated.com.google.protobuf.ByteString
getHumanReviewOperationBytes()
Deprecated.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated.HumanReviewStatus
getHumanReviewStatus()
The status of human review on the processed document.HumanReviewStatusOrBuilder
getHumanReviewStatusOrBuilder()
The status of human review on the processed document.String
getInputGcsSource()
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.com.google.protobuf.ByteString
getInputGcsSourceBytes()
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.String
getOutputGcsDestination()
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.com.google.protobuf.ByteString
getOutputGcsDestinationBytes()
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.com.google.protobuf.Parser<BatchProcessMetadata.IndividualProcessStatus>
getParserForType()
int
getSerializedSize()
com.google.rpc.Status
getStatus()
The status processing the document.com.google.rpc.StatusOrBuilder
getStatusOrBuilder()
The status processing the document.int
hashCode()
boolean
hasHumanReviewStatus()
The status of human review on the processed document.boolean
hasStatus()
The status processing the document.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static BatchProcessMetadata.IndividualProcessStatus.Builder
newBuilder()
static BatchProcessMetadata.IndividualProcessStatus.Builder
newBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)
BatchProcessMetadata.IndividualProcessStatus.Builder
newBuilderForType()
protected BatchProcessMetadata.IndividualProcessStatus.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static BatchProcessMetadata.IndividualProcessStatus
parseDelimitedFrom(InputStream input)
static BatchProcessMetadata.IndividualProcessStatus
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(byte[] data)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(com.google.protobuf.ByteString data)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(com.google.protobuf.CodedInputStream input)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(InputStream input)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(ByteBuffer data)
static BatchProcessMetadata.IndividualProcessStatus
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<BatchProcessMetadata.IndividualProcessStatus>
parser()
BatchProcessMetadata.IndividualProcessStatus.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INPUT_GCS_SOURCE_FIELD_NUMBER
public static final int INPUT_GCS_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_GCS_DESTINATION_FIELD_NUMBER
public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HUMAN_REVIEW_OPERATION_FIELD_NUMBER
public static final int HUMAN_REVIEW_OPERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HUMAN_REVIEW_STATUS_FIELD_NUMBER
public static final int HUMAN_REVIEW_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getInputGcsSource
public String getInputGcsSource()
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.
string input_gcs_source = 1;
- Specified by:
getInputGcsSource
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The inputGcsSource.
-
getInputGcsSourceBytes
public com.google.protobuf.ByteString getInputGcsSourceBytes()
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.
string input_gcs_source = 1;
- Specified by:
getInputGcsSourceBytes
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The bytes for inputGcsSource.
-
hasStatus
public boolean hasStatus()
The status processing the document.
.google.rpc.Status status = 2;
- Specified by:
hasStatus
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public com.google.rpc.Status getStatus()
The status processing the document.
.google.rpc.Status status = 2;
- Specified by:
getStatus
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The status.
-
getStatusOrBuilder
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
The status processing the document.
.google.rpc.Status status = 2;
- Specified by:
getStatusOrBuilder
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
-
getOutputGcsDestination
public String getOutputGcsDestination()
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;
- Specified by:
getOutputGcsDestination
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The outputGcsDestination.
-
getOutputGcsDestinationBytes
public com.google.protobuf.ByteString getOutputGcsDestinationBytes()
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;
- Specified by:
getOutputGcsDestinationBytes
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The bytes for outputGcsDestination.
-
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=550The 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][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] method.
string human_review_operation = 4 [deprecated = true];
- Specified by:
getHumanReviewOperation
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The humanReviewOperation.
-
getHumanReviewOperationBytes
@Deprecated public com.google.protobuf.ByteString getHumanReviewOperationBytes()
Deprecated.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550The 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][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] method.
string human_review_operation = 4 [deprecated = true];
- Specified by:
getHumanReviewOperationBytes
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The bytes for humanReviewOperation.
-
hasHumanReviewStatus
public boolean hasHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
- Specified by:
hasHumanReviewStatus
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- Whether the humanReviewStatus field is set.
-
getHumanReviewStatus
public HumanReviewStatus getHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
- Specified by:
getHumanReviewStatus
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
- Returns:
- The humanReviewStatus.
-
getHumanReviewStatusOrBuilder
public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
- Specified by:
getHumanReviewStatusOrBuilder
in interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BatchProcessMetadata.IndividualProcessStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder()
-
newBuilder
public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)
-
toBuilder
public BatchProcessMetadata.IndividualProcessStatus.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BatchProcessMetadata.IndividualProcessStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BatchProcessMetadata.IndividualProcessStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<BatchProcessMetadata.IndividualProcessStatus> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-