Package com.google.cloud.compute.v1
Class SnapshotsClient.ListPage
- java.lang.Object
-
- com.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,SnapshotList,Snapshot,SnapshotsClient.ListPage>
-
- com.google.cloud.compute.v1.SnapshotsClient.ListPage
-
- All Implemented Interfaces:
com.google.api.gax.paging.AsyncPage<Snapshot>
,com.google.api.gax.paging.Page<Snapshot>
- Enclosing class:
- SnapshotsClient
public static class SnapshotsClient.ListPage extends com.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,SnapshotList,Snapshot,SnapshotsClient.ListPage>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SnapshotsClient.ListPage
createPage(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, SnapshotList response)
com.google.api.core.ApiFuture<SnapshotsClient.ListPage>
createPageAsync(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, com.google.api.core.ApiFuture<SnapshotList> 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 SnapshotsClient.ListPage createPage(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, SnapshotList response)
- Specified by:
createPage
in classcom.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,SnapshotList,Snapshot,SnapshotsClient.ListPage>
-
createPageAsync
public com.google.api.core.ApiFuture<SnapshotsClient.ListPage> createPageAsync(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, com.google.api.core.ApiFuture<SnapshotList> futureResponse)
- Overrides:
createPageAsync
in classcom.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,SnapshotList,Snapshot,SnapshotsClient.ListPage>
-
-