Class TranslationServiceClient.ListModelsPage (2.49.0)

public static class TranslationServiceClient.ListModelsPage extends AbstractPage<ListModelsRequest,ListModelsResponse,Model,TranslationServiceClient.ListModelsPage>

Inheritance

java.lang.Object > AbstractPage > TranslationServiceClient.ListModelsPage

Methods

createPage(PageContext<ListModelsRequest,ListModelsResponse,Model> context, ListModelsResponse response)

protected TranslationServiceClient.ListModelsPage createPage(PageContext<ListModelsRequest,ListModelsResponse,Model> context, ListModelsResponse response)
Parameters
Name Description
context PageContext<ListModelsRequest,ListModelsResponse,Model>
response ListModelsResponse
Returns
Type Description
TranslationServiceClient.ListModelsPage
Overrides

createPageAsync(PageContext<ListModelsRequest,ListModelsResponse,Model> context, ApiFuture<ListModelsResponse> futureResponse)

public ApiFuture<TranslationServiceClient.ListModelsPage> createPageAsync(PageContext<ListModelsRequest,ListModelsResponse,Model> context, ApiFuture<ListModelsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListModelsRequest,ListModelsResponse,Model>
futureResponse ApiFuture<ListModelsResponse>
Returns
Type Description
ApiFuture<ListModelsPage>
Overrides