package test; message MergeMessage { message InnerMessage1 { required string name = 1; } message InnerMessage2 { required string name = 1; repeated InnerMessage1 repeated_message = 2; } required string name = 1; repeated InnerMessage1 repeated_message = 2; required InnerMessage2 required_message = 3; }