playlist4content.proto 950 B

12345678910111213141516171819202122232425262728293031323334353637
  1. syntax = "proto2";
  2. import "playlist4meta.proto";
  3. import "playlist4issues.proto";
  4. message Item {
  5. optional string uri = 0x1;
  6. optional ItemAttributes attributes = 0x2;
  7. }
  8. message ListItems {
  9. optional int32 pos = 0x1;
  10. optional bool truncated = 0x2;
  11. repeated Item items = 0x3;
  12. }
  13. message ContentRange {
  14. optional int32 pos = 0x1;
  15. optional int32 length = 0x2;
  16. }
  17. message ListContentSelection {
  18. optional bool wantRevision = 0x1;
  19. optional bool wantLength = 0x2;
  20. optional bool wantAttributes = 0x3;
  21. optional bool wantChecksum = 0x4;
  22. optional bool wantContent = 0x5;
  23. optional ContentRange contentRange = 0x6;
  24. optional bool wantDiff = 0x7;
  25. optional bytes baseRevision = 0x8;
  26. optional bytes hintRevision = 0x9;
  27. optional bool wantNothingIfUpToDate = 0xa;
  28. optional bool wantResolveAction = 0xc;
  29. repeated ClientIssue issues = 0xd;
  30. repeated ClientResolveAction resolveAction = 0xe;
  31. }