Class RagVectorDbConfig.RagManagedVertexVectorSearch.Builder (3.86.0)

public static final class RagVectorDbConfig.RagManagedVertexVectorSearch.Builder extends GeneratedMessage.Builder<RagVectorDbConfig.RagManagedVertexVectorSearch.Builder> implements RagVectorDbConfig.RagManagedVertexVectorSearchOrBuilder

The config for the RAG-managed Vertex Vector Search 2.0.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCollectionName()

public RagVectorDbConfig.RagManagedVertexVectorSearch.Builder clearCollectionName()

Output only. The resource name of the Vector Search 2.0 Collection that RAG Created for the corpus. Only populated after the corpus is successfully created. Format: projects/{project}/locations/{location}/collections/{collection_id}

string collection_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RagVectorDbConfig.RagManagedVertexVectorSearch.Builder

This builder for chaining.

getCollectionName()

public String getCollectionName()

Output only. The resource name of the Vector Search 2.0 Collection that RAG Created for the corpus. Only populated after the corpus is successfully created. Format: projects/{project}/locations/{location}/collections/{collection_id}

string collection_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The collectionName.

getCollectionNameBytes()

public ByteString getCollectionNameBytes()

Output only. The resource name of the Vector Search 2.0 Collection that RAG Created for the corpus. Only populated after the corpus is successfully created. Format: projects/{project}/locations/{location}/collections/{collection_id}

string collection_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for collectionName.

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagVectorDbConfig.RagManagedVertexVectorSearch other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCollectionName(String value)

public RagVectorDbConfig.RagManagedVertexVectorSearch.Builder setCollectionName(String value)

Output only. The resource name of the Vector Search 2.0 Collection that RAG Created for the corpus. Only populated after the corpus is successfully created. Format: projects/{project}/locations/{location}/collections/{collection_id}

string collection_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The collectionName to set.

Returns
Type Description
RagVectorDbConfig.RagManagedVertexVectorSearch.Builder

This builder for chaining.

setCollectionNameBytes(ByteString value)

public RagVectorDbConfig.RagManagedVertexVectorSearch.Builder setCollectionNameBytes(ByteString value)

Output only. The resource name of the Vector Search 2.0 Collection that RAG Created for the corpus. Only populated after the corpus is successfully created. Format: projects/{project}/locations/{location}/collections/{collection_id}

string collection_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for collectionName to set.

Returns
Type Description
RagVectorDbConfig.RagManagedVertexVectorSearch.Builder

This builder for chaining.