Interface Page<E>

    • Method Detail

      • getPageSize

        int getPageSize()
        Returns:
        The number of elements in this page.
      • hasNextPage

        boolean hasNextPage()
        Returns:
        True if there are more pages that can be retrieved from the API.
      • getNextPageToken

        java.util.Optional<java.lang.String> getNextPageToken()
        Returns:
        An Optional of the token string to get the next page. Empty if there is no next page.
      • getNextPage

        Page<E> getNextPage()
        Returns:
        Retrieves the next Page object using the next page token, or returns an empty page if there are no more pages.
      • getItems

        java.lang.Iterable<E> getItems()
        Returns:
        A List of the elements in this Page.