stackusage.proto 839 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. syntax = "proto3";
  2. message Property
  3. {
  4. enum Mode
  5. {
  6. INVALID = 0;
  7. A = 1;
  8. B = 2;
  9. C = 3;
  10. }
  11. oneof field
  12. {
  13. Mode DeviceA_Mode = 1;
  14. uint32 DeviceA_Size = 2;
  15. uint32 DeviceA_Length = 3;
  16. Mode DeviceB_Mode = 4;
  17. uint32 DeviceB_Size = 5;
  18. uint32 DeviceB_Length = 6;
  19. }
  20. }
  21. message SettingsGroup
  22. {
  23. message Settings
  24. {
  25. message Command
  26. {
  27. uint32 label = 1;
  28. repeated Property properties = 2;
  29. }
  30. uint32 id = 1;
  31. string name = 2;
  32. uint32 flags = 3;
  33. bool en = 5;
  34. Command begin = 6;
  35. Command end = 7;
  36. }
  37. Settings settings = 1;
  38. uint32 version = 2;
  39. }