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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchDocumentsInputConfig
build()
BatchDocumentsInputConfig
buildPartial()
BatchDocumentsInputConfig.Builder
clear()
BatchDocumentsInputConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchDocumentsInputConfig.Builder
clearGcsDocuments()
The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.Builder
clearGcsPrefix()
The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchDocumentsInputConfig.Builder
clearSource()
BatchDocumentsInputConfig.Builder
clone()
BatchDocumentsInputConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GcsDocuments
getGcsDocuments()
The set of documents individually specified on Cloud Storage.GcsDocuments.Builder
getGcsDocumentsBuilder()
The set of documents individually specified on Cloud Storage.GcsDocumentsOrBuilder
getGcsDocumentsOrBuilder()
The set of documents individually specified on Cloud Storage.GcsPrefix
getGcsPrefix()
The set of documents that match the specified Cloud Storage `gcs_prefix`.GcsPrefix.Builder
getGcsPrefixBuilder()
The set of documents that match the specified Cloud Storage `gcs_prefix`.GcsPrefixOrBuilder
getGcsPrefixOrBuilder()
The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.SourceCase
getSourceCase()
boolean
hasGcsDocuments()
The set of documents individually specified on Cloud Storage.boolean
hasGcsPrefix()
The set of documents that match the specified Cloud Storage `gcs_prefix`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchDocumentsInputConfig.Builder
mergeFrom(BatchDocumentsInputConfig other)
BatchDocumentsInputConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchDocumentsInputConfig.Builder
mergeFrom(com.google.protobuf.Message other)
BatchDocumentsInputConfig.Builder
mergeGcsDocuments(GcsDocuments value)
The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.Builder
mergeGcsPrefix(GcsPrefix value)
The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchDocumentsInputConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchDocumentsInputConfig.Builder
setGcsDocuments(GcsDocuments value)
The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.Builder
setGcsDocuments(GcsDocuments.Builder builderForValue)
The set of documents individually specified on Cloud Storage.BatchDocumentsInputConfig.Builder
setGcsPrefix(GcsPrefix value)
The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.Builder
setGcsPrefix(GcsPrefix.Builder builderForValue)
The set of documents that match the specified Cloud Storage `gcs_prefix`.BatchDocumentsInputConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BatchDocumentsInputConfig.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
clear
public BatchDocumentsInputConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
getDefaultInstanceForType
public BatchDocumentsInputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDocumentsInputConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDocumentsInputConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDocumentsInputConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
setField
public BatchDocumentsInputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
clearField
public BatchDocumentsInputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
clearOneof
public BatchDocumentsInputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
setRepeatedField
public BatchDocumentsInputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
addRepeatedField
public BatchDocumentsInputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
mergeFrom
public BatchDocumentsInputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDocumentsInputConfig.Builder>
-
mergeFrom
public BatchDocumentsInputConfig.Builder mergeFrom(BatchDocumentsInputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDocumentsInputConfig.Builder>
- Throws:
IOException
-
getSourceCase
public BatchDocumentsInputConfig.SourceCase getSourceCase()
- Specified by:
getSourceCase
in 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:
hasGcsPrefix
in 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:
getGcsPrefix
in 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:
getGcsPrefixOrBuilder
in interfaceBatchDocumentsInputConfigOrBuilder
-
hasGcsDocuments
public boolean hasGcsDocuments()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
- Specified by:
hasGcsDocuments
in 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:
getGcsDocuments
in 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:
getGcsDocumentsOrBuilder
in interfaceBatchDocumentsInputConfigOrBuilder
-
setUnknownFields
public final BatchDocumentsInputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
mergeUnknownFields
public final BatchDocumentsInputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder>
-
-