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