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