Class TranslationServiceClient.ListExamplesPage (2.49.0)

public static class TranslationServiceClient.ListExamplesPage extends AbstractPage<ListExamplesRequest,ListExamplesResponse,Example,TranslationServiceClient.ListExamplesPage>

Inheritance

java.lang.Object > AbstractPage > TranslationServiceClient.ListExamplesPage

Methods

createPage(PageContext<ListExamplesRequest,ListExamplesResponse,Example> context, ListExamplesResponse response)

protected TranslationServiceClient.ListExamplesPage createPage(PageContext<ListExamplesRequest,ListExamplesResponse,Example> context, ListExamplesResponse response)
Parameters
Name Description
context PageContext<ListExamplesRequest,ListExamplesResponse,Example>
response ListExamplesResponse
Returns
Type Description
TranslationServiceClient.ListExamplesPage
Overrides

createPageAsync(PageContext<ListExamplesRequest,ListExamplesResponse,Example> context, ApiFuture<ListExamplesResponse> futureResponse)

public ApiFuture<TranslationServiceClient.ListExamplesPage> createPageAsync(PageContext<ListExamplesRequest,ListExamplesResponse,Example> context, ApiFuture<ListExamplesResponse> futureResponse)
Parameters
Name Description
context PageContext<ListExamplesRequest,ListExamplesResponse,Example>
futureResponse ApiFuture<ListExamplesResponse>
Returns
Type Description
ApiFuture<ListExamplesPage>
Overrides