Class RagVectorDbConfig.VertexVectorSearch.Builder (1.43.0)

public static final class RagVectorDbConfig.VertexVectorSearch.Builder extends GeneratedMessage.Builder<RagVectorDbConfig.VertexVectorSearch.Builder> implements RagVectorDbConfig.VertexVectorSearchOrBuilder

The config for the Vertex Vector Search.

Protobuf type google.cloud.vertexai.v1.RagVectorDbConfig.VertexVectorSearch

Static Methods

getDescriptor()

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

Methods

build()

public RagVectorDbConfig.VertexVectorSearch build()
Returns
Type Description
RagVectorDbConfig.VertexVectorSearch

buildPartial()

public RagVectorDbConfig.VertexVectorSearch buildPartial()
Returns
Type Description
RagVectorDbConfig.VertexVectorSearch

clear()

public RagVectorDbConfig.VertexVectorSearch.Builder clear()
Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder
Overrides

clearIndex()

public RagVectorDbConfig.VertexVectorSearch.Builder clearIndex()

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

string index = 2;

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

This builder for chaining.

clearIndexEndpoint()

public RagVectorDbConfig.VertexVectorSearch.Builder clearIndexEndpoint()

The resource name of the Index Endpoint. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1;

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

This builder for chaining.

getDefaultInstanceForType()

public RagVectorDbConfig.VertexVectorSearch getDefaultInstanceForType()
Returns
Type Description
RagVectorDbConfig.VertexVectorSearch

getDescriptorForType()

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

getIndex()

public String getIndex()

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

string index = 2;

Returns
Type Description
String

The index.

getIndexBytes()

public ByteString getIndexBytes()

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

string index = 2;

Returns
Type Description
ByteString

The bytes for index.

getIndexEndpoint()

public String getIndexEndpoint()

The resource name of the Index Endpoint. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1;

Returns
Type Description
String

The indexEndpoint.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

The resource name of the Index Endpoint. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1;

Returns
Type Description
ByteString

The bytes for indexEndpoint.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagVectorDbConfig.VertexVectorSearch other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIndex(String value)

public RagVectorDbConfig.VertexVectorSearch.Builder setIndex(String value)

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

string index = 2;

Parameter
Name Description
value String

The index to set.

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

This builder for chaining.

setIndexBytes(ByteString value)

public RagVectorDbConfig.VertexVectorSearch.Builder setIndexBytes(ByteString value)

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

string index = 2;

Parameter
Name Description
value ByteString

The bytes for index to set.

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

This builder for chaining.

setIndexEndpoint(String value)

public RagVectorDbConfig.VertexVectorSearch.Builder setIndexEndpoint(String value)

The resource name of the Index Endpoint. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1;

Parameter
Name Description
value String

The indexEndpoint to set.

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public RagVectorDbConfig.VertexVectorSearch.Builder setIndexEndpointBytes(ByteString value)

The resource name of the Index Endpoint. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1;

Parameter
Name Description
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

This builder for chaining.