Retrieves the next Page object using the next page token, ornullif 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\u003eThis document outlines the \u003ccode\u003eAbstractPage\u003c/code\u003e class in version 2.13.0 of the Java Google API Client Library, which is a partial implementation of \u003ccode\u003eAsyncPage\u003c/code\u003e for managing paged results.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAbstractPage\u003c/code\u003e class is generic, requiring four type parameters: \u003ccode\u003eRequestT\u003c/code\u003e, \u003ccode\u003eResponseT\u003c/code\u003e, \u003ccode\u003eResourceT\u003c/code\u003e, and \u003ccode\u003ePageT\u003c/code\u003e, and it provides functionality to handle API responses and requests, specifically for paginated data.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods to create pages, retrieve the next page synchronously or asynchronously, check for the existence of a next page, and access the next page token.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAbstractPage\u003c/code\u003e also provides methods for accessing the request and response objects, retrieving elements within the page, and iterating over all elements across multiple pages.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous previous versions of \u003ccode\u003eAbstractPage\u003c/code\u003e available, ranging from version 2.7.1 up to the latest 2.63.1, each with their own specific reference documentation.\u003c/p\u003e\n"]]],[],null,[]]