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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateCollection(CreateCollectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Collection in a given project and location.voidcreateIndex(CreateIndexRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Index in a given project and location.voiddeleteCollection(DeleteCollectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Collection.voiddeleteIndex(DeleteIndexRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single Index.voidexportDataObjects(ExportDataObjectsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Initiates a Long-Running Operation to export DataObjects from a Collection.voidgetCollection(GetCollectionRequest request, io.grpc.stub.StreamObserver<Collection> responseObserver) Gets details of a single Collection.voidgetIndex(GetIndexRequest request, io.grpc.stub.StreamObserver<Index> responseObserver) Gets details of a single Index.voidimportDataObjects(ImportDataObjectsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Initiates a Long-Running Operation to import DataObjects into a Collection.voidlistCollections(ListCollectionsRequest request, io.grpc.stub.StreamObserver<ListCollectionsResponse> responseObserver) Lists Collections in a given project and location.voidlistIndexes(ListIndexesRequest request, io.grpc.stub.StreamObserver<ListIndexesResponse> responseObserver) Lists Indexes in a given project and location.voidupdateCollection(UpdateCollectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Collection.voidupdateIndex(UpdateIndexRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the parameters of a single Index.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected VectorSearchServiceGrpc.VectorSearchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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
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.
-