Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Class EndpointServiceGrpc.EndpointServiceFutureStub (1.32.0)\n\n public static final class EndpointServiceGrpc.EndpointServiceFutureStub extends AbstractFutureStub\u003cEndpointServiceGrpc.EndpointServiceFutureStub\u003e\n\nA stub to allow clients to do ListenableFuture-style rpc calls to service EndpointService.\n\nA service for managing Vertex AI's Endpoints. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e io.grpc.stub.AbstractStub \\\u003e io.grpc.stub.AbstractFutureStub \\\u003e EndpointServiceGrpc.EndpointServiceFutureStub \n\nInherited Members\n-----------------\n\nio.grpc.stub.AbstractFutureStub.\\\u003cT\\\u003enewStub(io.grpc.stub.AbstractStub.StubFactory\\\u003cT\\\u003e,io.grpc.Channel) \nio.grpc.stub.AbstractFutureStub.\\\u003cT\\\u003enewStub(io.grpc.stub.AbstractStub.StubFactory\\\u003cT\\\u003e,io.grpc.Channel,io.grpc.CallOptions) \nio.grpc.stub.AbstractStub.\\\u003cT\\\u003ewithOption(io.grpc.CallOptions.Key\\\u003cT\\\u003e,T) \nio.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) \nio.grpc.stub.AbstractStub.getCallOptions() \nio.grpc.stub.AbstractStub.getChannel() \nio.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials) \nio.grpc.stub.AbstractStub.withChannel(io.grpc.Channel) \nio.grpc.stub.AbstractStub.withCompression(java.lang.String) \nio.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline) \nio.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration) \nio.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit) \nio.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor) \nio.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...) \nio.grpc.stub.AbstractStub.withMaxInboundMessageSize(int) \nio.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int) \nio.grpc.stub.AbstractStub.withOnReadyThreshold(int) \nio.grpc.stub.AbstractStub.withWaitForReady() \n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nMethods\n-------\n\n### build(Channel channel, CallOptions callOptions)\n\n protected EndpointServiceGrpc.EndpointServiceFutureStub build(Channel channel, CallOptions callOptions)\n\n**Overrides** \nio.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)\n\n### createEndpoint(CreateEndpointRequest request)\n\n public ListenableFuture\u003cOperation\u003e createEndpoint(CreateEndpointRequest request)\n\nCreates an Endpoint.\n\n### deleteEndpoint(DeleteEndpointRequest request)\n\n public ListenableFuture\u003cOperation\u003e deleteEndpoint(DeleteEndpointRequest request)\n\nDeletes an Endpoint.\n\n### deployModel(DeployModelRequest request)\n\n public ListenableFuture\u003cOperation\u003e deployModel(DeployModelRequest request)\n\nDeploys a Model into this Endpoint, creating a DeployedModel within it.\n\n### getEndpoint(GetEndpointRequest request)\n\n public ListenableFuture\u003cEndpoint\u003e getEndpoint(GetEndpointRequest request)\n\nGets an Endpoint.\n\n### listEndpoints(ListEndpointsRequest request)\n\n public ListenableFuture\u003cListEndpointsResponse\u003e listEndpoints(ListEndpointsRequest request)\n\nLists Endpoints in a Location.\n\n### mutateDeployedModel(MutateDeployedModelRequest request)\n\n public ListenableFuture\u003cOperation\u003e mutateDeployedModel(MutateDeployedModelRequest request)\n\nUpdates an existing deployed model. Updatable fields include\n`min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`,\n`disable_container_logging` (v1 only), and `enable_container_logging`\n(v1beta1 only).\n\n### undeployModel(UndeployModelRequest request)\n\n public ListenableFuture\u003cOperation\u003e undeployModel(UndeployModelRequest request)\n\nUndeploys a Model from an Endpoint, removing a DeployedModel from it, and\nfreeing all resources it's using.\n\n### updateEndpoint(UpdateEndpointRequest request)\n\n public ListenableFuture\u003cEndpoint\u003e updateEndpoint(UpdateEndpointRequest request)\n\nUpdates an Endpoint.\n\n### updateEndpointLongRunning(UpdateEndpointLongRunningRequest request)\n\n public ListenableFuture\u003cOperation\u003e updateEndpointLongRunning(UpdateEndpointLongRunningRequest request)\n\nUpdates an Endpoint with a long running operation."]]