Class RecommenderClient.ListRecommendationsPage (2.97.0)

public static class RecommenderClient.ListRecommendationsPage extends AbstractPage<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation,RecommenderClient.ListRecommendationsPage>

Inheritance

java.lang.Object > AbstractPage > RecommenderClient.ListRecommendationsPage

Methods

createPage(@Nullable PageContext<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation> context, @Nullable ListRecommendationsResponse response)

protected RecommenderClient.ListRecommendationsPage createPage(@Nullable PageContext<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation> context, @Nullable ListRecommendationsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation>
response @org.jspecify.annotations.Nullable com.google.cloud.recommender.v1.ListRecommendationsResponse
Returns
Type Description
RecommenderClient.ListRecommendationsPage
Overrides

createPageAsync(@Nullable PageContext<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation> context, ApiFuture<ListRecommendationsResponse> futureResponse)

public ApiFuture<RecommenderClient.ListRecommendationsPage> createPageAsync(@Nullable PageContext<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation> context, ApiFuture<ListRecommendationsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListRecommendationsRequest,ListRecommendationsResponse,Recommendation>
futureResponse ApiFuture<ListRecommendationsResponse>
Returns
Type Description
ApiFuture<ListRecommendationsPage>
Overrides