Class RagVectorDbConfig.Weaviate.Builder (3.55.0)

public static final class RagVectorDbConfig.Weaviate.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

public RagVectorDbConfig.Weaviate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RagVectorDbConfig.Weaviate.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RagVectorDbConfig.Weaviate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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