syntax.proto 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. syntax = "proto3";
  2. package qtprotobufnamespace.tests;
  3. message Message_Uderscore_name {
  4. sint32 testField = 1;
  5. }
  6. message MessageUderscorename {
  7. sint32 testField = 1;
  8. }
  9. message MessageUnderscoreField {
  10. sint32 underScore_Message_field = 1;
  11. }
  12. message PriorMessageUnderscoreField {
  13. sint32 _underScoreMessageField = 1;
  14. }
  15. message FollowingMessageUnderscoreField {
  16. sint32 underScoreMessageField_ = 1;
  17. }
  18. message CombinedMessageUnderscoreField {
  19. sint32 _underScoreMessage_Field_ = 1;
  20. }
  21. message MessageUpperCase {
  22. sint32 TestField = 1;
  23. }
  24. message MessageReserved {
  25. sint32 import = 1;
  26. sint32 property = 2;
  27. sint32 id = 3;
  28. }
  29. message MessageUpperCaseReserved {
  30. sint32 Import = 1;
  31. sint32 Property = 2;
  32. sint32 Id = 3;
  33. }
  34. message lowerCaseMessageName {
  35. sint32 testField = 1;
  36. }
  37. message LowerCaseFieldMessageName {
  38. lowerCaseMessageName testField = 1;
  39. }
  40. message MessageEnumReserved {
  41. enum ReservedEnum {
  42. Import = 0;
  43. Property = 1;
  44. Id = 2;
  45. }
  46. enum LowerCaseEnum {
  47. enumValue0 = 0;
  48. enumValue1 = 1;
  49. enumValue2 = 2;
  50. }
  51. enum UnderScoreEnum {
  52. _enumUnderscoreValue0 = 0;
  53. _EnumUnderscoreValue1 = 1;
  54. }
  55. }