public static class PromotionsServiceClient.ListPromotionsPage extends AbstractPage<ListPromotionsRequest,ListPromotionsResponse,Promotion,PromotionsServiceClient.ListPromotionsPage>
Methods
createPage(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ListPromotionsResponse response)
protected PromotionsServiceClient.ListPromotionsPage createPage(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ListPromotionsResponse response)
Parameters | |
---|---|
Name | Description |
context |
PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> |
response |
ListPromotionsResponse |
Returns | |
---|---|
Type | Description |
PromotionsServiceClient.ListPromotionsPage |
createPageAsync(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ApiFuture<ListPromotionsResponse> futureResponse)
public ApiFuture<PromotionsServiceClient.ListPromotionsPage> createPageAsync(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ApiFuture<ListPromotionsResponse> futureResponse)
Parameters | |
---|---|
Name | Description |
context |
PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> |
futureResponse |
ApiFuture<ListPromotionsResponse> |
Returns | |
---|---|
Type | Description |
ApiFuture<ListPromotionsPage> |