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 .
Send feedback
Class EndpointServiceClient.ListLocationsPage (1.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class EndpointServiceClient . ListLocationsPage extends AbstractPage<ListLocationsRequest , ListLocationsResponse , Location , EndpointServiceClient . ListLocationsPage >
Methods
createPage(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ListLocationsResponse response)
protected EndpointServiceClient . ListLocationsPage createPage ( PageContext<ListLocationsRequest , ListLocationsResponse , Location > context , ListLocationsResponse response )
Parameters
Name
Description
context
PageContext <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse ,com.google.cloud.location.Location >
response
com.google.cloud.location.ListLocationsResponse
Overrides
createPageAsync(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)
public ApiFuture<EndpointServiceClient . ListLocationsPage > createPageAsync ( PageContext<ListLocationsRequest , ListLocationsResponse , Location > context , ApiFuture<ListLocationsResponse> futureResponse )
Parameters
Name
Description
context
PageContext <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse ,com.google.cloud.location.Location >
futureResponse
ApiFuture <com.google.cloud.location.ListLocationsResponse >
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
Need to tell us more?
[[["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-16 UTC."],[],[],null,["# Class EndpointServiceClient.ListLocationsPage (1.32.0)\n\n public static class EndpointServiceClient.ListLocationsPage extends AbstractPage\u003cListLocationsRequest,ListLocationsResponse,Location,EndpointServiceClient.ListLocationsPage\u003e\n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e [AbstractPage](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html) \\\u003e EndpointServiceClient.ListLocationsPage \n\nInherited Members\n-----------------\n\n[AbstractPage.createPage(PageContext\\\u003cRequestT,ResponseT,ResourceT\\\u003e,ResponseT)](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_createPage_com_google_api_gax_rpc_PageContext_RequestT_ResponseT_ResourceT__ResponseT_) \n[AbstractPage.createPageAsync(PageContext\\\u003cRequestT,ResponseT,ResourceT\\\u003e,ApiFuture\\\u003cResponseT\\\u003e)](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_createPageAsync_com_google_api_gax_rpc_PageContext_RequestT_ResponseT_ResourceT__com_google_api_core_ApiFuture_ResponseT__) \n[AbstractPage.getNextPage()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getNextPage__) \n[AbstractPage.getNextPage(int)](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getNextPage_int_) \n[AbstractPage.getNextPageAsync()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getNextPageAsync__) \n[AbstractPage.getNextPageToken()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getNextPageToken__) \n[AbstractPage.getPageElementCount()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getPageElementCount__) \n[AbstractPage.getRequest()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getRequest__) \n[AbstractPage.getResponse()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getResponse__) \n[AbstractPage.getValues()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_getValues__) \n[AbstractPage.hasNextPage()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_hasNextPage__) \n[AbstractPage.iterateAll()](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_iterateAll__) \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### createPage(PageContext\\\u003cListLocationsRequest,ListLocationsResponse,Location\\\u003e context, ListLocationsResponse response)\n\n protected EndpointServiceClient.ListLocationsPage createPage(PageContext\u003cListLocationsRequest,ListLocationsResponse,Location\u003e context, ListLocationsResponse response)\n\n**Overrides** \n[AbstractPage\\\u003cRequestT,ResponseT,ResourceT,PageT\\\u003e.createPage(PageContext\\\u003cRequestT,ResponseT,ResourceT\\\u003e context, ResponseT response)](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_createPage_com_google_api_gax_rpc_PageContext_RequestT_ResponseT_ResourceT__ResponseT_)\n\n### createPageAsync(PageContext\\\u003cListLocationsRequest,ListLocationsResponse,Location\\\u003e context, ApiFuture\\\u003cListLocationsResponse\\\u003e futureResponse)\n\n public ApiFuture\u003cEndpointServiceClient.ListLocationsPage\u003e createPageAsync(PageContext\u003cListLocationsRequest,ListLocationsResponse,Location\u003e context, ApiFuture\u003cListLocationsResponse\u003e futureResponse)\n\n**Overrides** \n[AbstractPage\\\u003cRequestT,ResponseT,ResourceT,PageT\\\u003e.createPageAsync(PageContext\\\u003cRequestT,ResponseT,ResourceT\\\u003e context, ApiFuture\\\u003cResponseT\\\u003e futureResponse)](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.paging.AbstractPage.html#com_google_api_gax_paging_AbstractPage_createPageAsync_com_google_api_gax_rpc_PageContext_RequestT_ResponseT_ResourceT__com_google_api_core_ApiFuture_ResponseT__)"]]