public static class ChatServiceClient.ListMessagesPage extends AbstractPage<ListMessagesRequest,ListMessagesResponse,Message,ChatServiceClient.ListMessagesPage>
Methods
createPage(PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ListMessagesResponse response)
protected ChatServiceClient.ListMessagesPage createPage(PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ListMessagesResponse response)
Parameters | |
---|---|
Name | Description |
context |
PageContext<ListMessagesRequest,ListMessagesResponse,Message> |
response |
ListMessagesResponse |
Returns | |
---|---|
Type | Description |
ChatServiceClient.ListMessagesPage |
createPageAsync(PageContext<ListMessagesRequest,ListMessagesResponse,Message> context, ApiFuture<ListMessagesResponse> futureResponse)
public ApiFuture<ChatServiceClient.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> |