Class EndpointServiceGrpc.EndpointServiceFutureStub (3.43.0)

public static final class EndpointServiceGrpc.EndpointServiceFutureStub extends AbstractFutureStub<EndpointServiceGrpc.EndpointServiceFutureStub>

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

A service for managing Vertex AI's Endpoints.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EndpointServiceGrpc.EndpointServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEndpoint(CreateEndpointRequest request)

public ListenableFuture<Operation> createEndpoint(CreateEndpointRequest request)

Creates an Endpoint.

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

deleteEndpoint(DeleteEndpointRequest request)

public ListenableFuture<Operation> deleteEndpoint(DeleteEndpointRequest request)

Deletes an Endpoint.

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

deployModel(DeployModelRequest request)

public ListenableFuture<Operation> deployModel(DeployModelRequest request)

Deploys a Model into this Endpoint, creating a DeployedModel within it.

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

getEndpoint(GetEndpointRequest request)

public ListenableFuture<Endpoint> getEndpoint(GetEndpointRequest request)

Gets an Endpoint.

Parameter
Name Description
request GetEndpointRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Endpoint>

listEndpoints(ListEndpointsRequest request)

public ListenableFuture<ListEndpointsResponse> listEndpoints(ListEndpointsRequest request)

Lists Endpoints in a Location.

Parameter
Name Description
request ListEndpointsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEndpointsResponse>

mutateDeployedModel(MutateDeployedModelRequest request)

public ListenableFuture<Operation> mutateDeployedModel(MutateDeployedModelRequest request)

Updates an existing deployed model. Updatable fields include min_replica_count, max_replica_count, autoscaling_metric_specs, disable_container_logging (v1 only), and enable_container_logging (v1beta1 only).

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

undeployModel(UndeployModelRequest request)

public ListenableFuture<Operation> undeployModel(UndeployModelRequest request)

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

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

updateEndpoint(UpdateEndpointRequest request)

public ListenableFuture<Endpoint> updateEndpoint(UpdateEndpointRequest request)

Updates an Endpoint.

Parameter
Name Description
request UpdateEndpointRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Endpoint>