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