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.
-
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) createCollection(CreateCollectionRequest request) Creates a new Collection in a given project and location.createIndex(CreateIndexRequest request) Creates a new Index in a given project and location.deleteCollection(DeleteCollectionRequest request) Deletes a single Collection.deleteIndex(DeleteIndexRequest request) Deletes a single Index.Initiates a Long-Running Operation to export DataObjects from a Collection.getCollection(GetCollectionRequest request) Gets details of a single Collection.getIndex(GetIndexRequest request) Gets details of a single Index.Initiates a Long-Running Operation to import DataObjects into a Collection.listCollections(ListCollectionsRequest request) Lists Collections in a given project and location.listIndexes(ListIndexesRequest request) Lists Indexes in a given project and location.updateCollection(UpdateCollectionRequest request) Updates the parameters of a single Collection.updateIndex(UpdateIndexRequest request) Updates the parameters of a single Index.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.VectorSearchServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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
Gets details of a single Collection.
- Throws:
io.grpc.StatusException
-
createCollection
Creates a new Collection in a given project and location.
- Throws:
io.grpc.StatusException
-
updateCollection
Updates the parameters of a single Collection.
- Throws:
io.grpc.StatusException
-
deleteCollection
Deletes a single Collection.
- Throws:
io.grpc.StatusException
-
listIndexes
Lists Indexes in a given project and location.
- Throws:
io.grpc.StatusException
-
getIndex
Gets details of a single Index.
- Throws:
io.grpc.StatusException
-
createIndex
Creates a new Index in a given project and location.
- Throws:
io.grpc.StatusException
-
updateIndex
Updates the parameters of a single Index.
- Throws:
io.grpc.StatusException
-
deleteIndex
Deletes a single Index.
- Throws:
io.grpc.StatusException
-
importDataObjects
Initiates a Long-Running Operation to import DataObjects into a Collection.
- Throws:
io.grpc.StatusException
-
exportDataObjects
Initiates a Long-Running Operation to export DataObjects from a Collection.
- Throws:
io.grpc.StatusException
-