1/* Test nanopb fixed count option. */ 2 3syntax = "proto2"; 4 5import "nanopb.proto"; 6 7message Message1 8{ 9 repeated int32 data = 1 [(nanopb).max_count = 3, (nanopb).fixed_count = true]; 10} 11 12message Message2 13{ 14 repeated Message1 data = 1 [(nanopb).max_count = 2, (nanopb).fixed_count = true]; 15} 16 17message Message3 18{ 19 repeated Message2 data1 = 1 [(nanopb).max_count = 2, (nanopb).fixed_count = true]; 20 repeated Message2 data2 = 2 [(nanopb).max_count = 2, (nanopb).fixed_count = true]; 21} 22