Auto-fetch all pages
Thelist() method automatically fetches all pages and returns a flat array:
hasNext is false.
Manual page control
UselistPage() when you need control over pagination:
Page type
totalElements and totalPages are populated when the API can return a count efficiently; they’re null for cursor-friendly endpoints that skip the count.
Iterate through all pages manually
Cursor pagination
Check results use cursor-based pagination for efficient streaming through large result sets:CursorPage type
Iterate with cursor
Which endpoints use which pagination
Next steps
Client reference
Full method reference for all namespaces.
Pagination patterns
REST API pagination patterns.