Class TranslationServiceClient.ListDatasetsPage (2.48.0)

public static class TranslationServiceClient.ListDatasetsPage extends AbstractPage<ListDatasetsRequest,ListDatasetsResponse,Dataset,TranslationServiceClient.ListDatasetsPage>

Inheritance

java.lang.Object > AbstractPage > TranslationServiceClient.ListDatasetsPage

Methods

createPage(PageContext<ListDatasetsRequest,ListDatasetsResponse,Dataset> context, ListDatasetsResponse response)

protected TranslationServiceClient.ListDatasetsPage createPage(PageContext<ListDatasetsRequest,ListDatasetsResponse,Dataset> context, ListDatasetsResponse response)
Parameters
Name Description
context PageContext<ListDatasetsRequest,ListDatasetsResponse,Dataset>
response ListDatasetsResponse
Returns
Type Description
TranslationServiceClient.ListDatasetsPage
Overrides

createPageAsync(PageContext<ListDatasetsRequest,ListDatasetsResponse,Dataset> context, ApiFuture<ListDatasetsResponse> futureResponse)

public ApiFuture<TranslationServiceClient.ListDatasetsPage> createPageAsync(PageContext<ListDatasetsRequest,ListDatasetsResponse,Dataset> context, ApiFuture<ListDatasetsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListDatasetsRequest,ListDatasetsResponse,Dataset>
futureResponse ApiFuture<ListDatasetsResponse>
Returns
Type Description
ApiFuture<ListDatasetsPage>
Overrides