Class ImportIndexRequest.Builder (3.84.0)

public static final class ImportIndexRequest.Builder extends GeneratedMessage.Builder<ImportIndexRequest.Builder> implements ImportIndexRequestOrBuilder

Request message for IndexService.ImportIndex.

Protobuf type google.cloud.aiplatform.v1beta1.ImportIndexRequest

Static Methods

getDescriptor()

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

Methods

build()

public ImportIndexRequest build()
Returns
Type Description
ImportIndexRequest

buildPartial()

public ImportIndexRequest buildPartial()
Returns
Type Description
ImportIndexRequest

clear()

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

clearConfig()

public ImportIndexRequest.Builder clearConfig()

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportIndexRequest.Builder

clearIsCompleteOverwrite()

public ImportIndexRequest.Builder clearIsCompleteOverwrite()

Optional. If true, completely replace existing index data. Must be true for streaming update indexes.

bool is_complete_overwrite = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportIndexRequest.Builder

This builder for chaining.

clearName()

public ImportIndexRequest.Builder clearName()

Required. The name of the Index resource to import data to. Format: projects/{project}/locations/{location}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ImportIndexRequest.Builder

This builder for chaining.

getConfig()

public ImportIndexRequest.ConnectorConfig getConfig()

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportIndexRequest.ConnectorConfig

The config.

getConfigBuilder()

public ImportIndexRequest.ConnectorConfig.Builder getConfigBuilder()

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportIndexRequest.ConnectorConfig.Builder

getConfigOrBuilder()

public ImportIndexRequest.ConnectorConfigOrBuilder getConfigOrBuilder()

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportIndexRequest.ConnectorConfigOrBuilder

getDefaultInstanceForType()

public ImportIndexRequest getDefaultInstanceForType()
Returns
Type Description
ImportIndexRequest

getDescriptorForType()

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

getIsCompleteOverwrite()

public boolean getIsCompleteOverwrite()

Optional. If true, completely replace existing index data. Must be true for streaming update indexes.

bool is_complete_overwrite = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isCompleteOverwrite.

getName()

public String getName()

Required. The name of the Index resource to import data to. Format: projects/{project}/locations/{location}/indexes/{index}

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 Index resource to import data to. Format: projects/{project}/locations/{location}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasConfig()

public boolean hasConfig()

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the config field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(ImportIndexRequest.ConnectorConfig value)

public ImportIndexRequest.Builder mergeConfig(ImportIndexRequest.ConnectorConfig value)

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ImportIndexRequest.ConnectorConfig
Returns
Type Description
ImportIndexRequest.Builder

mergeFrom(ImportIndexRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConfig(ImportIndexRequest.ConnectorConfig value)

public ImportIndexRequest.Builder setConfig(ImportIndexRequest.ConnectorConfig value)

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ImportIndexRequest.ConnectorConfig
Returns
Type Description
ImportIndexRequest.Builder

setConfig(ImportIndexRequest.ConnectorConfig.Builder builderForValue)

public ImportIndexRequest.Builder setConfig(ImportIndexRequest.ConnectorConfig.Builder builderForValue)

Required. Configuration for importing data from an external source.

.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ImportIndexRequest.ConnectorConfig.Builder
Returns
Type Description
ImportIndexRequest.Builder

setIsCompleteOverwrite(boolean value)

public ImportIndexRequest.Builder setIsCompleteOverwrite(boolean value)

Optional. If true, completely replace existing index data. Must be true for streaming update indexes.

bool is_complete_overwrite = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The isCompleteOverwrite to set.

Returns
Type Description
ImportIndexRequest.Builder

This builder for chaining.

setName(String value)

public ImportIndexRequest.Builder setName(String value)

Required. The name of the Index resource to import data to. Format: projects/{project}/locations/{location}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ImportIndexRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ImportIndexRequest.Builder setNameBytes(ByteString value)

Required. The name of the Index resource to import data to. Format: projects/{project}/locations/{location}/indexes/{index}

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
ImportIndexRequest.Builder

This builder for chaining.