Package com.google.cloud.tpu.v2
Class TpuClient.ListNodesPage
- java.lang.Object
-
- com.google.api.gax.paging.AbstractPage<ListNodesRequest,ListNodesResponse,Node,TpuClient.ListNodesPage>
-
- com.google.cloud.tpu.v2.TpuClient.ListNodesPage
-
- All Implemented Interfaces:
com.google.api.gax.paging.AsyncPage<Node>
,com.google.api.gax.paging.Page<Node>
- Enclosing class:
- TpuClient
public static class TpuClient.ListNodesPage extends com.google.api.gax.paging.AbstractPage<ListNodesRequest,ListNodesResponse,Node,TpuClient.ListNodesPage>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TpuClient.ListNodesPage
createPage(com.google.api.gax.rpc.PageContext<ListNodesRequest,ListNodesResponse,Node> context, ListNodesResponse response)
com.google.api.core.ApiFuture<TpuClient.ListNodesPage>
createPageAsync(com.google.api.gax.rpc.PageContext<ListNodesRequest,ListNodesResponse,Node> context, com.google.api.core.ApiFuture<ListNodesResponse> futureResponse)
-
Methods inherited from class com.google.api.gax.paging.AbstractPage
getNextPage, getNextPage, getNextPageAsync, getNextPageToken, getPageElementCount, getRequest, getResponse, getValues, hasNextPage, iterateAll
-
-
-
-
Method Detail
-
createPage
protected TpuClient.ListNodesPage createPage(com.google.api.gax.rpc.PageContext<ListNodesRequest,ListNodesResponse,Node> context, ListNodesResponse response)
- Specified by:
createPage
in classcom.google.api.gax.paging.AbstractPage<ListNodesRequest,ListNodesResponse,Node,TpuClient.ListNodesPage>
-
createPageAsync
public com.google.api.core.ApiFuture<TpuClient.ListNodesPage> createPageAsync(com.google.api.gax.rpc.PageContext<ListNodesRequest,ListNodesResponse,Node> context, com.google.api.core.ApiFuture<ListNodesResponse> futureResponse)
- Overrides:
createPageAsync
in classcom.google.api.gax.paging.AbstractPage<ListNodesRequest,ListNodesResponse,Node,TpuClient.ListNodesPage>
-
-