Package com.google.cloud.documentai.v1
Class BatchDocumentsInputConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchDocumentsInputConfig.Builder>
com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder
- All Implemented Interfaces:
BatchDocumentsInputConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchDocumentsInputConfig
public static final class BatchDocumentsInputConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchDocumentsInputConfig.Builder>
implements BatchDocumentsInputConfigOrBuilder
The common config to specify a set of documents used as input.Protobuf type
google.cloud.documentai.v1.BatchDocumentsInputConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The set of documents individually specified on Cloud Storage.The set of documents that match the specified Cloud Storage `gcs_prefix`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe set of documents individually specified on Cloud Storage.The set of documents individually specified on Cloud Storage.The set of documents individually specified on Cloud Storage.The set of documents that match the specified Cloud Storage `gcs_prefix`.The set of documents that match the specified Cloud Storage `gcs_prefix`.The set of documents that match the specified Cloud Storage `gcs_prefix`.booleanThe set of documents individually specified on Cloud Storage.booleanThe set of documents that match the specified Cloud Storage `gcs_prefix`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGcsDocuments(GcsDocuments value) The set of documents individually specified on Cloud Storage.mergeGcsPrefix(GcsPrefix value) The set of documents that match the specified Cloud Storage `gcs_prefix`.setGcsDocuments(GcsDocuments value) The set of documents individually specified on Cloud Storage.setGcsDocuments(GcsDocuments.Builder builderForValue) The set of documents individually specified on Cloud Storage.setGcsPrefix(GcsPrefix value) The set of documents that match the specified Cloud Storage `gcs_prefix`.setGcsPrefix(GcsPrefix.Builder builderForValue) The set of documents that match the specified Cloud Storage `gcs_prefix`.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<BatchDocumentsInputConfig.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<BatchDocumentsInputConfig.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<BatchDocumentsInputConfig.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchDocumentsInputConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchDocumentsInputConfig.Builder>
-
mergeFrom
public BatchDocumentsInputConfig.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<BatchDocumentsInputConfig.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceBatchDocumentsInputConfigOrBuilder
-
clearSource
-
hasGcsPrefix
public boolean hasGcsPrefix()The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;- Specified by:
hasGcsPrefixin interfaceBatchDocumentsInputConfigOrBuilder- Returns:
- Whether the gcsPrefix field is set.
-
getGcsPrefix
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;- Specified by:
getGcsPrefixin interfaceBatchDocumentsInputConfigOrBuilder- Returns:
- The gcsPrefix.
-
setGcsPrefix
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; -
setGcsPrefix
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; -
mergeGcsPrefix
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; -
clearGcsPrefix
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; -
getGcsPrefixBuilder
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; -
getGcsPrefixOrBuilder
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;- Specified by:
getGcsPrefixOrBuilderin interfaceBatchDocumentsInputConfigOrBuilder
-
hasGcsDocuments
public boolean hasGcsDocuments()The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;- Specified by:
hasGcsDocumentsin interfaceBatchDocumentsInputConfigOrBuilder- Returns:
- Whether the gcsDocuments field is set.
-
getGcsDocuments
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;- Specified by:
getGcsDocumentsin interfaceBatchDocumentsInputConfigOrBuilder- Returns:
- The gcsDocuments.
-
setGcsDocuments
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; -
setGcsDocuments
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; -
mergeGcsDocuments
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; -
clearGcsDocuments
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; -
getGcsDocumentsBuilder
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; -
getGcsDocumentsOrBuilder
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;- Specified by:
getGcsDocumentsOrBuilderin interfaceBatchDocumentsInputConfigOrBuilder
-