Retrieves the next Page object using the next page token, or null if there are no more
pages. The hasNextPage() method can be used to check if a Page object is available.
Returns a future for the Page object, retrieved using the next page token. If there are no more
pages, returns a future which will immediately provide null. The hasNextPage() method can be
used to check if a Page object is available.
Returns
Type
Description
com.google.api.core.ApiFuture<PageT>
getNextPageToken()
publicStringgetNextPageToken()
Returns the next page token from the response, or an empty string if there are no more pages.
Returns an iterable that traverses all of the elements of the underlying data source. The data
is fetched lazily page by page, where each page may contain multiple elements. A new page is
fetched whenever the elements of any particular page are exhausted.
[[["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-04 UTC."],[[["\u003cp\u003eThe document details the \u003ccode\u003eAbstractPage\u003c/code\u003e class in the \u003ccode\u003ecom.google.api.gax.paging\u003c/code\u003e package, a partial implementation of \u003ccode\u003eAsyncPage\u003c/code\u003e, with version 2.8.1 being the primary version referenced and 2.63.1 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAbstractPage\u003c/code\u003e class supports asynchronous paging and is parameterized by \u003ccode\u003eRequestT\u003c/code\u003e, \u003ccode\u003eResponseT\u003c/code\u003e, \u003ccode\u003eResourceT\u003c/code\u003e, and \u003ccode\u003ePageT\u003c/code\u003e for flexible type handling of requests, responses, resources, and pages respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes methods to navigate between pages, such as \u003ccode\u003egetNextPage()\u003c/code\u003e, \u003ccode\u003egetNextPageAsync()\u003c/code\u003e, \u003ccode\u003egetNextPageToken()\u003c/code\u003e, and \u003ccode\u003ehasNextPage()\u003c/code\u003e, enabling the retrieval of paginated data.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to page data through methods like \u003ccode\u003egetValues()\u003c/code\u003e for iterating over resources and \u003ccode\u003eiterateAll()\u003c/code\u003e for lazily fetching and traversing all elements across multiple pages.\u003c/p\u003e\n"],["\u003cp\u003eConstructors and methods within \u003ccode\u003eAbstractPage\u003c/code\u003e heavily rely on \u003ccode\u003ePageContext\u003c/code\u003e objects, which are used to manage the current state and context of the paging operation.\u003c/p\u003e\n"]]],[],null,[]]