Package com.google.cloud.pubsub.v1
Class TopicAdminClient.ListTopicSnapshotsPage
java.lang.Object
com.google.api.gax.paging.AbstractPage<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse,String,TopicAdminClient.ListTopicSnapshotsPage>
com.google.cloud.pubsub.v1.TopicAdminClient.ListTopicSnapshotsPage
- All Implemented Interfaces:
com.google.api.gax.paging.AsyncPage<String>,com.google.api.gax.paging.Page<String>
- Enclosing class:
- TopicAdminClient
public static class TopicAdminClient.ListTopicSnapshotsPage
extends com.google.api.gax.paging.AbstractPage<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse,String,TopicAdminClient.ListTopicSnapshotsPage>
-
Method Summary
Modifier and TypeMethodDescriptionprotected TopicAdminClient.ListTopicSnapshotsPagecreatePage(com.google.api.gax.rpc.PageContext<ListTopicSnapshotsRequest, ListTopicSnapshotsResponse, String> context, ListTopicSnapshotsResponse response) com.google.api.core.ApiFuture<TopicAdminClient.ListTopicSnapshotsPage>createPageAsync(com.google.api.gax.rpc.PageContext<ListTopicSnapshotsRequest, ListTopicSnapshotsResponse, String> context, com.google.api.core.ApiFuture<ListTopicSnapshotsResponse> 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 TopicAdminClient.ListTopicSnapshotsPage createPage(com.google.api.gax.rpc.PageContext<ListTopicSnapshotsRequest, ListTopicSnapshotsResponse, String> context, ListTopicSnapshotsResponse response) - Specified by:
createPagein classcom.google.api.gax.paging.AbstractPage<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse, String, TopicAdminClient.ListTopicSnapshotsPage>
-
createPageAsync
public com.google.api.core.ApiFuture<TopicAdminClient.ListTopicSnapshotsPage> createPageAsync(com.google.api.gax.rpc.PageContext<ListTopicSnapshotsRequest, ListTopicSnapshotsResponse, String> context, com.google.api.core.ApiFuture<ListTopicSnapshotsResponse> futureResponse) - Overrides:
createPageAsyncin classcom.google.api.gax.paging.AbstractPage<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse, String, TopicAdminClient.ListTopicSnapshotsPage>
-