1syntax = "proto2"; 2 3message SubMessage2 { 4 required int32 foo = 1; 5} 6 7message Message2 { 8 required SubMessage2 bar = 1; 9} 10 11