Class SubscriptionAdminClient.ListSnapshotsPage (1.153.0)

public static class SubscriptionAdminClient.ListSnapshotsPage extends AbstractPage<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot,SubscriptionAdminClient.ListSnapshotsPage>

Inheritance

java.lang.Object > AbstractPage > SubscriptionAdminClient.ListSnapshotsPage

Methods

createPage(@Nullable PageContext<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot> context, @Nullable ListSnapshotsResponse response)

protected SubscriptionAdminClient.ListSnapshotsPage createPage(@Nullable PageContext<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot> context, @Nullable ListSnapshotsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot>
response @org.jspecify.annotations.Nullable com.google.pubsub.v1.ListSnapshotsResponse
Returns
Type Description
SubscriptionAdminClient.ListSnapshotsPage
Overrides

createPageAsync(@Nullable PageContext<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot> context, ApiFuture<ListSnapshotsResponse> futureResponse)

public ApiFuture<SubscriptionAdminClient.ListSnapshotsPage> createPageAsync(@Nullable PageContext<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot> context, ApiFuture<ListSnapshotsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,ListSnapshotsResponse,Snapshot>
futureResponse ApiFuture<ListSnapshotsResponse>
Returns
Type Description
ApiFuture<ListSnapshotsPage>
Overrides