Interface AsyncPage<ResourceT> (2.72.2)

publicinterfaceAsyncPage<ResourceT>extendsPage<ResourceT>

An AsyncPage extends aPage object with a getNextPageAsync method.

Implements

com.google.api.gax.paging.Page<ResourceT>

Type Parameter

NameDescription
ResourceT

Methods

getNextPageAsync()

publicabstractApiFuture<?extendsAsyncPage<ResourceT>>getNextPageAsync()

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
TypeDescription
ApiFuture<? extends com.google.api.gax.paging.AsyncPage<ResourceT>>

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.