1syntax = "proto3"; 2 3import "nanopb.proto"; 4 5message MyMessage1 6{ 7 option (nanopb_msgopt).msgid = 1; 8 9 int32 intvalue = 1; 10} 11 12message MyMessage2 13{ 14 option (nanopb_msgopt).msgid = 2; 15 16 int32 intvalue = 1; 17 string strvalue = 2 [(nanopb).max_size = 16]; 18} 19 20message MyMessage3 21{ 22 option (nanopb_msgopt).msgid = 3; 23 24 bool boolvalue = 1; 25} 26