public static final class VectorSearchServiceGrpc.VectorSearchServiceFutureStub extends 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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > VectorSearchServiceGrpc.VectorSearchServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected VectorSearchServiceGrpc.VectorSearchServiceFutureStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
VectorSearchServiceGrpc.VectorSearchServiceFutureStub |
|
createCollection(CreateCollectionRequest request)
public ListenableFuture<Operation> createCollection(CreateCollectionRequest request)Creates a new Collection in a given project and location.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateCollectionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createIndex(CreateIndexRequest request)
public ListenableFuture<Operation> createIndex(CreateIndexRequest request)Creates a new Index in a given project and location.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateIndexRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteCollection(DeleteCollectionRequest request)
public ListenableFuture<Operation> deleteCollection(DeleteCollectionRequest request)Deletes a single Collection.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteCollectionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteIndex(DeleteIndexRequest request)
public ListenableFuture<Operation> deleteIndex(DeleteIndexRequest request)Deletes a single Index.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteIndexRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
exportDataObjects(ExportDataObjectsRequest request)
public ListenableFuture<Operation> exportDataObjects(ExportDataObjectsRequest request)Initiates a Long-Running Operation to export DataObjects from a Collection.
| Parameter | |
|---|---|
| Name | Description |
request |
ExportDataObjectsRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getCollection(GetCollectionRequest request)
public ListenableFuture<Collection> getCollection(GetCollectionRequest request)Gets details of a single Collection.
| Parameter | |
|---|---|
| Name | Description |
request |
GetCollectionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Collection> |
|
getIndex(GetIndexRequest request)
public ListenableFuture<Index> getIndex(GetIndexRequest request)Gets details of a single Index.
| Parameter | |
|---|---|
| Name | Description |
request |
GetIndexRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Index> |
|
importDataObjects(ImportDataObjectsRequest request)
public ListenableFuture<Operation> importDataObjects(ImportDataObjectsRequest request)Initiates a Long-Running Operation to import DataObjects into a Collection.
| Parameter | |
|---|---|
| Name | Description |
request |
ImportDataObjectsRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
listCollections(ListCollectionsRequest request)
public ListenableFuture<ListCollectionsResponse> listCollections(ListCollectionsRequest request)Lists Collections in a given project and location.
| Parameter | |
|---|---|
| Name | Description |
request |
ListCollectionsRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListCollectionsResponse> |
|
listIndexes(ListIndexesRequest request)
public ListenableFuture<ListIndexesResponse> listIndexes(ListIndexesRequest request)Lists Indexes in a given project and location.
| Parameter | |
|---|---|
| Name | Description |
request |
ListIndexesRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListIndexesResponse> |
|
updateCollection(UpdateCollectionRequest request)
public ListenableFuture<Operation> updateCollection(UpdateCollectionRequest request)Updates the parameters of a single Collection.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateCollectionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateIndex(UpdateIndexRequest request)
public ListenableFuture<Operation> updateIndex(UpdateIndexRequest request)Updates the parameters of a single Index.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateIndexRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|