| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto3"; | 5 syntax = "proto3"; |
| 6 | 6 |
| 7 package milo; | 7 package milo; |
| 8 | 8 |
| 9 import "google/protobuf/timestamp.proto"; | 9 import "google/protobuf/timestamp.proto"; |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 } | 46 } |
| 47 | 47 |
| 48 // The request for multiple build on a builder. | 48 // The request for multiple build on a builder. |
| 49 message BuildbotBuildsRequest { | 49 message BuildbotBuildsRequest { |
| 50 string master = 1; | 50 string master = 1; |
| 51 string builder = 2; | 51 string builder = 2; |
| 52 // Limit to the number of builds to return (default: 20). | 52 // Limit to the number of builds to return (default: 20). |
| 53 int32 limit = 3; | 53 int32 limit = 3; |
| 54 // Include ongoing builds (default: false). | 54 // Include ongoing builds (default: false). |
| 55 bool include_current = 4; | 55 bool include_current = 4; |
| 56 // Return builds starting from this cursor. |
| 57 string cursor = 5; |
| 56 } | 58 } |
| 57 | 59 |
| 58 // The response message for multiple builds in a builder. | 60 // The response message for multiple builds in a builder. |
| 59 message BuildbotBuildsJSON { | 61 message BuildbotBuildsJSON { |
| 62 // builds is the list of builds resulting from the builds request. |
| 60 repeated BuildbotBuildJSON builds = 1; | 63 repeated BuildbotBuildJSON builds = 1; |
| 64 // The cursor to the next request from, if the exact same query was given. |
| 65 string cursor = 2; |
| 61 } | 66 } |
| OLD | NEW |