Class ChatServiceClient.ListMessagesPage (0.59.0)

public static class ChatServiceClient.ListMessagesPage extends AbstractPage<ListMessagesRequest,ListMessagesResponse,Message,ChatServiceClient.ListMessagesPage>

Inheritance

java.lang.Object > AbstractPage > ChatServiceClient.ListMessagesPage

Methods

createPage(@Nullable PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, @Nullable ListMessagesResponse response)

protected ChatServiceClient.ListMessagesPage createPage(@Nullable PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, @Nullable ListMessagesResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListMessagesRequest,ListMessagesResponse,Message>
response @org.jspecify.annotations.Nullable com.google.chat.v1.ListMessagesResponse
Returns
Type Description
ChatServiceClient.ListMessagesPage
Overrides

createPageAsync(@Nullable PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ApiFuture<ListMessagesResponse> futureResponse)

public ApiFuture<ChatServiceClient.ListMessagesPage> createPageAsync(@Nullable PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ApiFuture<ListMessagesResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListMessagesRequest,ListMessagesResponse,Message>
futureResponse ApiFuture<ListMessagesResponse>
Returns
Type Description
ApiFuture<ListMessagesPage>
Overrides