Class PredictionServiceClient.PredictPage (0.102.0)

public static class PredictionServiceClient.PredictPage extends AbstractPage<PredictRequest,PredictResponse,Map.Entry<String,Value>,PredictionServiceClient.PredictPage>

Inheritance

java.lang.Object > AbstractPage > PredictionServiceClient.PredictPage

Methods

createPage(@Nullable PageContext<PredictRequest,PredictResponse,Map.Entry<String,Value>> context, @Nullable PredictResponse response)

protected PredictionServiceClient.PredictPage createPage(@Nullable PageContext<PredictRequest,PredictResponse,Map.Entry<String,Value>> context, @Nullable PredictResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<PredictRequest,PredictResponse,java.util.Map.Entry<String,Value>>
response @org.jspecify.annotations.Nullable com.google.cloud.recommendationengine.v1beta1.PredictResponse
Returns
Type Description
PredictionServiceClient.PredictPage
Overrides

createPageAsync(@Nullable PageContext<PredictRequest,PredictResponse,Map.Entry<String,Value>> context, ApiFuture<PredictResponse> futureResponse)

public ApiFuture<PredictionServiceClient.PredictPage> createPageAsync(@Nullable PageContext<PredictRequest,PredictResponse,Map.Entry<String,Value>> context, ApiFuture<PredictResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<PredictRequest,PredictResponse,java.util.Map.Entry<String,Value>>
futureResponse ApiFuture<PredictResponse>
Returns
Type Description
ApiFuture<PredictPage>
Overrides