X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=generator%2Fproto%2Fnanopb.proto;h=0716be4ba3270aafd586b94d686a04c7d169fe5b;hb=e5cbee84e12e87b342d7c57808b009387e1ba2bb;hp=2ea011f40063d123dad936a062b70b74155c35b6;hpb=8c2dda67a100237bc6cdb3b814012079be2b3534;p=apps%2Fagl-service-can-low-level.git diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto index 2ea011f4..0716be4b 100644 --- a/generator/proto/nanopb.proto +++ b/generator/proto/nanopb.proto @@ -5,7 +5,8 @@ // These are used by nanopb to generate statically allocable structures // for memory-limited environments. -import "descriptor.proto"; +syntax = "proto2"; +import "google/protobuf/descriptor.proto"; option java_package = "fi.kapsi.koti.jpa.nanopb"; @@ -37,6 +38,9 @@ message NanoPBOptions { // Note: this cannot be used on CPUs that break on unaligned // accesses to variables. optional bool packed_struct = 5 [default = false]; + + // Skip this message + optional bool skip_message = 6 [default = false]; } // Extensions to protoc 'Descriptor' type in order to define options