playlist4content.proto 850 B

12345678910111213141516171819202122232425262728293031
  1. import "playlist4meta.proto";
  2. import "playlist4issues.proto";
  3. message Item {
  4. required string uri = 1;
  5. optional ItemAttributes attributes = 2;
  6. }
  7. message ListItems {
  8. required int32 pos = 1;
  9. required bool truncated = 2;
  10. repeated Item items = 3;
  11. }
  12. message ContentRange {
  13. required int32 pos = 1;
  14. optional int32 length = 2;
  15. }
  16. message ListContentSelection {
  17. optional bool wantRevision = 1;
  18. optional bool wantLength = 2;
  19. optional bool wantAttributes = 3;
  20. optional bool wantChecksum = 4;
  21. optional bool wantContent = 5;
  22. optional ContentRange contentRange = 6;
  23. optional bool wantDiff = 7;
  24. optional bytes baseRevision = 8;
  25. optional bytes hintRevision = 9;
  26. optional bool wantNothingIfUpToDate = 10;
  27. optional bool wantResolveAction = 12;
  28. repeated ClientIssue issues = 13;
  29. repeated ClientResolveAction resolveAction = 14;
  30. }