1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
syntax = "proto2"; import "nanopb.proto"; message Extendable { extensions 10 to 100; } extend Extendable { optional int32 opt_int32 = 11; } message PointerMessage { optional int32 opt_int32 = 11 [(nanopb).type = FT_POINTER]; }