Class IndexServiceGrpc.IndexServiceFutureStub (3.20.0)

public static final class IndexServiceGrpc.IndexServiceFutureStub extends AbstractFutureStub<IndexServiceGrpc.IndexServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service IndexService.

A service for creating and managing Vertex AI's Index resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > IndexServiceGrpc.IndexServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected IndexServiceGrpc.IndexServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
IndexServiceGrpc.IndexServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createIndex(CreateIndexRequest request)

public ListenableFuture<Operation> createIndex(CreateIndexRequest request)

Creates an Index.

Parameter
NameDescription
requestCreateIndexRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteIndex(DeleteIndexRequest request)

public ListenableFuture<Operation> deleteIndex(DeleteIndexRequest request)

Deletes an Index. An Index can only be deleted when all its DeployedIndexes had been undeployed.

Parameter
NameDescription
requestDeleteIndexRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getIndex(GetIndexRequest request)

public ListenableFuture<Index> getIndex(GetIndexRequest request)

Gets an Index.

Parameter
NameDescription
requestGetIndexRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Index>

listIndexes(ListIndexesRequest request)

public ListenableFuture<ListIndexesResponse> listIndexes(ListIndexesRequest request)

Lists Indexes in a Location.

Parameter
NameDescription
requestListIndexesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListIndexesResponse>

removeDatapoints(RemoveDatapointsRequest request)

public ListenableFuture<RemoveDatapointsResponse> removeDatapoints(RemoveDatapointsRequest request)

Remove Datapoints from an Index.

Parameter
NameDescription
requestRemoveDatapointsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RemoveDatapointsResponse>

updateIndex(UpdateIndexRequest request)

public ListenableFuture<Operation> updateIndex(UpdateIndexRequest request)

Updates an Index.

Parameter
NameDescription
requestUpdateIndexRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

upsertDatapoints(UpsertDatapointsRequest request)

public ListenableFuture<UpsertDatapointsResponse> upsertDatapoints(UpsertDatapointsRequest request)

Add/update Datapoints into an Index.

Parameter
NameDescription
requestUpsertDatapointsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<UpsertDatapointsResponse>