multifile1.proto 624 B

12345678910111213141516171819202122232425262728293031323334
  1. syntax = "proto2";
  2. message SubMessage {
  3. optional string stringvalue = 1;
  4. repeated int32 int32value = 2;
  5. repeated fixed32 fixed32value = 3;
  6. repeated fixed64 fixed64value = 4;
  7. }
  8. message TestMessage {
  9. optional string stringvalue = 1;
  10. repeated int32 int32value = 2;
  11. repeated fixed32 fixed32value = 3;
  12. repeated fixed64 fixed64value = 4;
  13. optional SubMessage submsg = 5;
  14. repeated string repeatedstring = 6;
  15. }
  16. message StaticMessage {
  17. repeated fixed32 repint32 = 1;
  18. }
  19. enum SignedEnum {
  20. SE_MIN = -128;
  21. SE_MAX = 127;
  22. }
  23. enum UnsignedEnum {
  24. UE_MIN = 0;
  25. UE_MAX = 255;
  26. }