Class RagVectorDbConfig.Weaviate (3.55.0)

public static final class RagVectorDbConfig.Weaviate extends GeneratedMessageV3 implements RagVectorDbConfig.WeaviateOrBuilder

The config for the Weaviate.

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

Static Fields

COLLECTION_NAME_FIELD_NUMBER

public static final int COLLECTION_NAME_FIELD_NUMBER
Field Value
Type Description
int

HTTP_ENDPOINT_FIELD_NUMBER

public static final int HTTP_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RagVectorDbConfig.Weaviate getDefaultInstance()
Returns
Type Description
RagVectorDbConfig.Weaviate

getDescriptor()

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

newBuilder()

public static RagVectorDbConfig.Weaviate.Builder newBuilder()
Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

newBuilder(RagVectorDbConfig.Weaviate prototype)

public static RagVectorDbConfig.Weaviate.Builder newBuilder(RagVectorDbConfig.Weaviate prototype)
Parameter
Name Description
prototype RagVectorDbConfig.Weaviate
Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

parseDelimitedFrom(InputStream input)

public static RagVectorDbConfig.Weaviate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RagVectorDbConfig.Weaviate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RagVectorDbConfig.Weaviate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RagVectorDbConfig.Weaviate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RagVectorDbConfig.Weaviate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RagVectorDbConfig.Weaviate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RagVectorDbConfig.Weaviate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RagVectorDbConfig.Weaviate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RagVectorDbConfig.Weaviate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RagVectorDbConfig.Weaviate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RagVectorDbConfig.Weaviate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RagVectorDbConfig.Weaviate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagVectorDbConfig.Weaviate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RagVectorDbConfig.Weaviate> parser()
Returns
Type Description
Parser<Weaviate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<RagVectorDbConfig.Weaviate> getParserForType()
Returns
Type Description
Parser<Weaviate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RagVectorDbConfig.Weaviate.Builder newBuilderForType()
Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RagVectorDbConfig.Weaviate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RagVectorDbConfig.Weaviate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RagVectorDbConfig.Weaviate.Builder toBuilder()
Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException