1syntax = "proto3"; 2import "nanopb.proto"; 3 4message SubMessage { 5 repeated uint32 rep_uint32 = 1 [(nanopb).max_count = 3]; 6} 7 8message TestMessage { 9 SubMessage submsg = 1; 10} 11 12