Class TranslationServiceClient.ListAdaptiveMtSentencesPage (2.37.0)

public static class TranslationServiceClient.ListAdaptiveMtSentencesPage extends AbstractPage<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence,TranslationServiceClient.ListAdaptiveMtSentencesPage>

Inheritance

java.lang.Object > AbstractPage > TranslationServiceClient.ListAdaptiveMtSentencesPage

Methods

createPage(PageContext<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence> context, ListAdaptiveMtSentencesResponse response)

protected TranslationServiceClient.ListAdaptiveMtSentencesPage createPage(PageContext<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence> context, ListAdaptiveMtSentencesResponse response)
Parameters
NameDescription
contextPageContext<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence>
responseListAdaptiveMtSentencesResponse
Returns
TypeDescription
TranslationServiceClient.ListAdaptiveMtSentencesPage
Overrides

createPageAsync(PageContext<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence> context, ApiFuture<ListAdaptiveMtSentencesResponse> futureResponse)

public ApiFuture<TranslationServiceClient.ListAdaptiveMtSentencesPage> createPageAsync(PageContext<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence> context, ApiFuture<ListAdaptiveMtSentencesResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse,AdaptiveMtSentence>
futureResponseApiFuture<ListAdaptiveMtSentencesResponse>
Returns
TypeDescription
ApiFuture<ListAdaptiveMtSentencesPage>
Overrides