comments.proto 294 B

1234567891011121314151617
  1. syntax = "proto2";
  2. // Message1Comment
  3. message Message1
  4. {
  5. // LeadingMemberComment
  6. required int32 member1 = 1;
  7. required int32 member2 = 2; // TrailingMemberComment
  8. }
  9. // Enum1Comment
  10. enum Enum1
  11. {
  12. // LeadingEnumComment
  13. ENUMVAL1 = 1;
  14. ENUMVAL2 = 2; // TrailingEnumComment
  15. }