scheme_ut.proto 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package NSc;
  2. message TMessage {
  3. optional double Double = 1;
  4. optional float Float = 2;
  5. optional int32 Int32 = 3;
  6. optional int64 Int64 = 4;
  7. optional uint32 UInt32 = 5;
  8. optional uint64 UInt64 = 6;
  9. optional sint32 SInt32 = 7;
  10. optional sint64 SInt64 = 8;
  11. optional fixed32 Fixed32 = 9;
  12. optional fixed64 Fixed64 = 10;
  13. optional sfixed32 SFixed32 = 11;
  14. optional sfixed64 SFixed64 = 12;
  15. optional bool Bool = 13;
  16. optional string String = 14;
  17. optional bytes Bytes = 15;
  18. optional EEnum Enum = 16;
  19. optional TMessage2 Message = 17;
  20. repeated double Doubles = 18;
  21. repeated float Floats = 19;
  22. repeated int32 Int32s = 20;
  23. repeated int64 Int64s = 21;
  24. repeated uint32 UInt32s = 22;
  25. repeated uint64 UInt64s = 23;
  26. repeated sint32 SInt32s = 24;
  27. repeated sint64 SInt64s = 25;
  28. repeated fixed32 Fixed32s = 26;
  29. repeated fixed64 Fixed64s = 27;
  30. repeated sfixed32 SFixed32s = 28;
  31. repeated sfixed64 SFixed64s = 29;
  32. repeated bool Bools = 30;
  33. repeated string Strings = 31;
  34. repeated bytes Bytess = 32;
  35. repeated EEnum Enums = 33;
  36. repeated TMessage2 Messages = 34;
  37. map<string, double> MapDoubles = 35;
  38. map<string, int32> MapInt32s = 36;
  39. map<string, string> MapString = 37;
  40. }
  41. enum EEnum {
  42. VALUE1 = 0;
  43. VALUE2 = 1;
  44. }
  45. message TMessage2 {
  46. optional double Double = 1;
  47. optional float Float = 2;
  48. optional int32 Int32 = 3;
  49. optional int64 Int64 = 4;
  50. optional uint32 UInt32 = 5;
  51. optional uint64 UInt64 = 6;
  52. optional sint32 SInt32 = 7;
  53. optional sint64 SInt64 = 8;
  54. optional fixed32 Fixed32 = 9;
  55. optional fixed64 Fixed64 = 10;
  56. optional sfixed32 SFixed32 = 11;
  57. optional sfixed64 SFixed64 = 12;
  58. optional bool Bool = 13;
  59. optional string String = 14;
  60. optional bytes Bytes = 15;
  61. optional EEnum Enum = 16;
  62. repeated double Doubles = 18;
  63. repeated float Floats = 19;
  64. repeated int32 Int32s = 20;
  65. repeated int64 Int64s = 21;
  66. repeated uint32 UInt32s = 22;
  67. repeated uint64 UInt64s = 23;
  68. repeated sint32 SInt32s = 24;
  69. repeated sint64 SInt64s = 25;
  70. repeated fixed32 Fixed32s = 26;
  71. repeated fixed64 Fixed64s = 27;
  72. repeated sfixed32 SFixed32s = 28;
  73. repeated sfixed64 SFixed64s = 29;
  74. repeated bool Bools = 30;
  75. repeated string Strings = 31;
  76. repeated bytes Bytess = 32;
  77. repeated EEnum Enums = 33;
  78. }