Package com.google.cloud.documentai.v1
Class BatchProcessMetadata.IndividualProcessStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder
- All Implemented Interfaces:
BatchProcessMetadata.IndividualProcessStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchProcessMetadata.IndividualProcessStatus
public static final class BatchProcessMetadata.IndividualProcessStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
implements BatchProcessMetadata.IndividualProcessStatusOrBuilder
The status of a each individual document in the batch process.Protobuf type
google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The status of human review on the processed document.The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.The status processing the document.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe status of human review on the processed document.The status of human review on the processed document.The status of human review on the processed document.The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.com.google.protobuf.ByteStringThe source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.com.google.protobuf.ByteStringThe Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.The status processing the document.The status processing the document.The status processing the document.booleanThe status of human review on the processed document.booleanThe status processing the document.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The status of human review on the processed document.mergeStatus(Status value) The status processing the document.The status of human review on the processed document.setHumanReviewStatus(HumanReviewStatus.Builder builderForValue) The status of human review on the processed document.setInputGcsSource(String value) The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.setInputGcsSourceBytes(com.google.protobuf.ByteString value) The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.setOutputGcsDestination(String value) The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.setOutputGcsDestinationBytes(com.google.protobuf.ByteString value) The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.The status processing the document.setStatus(Status.Builder builderForValue) The status processing the document.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BatchProcessMetadata.IndividualProcessStatus.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
-
mergeFrom
public BatchProcessMetadata.IndividualProcessStatus.Builder mergeFrom(BatchProcessMetadata.IndividualProcessStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
-
mergeFrom
public BatchProcessMetadata.IndividualProcessStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>- Throws:
IOException
-
getInputGcsSource
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.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.v1.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.
-
setInputGcsSource
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.
string input_gcs_source = 1;- Parameters:
value- The inputGcsSource to set.- Returns:
- This builder for chaining.
-
clearInputGcsSource
The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.
string input_gcs_source = 1;- Returns:
- This builder for chaining.
-
setInputGcsSourceBytes
public BatchProcessMetadata.IndividualProcessStatus.Builder setInputGcsSourceBytes(com.google.protobuf.ByteString value) The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the request when the batch process started.
string input_gcs_source = 1;- Parameters:
value- The bytes for inputGcsSource to set.- Returns:
- This builder for chaining.
-
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
The status processing the document.
.google.rpc.Status status = 2;- Specified by:
getStatusin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder- Returns:
- The status.
-
setStatus
The status processing the document.
.google.rpc.Status status = 2; -
setStatus
public BatchProcessMetadata.IndividualProcessStatus.Builder setStatus(Status.Builder builderForValue) The status processing the document.
.google.rpc.Status status = 2; -
mergeStatus
The status processing the document.
.google.rpc.Status status = 2; -
clearStatus
The status processing the document.
.google.rpc.Status status = 2; -
getStatusBuilder
The status processing the document.
.google.rpc.Status status = 2; -
getStatusOrBuilder
The status processing the document.
.google.rpc.Status status = 2;- Specified by:
getStatusOrBuilderin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
-
getOutputGcsDestination
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.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.v1.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.
-
setOutputGcsDestination
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;- Parameters:
value- The outputGcsDestination to set.- Returns:
- This builder for chaining.
-
clearOutputGcsDestination
The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;- Returns:
- This builder for chaining.
-
setOutputGcsDestinationBytes
public BatchProcessMetadata.IndividualProcessStatus.Builder setOutputGcsDestinationBytes(com.google.protobuf.ByteString value) The Cloud Storage output destination (in the request as [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed document if it was successful, otherwise empty.
string output_gcs_destination = 3;- Parameters:
value- The bytes for outputGcsDestination to set.- Returns:
- This builder for chaining.
-
hasHumanReviewStatus
public boolean hasHumanReviewStatus()The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5;- Specified by:
hasHumanReviewStatusin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder- Returns:
- Whether the humanReviewStatus field is set.
-
getHumanReviewStatus
The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5;- Specified by:
getHumanReviewStatusin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder- Returns:
- The humanReviewStatus.
-
setHumanReviewStatus
public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewStatus(HumanReviewStatus value) The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; -
setHumanReviewStatus
public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewStatus(HumanReviewStatus.Builder builderForValue) The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; -
mergeHumanReviewStatus
public BatchProcessMetadata.IndividualProcessStatus.Builder mergeHumanReviewStatus(HumanReviewStatus value) The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; -
clearHumanReviewStatus
The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; -
getHumanReviewStatusBuilder
The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; -
getHumanReviewStatusOrBuilder
The status of human review on the processed document.
.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5;- Specified by:
getHumanReviewStatusOrBuilderin interfaceBatchProcessMetadata.IndividualProcessStatusOrBuilder
-