syntax = "proto2";

message SubMessage2 {
	required int32 foo = 1;
}

message Message2 {
	required SubMessage2 bar = 1;
}