Package com.google.api.gax.paging (2.41.0)

GitHub Repository

Classes

Class Description
com.google.api.gax.paging.AbstractFixedSizeCollection Partial implementation of FixedSizeCollection.
com.google.api.gax.paging.AbstractPage Partial implementation of AsyncPage.
com.google.api.gax.paging.AbstractPagedListResponse Partial implementation of com.google.api.gax.paging.PagedListResponse.
com.google.api.gax.paging.Pages Utility class for Pages.

Interfaces

Interface Description
com.google.api.gax.paging.AsyncPage An AsyncPage extends a Page object with a getNextPageAsync method.
com.google.api.gax.paging.FixedSizeCollection A FixedSizeCollection object wraps multiple API list method responses into a single collection with a fixed number of elements.

Callers can iterate over the FixedSizeCollection object to get all elements in the collection.

com.google.api.gax.paging.Page A Page object wraps an API list method response.

Callers can iterate over the Page object to get all elements returned in the page. The Page object also provides methods to retrieve additional pages using the page token, and to get the

com.google.api.gax.paging.PagedListResponse Response for paged results from a list API method

This class is used to access the results of a paged list API method. The management of page tokens can be handled automatically, or by the caller. Results can be accessed on a per-element