X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=generator%2Fproto%2Fnanopb.proto;h=a1b24936c445b371f3303cd9e88a4dd1ccbe2383;hb=8d12fecc7e4fb6899eb0d013abe0d6a5e03447ce;hp=e830ec2ceb3a107e149c0671f9e985f53f80c63c;hpb=8ef0392231c071a92ae78113763c0b1d61eafb1f;p=apps%2Fagl-service-can-low-level.git diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto index e830ec2c..a1b24936 100644 --- a/generator/proto/nanopb.proto +++ b/generator/proto/nanopb.proto @@ -53,6 +53,9 @@ message NanoPBOptions { // Skip this message optional bool skip_message = 6 [default = false]; + + // Generate oneof fields as normal optional fields instead of union. + optional bool no_unions = 8 [default = false]; } // Extensions to protoc 'Descriptor' type in order to define options