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

Unified Diff: common/tsmon/ts_mon_proto/acquisition_task.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, 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 side-by-side diff with in-line comments
Download patch
Index: common/tsmon/ts_mon_proto/acquisition_task.proto
diff --git a/common/tsmon/ts_mon_proto/acquisition_task.proto b/common/tsmon/ts_mon_proto/acquisition_task.proto
index 1c160386331947f3909379579501f16a42461d22..eed8b2db7b800cb3f8764370c6b3f37c09f7d1b1 100644
--- a/common/tsmon/ts_mon_proto/acquisition_task.proto
+++ b/common/tsmon/ts_mon_proto/acquisition_task.proto
@@ -4,14 +4,16 @@
// Copied from https://chromium.googlesource.com/infra/infra/+/master/infra_libs/ts_mon/protos/
-syntax = "proto3";
+syntax = "proto2";
package ts_mon.proto;
message Task {
- string service_name = 20;
- string job_name = 30;
- string data_center = 40;
- string host_name = 50;
- int32 task_num = 60;
+
+ enum TypeId { MESSAGE_TYPE_ID = 34049749; };
+ optional string service_name = 20;
+ optional string job_name = 30;
+ optional string data_center = 40;
+ optional string host_name = 50;
+ optional int32 task_num = 60;
}
« no previous file with comments | « common/tsmon/ts_mon_proto/acquisition_network_device.pb.go ('k') | common/tsmon/ts_mon_proto/acquisition_task.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698