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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder> implements BatchDocumentsInputConfigOrBuilder
The common config to specify a set of documents used as input.
Protobuf typegoogle.cloud.documentai.v1.BatchDocumentsInputConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDocumentsInputConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchDocumentsInputConfigbuild()BatchDocumentsInputConfigbuildPartial()BatchDocumentsInputConfig.Builderclear()BatchDocumentsInputConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchDocumentsInputConfig.BuilderclearGcsDocuments()The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.BuilderclearGcsPrefix()The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchDocumentsInputConfig.BuilderclearSource()BatchDocumentsInputConfig.Builderclone()BatchDocumentsInputConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GcsDocumentsgetGcsDocuments()The set of documents individually specified on Cloud Storage.GcsDocuments.BuildergetGcsDocumentsBuilder()The set of documents individually specified on Cloud Storage.GcsDocumentsOrBuildergetGcsDocumentsOrBuilder()The set of documents individually specified on Cloud Storage.GcsPrefixgetGcsPrefix()The set of documents that match the specified Cloud Storage `gcs_prefix`.GcsPrefix.BuildergetGcsPrefixBuilder()The set of documents that match the specified Cloud Storage `gcs_prefix`.GcsPrefixOrBuildergetGcsPrefixOrBuilder()The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.SourceCasegetSourceCase()booleanhasGcsDocuments()The set of documents individually specified on Cloud Storage.booleanhasGcsPrefix()The set of documents that match the specified Cloud Storage `gcs_prefix`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchDocumentsInputConfig.BuildermergeFrom(BatchDocumentsInputConfig other)BatchDocumentsInputConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchDocumentsInputConfig.BuildermergeFrom(com.google.protobuf.Message other)BatchDocumentsInputConfig.BuildermergeGcsDocuments(GcsDocuments value)The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.BuildermergeGcsPrefix(GcsPrefix value)The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchDocumentsInputConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchDocumentsInputConfig.BuildersetGcsDocuments(GcsDocuments value)The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.BuildersetGcsDocuments(GcsDocuments.Builder builderForValue)The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.BuildersetGcsPrefix(GcsPrefix value)The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.BuildersetGcsPrefix(GcsPrefix.Builder builderForValue)The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchDocumentsInputConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<BatchDocumentsInputConfig.Builder>
-
clear
public BatchDocumentsInputConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
getDefaultInstanceForType
public BatchDocumentsInputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDocumentsInputConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDocumentsInputConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDocumentsInputConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
setField
public BatchDocumentsInputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
clearField
public BatchDocumentsInputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
clearOneof
public BatchDocumentsInputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
setRepeatedField
public BatchDocumentsInputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
addRepeatedField
public BatchDocumentsInputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
mergeFrom
public BatchDocumentsInputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchDocumentsInputConfig.Builder>
-
mergeFrom
public BatchDocumentsInputConfig.Builder mergeFrom(BatchDocumentsInputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public BatchDocumentsInputConfig.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceBatchDocumentsInputConfigOrBuilder
-
clearSource
public BatchDocumentsInputConfig.Builder 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
public GcsPrefix 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
public BatchDocumentsInputConfig.Builder setGcsPrefix(GcsPrefix value)
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
-
setGcsPrefix
public BatchDocumentsInputConfig.Builder setGcsPrefix(GcsPrefix.Builder builderForValue)
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
-
mergeGcsPrefix
public BatchDocumentsInputConfig.Builder mergeGcsPrefix(GcsPrefix value)
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
-
clearGcsPrefix
public BatchDocumentsInputConfig.Builder clearGcsPrefix()
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
-
getGcsPrefixBuilder
public GcsPrefix.Builder getGcsPrefixBuilder()
The set of documents that match the specified Cloud Storage `gcs_prefix`.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
-
getGcsPrefixOrBuilder
public GcsPrefixOrBuilder 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
public GcsDocuments 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
public BatchDocumentsInputConfig.Builder setGcsDocuments(GcsDocuments value)
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
-
setGcsDocuments
public BatchDocumentsInputConfig.Builder setGcsDocuments(GcsDocuments.Builder builderForValue)
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
-
mergeGcsDocuments
public BatchDocumentsInputConfig.Builder mergeGcsDocuments(GcsDocuments value)
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
-
clearGcsDocuments
public BatchDocumentsInputConfig.Builder clearGcsDocuments()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
-
getGcsDocumentsBuilder
public GcsDocuments.Builder getGcsDocumentsBuilder()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
-
getGcsDocumentsOrBuilder
public GcsDocumentsOrBuilder getGcsDocumentsOrBuilder()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;- Specified by:
getGcsDocumentsOrBuilderin interfaceBatchDocumentsInputConfigOrBuilder
-
setUnknownFields
public final BatchDocumentsInputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
mergeUnknownFields
public final BatchDocumentsInputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
-