X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=examples%2Fusing_union_messages%2Funionproto.proto;h=209df0d27a024e7f2f1aeacc4ca36bcdf281284e;hb=863dddca69983485fdc3faf58c7dd439d0d5bf5d;hp=d7c9de2d3b22f8acf140dca2d2ae9b857bc3fba7;hpb=f47410ea4b8ae43e19facd378be4cf1073e1813b;p=apps%2Fagl-service-can-low-level.git diff --git a/examples/using_union_messages/unionproto.proto b/examples/using_union_messages/unionproto.proto index d7c9de2d..209df0d2 100644 --- a/examples/using_union_messages/unionproto.proto +++ b/examples/using_union_messages/unionproto.proto @@ -5,6 +5,8 @@ // but they are commonly implemented by filling out exactly one of // several optional fields. +syntax = "proto2"; + message MsgType1 { required int32 value = 1;