public static final class ImportDataRequest.Builder extends GeneratedMessageV3.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilder
Request message for DatasetService.ImportData.
Protobuf type google.cloud.aiplatform.v1beta1.ImportDataRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImportDataRequest.Builder addAllImportConfigs(Iterable<? extends ImportDataConfig> values)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.ImportDataConfig>
|
Returns
public ImportDataRequest.Builder addImportConfigs(ImportDataConfig value)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportDataRequest.Builder addImportConfigs(ImportDataConfig.Builder builderForValue)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportDataRequest.Builder addImportConfigs(int index, ImportDataConfig value)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public ImportDataRequest.Builder addImportConfigs(int index, ImportDataConfig.Builder builderForValue)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public ImportDataConfig.Builder addImportConfigsBuilder()
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ImportDataConfig.Builder addImportConfigsBuilder(int index)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportDataRequest build()
Returns
public ImportDataRequest buildPartial()
Returns
public ImportDataRequest.Builder clear()
Returns
Overrides
public ImportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportDataRequest.Builder clearImportConfigs()
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ImportDataRequest.Builder clearName()
Required. The name of the Dataset resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public ImportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImportDataRequest.Builder clone()
Returns
Overrides
public ImportDataRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ImportDataConfig getImportConfigs(int index)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportDataConfig.Builder getImportConfigsBuilder(int index)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public List<ImportDataConfig.Builder> getImportConfigsBuilderList()
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public int getImportConfigsCount()
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public List<ImportDataConfig> getImportConfigsList()
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ImportDataConfigOrBuilder getImportConfigsOrBuilder(int index)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public List<? extends ImportDataConfigOrBuilder> getImportConfigsOrBuilderList()
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ImportDataConfigOrBuilder> | |
Required. The name of the Dataset resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the Dataset resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)
Parameter
Returns
public ImportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportDataRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImportDataRequest.Builder removeImportConfigs(int index)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportDataRequest.Builder setImportConfigs(int index, ImportDataConfig value)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public ImportDataRequest.Builder setImportConfigs(int index, ImportDataConfig.Builder builderForValue)
Required. The desired input locations. The contents of all input locations will be
imported in one batch.
repeated .google.cloud.aiplatform.v1beta1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public ImportDataRequest.Builder setName(String value)
Required. The name of the Dataset resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public ImportDataRequest.Builder setNameBytes(ByteString value)
Required. The name of the Dataset resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public ImportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides