Class VectorSearchServiceGrpc.VectorSearchServiceStub

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

public static final class VectorSearchServiceGrpc.VectorSearchServiceStub extends io.grpc.stub.AbstractAsyncStub<VectorSearchServiceGrpc.VectorSearchServiceStub>
A stub to allow clients to do asynchronous 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.VectorSearchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<VectorSearchServiceGrpc.VectorSearchServiceStub>
    • listCollections

      public void listCollections(ListCollectionsRequest request, io.grpc.stub.StreamObserver<ListCollectionsResponse> responseObserver)
       Lists Collections in a given project and location.
       
    • getCollection

      public void getCollection(GetCollectionRequest request, io.grpc.stub.StreamObserver<Collection> responseObserver)
       Gets details of a single Collection.
       
    • createCollection

      public void createCollection(CreateCollectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a new Collection in a given project and location.
       
    • updateCollection

      public void updateCollection(UpdateCollectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the parameters of a single Collection.
       
    • deleteCollection

      public void deleteCollection(DeleteCollectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a single Collection.
       
    • listIndexes

      public void listIndexes(ListIndexesRequest request, io.grpc.stub.StreamObserver<ListIndexesResponse> responseObserver)
       Lists Indexes in a given project and location.
       
    • getIndex

      public void getIndex(GetIndexRequest request, io.grpc.stub.StreamObserver<Index> responseObserver)
       Gets details of a single Index.
       
    • createIndex

      public void createIndex(CreateIndexRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a new Index in a given project and location.
       
    • updateIndex

      public void updateIndex(UpdateIndexRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the parameters of a single Index.
       
    • deleteIndex

      public void deleteIndex(DeleteIndexRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a single Index.
       
    • importDataObjects

      public void importDataObjects(ImportDataObjectsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Initiates a Long-Running Operation to import DataObjects into a Collection.
       
    • exportDataObjects

      public void exportDataObjects(ExportDataObjectsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Initiates a Long-Running Operation to export DataObjects from a Collection.