Interface AsyncPage<ResourceT> (2.10.0)

public interface AsyncPage<ResourceT> extends Page<ResourceT>

An AsyncPage extends a Page object with a getNextPageAsync method.

Implements

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

Type Parameter

NameDescription
ResourceT

Methods

getNextPageAsync()

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