Class IndexServiceGrpc.IndexServiceStub (3.9.0)

public static final class IndexServiceGrpc.IndexServiceStub extends AbstractAsyncStub<IndexServiceGrpc.IndexServiceStub>

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > IndexServiceGrpc.IndexServiceStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

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

createIndex(CreateIndexRequest request, StreamObserver<Operation> responseObserver)

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

Creates an Index.

Parameters
NameDescription
requestCreateIndexRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteIndex(DeleteIndexRequest request, StreamObserver<Operation> responseObserver)

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

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

Parameters
NameDescription
requestDeleteIndexRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getIndex(GetIndexRequest request, StreamObserver<Index> responseObserver)

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

Gets an Index.

Parameters
NameDescription
requestGetIndexRequest
responseObserverio.grpc.stub.StreamObserver<Index>

listIndexes(ListIndexesRequest request, StreamObserver<ListIndexesResponse> responseObserver)

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

Lists Indexes in a Location.

Parameters
NameDescription
requestListIndexesRequest
responseObserverio.grpc.stub.StreamObserver<ListIndexesResponse>

removeDatapoints(RemoveDatapointsRequest request, StreamObserver<RemoveDatapointsResponse> responseObserver)

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

Remove Datapoints from an Index.

Parameters
NameDescription
requestRemoveDatapointsRequest
responseObserverio.grpc.stub.StreamObserver<RemoveDatapointsResponse>

updateIndex(UpdateIndexRequest request, StreamObserver<Operation> responseObserver)

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

Updates an Index.

Parameters
NameDescription
requestUpdateIndexRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

upsertDatapoints(UpsertDatapointsRequest request, StreamObserver<UpsertDatapointsResponse> responseObserver)

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

Add/update Datapoints into an Index.

Parameters
NameDescription
requestUpsertDatapointsRequest
responseObserverio.grpc.stub.StreamObserver<UpsertDatapointsResponse>