Class RagVectorDbConfig.Weaviate.Builder (3.84.0)

public static final class RagVectorDbConfig.Weaviate.Builder extends GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder> implements RagVectorDbConfig.WeaviateOrBuilder

The config for the Weaviate.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCollectionName()

public RagVectorDbConfig.Weaviate.Builder clearCollectionName()

The corresponding collection this corpus maps to. This value cannot be changed after it's set.

string collection_name = 2;

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

This builder for chaining.

clearHttpEndpoint()

public RagVectorDbConfig.Weaviate.Builder clearHttpEndpoint()

Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set.

string http_endpoint = 1;

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

This builder for chaining.

getCollectionName()

public String getCollectionName()

The corresponding collection this corpus maps to. This value cannot be changed after it's set.

string collection_name = 2;

Returns
Type Description
String

The collectionName.

getCollectionNameBytes()

public ByteString getCollectionNameBytes()

The corresponding collection this corpus maps to. This value cannot be changed after it's set.

string collection_name = 2;

Returns
Type Description
ByteString

The bytes for collectionName.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getHttpEndpoint()

public String getHttpEndpoint()

Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set.

string http_endpoint = 1;

Returns
Type Description
String

The httpEndpoint.

getHttpEndpointBytes()

public ByteString getHttpEndpointBytes()

Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set.

string http_endpoint = 1;

Returns
Type Description
ByteString

The bytes for httpEndpoint.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagVectorDbConfig.Weaviate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCollectionName(String value)

public RagVectorDbConfig.Weaviate.Builder setCollectionName(String value)

The corresponding collection this corpus maps to. This value cannot be changed after it's set.

string collection_name = 2;

Parameter
Name Description
value String

The collectionName to set.

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

This builder for chaining.

setCollectionNameBytes(ByteString value)

public RagVectorDbConfig.Weaviate.Builder setCollectionNameBytes(ByteString value)

The corresponding collection this corpus maps to. This value cannot be changed after it's set.

string collection_name = 2;

Parameter
Name Description
value ByteString

The bytes for collectionName to set.

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

This builder for chaining.

setHttpEndpoint(String value)

public RagVectorDbConfig.Weaviate.Builder setHttpEndpoint(String value)

Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set.

string http_endpoint = 1;

Parameter
Name Description
value String

The httpEndpoint to set.

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

This builder for chaining.

setHttpEndpointBytes(ByteString value)

public RagVectorDbConfig.Weaviate.Builder setHttpEndpointBytes(ByteString value)

Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set.

string http_endpoint = 1;

Parameter
Name Description
value ByteString

The bytes for httpEndpoint to set.

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

This builder for chaining.