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

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

Issue 2366763002: Milo: Grpc endpoint for multiple builds on a builder (Closed)
Patch Set: Review comments, add smoke test Created 4 years, 2 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
11 // The buildbot service definition. 11 // The buildbot service definition.
12 service Buildbot { 12 service Buildbot {
13 rpc GetCompressedMasterJSON(MasterRequest) returns (CompressedMasterJSON) {} 13 rpc GetCompressedMasterJSON(MasterRequest) returns (CompressedMasterJSON) {}
14 rpc GetBuildbotBuildJSON(BuildbotBuildRequest) returns (BuildbotBuildJSON) {} 14 rpc GetBuildbotBuildJSON(BuildbotBuildRequest) returns (BuildbotBuildJSON) {}
15 rpc GetBuildbotBuildsJSON(BuildbotBuildsRequest) returns (BuildbotBuildsJSON) {}
15 } 16 }
16 17
17 // The request containing the name of the master. 18 // The request containing the name of the master.
18 message MasterRequest { 19 message MasterRequest {
19 string name = 1; 20 string name = 1;
20 } 21 }
21 22
22 // The response message containing master information. 23 // The response message containing master information.
23 message CompressedMasterJSON { 24 message CompressedMasterJSON {
24 // Whether the master is internal or not. 25 // Whether the master is internal or not.
(...skipping 11 matching lines...) Expand all
36 string master = 1; 37 string master = 1;
37 string builder = 2; 38 string builder = 2;
38 int64 build_num = 3; 39 int64 build_num = 3;
39 } 40 }
40 41
41 // The response message for a specific build. 42 // The response message for a specific build.
42 message BuildbotBuildJSON { 43 message BuildbotBuildJSON {
43 // Json data of the build. 44 // Json data of the build.
44 bytes data = 1; 45 bytes data = 1;
45 } 46 }
47
48 // The request for multiple build on a builder.
49 message BuildbotBuildsRequest {
50 string master = 1;
51 string builder = 2;
52 // Limit to the number of builds to return (default: 20).
53 int32 limit = 3;
54 // Include ongoing builds (default: false).
55 bool include_current = 4;
56 }
57
58 // The response message for multiple builds in a builder.
59 message BuildbotBuildsJSON {
60 repeated BuildbotBuildJSON builds = 1;
61 }
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