Package com.google.cloud.pubsub.v1
Class SubscriptionAdminClient.ListSnapshotsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot,SubscriptionAdminClient.ListSnapshotsPage>
com.google.cloud.pubsub.v1.SubscriptionAdminClient.ListSnapshotsPage
- All Implemented Interfaces:
com.google.api.gax.paging.AsyncPage<Snapshot>
,com.google.api.gax.paging.Page<Snapshot>
- Enclosing class:
- SubscriptionAdminClient
public static class SubscriptionAdminClient.ListSnapshotsPage
extends com.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot,SubscriptionAdminClient.ListSnapshotsPage>
-
Method Summary
Modifier and TypeMethodDescriptioncreatePage
(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest, ListSnapshotsResponse, Snapshot> context, ListSnapshotsResponse response) com.google.api.core.ApiFuture<SubscriptionAdminClient.ListSnapshotsPage>
createPageAsync
(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest, ListSnapshotsResponse, Snapshot> context, com.google.api.core.ApiFuture<ListSnapshotsResponse> futureResponse) Methods inherited from class com.google.api.gax.paging.AbstractPage
getNextPage, getNextPage, getNextPageAsync, getNextPageToken, getPageElementCount, getRequest, getResponse, getValues, hasNextPage, iterateAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.api.gax.paging.Page
streamAll, streamValues
-
Method Details
-
createPage
protected SubscriptionAdminClient.ListSnapshotsPage createPage(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest, ListSnapshotsResponse, Snapshot> context, ListSnapshotsResponse response) - Specified by:
createPage
in classcom.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,
ListSnapshotsResponse, Snapshot, SubscriptionAdminClient.ListSnapshotsPage>
-
createPageAsync
public com.google.api.core.ApiFuture<SubscriptionAdminClient.ListSnapshotsPage> createPageAsync(com.google.api.gax.rpc.PageContext<ListSnapshotsRequest, ListSnapshotsResponse, Snapshot> context, com.google.api.core.ApiFuture<ListSnapshotsResponse> futureResponse) - Overrides:
createPageAsync
in classcom.google.api.gax.paging.AbstractPage<ListSnapshotsRequest,
ListSnapshotsResponse, Snapshot, SubscriptionAdminClient.ListSnapshotsPage>
-