Class RagVectorDbConfig.Weaviate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
com.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate.Builder
All Implemented Interfaces:
RagVectorDbConfig.WeaviateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RagVectorDbConfig.Weaviate

public static final class RagVectorDbConfig.Weaviate.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder> implements RagVectorDbConfig.WeaviateOrBuilder
 The config for the Weaviate.
 
Protobuf type google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
    • getDefaultInstanceForType

      public RagVectorDbConfig.Weaviate getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RagVectorDbConfig.Weaviate buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RagVectorDbConfig.Weaviate.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
    • mergeFrom

      public RagVectorDbConfig.Weaviate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagVectorDbConfig.Weaviate.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getHttpEndpoint in interface RagVectorDbConfig.WeaviateOrBuilder
      Returns:
      The httpEndpoint.
    • getHttpEndpointBytes

      public com.google.protobuf.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;
      Specified by:
      getHttpEndpointBytes in interface RagVectorDbConfig.WeaviateOrBuilder
      Returns:
      The bytes for httpEndpoint.
    • setHttpEndpoint

      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;
      Parameters:
      value - The httpEndpoint to set.
      Returns:
      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:
      This builder for chaining.
    • setHttpEndpointBytes

      public RagVectorDbConfig.Weaviate.Builder setHttpEndpointBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for httpEndpoint to set.
      Returns:
      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;
      Specified by:
      getCollectionName in interface RagVectorDbConfig.WeaviateOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
       The corresponding collection this corpus maps to.
       This value cannot be changed after it's set.
       
      string collection_name = 2;
      Specified by:
      getCollectionNameBytes in interface RagVectorDbConfig.WeaviateOrBuilder
      Returns:
      The bytes for collectionName.
    • setCollectionName

      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;
      Parameters:
      value - The collectionName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setCollectionNameBytes

      public RagVectorDbConfig.Weaviate.Builder setCollectionNameBytes(com.google.protobuf.ByteString value)
       The corresponding collection this corpus maps to.
       This value cannot be changed after it's set.
       
      string collection_name = 2;
      Parameters:
      value - The bytes for collectionName to set.
      Returns:
      This builder for chaining.