Class RagVectorDbConfig.VertexVectorSearch.Builder (3.52.0)

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

The config for the Vertex Vector Search.

Protobuf type google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public RagVectorDbConfig.VertexVectorSearch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public RagVectorDbConfig.VertexVectorSearch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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