Class ConversationsClient.ListMessagesPage (4.4.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
NameDescription
contextPageContext<ListMessagesRequest,ListMessagesResponse,Message>
responseListMessagesResponse
Returns
TypeDescription
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
NameDescription
contextPageContext<ListMessagesRequest,ListMessagesResponse,Message>
futureResponseApiFuture<ListMessagesResponse>
Returns
TypeDescription
ApiFuture<ListMessagesPage>
Overrides