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

Unified Diff: common/tsmon/ts_mon_proto/acquisition_network_device.proto

Issue 1857643003: Revert of Migrate tsmon protos to proto3 (Closed) Base URL: git@github.com:luci/luci-go.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/tsmon/target/target.go ('k') | common/tsmon/ts_mon_proto/acquisition_network_device.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/tsmon/ts_mon_proto/acquisition_network_device.proto
diff --git a/common/tsmon/ts_mon_proto/acquisition_network_device.proto b/common/tsmon/ts_mon_proto/acquisition_network_device.proto
index 8fb619bcc6a4267d1c0dd437935796564fd95b81..b1f8657754e803c2060b02e217280121f241fd24 100644
--- a/common/tsmon/ts_mon_proto/acquisition_network_device.proto
+++ b/common/tsmon/ts_mon_proto/acquisition_network_device.proto
@@ -4,16 +4,18 @@
// Copied from https://chromium.googlesource.com/infra/infra/+/master/infra_libs/ts_mon/protos/
-syntax = "proto3";
+syntax = "proto2";
package ts_mon.proto;
message NetworkDevice {
- bool alertable = 101;
- string realm = 102;
- string metro = 104;
- string role = 105;
- string hostname = 106;
- string hostgroup = 108;
+ enum TypeId { MESSAGE_TYPE_ID = 34049749; };
+
+ optional bool alertable = 101;
+ optional string realm = 102;
+ optional string metro = 104;
+ optional string role = 105;
+ optional string hostname = 106;
+ optional string hostgroup = 108;
}
« no previous file with comments | « common/tsmon/target/target.go ('k') | common/tsmon/ts_mon_proto/acquisition_network_device.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698