From 6154d67a920327c4d686cd43b02bb484616d8291 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 May 2019 01:29:29 -0700 Subject: [PATCH] move to proto3 syntax Signed-off-by: Jeff Carr --- events.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/events.proto b/events.proto index 94bd11a..65ebb98 100644 --- a/events.proto +++ b/events.proto @@ -1,10 +1,10 @@ -syntax = "proto2"; +syntax = "proto3"; package witProto; -enum FOO { X = 17; }; +enum FOO { X = 0; }; message Event { - required string label = 1; - optional int32 type = 2 [default=77]; + string label = 1; + int32 type = 2; repeated int64 reps = 3; }