Package com.google.cloud.tpu.v2alpha1
Class TpuClient.ListLocationsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListLocationsRequest,ListLocationsResponse,Location,TpuClient.ListLocationsPage>
com.google.cloud.tpu.v2alpha1.TpuClient.ListLocationsPage
- Enclosing class:
- TpuClient
public static class TpuClient.ListLocationsPage
extends AbstractPage<ListLocationsRequest,ListLocationsResponse,Location,TpuClient.ListLocationsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected TpuClient.ListLocationsPagecreatePage(PageContext<ListLocationsRequest, ListLocationsResponse, Location> context, ListLocationsResponse response) createPageAsync(PageContext<ListLocationsRequest, ListLocationsResponse, Location> context, ApiFuture<ListLocationsResponse> 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.ListLocationsPage createPage(PageContext<ListLocationsRequest, ListLocationsResponse, Location> context, ListLocationsResponse response) - Specified by:
createPagein classAbstractPage<ListLocationsRequest,ListLocationsResponse, Location, TpuClient.ListLocationsPage>
-
createPageAsync
public ApiFuture<TpuClient.ListLocationsPage> createPageAsync(PageContext<ListLocationsRequest, ListLocationsResponse, Location> context, ApiFuture<ListLocationsResponse> futureResponse) - Overrides:
createPageAsyncin classAbstractPage<ListLocationsRequest,ListLocationsResponse, Location, TpuClient.ListLocationsPage>
-