Class SessionServiceClient.ListSessionsPage (3.96.0)

public static class SessionServiceClient.ListSessionsPage extends AbstractPage<ListSessionsRequest,ListSessionsResponse,Session,SessionServiceClient.ListSessionsPage>

Inheritance

java.lang.Object > AbstractPage > SessionServiceClient.ListSessionsPage

Methods

createPage(@Nullable PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, @Nullable ListSessionsResponse response)

protected SessionServiceClient.ListSessionsPage createPage(@Nullable PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, @Nullable ListSessionsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSessionsRequest,ListSessionsResponse,Session>
response @org.jspecify.annotations.Nullable com.google.cloud.aiplatform.v1.ListSessionsResponse
Returns
Type Description
SessionServiceClient.ListSessionsPage
Overrides

createPageAsync(@Nullable PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, ApiFuture<ListSessionsResponse> futureResponse)

public ApiFuture<SessionServiceClient.ListSessionsPage> createPageAsync(@Nullable PageContext<ListSessionsRequest,ListSessionsResponse,Session> context, ApiFuture<ListSessionsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSessionsRequest,ListSessionsResponse,Session>
futureResponse ApiFuture<ListSessionsResponse>
Returns
Type Description
ApiFuture<ListSessionsPage>
Overrides