Class VectorSearchServiceGrpc.VectorSearchServiceBlockingV2Stub

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

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

      public ListCollectionsResponse listCollections(ListCollectionsRequest request) throws io.grpc.StatusException
       Lists Collections in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getCollection

      public Collection getCollection(GetCollectionRequest request) throws io.grpc.StatusException
       Gets details of a single Collection.
       
      Throws:
      io.grpc.StatusException
    • createCollection

      public Operation createCollection(CreateCollectionRequest request) throws io.grpc.StatusException
       Creates a new Collection in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateCollection

      public Operation updateCollection(UpdateCollectionRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Collection.
       
      Throws:
      io.grpc.StatusException
    • deleteCollection

      public Operation deleteCollection(DeleteCollectionRequest request) throws io.grpc.StatusException
       Deletes a single Collection.
       
      Throws:
      io.grpc.StatusException
    • listIndexes

      public ListIndexesResponse listIndexes(ListIndexesRequest request) throws io.grpc.StatusException
       Lists Indexes in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getIndex

      public Index getIndex(GetIndexRequest request) throws io.grpc.StatusException
       Gets details of a single Index.
       
      Throws:
      io.grpc.StatusException
    • createIndex

      public Operation createIndex(CreateIndexRequest request) throws io.grpc.StatusException
       Creates a new Index in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateIndex

      public Operation updateIndex(UpdateIndexRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Index.
       
      Throws:
      io.grpc.StatusException
    • deleteIndex

      public Operation deleteIndex(DeleteIndexRequest request) throws io.grpc.StatusException
       Deletes a single Index.
       
      Throws:
      io.grpc.StatusException
    • importDataObjects

      public Operation importDataObjects(ImportDataObjectsRequest request) throws io.grpc.StatusException
       Initiates a Long-Running Operation to import DataObjects into a Collection.
       
      Throws:
      io.grpc.StatusException
    • exportDataObjects

      public Operation exportDataObjects(ExportDataObjectsRequest request) throws io.grpc.StatusException
       Initiates a Long-Running Operation to export DataObjects from a Collection.
       
      Throws:
      io.grpc.StatusException