Class EndpointServiceGrpc.EndpointServiceFutureStub (0.6.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateEndpointRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEndpoint(DeleteEndpointRequest request)

public ListenableFuture<Operation> deleteEndpoint(DeleteEndpointRequest request)

Deletes an Endpoint.

Parameter
NameDescription
requestDeleteEndpointRequest
Returns
TypeDescription
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
NameDescription
requestDeployModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getEndpoint(GetEndpointRequest request)

public ListenableFuture<Endpoint> getEndpoint(GetEndpointRequest request)

Gets an Endpoint.

Parameter
NameDescription
requestGetEndpointRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Endpoint>

listEndpoints(ListEndpointsRequest request)

public ListenableFuture<ListEndpointsResponse> listEndpoints(ListEndpointsRequest request)

Lists Endpoints in a Location.

Parameter
NameDescription
requestListEndpointsRequest
Returns
TypeDescription
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
NameDescription
requestMutateDeployedModelRequest
Returns
TypeDescription
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
NameDescription
requestUndeployModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEndpoint(UpdateEndpointRequest request)

public ListenableFuture<Endpoint> updateEndpoint(UpdateEndpointRequest request)

Updates an Endpoint.

Parameter
NameDescription
requestUpdateEndpointRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Endpoint>