public static final class RagVectorDbConfig.VertexVectorSearch.Builder extends GeneratedMessage.Builder<RagVectorDbConfig.VertexVectorSearch.Builder> implements RagVectorDbConfig.VertexVectorSearchOrBuilderThe config for the Vertex Vector Search.
Protobuf type google.cloud.vertexai.v1.RagVectorDbConfig.VertexVectorSearch
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RagVectorDbConfig.VertexVectorSearch.BuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for indexEndpoint to set. |
| Returns | |
|---|---|
| Type | Description |
RagVectorDbConfig.VertexVectorSearch.Builder |
This builder for chaining. |