Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | |
| 3 // that can be found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto3"; | |
| 6 | |
| 7 package milo; | |
| 8 | |
| 9 import "google/protobuf/timestamp.proto"; | |
| 10 | |
| 11 // The buildbot service definition. | |
| 12 service Buildbot { | |
| 13 rpc GetMaster (MasterRequest) returns (MasterReply) {} | |
|
iannucci
2016/09/01 00:37:26
nit: no space between GetMaster and its argument (
hinoka
2016/09/03 00:52:27
Done.
| |
| 14 } | |
| 15 | |
| 16 // The request containing the name of the master. | |
| 17 message MasterRequest { | |
| 18 string name = 1; | |
| 19 } | |
| 20 | |
| 21 // The response message containing master information. | |
| 22 message MasterReply { | |
| 23 // Whether the master is internal or not. | |
| 24 bool internal = 1; | |
| 25 | |
| 26 // Timestamp of the freshness of the master data. | |
| 27 google.protobuf.Timestamp modified = 2; | |
| 28 | |
| 29 // Gzipped json data of the master. | |
|
iannucci
2016/09/01 00:37:26
barf :(
| |
| 30 bytes data = 3; | |
| 31 } | |
| OLD | NEW |