T
- The type of the request builder objectpublic class RequestBuilderAndToken<T> extends Object
A container class for a request builder and next page token. These pieces will be used to create a request to a list operation.
There are three possible values for the token:
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getNextPageToken() |
T |
getRequestBuilder() |
static <T> RequestBuilderAndToken<T> |
initialPage(T requestBuilder) |
static <T> RequestBuilderAndToken<T> |
subsequentPage(T requestBuilder,
Optional<String> token) |
public static <T> RequestBuilderAndToken<T> subsequentPage(T requestBuilder, Optional<String> token)
public static <T> RequestBuilderAndToken<T> initialPage(T requestBuilder)
public T getRequestBuilder()
Copyright © 2016–2024. All rights reserved.