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-08-28 UTC."],[],[],null,["# Class EndpointServiceStub (1.32.0)\n\n public abstract class EndpointServiceStub implements BackgroundResource\n\nBase stub class for the EndpointService service API.\n\nThis class is for advanced usage and reflects the underlying API directly. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e EndpointServiceStub \n\nImplements\n----------\n\n[BackgroundResource](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.core.BackgroundResource.html) \n\nInherited Members\n-----------------\n\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\nConstructors\n------------\n\n### EndpointServiceStub()\n\n public EndpointServiceStub()\n\nMethods\n-------\n\n### close()\n\n public abstract void close()\n\n### createEndpointCallable()\n\n public UnaryCallable\u003cCreateEndpointRequest,Operation\u003e createEndpointCallable()\n\n### createEndpointOperationCallable()\n\n public OperationCallable\u003cCreateEndpointRequest,Endpoint,CreateEndpointOperationMetadata\u003e createEndpointOperationCallable()\n\n### deleteEndpointCallable()\n\n public UnaryCallable\u003cDeleteEndpointRequest,Operation\u003e deleteEndpointCallable()\n\n### deleteEndpointOperationCallable()\n\n public OperationCallable\u003cDeleteEndpointRequest,Empty,DeleteOperationMetadata\u003e deleteEndpointOperationCallable()\n\n### deployModelCallable()\n\n public UnaryCallable\u003cDeployModelRequest,Operation\u003e deployModelCallable()\n\n### deployModelOperationCallable()\n\n public OperationCallable\u003cDeployModelRequest,DeployModelResponse,DeployModelOperationMetadata\u003e deployModelOperationCallable()\n\n### getEndpointCallable()\n\n public UnaryCallable\u003cGetEndpointRequest,Endpoint\u003e getEndpointCallable()\n\n### getHttpJsonOperationsStub()\n\n public OperationsStub getHttpJsonOperationsStub()\n\n### getIamPolicyCallable()\n\n public UnaryCallable\u003cGetIamPolicyRequest,Policy\u003e getIamPolicyCallable()\n\n### getLocationCallable()\n\n public UnaryCallable\u003cGetLocationRequest,Location\u003e getLocationCallable()\n\n### getOperationsStub()\n\n public OperationsStub getOperationsStub()\n\n### listEndpointsCallable()\n\n public UnaryCallable\u003cListEndpointsRequest,ListEndpointsResponse\u003e listEndpointsCallable()\n\n### listEndpointsPagedCallable()\n\n public UnaryCallable\u003cListEndpointsRequest,EndpointServiceClient.ListEndpointsPagedResponse\u003e listEndpointsPagedCallable()\n\n### listLocationsCallable()\n\n public UnaryCallable\u003cListLocationsRequest,ListLocationsResponse\u003e listLocationsCallable()\n\n### listLocationsPagedCallable()\n\n public UnaryCallable\u003cListLocationsRequest,EndpointServiceClient.ListLocationsPagedResponse\u003e listLocationsPagedCallable()\n\n### mutateDeployedModelCallable()\n\n public UnaryCallable\u003cMutateDeployedModelRequest,Operation\u003e mutateDeployedModelCallable()\n\n### mutateDeployedModelOperationCallable()\n\n public OperationCallable\u003cMutateDeployedModelRequest,MutateDeployedModelResponse,MutateDeployedModelOperationMetadata\u003e mutateDeployedModelOperationCallable()\n\n### setIamPolicyCallable()\n\n public UnaryCallable\u003cSetIamPolicyRequest,Policy\u003e setIamPolicyCallable()\n\n### testIamPermissionsCallable()\n\n public UnaryCallable\u003cTestIamPermissionsRequest,TestIamPermissionsResponse\u003e testIamPermissionsCallable()\n\n### undeployModelCallable()\n\n public UnaryCallable\u003cUndeployModelRequest,Operation\u003e undeployModelCallable()\n\n### undeployModelOperationCallable()\n\n public OperationCallable\u003cUndeployModelRequest,UndeployModelResponse,UndeployModelOperationMetadata\u003e undeployModelOperationCallable()\n\n### updateEndpointCallable()\n\n public UnaryCallable\u003cUpdateEndpointRequest,Endpoint\u003e updateEndpointCallable()\n\n### updateEndpointLongRunningCallable()\n\n public UnaryCallable\u003cUpdateEndpointLongRunningRequest,Operation\u003e updateEndpointLongRunningCallable()\n\n### updateEndpointLongRunningOperationCallable()\n\n public OperationCallable\u003cUpdateEndpointLongRunningRequest,Endpoint,UpdateEndpointOperationMetadata\u003e updateEndpointLongRunningOperationCallable()"]]