Class VectorSearchServiceGrpc.VectorSearchServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VectorSearchServiceGrpc.VectorSearchServiceFutureStub>
com.google.cloud.vectorsearch.v1beta.VectorSearchServiceGrpc.VectorSearchServiceFutureStub
Enclosing class:
VectorSearchServiceGrpc

public static final class VectorSearchServiceGrpc.VectorSearchServiceFutureStub extends io.grpc.stub.AbstractFutureStub<VectorSearchServiceGrpc.VectorSearchServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service VectorSearchService.
 VectorSearchService provides methods for managing Collection resources, and
 Collection Index resources. The primary resources offered by this service are
 Collections which are a container for a set of related JSON data objects, and
 Collection Indexes which enable efficient ANN search across data objects
 within a Collection.
 
  • Method Details

    • build

      protected VectorSearchServiceGrpc.VectorSearchServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<VectorSearchServiceGrpc.VectorSearchServiceFutureStub>
    • listCollections

      public com.google.common.util.concurrent.ListenableFuture<ListCollectionsResponse> listCollections(ListCollectionsRequest request)
       Lists Collections in a given project and location.
       
    • getCollection

      public com.google.common.util.concurrent.ListenableFuture<Collection> getCollection(GetCollectionRequest request)
       Gets details of a single Collection.
       
    • createCollection

      public com.google.common.util.concurrent.ListenableFuture<Operation> createCollection(CreateCollectionRequest request)
       Creates a new Collection in a given project and location.
       
    • updateCollection

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateCollection(UpdateCollectionRequest request)
       Updates the parameters of a single Collection.
       
    • deleteCollection

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteCollection(DeleteCollectionRequest request)
       Deletes a single Collection.
       
    • listIndexes

      public com.google.common.util.concurrent.ListenableFuture<ListIndexesResponse> listIndexes(ListIndexesRequest request)
       Lists Indexes in a given project and location.
       
    • getIndex

      public com.google.common.util.concurrent.ListenableFuture<Index> getIndex(GetIndexRequest request)
       Gets details of a single Index.
       
    • createIndex

      public com.google.common.util.concurrent.ListenableFuture<Operation> createIndex(CreateIndexRequest request)
       Creates a new Index in a given project and location.
       
    • updateIndex

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateIndex(UpdateIndexRequest request)
       Updates the parameters of a single Index.
       
    • deleteIndex

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteIndex(DeleteIndexRequest request)
       Deletes a single Index.
       
    • importDataObjects

      public com.google.common.util.concurrent.ListenableFuture<Operation> importDataObjects(ImportDataObjectsRequest request)
       Initiates a Long-Running Operation to import DataObjects into a Collection.
       
    • exportDataObjects

      public com.google.common.util.concurrent.ListenableFuture<Operation> exportDataObjects(ExportDataObjectsRequest request)
       Initiates a Long-Running Operation to export DataObjects from a Collection.