Interface IndexServiceGrpc.AsyncService (3.55.0)

public static interface IndexServiceGrpc.AsyncService

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

Methods

createIndex(CreateIndexRequest request, StreamObserver<Operation> responseObserver)

public default void createIndex(CreateIndexRequest request, StreamObserver<Operation> responseObserver)

Creates an Index.

Parameters
Name Description
request CreateIndexRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteIndex(DeleteIndexRequest request, StreamObserver<Operation> responseObserver)

public default void deleteIndex(DeleteIndexRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request DeleteIndexRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getIndex(GetIndexRequest request, StreamObserver<Index> responseObserver)

public default void getIndex(GetIndexRequest request, StreamObserver<Index> responseObserver)

Gets an Index.

Parameters
Name Description
request GetIndexRequest
responseObserver io.grpc.stub.StreamObserver<Index>

listIndexes(ListIndexesRequest request, StreamObserver<ListIndexesResponse> responseObserver)

public default void listIndexes(ListIndexesRequest request, StreamObserver<ListIndexesResponse> responseObserver)

Lists Indexes in a Location.

Parameters
Name Description
request ListIndexesRequest
responseObserver io.grpc.stub.StreamObserver<ListIndexesResponse>

removeDatapoints(RemoveDatapointsRequest request, StreamObserver<RemoveDatapointsResponse> responseObserver)

public default void removeDatapoints(RemoveDatapointsRequest request, StreamObserver<RemoveDatapointsResponse> responseObserver)

Remove Datapoints from an Index.

Parameters
Name Description
request RemoveDatapointsRequest
responseObserver io.grpc.stub.StreamObserver<RemoveDatapointsResponse>

updateIndex(UpdateIndexRequest request, StreamObserver<Operation> responseObserver)

public default void updateIndex(UpdateIndexRequest request, StreamObserver<Operation> responseObserver)

Updates an Index.

Parameters
Name Description
request UpdateIndexRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

upsertDatapoints(UpsertDatapointsRequest request, StreamObserver<UpsertDatapointsResponse> responseObserver)

public default void upsertDatapoints(UpsertDatapointsRequest request, StreamObserver<UpsertDatapointsResponse> responseObserver)

Add/update Datapoints into an Index.

Parameters
Name Description
request UpsertDatapointsRequest
responseObserver io.grpc.stub.StreamObserver<UpsertDatapointsResponse>