1syntax = "proto2"; 2 3package subdir; 4 5import "multifile1.proto"; 6 7message Callback2Message { 8 required TestMessage tstmsg = 1; 9 required SubMessage submsg = 2; 10} 11 12message OneofMessage { 13 oneof msgs { 14 StaticMessage tstmsg = 1; 15 } 16} 17 18message Enums { 19 required SignedEnum senum = 1; 20 required UnsignedEnum uenum = 2; 21} 22 23message SubdirMessage { 24 required int32 foo = 1 [default = 15]; 25} 26