trash.proto 431 B

12345678910111213141516171819202122232425
  1. syntax = "proto3";
  2. message Trash {
  3. string id = 1;
  4. string name = 2;
  5. int64 modified_time = 3;
  6. int64 create_time = 4;
  7. TrashType ty = 5;
  8. }
  9. message RepeatedTrash {
  10. repeated Trash items = 1;
  11. }
  12. message RepeatedTrashId {
  13. repeated TrashId items = 1;
  14. bool delete_all = 2;
  15. }
  16. message TrashId {
  17. string id = 1;
  18. TrashType ty = 2;
  19. }
  20. enum TrashType {
  21. Unknown = 0;
  22. TrashView = 1;
  23. TrashApp = 2;
  24. }