public static final class ImportDocumentsRequest.Builder extends GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder> implements ImportDocumentsRequestOrBuilder
Protobuf type google.cloud.documentai.v1beta3.ImportDocumentsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBatchDocumentsImportConfigs(Iterable<? extends ImportDocumentsRequest.BatchDocumentsImportConfig> values)
public ImportDocumentsRequest.Builder addAllBatchDocumentsImportConfigs(Iterable<? extends ImportDocumentsRequest.BatchDocumentsImportConfig> values)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig>
|
addBatchDocumentsImportConfigs(ImportDocumentsRequest.BatchDocumentsImportConfig value)
public ImportDocumentsRequest.Builder addBatchDocumentsImportConfigs(ImportDocumentsRequest.BatchDocumentsImportConfig value)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
addBatchDocumentsImportConfigs(ImportDocumentsRequest.BatchDocumentsImportConfig.Builder builderForValue)
public ImportDocumentsRequest.Builder addBatchDocumentsImportConfigs(ImportDocumentsRequest.BatchDocumentsImportConfig.Builder builderForValue)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
addBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig value)
public ImportDocumentsRequest.Builder addBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig value)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
addBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig.Builder builderForValue)
public ImportDocumentsRequest.Builder addBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig.Builder builderForValue)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
addBatchDocumentsImportConfigsBuilder()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder addBatchDocumentsImportConfigsBuilder()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
addBatchDocumentsImportConfigsBuilder(int index)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder addBatchDocumentsImportConfigsBuilder(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportDocumentsRequest build()
buildPartial()
public ImportDocumentsRequest buildPartial()
clear()
public ImportDocumentsRequest.Builder clear()
Overrides
clearBatchDocumentsImportConfigs()
public ImportDocumentsRequest.Builder clearBatchDocumentsImportConfigs()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
clearDataset()
public ImportDocumentsRequest.Builder clearDataset()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportDocumentsRequest.Builder clone()
Overrides
getBatchDocumentsImportConfigs(int index)
public ImportDocumentsRequest.BatchDocumentsImportConfig getBatchDocumentsImportConfigs(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getBatchDocumentsImportConfigsBuilder(int index)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder getBatchDocumentsImportConfigsBuilder(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getBatchDocumentsImportConfigsBuilderList()
public List<ImportDocumentsRequest.BatchDocumentsImportConfig.Builder> getBatchDocumentsImportConfigsBuilderList()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
getBatchDocumentsImportConfigsCount()
public int getBatchDocumentsImportConfigsCount()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getBatchDocumentsImportConfigsList()
public List<ImportDocumentsRequest.BatchDocumentsImportConfig> getBatchDocumentsImportConfigsList()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
getBatchDocumentsImportConfigsOrBuilder(int index)
public ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder getBatchDocumentsImportConfigsOrBuilder(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getBatchDocumentsImportConfigsOrBuilderList()
public List<? extends ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder> getBatchDocumentsImportConfigsOrBuilderList()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder> | |
getDataset()
public String getDataset()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The dataset.
|
getDatasetBytes()
public ByteString getDatasetBytes()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for dataset.
|
getDefaultInstanceForType()
public ImportDocumentsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportDocumentsRequest other)
public ImportDocumentsRequest.Builder mergeFrom(ImportDocumentsRequest other)
public ImportDocumentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportDocumentsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBatchDocumentsImportConfigs(int index)
public ImportDocumentsRequest.Builder removeBatchDocumentsImportConfigs(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
setBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig value)
public ImportDocumentsRequest.Builder setBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig value)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
setBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig.Builder builderForValue)
public ImportDocumentsRequest.Builder setBatchDocumentsImportConfigs(int index, ImportDocumentsRequest.BatchDocumentsImportConfig.Builder builderForValue)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
setDataset(String value)
public ImportDocumentsRequest.Builder setDataset(String value)
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The dataset to set.
|
setDatasetBytes(ByteString value)
public ImportDocumentsRequest.Builder setDatasetBytes(ByteString value)
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for dataset to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides