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 classBatchProcessMetadata.IndividualProcessStatus.BuilderThe 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 intHUMAN_REVIEW_OPERATION_FIELD_NUMBERstatic intHUMAN_REVIEW_STATUS_FIELD_NUMBERstatic intINPUT_GCS_SOURCE_FIELD_NUMBERstatic intOUTPUT_GCS_DESTINATION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static BatchProcessMetadata.IndividualProcessStatusgetDefaultInstance()BatchProcessMetadata.IndividualProcessStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHumanReviewOperation()Deprecated.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated.com.google.protobuf.ByteStringgetHumanReviewOperationBytes()Deprecated.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated.HumanReviewStatusgetHumanReviewStatus()The status of human review on the processed document.HumanReviewStatusOrBuildergetHumanReviewStatusOrBuilder()The status of human review on the processed document.StringgetInputGcsSource()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.ByteStringgetInputGcsSourceBytes()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.StringgetOutputGcsDestination()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.ByteStringgetOutputGcsDestinationBytes()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()intgetSerializedSize()com.google.rpc.StatusgetStatus()The status processing the document.com.google.rpc.StatusOrBuildergetStatusOrBuilder()The status processing the document.inthashCode()booleanhasHumanReviewStatus()The status of human review on the processed document.booleanhasStatus()The status processing the document.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BatchProcessMetadata.IndividualProcessStatus.BuildernewBuilder()static BatchProcessMetadata.IndividualProcessStatus.BuildernewBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)BatchProcessMetadata.IndividualProcessStatus.BuildernewBuilderForType()protected BatchProcessMetadata.IndividualProcessStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BatchProcessMetadata.IndividualProcessStatusparseDelimitedFrom(InputStream input)static BatchProcessMetadata.IndividualProcessStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchProcessMetadata.IndividualProcessStatusparseFrom(byte[] data)static BatchProcessMetadata.IndividualProcessStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchProcessMetadata.IndividualProcessStatusparseFrom(com.google.protobuf.ByteString data)static BatchProcessMetadata.IndividualProcessStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchProcessMetadata.IndividualProcessStatusparseFrom(com.google.protobuf.CodedInputStream input)static BatchProcessMetadata.IndividualProcessStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchProcessMetadata.IndividualProcessStatusparseFrom(InputStream input)static BatchProcessMetadata.IndividualProcessStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchProcessMetadata.IndividualProcessStatusparseFrom(ByteBuffer data)static BatchProcessMetadata.IndividualProcessStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BatchProcessMetadata.IndividualProcessStatus>parser()BatchProcessMetadata.IndividualProcessStatus.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getInputGcsSourcein 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:
getInputGcsSourceBytesin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder- Returns:
- The bytes for inputGcsSource.
-
hasStatus
public boolean hasStatus()
The status processing the document.
.google.rpc.Status status = 2;- Specified by:
hasStatusin 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:
getStatusin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
The status processing the document.
.google.rpc.Status status = 2;- Specified by:
getStatusOrBuilderin 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:
getOutputGcsDestinationin 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:
getOutputGcsDestinationBytesin 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:
getHumanReviewOperationin 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:
getHumanReviewOperationBytesin 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:
hasHumanReviewStatusin 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:
getHumanReviewStatusin 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:
getHumanReviewStatusOrBuilderin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-