Class IndexEndpointServiceGrpc.IndexEndpointServiceFutureStub (3.52.0)

public static final class IndexEndpointServiceGrpc.IndexEndpointServiceFutureStub extends AbstractFutureStub<IndexEndpointServiceGrpc.IndexEndpointServiceFutureStub>

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

A service for managing Vertex AI's IndexEndpoints.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > IndexEndpointServiceGrpc.IndexEndpointServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected IndexEndpointServiceGrpc.IndexEndpointServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
IndexEndpointServiceGrpc.IndexEndpointServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createIndexEndpoint(CreateIndexEndpointRequest request)

public ListenableFuture<Operation> createIndexEndpoint(CreateIndexEndpointRequest request)

Creates an IndexEndpoint.

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

deleteIndexEndpoint(DeleteIndexEndpointRequest request)

public ListenableFuture<Operation> deleteIndexEndpoint(DeleteIndexEndpointRequest request)

Deletes an IndexEndpoint.

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

deployIndex(DeployIndexRequest request)

public ListenableFuture<Operation> deployIndex(DeployIndexRequest request)

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

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

getIndexEndpoint(GetIndexEndpointRequest request)

public ListenableFuture<IndexEndpoint> getIndexEndpoint(GetIndexEndpointRequest request)

Gets an IndexEndpoint.

Parameter
Name Description
request GetIndexEndpointRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<IndexEndpoint>

listIndexEndpoints(ListIndexEndpointsRequest request)

public ListenableFuture<ListIndexEndpointsResponse> listIndexEndpoints(ListIndexEndpointsRequest request)

Lists IndexEndpoints in a Location.

Parameter
Name Description
request ListIndexEndpointsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListIndexEndpointsResponse>

mutateDeployedIndex(MutateDeployedIndexRequest request)

public ListenableFuture<Operation> mutateDeployedIndex(MutateDeployedIndexRequest request)

Update an existing DeployedIndex under an IndexEndpoint.

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

undeployIndex(UndeployIndexRequest request)

public ListenableFuture<Operation> undeployIndex(UndeployIndexRequest request)

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

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

updateIndexEndpoint(UpdateIndexEndpointRequest request)

public ListenableFuture<IndexEndpoint> updateIndexEndpoint(UpdateIndexEndpointRequest request)

Updates an IndexEndpoint.

Parameter
Name Description
request UpdateIndexEndpointRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<IndexEndpoint>