| java.lang.Object | |
| ↳ | com.google.firebase.remoteconfig.ListVersionsPage |
Represents a page of Version instances. Provides methods for iterating
over the versions in the current page, and calling up subsequent pages of versions. Instances of
this class are thread-safe and immutable.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ListVersionsPage |
getNextPage()
Returns the next page of versions.
| ||||||||||
| String |
getNextPageToken()
Returns the string token that identifies the next page.
| ||||||||||
| Iterable<Version> |
getValues()
Returns an
Iterable over the versions in this page. | ||||||||||
| boolean |
hasNextPage()
Checks if there is another page of versions available to retrieve.
| ||||||||||
| Iterable<Version> |
iterateAll()
Returns an
Iterable that facilitates transparently iterating over all the versions in
the current Firebase project, starting from this page. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.api.gax.paging.Page
| |||||||||||
Returns the next page of versions.
ListVersionsPage instance, or null if there are no more pages.
Returns the string token that identifies the next page. Never returns null. Returns an empty string if there are no more pages available to be retrieved.
Returns an Iterable over the versions in this page.
Iterable<Version> instance.
Checks if there is another page of versions available to retrieve.
Returns an Iterable that facilitates transparently iterating over all the versions in
the current Firebase project, starting from this page. The Iterator instances produced
by the returned Iterable never buffers more than one page of versions at a time. It is
safe to abandon the iterators (i.e. break the loops) at any time.
Iterable<Version> instance.