Package com.google.cloud.tpu.v2alpha1
Class TpuClient.ListReservationsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListReservationsRequest,ListReservationsResponse,Reservation,TpuClient.ListReservationsPage>
com.google.cloud.tpu.v2alpha1.TpuClient.ListReservationsPage
- All Implemented Interfaces:
AsyncPage<Reservation>,Page<Reservation>
- Enclosing class:
- TpuClient
public static class TpuClient.ListReservationsPage
extends AbstractPage<ListReservationsRequest,ListReservationsResponse,Reservation,TpuClient.ListReservationsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected TpuClient.ListReservationsPagecreatePage(PageContext<ListReservationsRequest, ListReservationsResponse, Reservation> context, ListReservationsResponse response) createPageAsync(PageContext<ListReservationsRequest, ListReservationsResponse, Reservation> context, ApiFuture<ListReservationsResponse> futureResponse) Methods inherited from class com.google.api.gax.paging.AbstractPage
getNextPage, getNextPage, getNextPageAsync, getNextPageToken, getPageElementCount, getRequest, getResponse, getValues, hasNextPage, iterateAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.paging.Page
streamAll, streamValues
-
Method Details
-
createPage
protected TpuClient.ListReservationsPage createPage(PageContext<ListReservationsRequest, ListReservationsResponse, Reservation> context, ListReservationsResponse response) - Specified by:
createPagein classAbstractPage<ListReservationsRequest,ListReservationsResponse, Reservation, TpuClient.ListReservationsPage>
-
createPageAsync
public ApiFuture<TpuClient.ListReservationsPage> createPageAsync(PageContext<ListReservationsRequest, ListReservationsResponse, Reservation> context, ApiFuture<ListReservationsResponse> futureResponse)
-