test.proto 239 B

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