Class IndexServiceGrpc.IndexServiceFutureStub (3.52.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateIndexRequest
Returns
Type Description
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
Name Description
request DeleteIndexRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getIndex(GetIndexRequest request)

public ListenableFuture<Index> getIndex(GetIndexRequest request)

Gets an Index.

Parameter
Name Description
request GetIndexRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Index>

listIndexes(ListIndexesRequest request)

public ListenableFuture<ListIndexesResponse> listIndexes(ListIndexesRequest request)

Lists Indexes in a Location.

Parameter
Name Description
request ListIndexesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListIndexesResponse>

removeDatapoints(RemoveDatapointsRequest request)

public ListenableFuture<RemoveDatapointsResponse> removeDatapoints(RemoveDatapointsRequest request)

Remove Datapoints from an Index.

Parameter
Name Description
request RemoveDatapointsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RemoveDatapointsResponse>

updateIndex(UpdateIndexRequest request)

public ListenableFuture<Operation> updateIndex(UpdateIndexRequest request)

Updates an Index.

Parameter
Name Description
request UpdateIndexRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

upsertDatapoints(UpsertDatapointsRequest request)

public ListenableFuture<UpsertDatapointsResponse> upsertDatapoints(UpsertDatapointsRequest request)

Add/update Datapoints into an Index.

Parameter
Name Description
request UpsertDatapointsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<UpsertDatapointsResponse>