Class ImportDataRequest.Builder (3.42.0)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllImportConfigs(Iterable<? extends ImportDataConfig> values)

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
Type Description
ImportDataRequest.Builder

addImportConfigs(ImportDataConfig value)

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
Name Description
value ImportDataConfig
Returns
Type Description
ImportDataRequest.Builder

addImportConfigs(ImportDataConfig.Builder builderForValue)

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
Name Description
builderForValue ImportDataConfig.Builder
Returns
Type Description
ImportDataRequest.Builder

addImportConfigs(int index, ImportDataConfig value)

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
Name Description
index int
value ImportDataConfig
Returns
Type Description
ImportDataRequest.Builder

addImportConfigs(int index, ImportDataConfig.Builder builderForValue)

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
Name Description
index int
builderForValue ImportDataConfig.Builder
Returns
Type Description
ImportDataRequest.Builder

addImportConfigsBuilder()

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
Type Description
ImportDataConfig.Builder

addImportConfigsBuilder(int index)

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
Name Description
index int
Returns
Type Description
ImportDataConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

build()

public ImportDataRequest build()
Returns
Type Description
ImportDataRequest

buildPartial()

public ImportDataRequest buildPartial()
Returns
Type Description
ImportDataRequest

clear()

public ImportDataRequest.Builder clear()
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearImportConfigs()

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
Type Description
ImportDataRequest.Builder

clearName()

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
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDataRequest.Builder
Overrides

clone()

public ImportDataRequest.Builder clone()
Returns
Type Description
ImportDataRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportDataRequest getDefaultInstanceForType()
Returns
Type Description
ImportDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImportConfigs(int index)

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
Name Description
index int
Returns
Type Description
ImportDataConfig

getImportConfigsBuilder(int index)

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
Name Description
index int
Returns
Type Description
ImportDataConfig.Builder

getImportConfigsBuilderList()

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
Type Description
List<Builder>

getImportConfigsCount()

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
Type Description
int

getImportConfigsList()

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
Type Description
List<ImportDataConfig>

getImportConfigsOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
ImportDataConfigOrBuilder

getImportConfigsOrBuilderList()

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>

getName()

public String getName()

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.

getNameBytes()

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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDataRequest other)

public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)
Parameter
Name Description
other ImportDataRequest
Returns
Type Description
ImportDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportDataRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportDataRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataRequest.Builder
Overrides

removeImportConfigs(int index)

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
Name Description
index int
Returns
Type Description
ImportDataRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

setImportConfigs(int index, ImportDataConfig value)

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
Name Description
index int
value ImportDataConfig
Returns
Type Description
ImportDataRequest.Builder

setImportConfigs(int index, ImportDataConfig.Builder builderForValue)

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
Name Description
index int
builderForValue ImportDataConfig.Builder
Returns
Type Description
ImportDataRequest.Builder

setName(String value)

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
Type Description
ImportDataRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

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
Type Description
ImportDataRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataRequest.Builder
Overrides