Class RunsPage

    • Method Detail

      • getPageSize

        public int getPageSize()
        Specified by:
        getPageSize in interface Page<Service.Run>
        Returns:
        The number of runs in the page.
      • hasNextPage

        public boolean hasNextPage()
        Specified by:
        hasNextPage in interface Page<Service.Run>
        Returns:
        True if a token for the next page exists and isn't empty. Otherwise returns false.
      • getNextPageToken

        public java.util.Optional<java.lang.String> getNextPageToken()
        Specified by:
        getNextPageToken in interface Page<Service.Run>
        Returns:
        An optional with the token for the next page. Empty if the token doesn't exist or is empty.