Class ConversationsClient.ListMessagesPage (4.17.0)

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

Inheritance

java.lang.Object > AbstractPage > ConversationsClient.ListMessagesPage

Methods

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

protected ConversationsClient.ListMessagesPage createPage(PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ListMessagesResponse response)
Parameters
Name Description
context PageContext<ListMessagesRequest,ListMessagesResponse,Message>
response ListMessagesResponse
Returns
Type Description
ConversationsClient.ListMessagesPage
Overrides

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

public ApiFuture<ConversationsClient.ListMessagesPage> createPageAsync(PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ApiFuture<ListMessagesResponse> futureResponse)
Parameters
Name Description
context PageContext<ListMessagesRequest,ListMessagesResponse,Message>
futureResponse ApiFuture<ListMessagesResponse>
Returns
Type Description
ApiFuture<ListMessagesPage>
Overrides