forward_index.proto 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. syntax = "proto3";
  2. package bbq.job.recall.forwardindex;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. import "app/job/bbq/recall/proto/quality/quality.proto";
  5. option go_package = "proto";
  6. option (gogoproto.goproto_getters_all) = false;
  7. option (gogoproto.goproto_stringer_all) = false;
  8. option (gogoproto.stringer_all) = true;
  9. message ForwardIndex {
  10. uint64 svid = 1 [(gogoproto.customname) = "SVID"]; //视频id
  11. VideoInfo basic_info = 2 [(gogoproto.customname) = "BasicInfo"];
  12. VideoQuality video_quality = 3 [(gogoproto.customname) = "VideoQuality"]; //月 度视频质量指标
  13. }
  14. message VideoInfo {
  15. uint64 svid = 1 [(gogoproto.customname) = "SVID"];
  16. string title = 2 [(gogoproto.customname) = "Title"];
  17. string content = 3 [(gogoproto.customname) = "Content"];
  18. uint64 mid = 4 [(gogoproto.customname) = "MID"];
  19. uint64 avid = 5 [(gogoproto.customname) = "AVID"];
  20. uint64 cid = 6 [(gogoproto.customname) = "CID"];
  21. int64 pubtime = 7 [(gogoproto.customname) = "PubTime"];
  22. int64 ctime = 8 [(gogoproto.customname) = "CTime"];
  23. int64 mtime = 9 [(gogoproto.customname) = "MTime"];
  24. uint32 duration = 10 [(gogoproto.customname) = "Duration"];
  25. int32 state = 11 [(gogoproto.customname) = "State"];
  26. repeated Tag tags = 12 [(gogoproto.customname) = "Tags"];
  27. }
  28. message Tag {
  29. string name = 1 [(gogoproto.customname) = "TagName"];
  30. int32 type = 2 [(gogoproto.customname) = "TagType"];
  31. int32 ID = 3 [(gogoproto.customname) = "TagID"];
  32. }