Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: milo/api/proto/buildbot.proto

Issue 2810113002: Milo buildbot builder page: Add pagnation with cursors. (Closed)
Patch Set: train Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | milo/api/proto/buildbot.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | milo/api/proto/buildbot.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698