Class DirectAccessServiceClient.ListDeviceSessionsPage (0.35.0)

public static class DirectAccessServiceClient.ListDeviceSessionsPage extends AbstractPage<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession,DirectAccessServiceClient.ListDeviceSessionsPage>

Inheritance

java.lang.Object > AbstractPage > DirectAccessServiceClient.ListDeviceSessionsPage

Methods

createPage(@Nullable PageContext<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession> context, @Nullable ListDeviceSessionsResponse response)

protected DirectAccessServiceClient.ListDeviceSessionsPage createPage(@Nullable PageContext<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession> context, @Nullable ListDeviceSessionsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession>
response @org.jspecify.annotations.Nullable com.google.cloud.devicestreaming.v1.ListDeviceSessionsResponse
Returns
Type Description
DirectAccessServiceClient.ListDeviceSessionsPage
Overrides

createPageAsync(@Nullable PageContext<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession> context, ApiFuture<ListDeviceSessionsResponse> futureResponse)

public ApiFuture<DirectAccessServiceClient.ListDeviceSessionsPage> createPageAsync(@Nullable PageContext<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession> context, ApiFuture<ListDeviceSessionsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListDeviceSessionsRequest,ListDeviceSessionsResponse,DeviceSession>
futureResponse ApiFuture<ListDeviceSessionsResponse>
Returns
Type Description
ApiFuture<ListDeviceSessionsPage>
Overrides