facebook-publish.proto 958 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. syntax = "proto2";
  2. message EventReply {
  3. optional int32 queued = 0x1;
  4. optional RetryInfo retry = 0x2;
  5. }
  6. message RetryInfo {
  7. optional int32 retry_delay = 0x1;
  8. optional int32 max_retry = 0x2;
  9. }
  10. message Id {
  11. optional string uri = 0x1;
  12. optional int64 start_time = 0x2;
  13. }
  14. message Start {
  15. optional int32 length = 0x1;
  16. optional string context_uri = 0x2;
  17. optional int64 end_time = 0x3;
  18. }
  19. message Seek {
  20. optional int64 end_time = 0x1;
  21. }
  22. message Pause {
  23. optional int32 seconds_played = 0x1;
  24. optional int64 end_time = 0x2;
  25. }
  26. message Resume {
  27. optional int32 seconds_played = 0x1;
  28. optional int64 end_time = 0x2;
  29. }
  30. message End {
  31. optional int32 seconds_played = 0x1;
  32. optional int64 end_time = 0x2;
  33. }
  34. message Event {
  35. optional Id id = 0x1;
  36. optional Start start = 0x2;
  37. optional Seek seek = 0x3;
  38. optional Pause pause = 0x4;
  39. optional Resume resume = 0x5;
  40. optional End end = 0x6;
  41. }