ListProviderConfigsPage

public class ListProviderConfigsPage extends Object
implements Page<ResourceT>

Represents a page of ProviderConfig instances.

Provides methods for iterating over the provider configs in the current page, and calling up subsequent pages of provider configs.

Instances of this class are thread-safe and immutable.

Public Method Summary

ListProviderConfigsPage<T>
getNextPage()
Returns the next page of provider configs.
String
getNextPageToken()
Returns the string token that identifies the next page.
Iterable<T>
getValues()
Returns an Iterable over the provider configs in this page.
boolean
hasNextPage()
Checks if there is another page of provider configs available to retrieve.
Iterable<T>
iterateAll()
Returns an Iterable that facilitates transparently iterating over all the provider configs in the current Firebase project, starting from this page.

Inherited Method Summary

Public Methods

public ListProviderConfigsPage<T> getNextPage ()

Returns the next page of provider configs.

Returns

public String getNextPageToken ()

Returns the string token that identifies the next page.

Never returns null. Returns empty string if there are no more pages available to be retrieved.

Returns
  • A non-null string token (possibly empty, representing no more pages)

public Iterable<T> getValues ()

Returns an Iterable over the provider configs in this page.

Returns
  • a Iterable instance.

public boolean hasNextPage ()

Checks if there is another page of provider configs available to retrieve.

Returns
  • true if another page is available, or false otherwise.

public Iterable<T> iterateAll ()

Returns an Iterable that facilitates transparently iterating over all the provider configs in the current Firebase project, starting from this page.

The Iterator instances produced by the returned Iterable never buffers more than one page of provider configs at a time. It is safe to abandon the iterators (i.e. break the loops) at any time.

Returns
  • a new Iterable instance.