Class RagVectorDbConfig.VertexVectorSearch.Builder

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

public static final class RagVectorDbConfig.VertexVectorSearch.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagVectorDbConfig.VertexVectorSearch.Builder> implements RagVectorDbConfig.VertexVectorSearchOrBuilder
 The config for the Vertex Vector Search.
 
Protobuf type google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearch
  • 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.VertexVectorSearch.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.VertexVectorSearch.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.VertexVectorSearch.Builder>
    • getDefaultInstanceForType

      public RagVectorDbConfig.VertexVectorSearch 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.VertexVectorSearch buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RagVectorDbConfig.VertexVectorSearch.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.VertexVectorSearch.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.VertexVectorSearch.Builder>
    • mergeFrom

      public RagVectorDbConfig.VertexVectorSearch.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.VertexVectorSearch.Builder>
      Throws:
      IOException
    • getIndexEndpoint

      public String getIndexEndpoint()
       The resource name of the Index Endpoint.
       Format:
       `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
       
      string index_endpoint = 1;
      Specified by:
      getIndexEndpoint in interface RagVectorDbConfig.VertexVectorSearchOrBuilder
      Returns:
      The indexEndpoint.
    • getIndexEndpointBytes

      public com.google.protobuf.ByteString getIndexEndpointBytes()
       The resource name of the Index Endpoint.
       Format:
       `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
       
      string index_endpoint = 1;
      Specified by:
      getIndexEndpointBytes in interface RagVectorDbConfig.VertexVectorSearchOrBuilder
      Returns:
      The bytes for indexEndpoint.
    • setIndexEndpoint

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

      public RagVectorDbConfig.VertexVectorSearch.Builder setIndexEndpointBytes(com.google.protobuf.ByteString value)
       The resource name of the Index Endpoint.
       Format:
       `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
       
      string index_endpoint = 1;
      Parameters:
      value - The bytes for indexEndpoint to set.
      Returns:
      This builder for chaining.
    • getIndex

      public String getIndex()
       The resource name of the Index.
       Format:
       `projects/{project}/locations/{location}/indexes/{index}`
       
      string index = 2;
      Specified by:
      getIndex in interface RagVectorDbConfig.VertexVectorSearchOrBuilder
      Returns:
      The index.
    • getIndexBytes

      public com.google.protobuf.ByteString getIndexBytes()
       The resource name of the Index.
       Format:
       `projects/{project}/locations/{location}/indexes/{index}`
       
      string index = 2;
      Specified by:
      getIndexBytes in interface RagVectorDbConfig.VertexVectorSearchOrBuilder
      Returns:
      The bytes for index.
    • setIndex

       The resource name of the Index.
       Format:
       `projects/{project}/locations/{location}/indexes/{index}`
       
      string index = 2;
      Parameters:
      value - The index to set.
      Returns:
      This builder for chaining.
    • clearIndex

       The resource name of the Index.
       Format:
       `projects/{project}/locations/{location}/indexes/{index}`
       
      string index = 2;
      Returns:
      This builder for chaining.
    • setIndexBytes

      public RagVectorDbConfig.VertexVectorSearch.Builder setIndexBytes(com.google.protobuf.ByteString value)
       The resource name of the Index.
       Format:
       `projects/{project}/locations/{location}/indexes/{index}`
       
      string index = 2;
      Parameters:
      value - The bytes for index to set.
      Returns:
      This builder for chaining.