1package protoexample; 2 3enum FOO {X=17;}; 4 5message Test { 6 required string label = 1; 7 optional int32 type = 2[default=77]; 8 repeated int64 reps = 3; 9 optional group OptionalGroup = 4{ 10 required string RequiredField = 5; 11 } 12}
View as plain text