Interface AsyncPage<ResourceT> (2.59.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

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