syntax = "proto3";

message SubMessage {
    repeated int32 foo = 1;
}

message MainMessage {
    SubMessage submsg = 1;
}