dragonfly-api 2.3.7__tar.gz → 2.3.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/PKG-INFO +1 -1
  2. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/common_pb2.py +28 -26
  3. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/common_pb2.pyi +12 -2
  4. dragonfly_api-2.3.9/dragonfly_api/dfdaemon_pb2.py +176 -0
  5. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/dfdaemon_pb2.pyi +16 -0
  6. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/dfdaemon_pb2_grpc.py +90 -0
  7. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/scheduler_pb2.py +32 -32
  8. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/scheduler_pb2.pyi +4 -2
  9. dragonfly_api-2.3.7/dragonfly_api/dfdaemon_pb2.py +0 -172
  10. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/.gitignore +0 -0
  11. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/LICENSE +0 -0
  12. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/README.md +0 -0
  13. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/__init__.py +0 -0
  14. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/errordetails_pb2.py +0 -0
  15. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/errordetails_pb2.pyi +0 -0
  16. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/manager_pb2.py +0 -0
  17. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/manager_pb2.pyi +0 -0
  18. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/manager_pb2_grpc.py +0 -0
  19. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/py.typed +0 -0
  20. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/dragonfly_api/scheduler_pb2_grpc.py +0 -0
  21. {dragonfly_api-2.3.7 → dragonfly_api-2.3.9}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: dragonfly-api
3
- Version: 2.3.7
3
+ Version: 2.3.9
4
4
  Summary: Canonical location of the Dragonfly API definition
5
5
  Project-URL: Homepage, https://d7y.io
6
6
  Project-URL: Repository, https://github.com/dragonflyoss/api
@@ -26,7 +26,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb
26
26
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63ommon.proto\x12\tcommon.v2\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbe\x03\n\x04Peer\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12%\n\x08priority\x18\x03 \x01(\x0e\x32\x13.common.v2.Priority\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\'\n\x04\x63ost\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x06 \x01(\t\x12\x1d\n\x04task\x18\x07 \x01(\x0b\x32\x0f.common.v2.Task\x12\x1d\n\x04host\x18\x08 \x01(\x0b\x32\x0f.common.v2.Host\x12\x1b\n\x13need_back_to_source\x18\t \x01(\x08\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x16\x63oncurrent_piece_count\x18\x0c \x01(\rH\x01\x88\x01\x01\x42\x08\n\x06_rangeB\x19\n\x17_concurrent_piece_count\"\xc8\x03\n\tCachePeer\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12%\n\x08priority\x18\x03 \x01(\x0e\x32\x13.common.v2.Priority\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\'\n\x04\x63ost\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x06 \x01(\t\x12\"\n\x04task\x18\x07 \x01(\x0b\x32\x14.common.v2.CacheTask\x12\x1d\n\x04host\x18\x08 \x01(\x0b\x32\x0f.common.v2.Host\x12\x1b\n\x13need_back_to_source\x18\t \x01(\x08\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x16\x63oncurrent_piece_count\x18\x0c \x01(\rH\x01\x88\x01\x01\x42\x08\n\x06_rangeB\x19\n\x17_concurrent_piece_count\"\xb0\x02\n\x0ePersistentPeer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\'\n\x04\x63ost\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x04 \x01(\t\x12\'\n\x04task\x18\x05 \x01(\x0b\x32\x19.common.v2.PersistentTask\x12\x1d\n\x04host\x18\x06 \x01(\x0b\x32\x0f.common.v2.Host\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\x16\x63oncurrent_piece_count\x18\t \x01(\r\"\xba\x02\n\x13PersistentCachePeer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\'\n\x04\x63ost\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x04 \x01(\t\x12,\n\x04task\x18\x05 \x01(\x0b\x32\x1e.common.v2.PersistentCacheTask\x12\x1d\n\x04host\x18\x06 \x01(\x0b\x32\x0f.common.v2.Host\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\x16\x63oncurrent_piece_count\x18\t \x01(\r\"\xcf\x04\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x13\n\x06\x64igest\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x07 \x03(\t\x12:\n\x0erequest_header\x18\x08 \x03(\x0b\x32\".common.v2.Task.RequestHeaderEntry\x12\x16\n\x0e\x63ontent_length\x18\t \x01(\x04\x12\x13\n\x0bpiece_count\x18\n \x01(\r\x12(\n\nsize_scope\x18\x0b \x01(\x0e\x32\x14.common.v2.SizeScope\x12 \n\x06pieces\x18\x0c \x03(\x0b\x32\x10.common.v2.Piece\x12\r\n\x05state\x18\r \x01(\t\x12\x12\n\npeer_count\x18\x0e \x01(\r\x12\x1a\n\x12has_available_peer\x18\x0f \x01(\x08\x12.\n\ncreated_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x06\n\x04_tagB\x0e\n\x0c_application\"\xd9\x04\n\tCacheTask\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x13\n\x06\x64igest\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x07 \x03(\t\x12?\n\x0erequest_header\x18\x08 \x03(\x0b\x32\'.common.v2.CacheTask.RequestHeaderEntry\x12\x16\n\x0e\x63ontent_length\x18\t \x01(\x04\x12\x13\n\x0bpiece_count\x18\n \x01(\r\x12(\n\nsize_scope\x18\x0b \x01(\x0e\x32\x14.common.v2.SizeScope\x12 \n\x06pieces\x18\x0c \x03(\x0b\x32\x10.common.v2.Piece\x12\r\n\x05state\x18\r \x01(\t\x12\x12\n\npeer_count\x18\x0e \x01(\r\x12\x1a\n\x12has_available_peer\x18\x0f \x01(\x08\x12.\n\ncreated_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x06\n\x04_tagB\x0e\n\x0c_application\"\xcb\x02\n\x0ePersistentTask\x12\n\n\x02id\x18\x01 \x01(\t\x12 \n\x18persistent_replica_count\x18\x02 \x01(\x04\x12(\n current_persistent_replica_count\x18\x03 \x01(\x04\x12\x1d\n\x15\x63urrent_replica_count\x18\x04 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x05 \x01(\x04\x12\x13\n\x0bpiece_count\x18\x06 \x01(\r\x12\r\n\x05state\x18\x07 \x01(\t\x12&\n\x03ttl\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xaa\x03\n\x13PersistentCacheTask\x12\n\n\x02id\x18\x01 \x01(\t\x12 \n\x18persistent_replica_count\x18\x02 \x01(\x04\x12(\n current_persistent_replica_count\x18\x03 \x01(\x04\x12\x1d\n\x15\x63urrent_replica_count\x18\x04 \x01(\x04\x12\x10\n\x03tag\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpiece_length\x18\x07 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x08 \x01(\x04\x12\x13\n\x0bpiece_count\x18\t \x01(\r\x12\r\n\x05state\x18\n \x01(\t\x12&\n\x03ttl\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\n\x04_tagB\x0e\n\x0c_application\"\x94\x04\n\x04Host\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x10\n\x08hostname\x18\x03 \x01(\t\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x0c\n\x04port\x18\x05 \x01(\x05\x12\x15\n\rdownload_port\x18\x06 \x01(\x05\x12\n\n\x02os\x18\x07 \x01(\t\x12\x10\n\x08platform\x18\x08 \x01(\t\x12\x17\n\x0fplatform_family\x18\t \x01(\t\x12\x18\n\x10platform_version\x18\n \x01(\t\x12\x16\n\x0ekernel_version\x18\x0b \x01(\t\x12 \n\x03\x63pu\x18\x0c \x01(\x0b\x32\x0e.common.v2.CPUH\x00\x88\x01\x01\x12&\n\x06memory\x18\r \x01(\x0b\x32\x11.common.v2.MemoryH\x01\x88\x01\x01\x12(\n\x07network\x18\x0e \x01(\x0b\x32\x12.common.v2.NetworkH\x02\x88\x01\x01\x12\"\n\x04\x64isk\x18\x0f \x01(\x0b\x32\x0f.common.v2.DiskH\x03\x88\x01\x01\x12$\n\x05\x62uild\x18\x10 \x01(\x0b\x32\x10.common.v2.BuildH\x04\x88\x01\x01\x12\x1c\n\x14scheduler_cluster_id\x18\x11 \x01(\x04\x12\x16\n\x0e\x64isable_shared\x18\x12 \x01(\x08\x12\x12\n\nproxy_port\x18\x13 \x01(\x05\x12\x0c\n\x04name\x18\x14 \x01(\tB\x06\n\x04_cpuB\t\n\x07_memoryB\n\n\x08_networkB\x07\n\x05_diskB\x08\n\x06_build\"\xc7\x01\n\x03\x43PU\x12\x15\n\rlogical_count\x18\x01 \x01(\r\x12\x16\n\x0ephysical_count\x18\x02 \x01(\r\x12\x0f\n\x07percent\x18\x03 \x01(\x01\x12\x17\n\x0fprocess_percent\x18\x04 \x01(\x01\x12\'\n\x05times\x18\x05 \x01(\x0b\x32\x13.common.v2.CPUTimesH\x00\x88\x01\x01\x12)\n\x06\x63group\x18\x06 \x01(\x0b\x32\x14.common.v2.CgroupCPUH\x01\x88\x01\x01\x42\x08\n\x06_timesB\t\n\x07_cgroup\"@\n\tCgroupCPU\x12\x0e\n\x06period\x18\x01 \x01(\x04\x12\r\n\x05quota\x18\x02 \x01(\x03\x12\x14\n\x0cused_percent\x18\x03 \x01(\x01\"\xa4\x01\n\x08\x43PUTimes\x12\x0c\n\x04user\x18\x01 \x01(\x01\x12\x0e\n\x06system\x18\x02 \x01(\x01\x12\x0c\n\x04idle\x18\x03 \x01(\x01\x12\x0c\n\x04nice\x18\x04 \x01(\x01\x12\x0e\n\x06iowait\x18\x05 \x01(\x01\x12\x0b\n\x03irq\x18\x06 \x01(\x01\x12\x0f\n\x07softirq\x18\x07 \x01(\x01\x12\r\n\x05steal\x18\x08 \x01(\x01\x12\r\n\x05guest\x18\t \x01(\x01\x12\x12\n\nguest_nice\x18\n \x01(\x01\"\xb3\x01\n\x06Memory\x12\r\n\x05total\x18\x01 \x01(\x04\x12\x11\n\tavailable\x18\x02 \x01(\x04\x12\x0c\n\x04used\x18\x03 \x01(\x04\x12\x14\n\x0cused_percent\x18\x04 \x01(\x01\x12\x1c\n\x14process_used_percent\x18\x05 \x01(\x01\x12\x0c\n\x04\x66ree\x18\x06 \x01(\x04\x12,\n\x06\x63group\x18\x07 \x01(\x0b\x32\x17.common.v2.CgroupMemoryH\x00\x88\x01\x01\x42\t\n\x07_cgroup\"B\n\x0c\x43groupMemory\x12\r\n\x05limit\x18\x01 \x01(\x03\x12\r\n\x05usage\x18\x02 \x01(\x04\x12\x14\n\x0cused_percent\x18\x03 \x01(\x01\"\xf2\x02\n\x07Network\x12\x1c\n\x14tcp_connection_count\x18\x01 \x01(\r\x12#\n\x1bupload_tcp_connection_count\x18\x02 \x01(\r\x12\x15\n\x08location\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03idc\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x10max_rx_bandwidth\x18\t \x01(\x04\x12\x19\n\x0crx_bandwidth\x18\n \x01(\x04H\x02\x88\x01\x01\x12\x18\n\x10max_tx_bandwidth\x18\x0b \x01(\x04\x12\x19\n\x0ctx_bandwidth\x18\x0c \x01(\x04H\x03\x88\x01\x01\x42\x0b\n\t_locationB\x06\n\x04_idcB\x0f\n\r_rx_bandwidthB\x0f\n\r_tx_bandwidthJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tR\rdownload_rateR\x13\x64ownload_rate_limitR\x0bupload_rateR\x11upload_rate_limit\"\x8c\x02\n\x04\x44isk\x12\r\n\x05total\x18\x01 \x01(\x04\x12\x0c\n\x04\x66ree\x18\x02 \x01(\x04\x12\x0c\n\x04used\x18\x03 \x01(\x04\x12\x14\n\x0cused_percent\x18\x04 \x01(\x01\x12\x14\n\x0cinodes_total\x18\x05 \x01(\x04\x12\x13\n\x0binodes_used\x18\x06 \x01(\x04\x12\x13\n\x0binodes_free\x18\x07 \x01(\x04\x12\x1b\n\x13inodes_used_percent\x18\x08 \x01(\x01\x12\x16\n\x0eread_bandwidth\x18\t \x01(\x04\x12\x17\n\x0fwrite_bandwidth\x18\n \x01(\x04\x12*\n\x06\x63group\x18\x0b \x01(\x0b\x32\x15.common.v2.CgroupDiskH\x00\x88\x01\x01\x42\t\n\x07_cgroup\"=\n\nCgroupDisk\x12\x16\n\x0eread_bandwidth\x18\x01 \x01(\x04\x12\x17\n\x0fwrite_bandwidth\x18\x02 \x01(\x04\"\xbc\x01\n\x05\x42uild\x12\x13\n\x0bgit_version\x18\x01 \x01(\t\x12\x17\n\ngit_commit\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ngo_version\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0crust_version\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x15\n\x08platform\x18\x05 \x01(\tH\x03\x88\x01\x01\x42\r\n\x0b_git_commitB\r\n\x0b_go_versionB\x0f\n\r_rust_versionB\x0b\n\t_platform\"\x8e\x0c\n\x08\x44ownload\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x05range\x18\x03 \x01(\x0b\x32\x10.common.v2.RangeH\x01\x88\x01\x01\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x10\n\x03tag\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x03\x88\x01\x01\x12%\n\x08priority\x18\x07 \x01(\x0e\x32\x13.common.v2.Priority\x12\x1d\n\x15\x66iltered_query_params\x18\x08 \x03(\t\x12>\n\x0erequest_header\x18\t \x03(\x0b\x32&.common.v2.Download.RequestHeaderEntry\x12\x19\n\x0cpiece_length\x18\n \x01(\x04H\x04\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x0b \x01(\tH\x05\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12\x1e\n\x16\x64isable_back_to_source\x18\r \x01(\x08\x12\x1b\n\x13need_back_to_source\x18\x0e \x01(\x08\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x10\n\x08prefetch\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x07\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\x08\x88\x01\x01\x12\x13\n\x0bis_prefetch\x18\x13 \x01(\x08\x12\x1a\n\x12need_piece_content\x18\x14 \x01(\x08\x12\x17\n\x0f\x66orce_hard_link\x18\x16 \x01(\x08\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x17 \x01(\tH\t\x88\x01\x01\x12\x16\n\tremote_ip\x18\x18 \x01(\tH\n\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x19 \x01(\rH\x0b\x88\x01\x01\x12\x11\n\toverwrite\x18\x1a \x01(\x08\x12 \n\x13\x61\x63tual_piece_length\x18\x1b \x01(\x04H\x0c\x88\x01\x01\x12\"\n\x15\x61\x63tual_content_length\x18\x1c \x01(\x04H\r\x88\x01\x01\x12\x1f\n\x12\x61\x63tual_piece_count\x18\x1d \x01(\x04H\x0e\x88\x01\x01\x12(\n enable_task_id_based_blob_digest\x18\x1e \x01(\x08\x12\x31\n\x0chugging_face\x18\x1f \x01(\x0b\x32\x16.common.v2.HuggingFaceH\x0f\x88\x01\x01\x12/\n\x0bmodel_scope\x18 \x01(\x0b\x32\x15.common.v2.ModelScopeH\x10\x88\x01\x01\x12\x15\n\rmetadata_only\x18! \x01(\x08\x12)\n\x08open_csg\x18\" \x01(\x0b\x32\x12.common.v2.OpenCSGH\x11\x88\x01\x01\x12\x36\n\x11scheduling_policy\x18# \x01(\x0e\x32\x1b.common.v2.SchedulingPolicy\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x08\n\x06_rangeB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\"\n _content_for_calculating_task_idB\x0c\n\n_remote_ipB\x19\n\x17_concurrent_piece_countB\x16\n\x14_actual_piece_lengthB\x18\n\x16_actual_content_lengthB\x15\n\x13_actual_piece_countB\x0f\n\r_hugging_faceB\x0e\n\x0c_model_scopeB\x0b\n\t_open_csgJ\x04\x08\x15\x10\x16R\rload_to_cache\"\xb3\x03\n\rObjectStorage\x12\x13\n\x06region\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x65ndpoint\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x1a\n\raccess_key_id\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x1e\n\x11\x61\x63\x63\x65ss_key_secret\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x1a\n\rsession_token\x18\x05 \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0f\x63redential_path\x18\x06 \x01(\tH\x05\x88\x01\x01\x12\x1b\n\x0epredefined_acl\x18\x07 \x01(\tH\x06\x88\x01\x01\x12\x1b\n\x0esecurity_token\x18\x08 \x01(\tH\x07\x88\x01\x01\x12!\n\x14insecure_skip_verify\x18\t \x01(\x08H\x08\x88\x01\x01\x42\t\n\x07_regionB\x0b\n\t_endpointB\x10\n\x0e_access_key_idB\x14\n\x12_access_key_secretB\x10\n\x0e_session_tokenB\x12\n\x10_credential_pathB\x11\n\x0f_predefined_aclB\x11\n\x0f_security_tokenB\x17\n\x15_insecure_skip_verify\":\n\x04HDFS\x12\x1d\n\x10\x64\x65legation_token\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_delegation_token\"a\n\x0bHuggingFace\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_base_url\"`\n\nModelScope\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_base_url\"]\n\x07OpenCSG\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_base_url\"&\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x04\x12\x0e\n\x06length\x18\x02 \x01(\x04\"\xac\x02\n\x05Piece\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x16\n\tparent_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x04\x12\x0e\n\x06length\x18\x04 \x01(\x04\x12\x0e\n\x06\x64igest\x18\x05 \x01(\t\x12\x14\n\x07\x63ontent\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12\x31\n\x0ctraffic_type\x18\x07 \x01(\x0e\x32\x16.common.v2.TrafficTypeH\x02\x88\x01\x01\x12\'\n\x04\x63ost\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0c\n\n_parent_idB\n\n\x08_contentB\x0f\n\r_traffic_type*7\n\tSizeScope\x12\n\n\x06NORMAL\x10\x00\x12\t\n\x05SMALL\x10\x01\x12\x08\n\x04TINY\x10\x02\x12\t\n\x05\x45MPTY\x10\x03*I\n\x08TaskType\x12\x0c\n\x08STANDARD\x10\x00\x12\x0e\n\nPERSISTENT\x10\x01\x12\x14\n\x10PERSISTENT_CACHE\x10\x02\x12\t\n\x05\x43\x41\x43HE\x10\x03*B\n\x0bTrafficType\x12\x12\n\x0e\x42\x41\x43K_TO_SOURCE\x10\x00\x12\x0f\n\x0bREMOTE_PEER\x10\x01\x12\x0e\n\nLOCAL_PEER\x10\x02*^\n\x08Priority\x12\n\n\x06LEVEL0\x10\x00\x12\n\n\x06LEVEL1\x10\x01\x12\n\n\x06LEVEL2\x10\x02\x12\n\n\x06LEVEL3\x10\x03\x12\n\n\x06LEVEL4\x10\x04\x12\n\n\x06LEVEL5\x10\x05\x12\n\n\x06LEVEL6\x10\x06*(\n\x10SchedulingPolicy\x12\x08\n\x04\x41UTO\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x62\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63ommon.proto\x12\tcommon.v2\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbe\x03\n\x04Peer\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12%\n\x08priority\x18\x03 \x01(\x0e\x32\x13.common.v2.Priority\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\'\n\x04\x63ost\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x06 \x01(\t\x12\x1d\n\x04task\x18\x07 \x01(\x0b\x32\x0f.common.v2.Task\x12\x1d\n\x04host\x18\x08 \x01(\x0b\x32\x0f.common.v2.Host\x12\x1b\n\x13need_back_to_source\x18\t \x01(\x08\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x16\x63oncurrent_piece_count\x18\x0c \x01(\rH\x01\x88\x01\x01\x42\x08\n\x06_rangeB\x19\n\x17_concurrent_piece_count\"\xc8\x03\n\tCachePeer\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12%\n\x08priority\x18\x03 \x01(\x0e\x32\x13.common.v2.Priority\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\'\n\x04\x63ost\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x06 \x01(\t\x12\"\n\x04task\x18\x07 \x01(\x0b\x32\x14.common.v2.CacheTask\x12\x1d\n\x04host\x18\x08 \x01(\x0b\x32\x0f.common.v2.Host\x12\x1b\n\x13need_back_to_source\x18\t \x01(\x08\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x16\x63oncurrent_piece_count\x18\x0c \x01(\rH\x01\x88\x01\x01\x42\x08\n\x06_rangeB\x19\n\x17_concurrent_piece_count\"\xb0\x02\n\x0ePersistentPeer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\'\n\x04\x63ost\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x04 \x01(\t\x12\'\n\x04task\x18\x05 \x01(\x0b\x32\x19.common.v2.PersistentTask\x12\x1d\n\x04host\x18\x06 \x01(\x0b\x32\x0f.common.v2.Host\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\x16\x63oncurrent_piece_count\x18\t \x01(\r\"\xba\x02\n\x13PersistentCachePeer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\'\n\x04\x63ost\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\r\n\x05state\x18\x04 \x01(\t\x12,\n\x04task\x18\x05 \x01(\x0b\x32\x1e.common.v2.PersistentCacheTask\x12\x1d\n\x04host\x18\x06 \x01(\x0b\x32\x0f.common.v2.Host\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\x16\x63oncurrent_piece_count\x18\t \x01(\r\"\xcf\x04\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x13\n\x06\x64igest\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x07 \x03(\t\x12:\n\x0erequest_header\x18\x08 \x03(\x0b\x32\".common.v2.Task.RequestHeaderEntry\x12\x16\n\x0e\x63ontent_length\x18\t \x01(\x04\x12\x13\n\x0bpiece_count\x18\n \x01(\r\x12(\n\nsize_scope\x18\x0b \x01(\x0e\x32\x14.common.v2.SizeScope\x12 \n\x06pieces\x18\x0c \x03(\x0b\x32\x10.common.v2.Piece\x12\r\n\x05state\x18\r \x01(\t\x12\x12\n\npeer_count\x18\x0e \x01(\r\x12\x1a\n\x12has_available_peer\x18\x0f \x01(\x08\x12.\n\ncreated_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x06\n\x04_tagB\x0e\n\x0c_application\"\xd9\x04\n\tCacheTask\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x13\n\x06\x64igest\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x07 \x03(\t\x12?\n\x0erequest_header\x18\x08 \x03(\x0b\x32\'.common.v2.CacheTask.RequestHeaderEntry\x12\x16\n\x0e\x63ontent_length\x18\t \x01(\x04\x12\x13\n\x0bpiece_count\x18\n \x01(\r\x12(\n\nsize_scope\x18\x0b \x01(\x0e\x32\x14.common.v2.SizeScope\x12 \n\x06pieces\x18\x0c \x03(\x0b\x32\x10.common.v2.Piece\x12\r\n\x05state\x18\r \x01(\t\x12\x12\n\npeer_count\x18\x0e \x01(\r\x12\x1a\n\x12has_available_peer\x18\x0f \x01(\x08\x12.\n\ncreated_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x06\n\x04_tagB\x0e\n\x0c_application\"\xcb\x02\n\x0ePersistentTask\x12\n\n\x02id\x18\x01 \x01(\t\x12 \n\x18persistent_replica_count\x18\x02 \x01(\x04\x12(\n current_persistent_replica_count\x18\x03 \x01(\x04\x12\x1d\n\x15\x63urrent_replica_count\x18\x04 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x05 \x01(\x04\x12\x13\n\x0bpiece_count\x18\x06 \x01(\r\x12\r\n\x05state\x18\x07 \x01(\t\x12&\n\x03ttl\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xaa\x03\n\x13PersistentCacheTask\x12\n\n\x02id\x18\x01 \x01(\t\x12 \n\x18persistent_replica_count\x18\x02 \x01(\x04\x12(\n current_persistent_replica_count\x18\x03 \x01(\x04\x12\x1d\n\x15\x63urrent_replica_count\x18\x04 \x01(\x04\x12\x10\n\x03tag\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpiece_length\x18\x07 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x08 \x01(\x04\x12\x13\n\x0bpiece_count\x18\t \x01(\r\x12\r\n\x05state\x18\n \x01(\t\x12&\n\x03ttl\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\n\x04_tagB\x0e\n\x0c_application\"\x94\x04\n\x04Host\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x10\n\x08hostname\x18\x03 \x01(\t\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x0c\n\x04port\x18\x05 \x01(\x05\x12\x15\n\rdownload_port\x18\x06 \x01(\x05\x12\n\n\x02os\x18\x07 \x01(\t\x12\x10\n\x08platform\x18\x08 \x01(\t\x12\x17\n\x0fplatform_family\x18\t \x01(\t\x12\x18\n\x10platform_version\x18\n \x01(\t\x12\x16\n\x0ekernel_version\x18\x0b \x01(\t\x12 \n\x03\x63pu\x18\x0c \x01(\x0b\x32\x0e.common.v2.CPUH\x00\x88\x01\x01\x12&\n\x06memory\x18\r \x01(\x0b\x32\x11.common.v2.MemoryH\x01\x88\x01\x01\x12(\n\x07network\x18\x0e \x01(\x0b\x32\x12.common.v2.NetworkH\x02\x88\x01\x01\x12\"\n\x04\x64isk\x18\x0f \x01(\x0b\x32\x0f.common.v2.DiskH\x03\x88\x01\x01\x12$\n\x05\x62uild\x18\x10 \x01(\x0b\x32\x10.common.v2.BuildH\x04\x88\x01\x01\x12\x1c\n\x14scheduler_cluster_id\x18\x11 \x01(\x04\x12\x16\n\x0e\x64isable_shared\x18\x12 \x01(\x08\x12\x12\n\nproxy_port\x18\x13 \x01(\x05\x12\x0c\n\x04name\x18\x14 \x01(\tB\x06\n\x04_cpuB\t\n\x07_memoryB\n\n\x08_networkB\x07\n\x05_diskB\x08\n\x06_build\"\xc7\x01\n\x03\x43PU\x12\x15\n\rlogical_count\x18\x01 \x01(\r\x12\x16\n\x0ephysical_count\x18\x02 \x01(\r\x12\x0f\n\x07percent\x18\x03 \x01(\x01\x12\x17\n\x0fprocess_percent\x18\x04 \x01(\x01\x12\'\n\x05times\x18\x05 \x01(\x0b\x32\x13.common.v2.CPUTimesH\x00\x88\x01\x01\x12)\n\x06\x63group\x18\x06 \x01(\x0b\x32\x14.common.v2.CgroupCPUH\x01\x88\x01\x01\x42\x08\n\x06_timesB\t\n\x07_cgroup\"@\n\tCgroupCPU\x12\x0e\n\x06period\x18\x01 \x01(\x04\x12\r\n\x05quota\x18\x02 \x01(\x03\x12\x14\n\x0cused_percent\x18\x03 \x01(\x01\"\xa4\x01\n\x08\x43PUTimes\x12\x0c\n\x04user\x18\x01 \x01(\x01\x12\x0e\n\x06system\x18\x02 \x01(\x01\x12\x0c\n\x04idle\x18\x03 \x01(\x01\x12\x0c\n\x04nice\x18\x04 \x01(\x01\x12\x0e\n\x06iowait\x18\x05 \x01(\x01\x12\x0b\n\x03irq\x18\x06 \x01(\x01\x12\x0f\n\x07softirq\x18\x07 \x01(\x01\x12\r\n\x05steal\x18\x08 \x01(\x01\x12\r\n\x05guest\x18\t \x01(\x01\x12\x12\n\nguest_nice\x18\n \x01(\x01\"\xb3\x01\n\x06Memory\x12\r\n\x05total\x18\x01 \x01(\x04\x12\x11\n\tavailable\x18\x02 \x01(\x04\x12\x0c\n\x04used\x18\x03 \x01(\x04\x12\x14\n\x0cused_percent\x18\x04 \x01(\x01\x12\x1c\n\x14process_used_percent\x18\x05 \x01(\x01\x12\x0c\n\x04\x66ree\x18\x06 \x01(\x04\x12,\n\x06\x63group\x18\x07 \x01(\x0b\x32\x17.common.v2.CgroupMemoryH\x00\x88\x01\x01\x42\t\n\x07_cgroup\"B\n\x0c\x43groupMemory\x12\r\n\x05limit\x18\x01 \x01(\x03\x12\r\n\x05usage\x18\x02 \x01(\x04\x12\x14\n\x0cused_percent\x18\x03 \x01(\x01\"\xf2\x02\n\x07Network\x12\x1c\n\x14tcp_connection_count\x18\x01 \x01(\r\x12#\n\x1bupload_tcp_connection_count\x18\x02 \x01(\r\x12\x15\n\x08location\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03idc\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x10max_rx_bandwidth\x18\t \x01(\x04\x12\x19\n\x0crx_bandwidth\x18\n \x01(\x04H\x02\x88\x01\x01\x12\x18\n\x10max_tx_bandwidth\x18\x0b \x01(\x04\x12\x19\n\x0ctx_bandwidth\x18\x0c \x01(\x04H\x03\x88\x01\x01\x42\x0b\n\t_locationB\x06\n\x04_idcB\x0f\n\r_rx_bandwidthB\x0f\n\r_tx_bandwidthJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tR\rdownload_rateR\x13\x64ownload_rate_limitR\x0bupload_rateR\x11upload_rate_limit\"\x8c\x02\n\x04\x44isk\x12\r\n\x05total\x18\x01 \x01(\x04\x12\x0c\n\x04\x66ree\x18\x02 \x01(\x04\x12\x0c\n\x04used\x18\x03 \x01(\x04\x12\x14\n\x0cused_percent\x18\x04 \x01(\x01\x12\x14\n\x0cinodes_total\x18\x05 \x01(\x04\x12\x13\n\x0binodes_used\x18\x06 \x01(\x04\x12\x13\n\x0binodes_free\x18\x07 \x01(\x04\x12\x1b\n\x13inodes_used_percent\x18\x08 \x01(\x01\x12\x16\n\x0eread_bandwidth\x18\t \x01(\x04\x12\x17\n\x0fwrite_bandwidth\x18\n \x01(\x04\x12*\n\x06\x63group\x18\x0b \x01(\x0b\x32\x15.common.v2.CgroupDiskH\x00\x88\x01\x01\x42\t\n\x07_cgroup\"=\n\nCgroupDisk\x12\x16\n\x0eread_bandwidth\x18\x01 \x01(\x04\x12\x17\n\x0fwrite_bandwidth\x18\x02 \x01(\x04\"\xbc\x01\n\x05\x42uild\x12\x13\n\x0bgit_version\x18\x01 \x01(\t\x12\x17\n\ngit_commit\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ngo_version\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0crust_version\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x15\n\x08platform\x18\x05 \x01(\tH\x03\x88\x01\x01\x42\r\n\x0b_git_commitB\r\n\x0b_go_versionB\x0f\n\r_rust_versionB\x0b\n\t_platform\"\xbe\x0c\n\x08\x44ownload\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x05range\x18\x03 \x01(\x0b\x32\x10.common.v2.RangeH\x01\x88\x01\x01\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x10\n\x03tag\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x03\x88\x01\x01\x12%\n\x08priority\x18\x07 \x01(\x0e\x32\x13.common.v2.Priority\x12\x1d\n\x15\x66iltered_query_params\x18\x08 \x03(\t\x12>\n\x0erequest_header\x18\t \x03(\x0b\x32&.common.v2.Download.RequestHeaderEntry\x12\x19\n\x0cpiece_length\x18\n \x01(\x04H\x04\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x0b \x01(\tH\x05\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12\x1e\n\x16\x64isable_back_to_source\x18\r \x01(\x08\x12\x1b\n\x13need_back_to_source\x18\x0e \x01(\x08\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x10\n\x08prefetch\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x07\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\x08\x88\x01\x01\x12\x13\n\x0bis_prefetch\x18\x13 \x01(\x08\x12\x1a\n\x12need_piece_content\x18\x14 \x01(\x08\x12\x17\n\x0f\x66orce_hard_link\x18\x16 \x01(\x08\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x17 \x01(\tH\t\x88\x01\x01\x12\x16\n\tremote_ip\x18\x18 \x01(\tH\n\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x19 \x01(\rH\x0b\x88\x01\x01\x12\x11\n\toverwrite\x18\x1a \x01(\x08\x12 \n\x13\x61\x63tual_piece_length\x18\x1b \x01(\x04H\x0c\x88\x01\x01\x12\"\n\x15\x61\x63tual_content_length\x18\x1c \x01(\x04H\r\x88\x01\x01\x12\x1f\n\x12\x61\x63tual_piece_count\x18\x1d \x01(\x04H\x0e\x88\x01\x01\x12(\n enable_task_id_based_blob_digest\x18\x1e \x01(\x08\x12\x31\n\x0chugging_face\x18\x1f \x01(\x0b\x32\x16.common.v2.HuggingFaceH\x0f\x88\x01\x01\x12/\n\x0bmodel_scope\x18 \x01(\x0b\x32\x15.common.v2.ModelScopeH\x10\x88\x01\x01\x12\x15\n\rmetadata_only\x18! \x01(\x08\x12)\n\x08open_csg\x18\" \x01(\x0b\x32\x12.common.v2.OpenCSGH\x11\x88\x01\x01\x12\x36\n\x11scheduling_policy\x18# \x01(\x0e\x32\x1b.common.v2.SchedulingPolicy\x12$\n\x05image\x18$ \x01(\x0b\x32\x10.common.v2.ImageH\x12\x88\x01\x01\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x08\n\x06_rangeB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\"\n _content_for_calculating_task_idB\x0c\n\n_remote_ipB\x19\n\x17_concurrent_piece_countB\x16\n\x14_actual_piece_lengthB\x18\n\x16_actual_content_lengthB\x15\n\x13_actual_piece_countB\x0f\n\r_hugging_faceB\x0e\n\x0c_model_scopeB\x0b\n\t_open_csgB\x08\n\x06_imageJ\x04\x08\x15\x10\x16R\rload_to_cache\"\xb3\x03\n\rObjectStorage\x12\x13\n\x06region\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x65ndpoint\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x1a\n\raccess_key_id\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x1e\n\x11\x61\x63\x63\x65ss_key_secret\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x1a\n\rsession_token\x18\x05 \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0f\x63redential_path\x18\x06 \x01(\tH\x05\x88\x01\x01\x12\x1b\n\x0epredefined_acl\x18\x07 \x01(\tH\x06\x88\x01\x01\x12\x1b\n\x0esecurity_token\x18\x08 \x01(\tH\x07\x88\x01\x01\x12!\n\x14insecure_skip_verify\x18\t \x01(\x08H\x08\x88\x01\x01\x42\t\n\x07_regionB\x0b\n\t_endpointB\x10\n\x0e_access_key_idB\x14\n\x12_access_key_secretB\x10\n\x0e_session_tokenB\x12\n\x10_credential_pathB\x11\n\x0f_predefined_aclB\x11\n\x0f_security_tokenB\x17\n\x15_insecure_skip_verify\":\n\x04HDFS\x12\x1d\n\x10\x64\x65legation_token\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_delegation_token\"a\n\x0bHuggingFace\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_base_url\"`\n\nModelScope\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_base_url\"]\n\x07OpenCSG\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_base_url\",\n\x05Image\x12\x11\n\treference\x18\x01 \x01(\t\x12\x10\n\x08platform\x18\x02 \x01(\t\"&\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x04\x12\x0e\n\x06length\x18\x02 \x01(\x04\"\xac\x02\n\x05Piece\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x16\n\tparent_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x04\x12\x0e\n\x06length\x18\x04 \x01(\x04\x12\x0e\n\x06\x64igest\x18\x05 \x01(\t\x12\x14\n\x07\x63ontent\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12\x31\n\x0ctraffic_type\x18\x07 \x01(\x0e\x32\x16.common.v2.TrafficTypeH\x02\x88\x01\x01\x12\'\n\x04\x63ost\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0c\n\n_parent_idB\n\n\x08_contentB\x0f\n\r_traffic_type*7\n\tSizeScope\x12\n\n\x06NORMAL\x10\x00\x12\t\n\x05SMALL\x10\x01\x12\x08\n\x04TINY\x10\x02\x12\t\n\x05\x45MPTY\x10\x03*I\n\x08TaskType\x12\x0c\n\x08STANDARD\x10\x00\x12\x0e\n\nPERSISTENT\x10\x01\x12\x14\n\x10PERSISTENT_CACHE\x10\x02\x12\t\n\x05\x43\x41\x43HE\x10\x03*B\n\x0bTrafficType\x12\x12\n\x0e\x42\x41\x43K_TO_SOURCE\x10\x00\x12\x0f\n\x0bREMOTE_PEER\x10\x01\x12\x0e\n\nLOCAL_PEER\x10\x02*^\n\x08Priority\x12\n\n\x06LEVEL0\x10\x00\x12\n\n\x06LEVEL1\x10\x01\x12\n\n\x06LEVEL2\x10\x02\x12\n\n\x06LEVEL3\x10\x03\x12\n\n\x06LEVEL4\x10\x04\x12\n\n\x06LEVEL5\x10\x05\x12\n\n\x06LEVEL6\x10\x06*(\n\x10SchedulingPolicy\x12\x08\n\x04\x41UTO\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x62\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -39,16 +39,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
39
39
  _globals['_CACHETASK_REQUESTHEADERENTRY']._serialized_options = b'8\001'
40
40
  _globals['_DOWNLOAD_REQUESTHEADERENTRY']._loaded_options = None
41
41
  _globals['_DOWNLOAD_REQUESTHEADERENTRY']._serialized_options = b'8\001'
42
- _globals['_SIZESCOPE']._serialized_start=8389
43
- _globals['_SIZESCOPE']._serialized_end=8444
44
- _globals['_TASKTYPE']._serialized_start=8446
45
- _globals['_TASKTYPE']._serialized_end=8519
46
- _globals['_TRAFFICTYPE']._serialized_start=8521
47
- _globals['_TRAFFICTYPE']._serialized_end=8587
48
- _globals['_PRIORITY']._serialized_start=8589
49
- _globals['_PRIORITY']._serialized_end=8683
50
- _globals['_SCHEDULINGPOLICY']._serialized_start=8685
51
- _globals['_SCHEDULINGPOLICY']._serialized_end=8725
42
+ _globals['_SIZESCOPE']._serialized_start=8483
43
+ _globals['_SIZESCOPE']._serialized_end=8538
44
+ _globals['_TASKTYPE']._serialized_start=8540
45
+ _globals['_TASKTYPE']._serialized_end=8613
46
+ _globals['_TRAFFICTYPE']._serialized_start=8615
47
+ _globals['_TRAFFICTYPE']._serialized_end=8681
48
+ _globals['_PRIORITY']._serialized_start=8683
49
+ _globals['_PRIORITY']._serialized_end=8777
50
+ _globals['_SCHEDULINGPOLICY']._serialized_start=8779
51
+ _globals['_SCHEDULINGPOLICY']._serialized_end=8819
52
52
  _globals['_PEER']._serialized_start=93
53
53
  _globals['_PEER']._serialized_end=539
54
54
  _globals['_CACHEPEER']._serialized_start=542
@@ -90,21 +90,23 @@ if not _descriptor._USE_C_DESCRIPTORS:
90
90
  _globals['_BUILD']._serialized_start=5513
91
91
  _globals['_BUILD']._serialized_end=5701
92
92
  _globals['_DOWNLOAD']._serialized_start=5704
93
- _globals['_DOWNLOAD']._serialized_end=7254
93
+ _globals['_DOWNLOAD']._serialized_end=7302
94
94
  _globals['_DOWNLOAD_REQUESTHEADERENTRY']._serialized_start=2129
95
95
  _globals['_DOWNLOAD_REQUESTHEADERENTRY']._serialized_end=2181
96
- _globals['_OBJECTSTORAGE']._serialized_start=7257
97
- _globals['_OBJECTSTORAGE']._serialized_end=7692
98
- _globals['_HDFS']._serialized_start=7694
99
- _globals['_HDFS']._serialized_end=7752
100
- _globals['_HUGGINGFACE']._serialized_start=7754
101
- _globals['_HUGGINGFACE']._serialized_end=7851
102
- _globals['_MODELSCOPE']._serialized_start=7853
103
- _globals['_MODELSCOPE']._serialized_end=7949
104
- _globals['_OPENCSG']._serialized_start=7951
105
- _globals['_OPENCSG']._serialized_end=8044
106
- _globals['_RANGE']._serialized_start=8046
107
- _globals['_RANGE']._serialized_end=8084
108
- _globals['_PIECE']._serialized_start=8087
109
- _globals['_PIECE']._serialized_end=8387
96
+ _globals['_OBJECTSTORAGE']._serialized_start=7305
97
+ _globals['_OBJECTSTORAGE']._serialized_end=7740
98
+ _globals['_HDFS']._serialized_start=7742
99
+ _globals['_HDFS']._serialized_end=7800
100
+ _globals['_HUGGINGFACE']._serialized_start=7802
101
+ _globals['_HUGGINGFACE']._serialized_end=7899
102
+ _globals['_MODELSCOPE']._serialized_start=7901
103
+ _globals['_MODELSCOPE']._serialized_end=7997
104
+ _globals['_OPENCSG']._serialized_start=7999
105
+ _globals['_OPENCSG']._serialized_end=8092
106
+ _globals['_IMAGE']._serialized_start=8094
107
+ _globals['_IMAGE']._serialized_end=8138
108
+ _globals['_RANGE']._serialized_start=8140
109
+ _globals['_RANGE']._serialized_end=8178
110
+ _globals['_PIECE']._serialized_start=8181
111
+ _globals['_PIECE']._serialized_end=8481
110
112
  # @@protoc_insertion_point(module_scope)
@@ -501,7 +501,7 @@ class Build(_message.Message):
501
501
  def __init__(self, git_version: _Optional[str] = ..., git_commit: _Optional[str] = ..., go_version: _Optional[str] = ..., rust_version: _Optional[str] = ..., platform: _Optional[str] = ...) -> None: ...
502
502
 
503
503
  class Download(_message.Message):
504
- __slots__ = ("url", "digest", "range", "type", "tag", "application", "priority", "filtered_query_params", "request_header", "piece_length", "output_path", "timeout", "disable_back_to_source", "need_back_to_source", "certificate_chain", "prefetch", "object_storage", "hdfs", "is_prefetch", "need_piece_content", "force_hard_link", "content_for_calculating_task_id", "remote_ip", "concurrent_piece_count", "overwrite", "actual_piece_length", "actual_content_length", "actual_piece_count", "enable_task_id_based_blob_digest", "hugging_face", "model_scope", "metadata_only", "open_csg", "scheduling_policy")
504
+ __slots__ = ("url", "digest", "range", "type", "tag", "application", "priority", "filtered_query_params", "request_header", "piece_length", "output_path", "timeout", "disable_back_to_source", "need_back_to_source", "certificate_chain", "prefetch", "object_storage", "hdfs", "is_prefetch", "need_piece_content", "force_hard_link", "content_for_calculating_task_id", "remote_ip", "concurrent_piece_count", "overwrite", "actual_piece_length", "actual_content_length", "actual_piece_count", "enable_task_id_based_blob_digest", "hugging_face", "model_scope", "metadata_only", "open_csg", "scheduling_policy", "image")
505
505
  class RequestHeaderEntry(_message.Message):
506
506
  __slots__ = ("key", "value")
507
507
  KEY_FIELD_NUMBER: _ClassVar[int]
@@ -543,6 +543,7 @@ class Download(_message.Message):
543
543
  METADATA_ONLY_FIELD_NUMBER: _ClassVar[int]
544
544
  OPEN_CSG_FIELD_NUMBER: _ClassVar[int]
545
545
  SCHEDULING_POLICY_FIELD_NUMBER: _ClassVar[int]
546
+ IMAGE_FIELD_NUMBER: _ClassVar[int]
546
547
  url: str
547
548
  digest: str
548
549
  range: Range
@@ -577,7 +578,8 @@ class Download(_message.Message):
577
578
  metadata_only: bool
578
579
  open_csg: OpenCSG
579
580
  scheduling_policy: SchedulingPolicy
580
- def __init__(self, url: _Optional[str] = ..., digest: _Optional[str] = ..., range: _Optional[_Union[Range, _Mapping]] = ..., type: _Optional[_Union[TaskType, str]] = ..., tag: _Optional[str] = ..., application: _Optional[str] = ..., priority: _Optional[_Union[Priority, str]] = ..., filtered_query_params: _Optional[_Iterable[str]] = ..., request_header: _Optional[_Mapping[str, str]] = ..., piece_length: _Optional[int] = ..., output_path: _Optional[str] = ..., timeout: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., disable_back_to_source: bool = ..., need_back_to_source: bool = ..., certificate_chain: _Optional[_Iterable[bytes]] = ..., prefetch: bool = ..., object_storage: _Optional[_Union[ObjectStorage, _Mapping]] = ..., hdfs: _Optional[_Union[HDFS, _Mapping]] = ..., is_prefetch: bool = ..., need_piece_content: bool = ..., force_hard_link: bool = ..., content_for_calculating_task_id: _Optional[str] = ..., remote_ip: _Optional[str] = ..., concurrent_piece_count: _Optional[int] = ..., overwrite: bool = ..., actual_piece_length: _Optional[int] = ..., actual_content_length: _Optional[int] = ..., actual_piece_count: _Optional[int] = ..., enable_task_id_based_blob_digest: bool = ..., hugging_face: _Optional[_Union[HuggingFace, _Mapping]] = ..., model_scope: _Optional[_Union[ModelScope, _Mapping]] = ..., metadata_only: bool = ..., open_csg: _Optional[_Union[OpenCSG, _Mapping]] = ..., scheduling_policy: _Optional[_Union[SchedulingPolicy, str]] = ...) -> None: ...
581
+ image: Image
582
+ def __init__(self, url: _Optional[str] = ..., digest: _Optional[str] = ..., range: _Optional[_Union[Range, _Mapping]] = ..., type: _Optional[_Union[TaskType, str]] = ..., tag: _Optional[str] = ..., application: _Optional[str] = ..., priority: _Optional[_Union[Priority, str]] = ..., filtered_query_params: _Optional[_Iterable[str]] = ..., request_header: _Optional[_Mapping[str, str]] = ..., piece_length: _Optional[int] = ..., output_path: _Optional[str] = ..., timeout: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., disable_back_to_source: bool = ..., need_back_to_source: bool = ..., certificate_chain: _Optional[_Iterable[bytes]] = ..., prefetch: bool = ..., object_storage: _Optional[_Union[ObjectStorage, _Mapping]] = ..., hdfs: _Optional[_Union[HDFS, _Mapping]] = ..., is_prefetch: bool = ..., need_piece_content: bool = ..., force_hard_link: bool = ..., content_for_calculating_task_id: _Optional[str] = ..., remote_ip: _Optional[str] = ..., concurrent_piece_count: _Optional[int] = ..., overwrite: bool = ..., actual_piece_length: _Optional[int] = ..., actual_content_length: _Optional[int] = ..., actual_piece_count: _Optional[int] = ..., enable_task_id_based_blob_digest: bool = ..., hugging_face: _Optional[_Union[HuggingFace, _Mapping]] = ..., model_scope: _Optional[_Union[ModelScope, _Mapping]] = ..., metadata_only: bool = ..., open_csg: _Optional[_Union[OpenCSG, _Mapping]] = ..., scheduling_policy: _Optional[_Union[SchedulingPolicy, str]] = ..., image: _Optional[_Union[Image, _Mapping]] = ...) -> None: ...
581
583
 
582
584
  class ObjectStorage(_message.Message):
583
585
  __slots__ = ("region", "endpoint", "access_key_id", "access_key_secret", "session_token", "credential_path", "predefined_acl", "security_token", "insecure_skip_verify")
@@ -637,6 +639,14 @@ class OpenCSG(_message.Message):
637
639
  base_url: str
638
640
  def __init__(self, token: _Optional[str] = ..., revision: _Optional[str] = ..., base_url: _Optional[str] = ...) -> None: ...
639
641
 
642
+ class Image(_message.Message):
643
+ __slots__ = ("reference", "platform")
644
+ REFERENCE_FIELD_NUMBER: _ClassVar[int]
645
+ PLATFORM_FIELD_NUMBER: _ClassVar[int]
646
+ reference: str
647
+ platform: str
648
+ def __init__(self, reference: _Optional[str] = ..., platform: _Optional[str] = ...) -> None: ...
649
+
640
650
  class Range(_message.Message):
641
651
  __slots__ = ("start", "length")
642
652
  START_FIELD_NUMBER: _ClassVar[int]
@@ -0,0 +1,176 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: dfdaemon.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'dfdaemon.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from . import common_pb2 as common__pb2
26
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
27
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
28
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
29
+
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x64\x66\x64\x61\x65mon.proto\x12\x0b\x64\x66\x64\x61\x65mon.v2\x1a\x0c\x63ommon.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"<\n\x13\x44ownloadTaskRequest\x12%\n\x08\x64ownload\x18\x01 \x01(\x0b\x32\x13.common.v2.Download\"\xaa\x02\n\x1b\x44ownloadTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12U\n\x0fresponse_header\x18\x03 \x03(\x0b\x32<.dfdaemon.v2.DownloadTaskStartedResponse.ResponseHeaderEntry\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\x13\n\x0bis_finished\x18\x05 \x01(\x08\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06_range\"@\n\x1d\x44ownloadPieceFinishedResponse\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\"\x81\x02\n\x14\x44ownloadTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12R\n\x1e\x64ownload_task_started_response\x18\x04 \x01(\x0b\x32(.dfdaemon.v2.DownloadTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"W\n\x11SyncPiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12 \n\x18interested_piece_numbers\x18\x03 \x03(\r\"\x9a\x01\n\x12SyncPiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x15\n\x08tcp_port\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tquic_port\x18\x06 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_tcp_portB\x0c\n\n_quic_port\"Z\n\x0fStatTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ipJ\x04\x08\x03\x10\x04R\nlocal_only\"M\n\x14StatLocalTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xef\x04\n\x15StatLocalTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x1b\n\x0e\x63ontent_length\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12O\n\x0fresponse_header\x18\x04 \x03(\x0b\x32\x36.dfdaemon.v2.StatLocalTaskResponse.ResponseHeaderEntry\x12\x17\n\x0fuploading_count\x18\x05 \x01(\x04\x12\x16\n\x0euploaded_count\x18\x06 \x01(\x04\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\rprefetched_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x32\n\tfailed_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x34\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x11\n\x0f_content_lengthB\x10\n\x0e_prefetched_atB\x0c\n\n_failed_atB\x0e\n\x0c_finished_at\"=\n\x15ListLocalTasksRequest\x12\x16\n\tremote_ip\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"K\n\x16ListLocalTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".dfdaemon.v2.StatLocalTaskResponse\"\xee\x04\n\x16ListTaskEntriesRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12N\n\x0erequest_header\x18\x03 \x03(\x0b\x32\x36.dfdaemon.v2.ListTaskEntriesRequest.RequestHeaderEntry\x12/\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x19\n\x11\x63\x65rtificate_chain\x18\x05 \x03(\x0c\x12\x35\n\x0eobject_storage\x18\x06 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x01\x88\x01\x01\x12\"\n\x04hdfs\x18\x07 \x01(\x0b\x32\x0f.common.v2.HDFSH\x02\x88\x01\x01\x12\x16\n\tremote_ip\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x31\n\x0chugging_face\x18\t \x01(\x0b\x32\x16.common.v2.HuggingFaceH\x04\x88\x01\x01\x12/\n\x0bmodel_scope\x18\n \x01(\x0b\x32\x15.common.v2.ModelScopeH\x05\x88\x01\x01\x12)\n\x08open_csg\x18\x0b \x01(\x0b\x32\x12.common.v2.OpenCSGH\x06\x88\x01\x01\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\x0c\n\n_remote_ipB\x0f\n\r_hugging_faceB\x0e\n\x0c_model_scopeB\x0b\n\t_open_csg\"\x8a\x02\n\x17ListTaskEntriesResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\x12Q\n\x0fresponse_header\x18\x02 \x03(\x0b\x32\x38.dfdaemon.v2.ListTaskEntriesResponse.ResponseHeaderEntry\x12\x18\n\x0bstatus_code\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12#\n\x07\x65ntries\x18\x04 \x03(\x0b\x32\x12.dfdaemon.v2.Entry\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_status_code\"<\n\x05\x45ntry\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x16\n\x0e\x63ontent_length\x18\x02 \x01(\x04\x12\x0e\n\x06is_dir\x18\x03 \x01(\x08\"J\n\x11\x44\x65leteTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"O\n\x16\x44\x65leteLocalTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"[\n\x12\x44\x65leteImageRequest\x12\x1f\n\x05image\x18\x01 \x01(\x0b\x32\x10.common.v2.Image\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"J\n\x13\x44\x65leteImageResponse\x12\x18\n\x10\x64\x65leted_task_ids\x18\x01 \x03(\t\x12\x19\n\x11retained_task_ids\x18\x02 \x03(\t\"\xdc\x07\n\x18\x44ownloadCacheTaskRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x05range\x18\x03 \x01(\x0b\x32\x10.common.v2.RangeH\x01\x88\x01\x01\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x10\n\x03tag\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x03\x88\x01\x01\x12%\n\x08priority\x18\x07 \x01(\x0e\x32\x13.common.v2.Priority\x12\x1d\n\x15\x66iltered_query_params\x18\x08 \x03(\t\x12P\n\x0erequest_header\x18\t \x03(\x0b\x32\x38.dfdaemon.v2.DownloadCacheTaskRequest.RequestHeaderEntry\x12\x19\n\x0cpiece_length\x18\n \x01(\x04H\x04\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x0b \x01(\tH\x05\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12\x1e\n\x16\x64isable_back_to_source\x18\r \x01(\x08\x12\x1b\n\x13need_back_to_source\x18\x0e \x01(\x08\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x10\n\x08prefetch\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x07\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\x08\x88\x01\x01\x12\x13\n\x0bis_prefetch\x18\x13 \x01(\x08\x12\x1a\n\x12need_piece_content\x18\x14 \x01(\x08\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x15 \x01(\tH\t\x88\x01\x01\x12\x16\n\tremote_ip\x18\x16 \x01(\tH\n\x88\x01\x01\x12\x11\n\toverwrite\x18\x17 \x01(\x08\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x08\n\x06_rangeB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\"\n _content_for_calculating_task_idB\x0c\n\n_remote_ip\"\xb4\x02\n DownloadCacheTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12Z\n\x0fresponse_header\x18\x03 \x03(\x0b\x32\x41.dfdaemon.v2.DownloadCacheTaskStartedResponse.ResponseHeaderEntry\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\x13\n\x0bis_finished\x18\x05 \x01(\x08\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06_range\"\x91\x02\n\x19\x44ownloadCacheTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12]\n$download_cache_task_started_response\x18\x04 \x01(\x0b\x32-.dfdaemon.v2.DownloadCacheTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"b\n\x16SyncCachePiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12&\n\x1einterested_cache_piece_numbers\x18\x03 \x03(\r\"I\n\x17SyncCachePiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\"S\n\x19\x44ownloadCachePieceRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x14\n\x0cpiece_number\x18\x03 \x01(\r\"]\n\x1a\x44ownloadCachePieceResponse\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_digest\"M\n\x14StatCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"O\n\x16\x44\x65leteCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xe7\x02\n\x1d\x44ownloadPersistentTaskRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x30\n\x0eobject_storage\x18\x02 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12\x12\n\npersistent\x18\x03 \x01(\x08\x12\x18\n\x0boutput_path\x18\x04 \x01(\tH\x00\x88\x01\x01\x12/\n\x07timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12\x1a\n\x12need_piece_content\x18\x06 \x01(\x08\x12\x17\n\x0f\x66orce_hard_link\x18\x07 \x01(\x08\x12\x13\n\x06\x64igest\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tremote_ip\x18\t \x01(\tH\x03\x88\x01\x01\x12\x11\n\toverwrite\x18\n \x01(\x08\x42\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\t\n\x07_digestB\x0c\n\n_remote_ip\"?\n%DownloadPersistentTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\"\xa0\x02\n\x1e\x44ownloadPersistentTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12g\n)download_persistent_task_started_response\x18\x04 \x01(\x0b\x32\x32.dfdaemon.v2.DownloadPersistentTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"\x97\x02\n\x1bUploadPersistentTaskRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x30\n\x0eobject_storage\x18\x02 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12\x0c\n\x04path\x18\x03 \x01(\t\x12 \n\x18persistent_replica_count\x18\x04 \x01(\x04\x12&\n\x03ttl\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x16\n\tremote_ip\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_timeoutB\x0c\n\n_remote_ip\"h\n\x1bUpdatePersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\x16\n\tremote_ip\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"R\n\x19StatPersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"W\n\x1eStatLocalPersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xe3\x03\n\x1fStatLocalPersistentTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x0cpiece_length\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x1b\n\x0e\x63ontent_length\x18\x05 \x01(\x04H\x01\x88\x01\x01\x12\x17\n\x0fuploading_count\x18\x06 \x01(\x04\x12\x16\n\x0euploaded_count\x18\x07 \x01(\x04\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\tfailed_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x34\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x42\x0f\n\r_piece_lengthB\x11\n\x0f_content_lengthB\x0c\n\n_failed_atB\x0e\n\x0c_finished_at\"G\n\x1fListLocalPersistentTasksRequest\x12\x16\n\tremote_ip\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"_\n ListLocalPersistentTasksResponse\x12;\n\x05tasks\x18\x01 \x03(\x0b\x32,.dfdaemon.v2.StatLocalPersistentTaskResponse\"T\n\x1b\x44\x65letePersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"a\n\x1bSyncPersistentPiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12 \n\x18interested_piece_numbers\x18\x03 \x03(\r\"\xa4\x01\n\x1cSyncPersistentPiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x15\n\x08tcp_port\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tquic_port\x18\x06 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_tcp_portB\x0c\n\n_quic_port\"\x82\x03\n\"DownloadPersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\x10\n\x03tag\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x05 \x01(\tH\x02\x88\x01\x01\x12/\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12\x1a\n\x12need_piece_content\x18\x07 \x01(\x08\x12\x17\n\x0f\x66orce_hard_link\x18\x08 \x01(\x08\x12\x13\n\x06\x64igest\x18\t \x01(\tH\x04\x88\x01\x01\x12\x16\n\tremote_ip\x18\n \x01(\tH\x05\x88\x01\x01\x12\x11\n\toverwrite\x18\x0b \x01(\x08\x42\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\t\n\x07_digestB\x0c\n\n_remote_ip\"D\n*DownloadPersistentCacheTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\"\xb0\x02\n#DownloadPersistentCacheTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12r\n/download_persistent_cache_task_started_response\x18\x04 \x01(\x0b\x32\x37.dfdaemon.v2.DownloadPersistentCacheTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"\x9f\x03\n UploadPersistentCacheTaskRequest\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x0c\n\x04path\x18\x02 \x01(\t\x12 \n\x18persistent_replica_count\x18\x03 \x01(\x04\x12\x10\n\x03tag\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0cpiece_length\x18\x06 \x01(\x04H\x03\x88\x01\x01\x12&\n\x03ttl\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x16\n\tremote_ip\x18\t \x01(\tH\x05\x88\x01\x01\x42\"\n _content_for_calculating_task_idB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\n\n\x08_timeoutB\x0c\n\n_remote_ip\"m\n UpdatePersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\x16\n\tremote_ip\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"W\n\x1eStatPersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\\\n#StatLocalPersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xe8\x03\n$StatLocalPersistentCacheTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x0cpiece_length\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x1b\n\x0e\x63ontent_length\x18\x05 \x01(\x04H\x01\x88\x01\x01\x12\x17\n\x0fuploading_count\x18\x06 \x01(\x04\x12\x16\n\x0euploaded_count\x18\x07 \x01(\x04\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\tfailed_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x34\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x42\x0f\n\r_piece_lengthB\x11\n\x0f_content_lengthB\x0c\n\n_failed_atB\x0e\n\x0c_finished_at\"L\n$ListLocalPersistentCacheTasksRequest\x12\x16\n\tremote_ip\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"i\n%ListLocalPersistentCacheTasksResponse\x12@\n\x05tasks\x18\x01 \x03(\x0b\x32\x31.dfdaemon.v2.StatLocalPersistentCacheTaskResponse\"Y\n DeletePersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"f\n SyncPersistentCachePiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12 \n\x18interested_piece_numbers\x18\x03 \x03(\r\"\xa9\x01\n!SyncPersistentCachePiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x15\n\x08tcp_port\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tquic_port\x18\x06 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_tcp_portB\x0c\n\n_quic_port\"3\n\x0fSyncHostRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07peer_id\x18\x02 \x01(\t\"A\n\x18IBVerbsQueuePairEndpoint\x12\x0b\n\x03num\x18\x01 \x01(\r\x12\x0b\n\x03lid\x18\x02 \x01(\r\x12\x0b\n\x03gid\x18\x03 \x01(\x0c\x32\xe9\x10\n\x0e\x44\x66\x64\x61\x65monUpload\x12U\n\x0c\x44ownloadTask\x12 .dfdaemon.v2.DownloadTaskRequest\x1a!.dfdaemon.v2.DownloadTaskResponse0\x01\x12\x39\n\x08StatTask\x12\x1c.dfdaemon.v2.StatTaskRequest\x1a\x0f.common.v2.Task\x12V\n\rStatLocalTask\x12!.dfdaemon.v2.StatLocalTaskRequest\x1a\".dfdaemon.v2.StatLocalTaskResponse\x12\\\n\x0fListTaskEntries\x12#.dfdaemon.v2.ListTaskEntriesRequest\x1a$.dfdaemon.v2.ListTaskEntriesResponse\x12\x44\n\nDeleteTask\x12\x1e.dfdaemon.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\x12P\n\x0b\x44\x65leteImage\x12\x1f.dfdaemon.v2.DeleteImageRequest\x1a .dfdaemon.v2.DeleteImageResponse\x12O\n\nSyncPieces\x12\x1e.dfdaemon.v2.SyncPiecesRequest\x1a\x1f.dfdaemon.v2.SyncPiecesResponse0\x01\x12\x64\n\x11\x44ownloadCacheTask\x12%.dfdaemon.v2.DownloadCacheTaskRequest\x1a&.dfdaemon.v2.DownloadCacheTaskResponse0\x01\x12H\n\rStatCacheTask\x12!.dfdaemon.v2.StatCacheTaskRequest\x1a\x14.common.v2.CacheTask\x12N\n\x0f\x44\x65leteCacheTask\x12#.dfdaemon.v2.DeleteCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12^\n\x0fSyncCachePieces\x12#.dfdaemon.v2.SyncCachePiecesRequest\x1a$.dfdaemon.v2.SyncCachePiecesResponse0\x01\x12\x65\n\x12\x44ownloadCachePiece\x12&.dfdaemon.v2.DownloadCachePieceRequest\x1a\'.dfdaemon.v2.DownloadCachePieceResponse\x12s\n\x16\x44ownloadPersistentTask\x12*.dfdaemon.v2.DownloadPersistentTaskRequest\x1a+.dfdaemon.v2.DownloadPersistentTaskResponse0\x01\x12m\n\x14SyncPersistentPieces\x12(.dfdaemon.v2.SyncPersistentPiecesRequest\x1a).dfdaemon.v2.SyncPersistentPiecesResponse0\x01\x12X\n\x14UpdatePersistentTask\x12(.dfdaemon.v2.UpdatePersistentTaskRequest\x1a\x16.google.protobuf.Empty\x12W\n\x12StatPersistentTask\x12&.dfdaemon.v2.StatPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12X\n\x14\x44\x65letePersistentTask\x12(.dfdaemon.v2.DeletePersistentTaskRequest\x1a\x16.google.protobuf.Empty\x12\x82\x01\n\x1b\x44ownloadPersistentCacheTask\x12/.dfdaemon.v2.DownloadPersistentCacheTaskRequest\x1a\x30.dfdaemon.v2.DownloadPersistentCacheTaskResponse0\x01\x12\x62\n\x19UpdatePersistentCacheTask\x12-.dfdaemon.v2.UpdatePersistentCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12\x66\n\x17StatPersistentCacheTask\x12+.dfdaemon.v2.StatPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x62\n\x19\x44\x65letePersistentCacheTask\x12-.dfdaemon.v2.DeletePersistentCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12|\n\x19SyncPersistentCachePieces\x12-.dfdaemon.v2.SyncPersistentCachePiecesRequest\x1a..dfdaemon.v2.SyncPersistentCachePiecesResponse0\x01\x12;\n\x08SyncHost\x12\x1c.dfdaemon.v2.SyncHostRequest\x1a\x0f.common.v2.Host0\x01\x32\xdd\x10\n\x10\x44\x66\x64\x61\x65monDownload\x12U\n\x0c\x44ownloadTask\x12 .dfdaemon.v2.DownloadTaskRequest\x1a!.dfdaemon.v2.DownloadTaskResponse0\x01\x12\x39\n\x08StatTask\x12\x1c.dfdaemon.v2.StatTaskRequest\x1a\x0f.common.v2.Task\x12V\n\rStatLocalTask\x12!.dfdaemon.v2.StatLocalTaskRequest\x1a\".dfdaemon.v2.StatLocalTaskResponse\x12Y\n\x0eListLocalTasks\x12\".dfdaemon.v2.ListLocalTasksRequest\x1a#.dfdaemon.v2.ListLocalTasksResponse\x12\\\n\x0fListTaskEntries\x12#.dfdaemon.v2.ListTaskEntriesRequest\x1a$.dfdaemon.v2.ListTaskEntriesResponse\x12\x44\n\nDeleteTask\x12\x1e.dfdaemon.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\x12N\n\x0f\x44\x65leteLocalTask\x12#.dfdaemon.v2.DeleteLocalTaskRequest\x1a\x16.google.protobuf.Empty\x12P\n\x0b\x44\x65leteImage\x12\x1f.dfdaemon.v2.DeleteImageRequest\x1a .dfdaemon.v2.DeleteImageResponse\x12<\n\nDeleteHost\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12\x64\n\x11\x44ownloadCacheTask\x12%.dfdaemon.v2.DownloadCacheTaskRequest\x1a&.dfdaemon.v2.DownloadCacheTaskResponse0\x01\x12H\n\rStatCacheTask\x12!.dfdaemon.v2.StatCacheTaskRequest\x1a\x14.common.v2.CacheTask\x12N\n\x0f\x44\x65leteCacheTask\x12#.dfdaemon.v2.DeleteCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12s\n\x16\x44ownloadPersistentTask\x12*.dfdaemon.v2.DownloadPersistentTaskRequest\x1a+.dfdaemon.v2.DownloadPersistentTaskResponse0\x01\x12[\n\x14UploadPersistentTask\x12(.dfdaemon.v2.UploadPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12W\n\x12StatPersistentTask\x12&.dfdaemon.v2.StatPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12t\n\x17StatLocalPersistentTask\x12+.dfdaemon.v2.StatLocalPersistentTaskRequest\x1a,.dfdaemon.v2.StatLocalPersistentTaskResponse\x12w\n\x18ListLocalPersistentTasks\x12,.dfdaemon.v2.ListLocalPersistentTasksRequest\x1a-.dfdaemon.v2.ListLocalPersistentTasksResponse\x12\x82\x01\n\x1b\x44ownloadPersistentCacheTask\x12/.dfdaemon.v2.DownloadPersistentCacheTaskRequest\x1a\x30.dfdaemon.v2.DownloadPersistentCacheTaskResponse0\x01\x12j\n\x19UploadPersistentCacheTask\x12-.dfdaemon.v2.UploadPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x66\n\x17StatPersistentCacheTask\x12+.dfdaemon.v2.StatPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x83\x01\n\x1cStatLocalPersistentCacheTask\x12\x30.dfdaemon.v2.StatLocalPersistentCacheTaskRequest\x1a\x31.dfdaemon.v2.StatLocalPersistentCacheTaskResponse\x12\x86\x01\n\x1dListLocalPersistentCacheTasks\x12\x31.dfdaemon.v2.ListLocalPersistentCacheTasksRequest\x1a\x32.dfdaemon.v2.ListLocalPersistentCacheTasksResponseb\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dfdaemon_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ DESCRIPTOR._loaded_options = None
38
+ _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
39
+ _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
40
+ _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
41
+ _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
42
+ _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._loaded_options = None
43
+ _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._serialized_options = b'8\001'
44
+ _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
45
+ _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
46
+ _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._loaded_options = None
47
+ _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_options = b'8\001'
48
+ _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
49
+ _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
50
+ _globals['_DOWNLOADTASKREQUEST']._serialized_start=139
51
+ _globals['_DOWNLOADTASKREQUEST']._serialized_end=199
52
+ _globals['_DOWNLOADTASKSTARTEDRESPONSE']._serialized_start=202
53
+ _globals['_DOWNLOADTASKSTARTEDRESPONSE']._serialized_end=500
54
+ _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
55
+ _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
56
+ _globals['_DOWNLOADPIECEFINISHEDRESPONSE']._serialized_start=502
57
+ _globals['_DOWNLOADPIECEFINISHEDRESPONSE']._serialized_end=566
58
+ _globals['_DOWNLOADTASKRESPONSE']._serialized_start=569
59
+ _globals['_DOWNLOADTASKRESPONSE']._serialized_end=826
60
+ _globals['_SYNCPIECESREQUEST']._serialized_start=828
61
+ _globals['_SYNCPIECESREQUEST']._serialized_end=915
62
+ _globals['_SYNCPIECESRESPONSE']._serialized_start=918
63
+ _globals['_SYNCPIECESRESPONSE']._serialized_end=1072
64
+ _globals['_STATTASKREQUEST']._serialized_start=1074
65
+ _globals['_STATTASKREQUEST']._serialized_end=1164
66
+ _globals['_STATLOCALTASKREQUEST']._serialized_start=1166
67
+ _globals['_STATLOCALTASKREQUEST']._serialized_end=1243
68
+ _globals['_STATLOCALTASKRESPONSE']._serialized_start=1246
69
+ _globals['_STATLOCALTASKRESPONSE']._serialized_end=1869
70
+ _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
71
+ _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
72
+ _globals['_LISTLOCALTASKSREQUEST']._serialized_start=1871
73
+ _globals['_LISTLOCALTASKSREQUEST']._serialized_end=1932
74
+ _globals['_LISTLOCALTASKSRESPONSE']._serialized_start=1934
75
+ _globals['_LISTLOCALTASKSRESPONSE']._serialized_end=2009
76
+ _globals['_LISTTASKENTRIESREQUEST']._serialized_start=2012
77
+ _globals['_LISTTASKENTRIESREQUEST']._serialized_end=2634
78
+ _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._serialized_start=2482
79
+ _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._serialized_end=2534
80
+ _globals['_LISTTASKENTRIESRESPONSE']._serialized_start=2637
81
+ _globals['_LISTTASKENTRIESRESPONSE']._serialized_end=2903
82
+ _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
83
+ _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
84
+ _globals['_ENTRY']._serialized_start=2905
85
+ _globals['_ENTRY']._serialized_end=2965
86
+ _globals['_DELETETASKREQUEST']._serialized_start=2967
87
+ _globals['_DELETETASKREQUEST']._serialized_end=3041
88
+ _globals['_DELETELOCALTASKREQUEST']._serialized_start=3043
89
+ _globals['_DELETELOCALTASKREQUEST']._serialized_end=3122
90
+ _globals['_DELETEIMAGEREQUEST']._serialized_start=3124
91
+ _globals['_DELETEIMAGEREQUEST']._serialized_end=3215
92
+ _globals['_DELETEIMAGERESPONSE']._serialized_start=3217
93
+ _globals['_DELETEIMAGERESPONSE']._serialized_end=3291
94
+ _globals['_DOWNLOADCACHETASKREQUEST']._serialized_start=3294
95
+ _globals['_DOWNLOADCACHETASKREQUEST']._serialized_end=4282
96
+ _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_start=2482
97
+ _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_end=2534
98
+ _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE']._serialized_start=4285
99
+ _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE']._serialized_end=4593
100
+ _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
101
+ _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
102
+ _globals['_DOWNLOADCACHETASKRESPONSE']._serialized_start=4596
103
+ _globals['_DOWNLOADCACHETASKRESPONSE']._serialized_end=4869
104
+ _globals['_SYNCCACHEPIECESREQUEST']._serialized_start=4871
105
+ _globals['_SYNCCACHEPIECESREQUEST']._serialized_end=4969
106
+ _globals['_SYNCCACHEPIECESRESPONSE']._serialized_start=4971
107
+ _globals['_SYNCCACHEPIECESRESPONSE']._serialized_end=5044
108
+ _globals['_DOWNLOADCACHEPIECEREQUEST']._serialized_start=5046
109
+ _globals['_DOWNLOADCACHEPIECEREQUEST']._serialized_end=5129
110
+ _globals['_DOWNLOADCACHEPIECERESPONSE']._serialized_start=5131
111
+ _globals['_DOWNLOADCACHEPIECERESPONSE']._serialized_end=5224
112
+ _globals['_STATCACHETASKREQUEST']._serialized_start=5226
113
+ _globals['_STATCACHETASKREQUEST']._serialized_end=5303
114
+ _globals['_DELETECACHETASKREQUEST']._serialized_start=5305
115
+ _globals['_DELETECACHETASKREQUEST']._serialized_end=5384
116
+ _globals['_DOWNLOADPERSISTENTTASKREQUEST']._serialized_start=5387
117
+ _globals['_DOWNLOADPERSISTENTTASKREQUEST']._serialized_end=5746
118
+ _globals['_DOWNLOADPERSISTENTTASKSTARTEDRESPONSE']._serialized_start=5748
119
+ _globals['_DOWNLOADPERSISTENTTASKSTARTEDRESPONSE']._serialized_end=5811
120
+ _globals['_DOWNLOADPERSISTENTTASKRESPONSE']._serialized_start=5814
121
+ _globals['_DOWNLOADPERSISTENTTASKRESPONSE']._serialized_end=6102
122
+ _globals['_UPLOADPERSISTENTTASKREQUEST']._serialized_start=6105
123
+ _globals['_UPLOADPERSISTENTTASKREQUEST']._serialized_end=6384
124
+ _globals['_UPDATEPERSISTENTTASKREQUEST']._serialized_start=6386
125
+ _globals['_UPDATEPERSISTENTTASKREQUEST']._serialized_end=6490
126
+ _globals['_STATPERSISTENTTASKREQUEST']._serialized_start=6492
127
+ _globals['_STATPERSISTENTTASKREQUEST']._serialized_end=6574
128
+ _globals['_STATLOCALPERSISTENTTASKREQUEST']._serialized_start=6576
129
+ _globals['_STATLOCALPERSISTENTTASKREQUEST']._serialized_end=6663
130
+ _globals['_STATLOCALPERSISTENTTASKRESPONSE']._serialized_start=6666
131
+ _globals['_STATLOCALPERSISTENTTASKRESPONSE']._serialized_end=7149
132
+ _globals['_LISTLOCALPERSISTENTTASKSREQUEST']._serialized_start=7151
133
+ _globals['_LISTLOCALPERSISTENTTASKSREQUEST']._serialized_end=7222
134
+ _globals['_LISTLOCALPERSISTENTTASKSRESPONSE']._serialized_start=7224
135
+ _globals['_LISTLOCALPERSISTENTTASKSRESPONSE']._serialized_end=7319
136
+ _globals['_DELETEPERSISTENTTASKREQUEST']._serialized_start=7321
137
+ _globals['_DELETEPERSISTENTTASKREQUEST']._serialized_end=7405
138
+ _globals['_SYNCPERSISTENTPIECESREQUEST']._serialized_start=7407
139
+ _globals['_SYNCPERSISTENTPIECESREQUEST']._serialized_end=7504
140
+ _globals['_SYNCPERSISTENTPIECESRESPONSE']._serialized_start=7507
141
+ _globals['_SYNCPERSISTENTPIECESRESPONSE']._serialized_end=7671
142
+ _globals['_DOWNLOADPERSISTENTCACHETASKREQUEST']._serialized_start=7674
143
+ _globals['_DOWNLOADPERSISTENTCACHETASKREQUEST']._serialized_end=8060
144
+ _globals['_DOWNLOADPERSISTENTCACHETASKSTARTEDRESPONSE']._serialized_start=8062
145
+ _globals['_DOWNLOADPERSISTENTCACHETASKSTARTEDRESPONSE']._serialized_end=8130
146
+ _globals['_DOWNLOADPERSISTENTCACHETASKRESPONSE']._serialized_start=8133
147
+ _globals['_DOWNLOADPERSISTENTCACHETASKRESPONSE']._serialized_end=8437
148
+ _globals['_UPLOADPERSISTENTCACHETASKREQUEST']._serialized_start=8440
149
+ _globals['_UPLOADPERSISTENTCACHETASKREQUEST']._serialized_end=8855
150
+ _globals['_UPDATEPERSISTENTCACHETASKREQUEST']._serialized_start=8857
151
+ _globals['_UPDATEPERSISTENTCACHETASKREQUEST']._serialized_end=8966
152
+ _globals['_STATPERSISTENTCACHETASKREQUEST']._serialized_start=8968
153
+ _globals['_STATPERSISTENTCACHETASKREQUEST']._serialized_end=9055
154
+ _globals['_STATLOCALPERSISTENTCACHETASKREQUEST']._serialized_start=9057
155
+ _globals['_STATLOCALPERSISTENTCACHETASKREQUEST']._serialized_end=9149
156
+ _globals['_STATLOCALPERSISTENTCACHETASKRESPONSE']._serialized_start=9152
157
+ _globals['_STATLOCALPERSISTENTCACHETASKRESPONSE']._serialized_end=9640
158
+ _globals['_LISTLOCALPERSISTENTCACHETASKSREQUEST']._serialized_start=9642
159
+ _globals['_LISTLOCALPERSISTENTCACHETASKSREQUEST']._serialized_end=9718
160
+ _globals['_LISTLOCALPERSISTENTCACHETASKSRESPONSE']._serialized_start=9720
161
+ _globals['_LISTLOCALPERSISTENTCACHETASKSRESPONSE']._serialized_end=9825
162
+ _globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_start=9827
163
+ _globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_end=9916
164
+ _globals['_SYNCPERSISTENTCACHEPIECESREQUEST']._serialized_start=9918
165
+ _globals['_SYNCPERSISTENTCACHEPIECESREQUEST']._serialized_end=10020
166
+ _globals['_SYNCPERSISTENTCACHEPIECESRESPONSE']._serialized_start=10023
167
+ _globals['_SYNCPERSISTENTCACHEPIECESRESPONSE']._serialized_end=10192
168
+ _globals['_SYNCHOSTREQUEST']._serialized_start=10194
169
+ _globals['_SYNCHOSTREQUEST']._serialized_end=10245
170
+ _globals['_IBVERBSQUEUEPAIRENDPOINT']._serialized_start=10247
171
+ _globals['_IBVERBSQUEUEPAIRENDPOINT']._serialized_end=10312
172
+ _globals['_DFDAEMONUPLOAD']._serialized_start=10315
173
+ _globals['_DFDAEMONUPLOAD']._serialized_end=12468
174
+ _globals['_DFDAEMONDOWNLOAD']._serialized_start=12471
175
+ _globals['_DFDAEMONDOWNLOAD']._serialized_end=14612
176
+ # @@protoc_insertion_point(module_scope)
@@ -224,6 +224,22 @@ class DeleteLocalTaskRequest(_message.Message):
224
224
  remote_ip: str
225
225
  def __init__(self, task_id: _Optional[str] = ..., remote_ip: _Optional[str] = ...) -> None: ...
226
226
 
227
+ class DeleteImageRequest(_message.Message):
228
+ __slots__ = ("image", "remote_ip")
229
+ IMAGE_FIELD_NUMBER: _ClassVar[int]
230
+ REMOTE_IP_FIELD_NUMBER: _ClassVar[int]
231
+ image: _common_pb2.Image
232
+ remote_ip: str
233
+ def __init__(self, image: _Optional[_Union[_common_pb2.Image, _Mapping]] = ..., remote_ip: _Optional[str] = ...) -> None: ...
234
+
235
+ class DeleteImageResponse(_message.Message):
236
+ __slots__ = ("deleted_task_ids", "retained_task_ids")
237
+ DELETED_TASK_IDS_FIELD_NUMBER: _ClassVar[int]
238
+ RETAINED_TASK_IDS_FIELD_NUMBER: _ClassVar[int]
239
+ deleted_task_ids: _containers.RepeatedScalarFieldContainer[str]
240
+ retained_task_ids: _containers.RepeatedScalarFieldContainer[str]
241
+ def __init__(self, deleted_task_ids: _Optional[_Iterable[str]] = ..., retained_task_ids: _Optional[_Iterable[str]] = ...) -> None: ...
242
+
227
243
  class DownloadCacheTaskRequest(_message.Message):
228
244
  __slots__ = ("url", "digest", "range", "type", "tag", "application", "priority", "filtered_query_params", "request_header", "piece_length", "output_path", "timeout", "disable_back_to_source", "need_back_to_source", "certificate_chain", "prefetch", "object_storage", "hdfs", "is_prefetch", "need_piece_content", "content_for_calculating_task_id", "remote_ip", "overwrite")
229
245
  class RequestHeaderEntry(_message.Message):
@@ -62,6 +62,11 @@ class DfdaemonUploadStub(object):
62
62
  request_serializer=dfdaemon__pb2.DeleteTaskRequest.SerializeToString,
63
63
  response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
64
64
  _registered_method=True)
65
+ self.DeleteImage = channel.unary_unary(
66
+ '/dfdaemon.v2.DfdaemonUpload/DeleteImage',
67
+ request_serializer=dfdaemon__pb2.DeleteImageRequest.SerializeToString,
68
+ response_deserializer=dfdaemon__pb2.DeleteImageResponse.FromString,
69
+ _registered_method=True)
65
70
  self.SyncPieces = channel.unary_stream(
66
71
  '/dfdaemon.v2.DfdaemonUpload/SyncPieces',
67
72
  request_serializer=dfdaemon__pb2.SyncPiecesRequest.SerializeToString,
@@ -188,6 +193,14 @@ class DfdaemonUploadServicer(object):
188
193
  context.set_details('Method not implemented!')
189
194
  raise NotImplementedError('Method not implemented!')
190
195
 
196
+ def DeleteImage(self, request, context):
197
+ """DeleteImage deletes the tasks of the image in the peer, except the tasks still
198
+ referenced by other images.
199
+ """
200
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
201
+ context.set_details('Method not implemented!')
202
+ raise NotImplementedError('Method not implemented!')
203
+
191
204
  def SyncPieces(self, request, context):
192
205
  """SyncPieces syncs piece metadatas from remote peer.
193
206
  """
@@ -335,6 +348,11 @@ def add_DfdaemonUploadServicer_to_server(servicer, server):
335
348
  request_deserializer=dfdaemon__pb2.DeleteTaskRequest.FromString,
336
349
  response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
337
350
  ),
351
+ 'DeleteImage': grpc.unary_unary_rpc_method_handler(
352
+ servicer.DeleteImage,
353
+ request_deserializer=dfdaemon__pb2.DeleteImageRequest.FromString,
354
+ response_serializer=dfdaemon__pb2.DeleteImageResponse.SerializeToString,
355
+ ),
338
356
  'SyncPieces': grpc.unary_stream_rpc_method_handler(
339
357
  servicer.SyncPieces,
340
358
  request_deserializer=dfdaemon__pb2.SyncPiecesRequest.FromString,
@@ -567,6 +585,33 @@ class DfdaemonUpload(object):
567
585
  metadata,
568
586
  _registered_method=True)
569
587
 
588
+ @staticmethod
589
+ def DeleteImage(request,
590
+ target,
591
+ options=(),
592
+ channel_credentials=None,
593
+ call_credentials=None,
594
+ insecure=False,
595
+ compression=None,
596
+ wait_for_ready=None,
597
+ timeout=None,
598
+ metadata=None):
599
+ return grpc.experimental.unary_unary(
600
+ request,
601
+ target,
602
+ '/dfdaemon.v2.DfdaemonUpload/DeleteImage',
603
+ dfdaemon__pb2.DeleteImageRequest.SerializeToString,
604
+ dfdaemon__pb2.DeleteImageResponse.FromString,
605
+ options,
606
+ channel_credentials,
607
+ insecure,
608
+ call_credentials,
609
+ compression,
610
+ wait_for_ready,
611
+ timeout,
612
+ metadata,
613
+ _registered_method=True)
614
+
570
615
  @staticmethod
571
616
  def SyncPieces(request,
572
617
  target,
@@ -1072,6 +1117,11 @@ class DfdaemonDownloadStub(object):
1072
1117
  request_serializer=dfdaemon__pb2.DeleteLocalTaskRequest.SerializeToString,
1073
1118
  response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1074
1119
  _registered_method=True)
1120
+ self.DeleteImage = channel.unary_unary(
1121
+ '/dfdaemon.v2.DfdaemonDownload/DeleteImage',
1122
+ request_serializer=dfdaemon__pb2.DeleteImageRequest.SerializeToString,
1123
+ response_deserializer=dfdaemon__pb2.DeleteImageResponse.FromString,
1124
+ _registered_method=True)
1075
1125
  self.DeleteHost = channel.unary_unary(
1076
1126
  '/dfdaemon.v2.DfdaemonDownload/DeleteHost',
1077
1127
  request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
@@ -1197,6 +1247,14 @@ class DfdaemonDownloadServicer(object):
1197
1247
  context.set_details('Method not implemented!')
1198
1248
  raise NotImplementedError('Method not implemented!')
1199
1249
 
1250
+ def DeleteImage(self, request, context):
1251
+ """DeleteImage deletes the tasks of the image in the peer, except the tasks still
1252
+ referenced by other images.
1253
+ """
1254
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1255
+ context.set_details('Method not implemented!')
1256
+ raise NotImplementedError('Method not implemented!')
1257
+
1200
1258
  def DeleteHost(self, request, context):
1201
1259
  """DeleteHost releases host in scheduler.
1202
1260
  """
@@ -1333,6 +1391,11 @@ def add_DfdaemonDownloadServicer_to_server(servicer, server):
1333
1391
  request_deserializer=dfdaemon__pb2.DeleteLocalTaskRequest.FromString,
1334
1392
  response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1335
1393
  ),
1394
+ 'DeleteImage': grpc.unary_unary_rpc_method_handler(
1395
+ servicer.DeleteImage,
1396
+ request_deserializer=dfdaemon__pb2.DeleteImageRequest.FromString,
1397
+ response_serializer=dfdaemon__pb2.DeleteImageResponse.SerializeToString,
1398
+ ),
1336
1399
  'DeleteHost': grpc.unary_unary_rpc_method_handler(
1337
1400
  servicer.DeleteHost,
1338
1401
  request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
@@ -1604,6 +1667,33 @@ class DfdaemonDownload(object):
1604
1667
  metadata,
1605
1668
  _registered_method=True)
1606
1669
 
1670
+ @staticmethod
1671
+ def DeleteImage(request,
1672
+ target,
1673
+ options=(),
1674
+ channel_credentials=None,
1675
+ call_credentials=None,
1676
+ insecure=False,
1677
+ compression=None,
1678
+ wait_for_ready=None,
1679
+ timeout=None,
1680
+ metadata=None):
1681
+ return grpc.experimental.unary_unary(
1682
+ request,
1683
+ target,
1684
+ '/dfdaemon.v2.DfdaemonDownload/DeleteImage',
1685
+ dfdaemon__pb2.DeleteImageRequest.SerializeToString,
1686
+ dfdaemon__pb2.DeleteImageResponse.FromString,
1687
+ options,
1688
+ channel_credentials,
1689
+ insecure,
1690
+ call_credentials,
1691
+ compression,
1692
+ wait_for_ready,
1693
+ timeout,
1694
+ metadata,
1695
+ _registered_method=True)
1696
+
1607
1697
  @staticmethod
1608
1698
  def DeleteHost(request,
1609
1699
  target,
@@ -28,7 +28,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb
28
28
  from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
29
29
 
30
30
 
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fscheduler.proto\x12\x0cscheduler.v2\x1a\x0c\x63ommon.proto\x1a\x12\x65rrordetails.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\"<\n\x13RegisterPeerRequest\x12%\n\x08\x64ownload\x18\x01 \x01(\x0b\x32\x13.common.v2.Download\"\x1c\n\x1a\x44ownloadPeerStartedRequest\"R\n&DownloadPeerBackToSourceStartedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"m\n\x15ReschedulePeerRequest\x12*\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x0f.common.v2.Peer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"F\n\x1b\x44ownloadPeerFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"R\n\'DownloadPeerBackToSourceFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"E\n\x19\x44ownloadPeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"Q\n%DownloadPeerBackToSourceFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"?\n\x1c\x44ownloadPieceFinishedRequest\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\"K\n(DownloadPieceBackToSourceFinishedRequest\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\"n\n\x1a\x44ownloadPieceFailedRequest\x12\x19\n\x0cpiece_number\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x11\n\tparent_id\x18\x02 \x01(\t\x12\x11\n\ttemporary\x18\x03 \x01(\x08\x42\x0f\n\r_piece_number\"\xba\x01\n&DownloadPieceBackToSourceFailedRequest\x12\x19\n\x0cpiece_number\x18\x01 \x01(\rH\x01\x88\x01\x01\x12+\n\x07\x62\x61\x63kend\x18\x02 \x01(\x0b\x32\x18.errordetails.v2.BackendH\x00\x12+\n\x07unknown\x18\x03 \x01(\x0b\x32\x18.errordetails.v2.UnknownH\x00\x42\n\n\x08responseB\x0f\n\r_piece_number\"\xac\t\n\x13\x41nnouncePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x42\n\x15register_peer_request\x18\x04 \x01(\x0b\x32!.scheduler.v2.RegisterPeerRequestH\x00\x12Q\n\x1d\x64ownload_peer_started_request\x18\x05 \x01(\x0b\x32(.scheduler.v2.DownloadPeerStartedRequestH\x00\x12l\n,download_peer_back_to_source_started_request\x18\x06 \x01(\x0b\x32\x34.scheduler.v2.DownloadPeerBackToSourceStartedRequestH\x00\x12\x46\n\x17reschedule_peer_request\x18\x07 \x01(\x0b\x32#.scheduler.v2.ReschedulePeerRequestH\x00\x12S\n\x1e\x64ownload_peer_finished_request\x18\x08 \x01(\x0b\x32).scheduler.v2.DownloadPeerFinishedRequestH\x00\x12n\n-download_peer_back_to_source_finished_request\x18\t \x01(\x0b\x32\x35.scheduler.v2.DownloadPeerBackToSourceFinishedRequestH\x00\x12O\n\x1c\x64ownload_peer_failed_request\x18\n \x01(\x0b\x32\'.scheduler.v2.DownloadPeerFailedRequestH\x00\x12j\n+download_peer_back_to_source_failed_request\x18\x0b \x01(\x0b\x32\x33.scheduler.v2.DownloadPeerBackToSourceFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\x0c \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12p\n.download_piece_back_to_source_finished_request\x18\r \x01(\x0b\x32\x36.scheduler.v2.DownloadPieceBackToSourceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\x0e \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x12l\n,download_piece_back_to_source_failed_request\x18\x0f \x01(\x0b\x32\x34.scheduler.v2.DownloadPieceBackToSourceFailedRequestH\x00\x42\t\n\x07request\"\x13\n\x11\x45mptyTaskResponse\"@\n\x12NormalTaskResponse\x12*\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x0f.common.v2.Peer\"D\n\x18NeedBackToSourceResponse\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x16\n\x14MetadataOnlyResponse\"\xba\x02\n\x14\x41nnouncePeerResponse\x12>\n\x13\x65mpty_task_response\x18\x01 \x01(\x0b\x32\x1f.scheduler.v2.EmptyTaskResponseH\x00\x12@\n\x14normal_task_response\x18\x02 \x01(\x0b\x32 .scheduler.v2.NormalTaskResponseH\x00\x12N\n\x1cneed_back_to_source_response\x18\x03 \x01(\x0b\x32&.scheduler.v2.NeedBackToSourceResponseH\x00\x12\x44\n\x16metadata_only_response\x18\x04 \x01(\x0b\x32\".scheduler.v2.MetadataOnlyResponseH\x00\x42\n\n\x08response\"D\n\x0fStatPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"F\n\x11\x44\x65letePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"3\n\x0fStatTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"5\n\x11\x44\x65leteTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"s\n\x13\x41nnounceHostRequest\x12\x1d\n\x04host\x18\x01 \x01(\x0b\x32\x0f.common.v2.Host\x12\x30\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x42\x0b\n\t_interval\".\n\x10ListHostsRequest\x12\x11\n\x04type\x18\x01 \x01(\rH\x00\x88\x01\x01\x42\x07\n\x05_type\"3\n\x11ListHostsResponse\x12\x1e\n\x05hosts\x18\x01 \x03(\x0b\x32\x0f.common.v2.Host\"$\n\x11\x44\x65leteHostRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\"\xba\t\n\x18RegisterCachePeerRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x05range\x18\x03 \x01(\x0b\x32\x10.common.v2.RangeH\x01\x88\x01\x01\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x10\n\x03tag\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x03\x88\x01\x01\x12%\n\x08priority\x18\x07 \x01(\x0e\x32\x13.common.v2.Priority\x12\x1d\n\x15\x66iltered_query_params\x18\x08 \x03(\t\x12Q\n\x0erequest_header\x18\t \x03(\x0b\x32\x39.scheduler.v2.RegisterCachePeerRequest.RequestHeaderEntry\x12\x19\n\x0cpiece_length\x18\n \x01(\x04H\x04\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x0b \x01(\tH\x05\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12\x1e\n\x16\x64isable_back_to_source\x18\r \x01(\x08\x12\x1b\n\x13need_back_to_source\x18\x0e \x01(\x08\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x10\n\x08prefetch\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x07\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\x08\x88\x01\x01\x12\x13\n\x0bis_prefetch\x18\x13 \x01(\x08\x12\x1a\n\x12need_piece_content\x18\x14 \x01(\x08\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x15 \x01(\tH\t\x88\x01\x01\x12\x16\n\tremote_ip\x18\x16 \x01(\tH\n\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x17 \x01(\rH\x0b\x88\x01\x01\x12 \n\x13\x61\x63tual_piece_length\x18\x18 \x01(\x04H\x0c\x88\x01\x01\x12\"\n\x15\x61\x63tual_content_length\x18\x19 \x01(\x04H\r\x88\x01\x01\x12\x1f\n\x12\x61\x63tual_piece_count\x18\x1a \x01(\x04H\x0e\x88\x01\x01\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x08\n\x06_rangeB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\"\n _content_for_calculating_task_idB\x0c\n\n_remote_ipB\x19\n\x17_concurrent_piece_countB\x16\n\x14_actual_piece_lengthB\x18\n\x16_actual_content_lengthB\x15\n\x13_actual_piece_count\"!\n\x1f\x44ownloadCachePeerStartedRequest\"W\n+DownloadCachePeerBackToSourceStartedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"w\n\x1aRescheduleCachePeerRequest\x12/\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x14.common.v2.CachePeer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"K\n DownloadCachePeerFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"W\n,DownloadCachePeerBackToSourceFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"J\n\x1e\x44ownloadCachePeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"V\n*DownloadCachePeerBackToSourceFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x89\n\n\x18\x41nnounceCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12M\n\x1bregister_cache_peer_request\x18\x04 \x01(\x0b\x32&.scheduler.v2.RegisterCachePeerRequestH\x00\x12\\\n#download_cache_peer_started_request\x18\x05 \x01(\x0b\x32-.scheduler.v2.DownloadCachePeerStartedRequestH\x00\x12w\n2download_cache_peer_back_to_source_started_request\x18\x06 \x01(\x0b\x32\x39.scheduler.v2.DownloadCachePeerBackToSourceStartedRequestH\x00\x12Q\n\x1dreschedule_cache_peer_request\x18\x07 \x01(\x0b\x32(.scheduler.v2.RescheduleCachePeerRequestH\x00\x12^\n$download_cache_peer_finished_request\x18\x08 \x01(\x0b\x32..scheduler.v2.DownloadCachePeerFinishedRequestH\x00\x12y\n3download_cache_peer_back_to_source_finished_request\x18\t \x01(\x0b\x32:.scheduler.v2.DownloadCachePeerBackToSourceFinishedRequestH\x00\x12Z\n\"download_cache_peer_failed_request\x18\n \x01(\x0b\x32,.scheduler.v2.DownloadCachePeerFailedRequestH\x00\x12u\n1download_cache_peer_back_to_source_failed_request\x18\x0b \x01(\x0b\x32\x38.scheduler.v2.DownloadCachePeerBackToSourceFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\x0c \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12p\n.download_piece_back_to_source_finished_request\x18\r \x01(\x0b\x32\x36.scheduler.v2.DownloadPieceBackToSourceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\x0e \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x12l\n,download_piece_back_to_source_failed_request\x18\x0f \x01(\x0b\x32\x34.scheduler.v2.DownloadPieceBackToSourceFailedRequestH\x00\x42\t\n\x07request\"\x18\n\x16\x45mptyCacheTaskResponse\"J\n\x17NormalCacheTaskResponse\x12/\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x14.common.v2.CachePeer\"\x8f\x02\n\x19\x41nnounceCachePeerResponse\x12I\n\x19\x65mpty_cache_task_response\x18\x01 \x01(\x0b\x32$.scheduler.v2.EmptyCacheTaskResponseH\x00\x12K\n\x1anormal_cache_task_response\x18\x02 \x01(\x0b\x32%.scheduler.v2.NormalCacheTaskResponseH\x00\x12N\n\x1cneed_back_to_source_response\x18\x03 \x01(\x0b\x32&.scheduler.v2.NeedBackToSourceResponseH\x00\x42\n\n\x08response\"I\n\x14StatCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"K\n\x16\x44\x65leteCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"8\n\x14StatCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\":\n\x16\x44\x65leteCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"\x8e\x02\n\x1dRegisterPersistentPeerRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x30\n\x0eobject_storage\x18\x02 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12\x12\n\npersistent\x18\x03 \x01(\x08\x12\x18\n\x0boutput_path\x18\x04 \x01(\tH\x00\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x0bpiece_count\x18\x06 \x01(\x04\x12\x1b\n\x13need_back_to_source\x18\x07 \x01(\x08\x42\x0e\n\x0c_output_pathB\x19\n\x17_concurrent_piece_count\"&\n$DownloadPersistentPeerStartedRequest\"\\\n0DownloadPersistentPeerBackToSourceStartedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x81\x01\n\x1fReschedulePersistentPeerRequest\x12\x34\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x19.common.v2.PersistentPeer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\'\n%DownloadPersistentPeerFinishedRequest\"3\n1DownloadPersistentPeerBackToSourceFinishedRequest\"O\n#DownloadPersistentPeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"[\n/DownloadPersistentPeerBackToSourceFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xe0\n\n\x1d\x41nnouncePersistentPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12W\n register_persistent_peer_request\x18\x04 \x01(\x0b\x32+.scheduler.v2.RegisterPersistentPeerRequestH\x00\x12\x66\n(download_persistent_peer_started_request\x18\x05 \x01(\x0b\x32\x32.scheduler.v2.DownloadPersistentPeerStartedRequestH\x00\x12\x81\x01\n7download_persistent_peer_back_to_source_started_request\x18\x06 \x01(\x0b\x32>.scheduler.v2.DownloadPersistentPeerBackToSourceStartedRequestH\x00\x12[\n\"reschedule_persistent_peer_request\x18\x07 \x01(\x0b\x32-.scheduler.v2.ReschedulePersistentPeerRequestH\x00\x12h\n)download_persistent_peer_finished_request\x18\x08 \x01(\x0b\x32\x33.scheduler.v2.DownloadPersistentPeerFinishedRequestH\x00\x12\x83\x01\n8download_persistent_peer_back_to_source_finished_request\x18\t \x01(\x0b\x32?.scheduler.v2.DownloadPersistentPeerBackToSourceFinishedRequestH\x00\x12\x64\n\'download_persistent_peer_failed_request\x18\n \x01(\x0b\x32\x31.scheduler.v2.DownloadPersistentPeerFailedRequestH\x00\x12\x7f\n6download_persistent_peer_back_to_source_failed_request\x18\x0b \x01(\x0b\x32=.scheduler.v2.DownloadPersistentPeerBackToSourceFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\x0c \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12p\n.download_piece_back_to_source_finished_request\x18\r \x01(\x0b\x32\x36.scheduler.v2.DownloadPieceBackToSourceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\x0e \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x12l\n,download_piece_back_to_source_failed_request\x18\x0f \x01(\x0b\x32\x34.scheduler.v2.DownloadPieceBackToSourceFailedRequestH\x00\x42\t\n\x07request\"\x1d\n\x1b\x45mptyPersistentTaskResponse\"T\n\x1cNormalPersistentTaskResponse\x12\x34\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x19.common.v2.PersistentPeer\"\xa8\x02\n\x1e\x41nnouncePersistentPeerResponse\x12S\n\x1e\x65mpty_persistent_task_response\x18\x01 \x01(\x0b\x32).scheduler.v2.EmptyPersistentTaskResponseH\x00\x12U\n\x1fnormal_persistent_task_response\x18\x02 \x01(\x0b\x32*.scheduler.v2.NormalPersistentTaskResponseH\x00\x12N\n\x1cneed_back_to_source_response\x18\x03 \x01(\x0b\x32&.scheduler.v2.NeedBackToSourceResponseH\x00\x42\n\n\x08response\"N\n\x19StatPersistentPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"P\n\x1b\x44\x65letePersistentPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\x8d\x02\n\"UploadPersistentTaskStartedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12\x30\n\x0eobject_storage\x18\x05 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12 \n\x18persistent_replica_count\x18\x06 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x07 \x01(\x04\x12\x13\n\x0bpiece_count\x18\x08 \x01(\r\x12&\n\x03ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\"X\n#UploadPersistentTaskFinishedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\x80\x01\n!UploadPersistentTaskFailedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"=\n\x19StatPersistentTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"?\n\x1b\x44\x65letePersistentTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"\x91\x02\n\"RegisterPersistentCachePeerRequest\x12\x12\n\npersistent\x18\x01 \x01(\x08\x12\x10\n\x03tag\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpiece_length\x18\x04 \x01(\x04\x12\x18\n\x0boutput_path\x18\x05 \x01(\tH\x02\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x13\n\x0bpiece_count\x18\x07 \x01(\x04\x42\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0e\n\x0c_output_pathB\x19\n\x17_concurrent_piece_count\"+\n)DownloadPersistentCachePeerStartedRequest\"\x8b\x01\n$ReschedulePersistentCachePeerRequest\x12\x39\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x1e.common.v2.PersistentCachePeer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"?\n*DownloadPersistentCachePeerFinishedRequestJ\x04\x08\x01\x10\x02R\x0bpiece_count\"T\n(DownloadPersistentCachePeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xb1\x06\n\"AnnouncePersistentCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x62\n&register_persistent_cache_peer_request\x18\x04 \x01(\x0b\x32\x30.scheduler.v2.RegisterPersistentCachePeerRequestH\x00\x12q\n.download_persistent_cache_peer_started_request\x18\x05 \x01(\x0b\x32\x37.scheduler.v2.DownloadPersistentCachePeerStartedRequestH\x00\x12\x66\n(reschedule_persistent_cache_peer_request\x18\x06 \x01(\x0b\x32\x32.scheduler.v2.ReschedulePersistentCachePeerRequestH\x00\x12s\n/download_persistent_cache_peer_finished_request\x18\x07 \x01(\x0b\x32\x38.scheduler.v2.DownloadPersistentCachePeerFinishedRequestH\x00\x12o\n-download_persistent_cache_peer_failed_request\x18\x08 \x01(\x0b\x32\x36.scheduler.v2.DownloadPersistentCachePeerFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\t \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\n \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x42\t\n\x07request\"\"\n EmptyPersistentCacheTaskResponse\"d\n!NormalPersistentCacheTaskResponse\x12?\n\x17\x63\x61ndidate_cache_parents\x18\x01 \x03(\x0b\x32\x1e.common.v2.PersistentCachePeer\"\xf3\x01\n#AnnouncePersistentCachePeerResponse\x12^\n$empty_persistent_cache_task_response\x18\x01 \x01(\x0b\x32..scheduler.v2.EmptyPersistentCacheTaskResponseH\x00\x12`\n%normal_persistent_cache_task_response\x18\x02 \x01(\x0b\x32/.scheduler.v2.NormalPersistentCacheTaskResponseH\x00\x42\n\n\x08response\"S\n\x1eStatPersistentCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"U\n DeletePersistentCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\xad\x02\n\'UploadPersistentCacheTaskStartedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12 \n\x18persistent_replica_count\x18\x04 \x01(\x04\x12\x10\n\x03tag\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpiece_length\x18\x07 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x08 \x01(\x04\x12\x13\n\x0bpiece_count\x18\t \x01(\r\x12&\n\x03ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\n\x04_tagB\x0e\n\x0c_application\"]\n(UploadPersistentCacheTaskFinishedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\x85\x01\n&UploadPersistentCacheTaskFailedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"B\n\x1eStatPersistentCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"D\n DeletePersistentCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"\xb0\x06\n\x13PreheatImageRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12=\n\x06header\x18\x06 \x03(\x0b\x32-.scheduler.v2.PreheatImageRequest.HeaderEntry\x12\x15\n\x08username\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08password\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x15\n\x08platform\x18\t \x01(\tH\x05\x88\x01\x01\x12\r\n\x05scope\x18\n \x01(\t\x12\x0b\n\x03ips\x18\x0b \x03(\t\x12\x17\n\npercentage\x18\x0c \x01(\rH\x06\x88\x01\x01\x12\x12\n\x05\x63ount\x18\r \x01(\rH\x07\x88\x01\x01\x12\"\n\x15\x63oncurrent_task_count\x18\x0e \x01(\x03H\x08\x88\x01\x01\x12\"\n\x15\x63oncurrent_peer_count\x18\x0f \x01(\x03H\t\x88\x01\x01\x12/\n\x07timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationH\n\x88\x01\x01\x12%\n\x08priority\x18\x11 \x01(\x0e\x32\x13.common.v2.Priority\x12\x19\n\x11\x63\x65rtificate_chain\x18\x12 \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\x13 \x01(\x08\x12(\n enable_task_id_based_blob_digest\x18\x14 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0b\n\t_usernameB\x0b\n\t_passwordB\x0b\n\t_platformB\r\n\x0b_percentageB\x08\n\x06_countB\x18\n\x16_concurrent_task_countB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeout\"\xb2\x05\n\x10StatImageRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12:\n\x06header\x18\x06 \x03(\x0b\x32*.scheduler.v2.StatImageRequest.HeaderEntry\x12\x15\n\x08username\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08password\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x15\n\x08platform\x18\t \x01(\tH\x05\x88\x01\x01\x12#\n\x16\x63oncurrent_layer_count\x18\n \x01(\x03H\x06\x88\x01\x01\x12\"\n\x15\x63oncurrent_peer_count\x18\x0b \x01(\x03H\x07\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x08\x88\x01\x01\x12\x19\n\x11\x63\x65rtificate_chain\x18\r \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\x0e \x01(\x08\x12\r\n\x05scope\x18\x0f \x01(\t\x12(\n enable_task_id_based_blob_digest\x18\x10 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0b\n\t_usernameB\x0b\n\t_passwordB\x0b\n\t_platformB\x19\n\x17_concurrent_layer_countB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeout\"_\n\x11StatImageResponse\x12\"\n\x05image\x18\x01 \x01(\x0b\x32\x13.scheduler.v2.Image\x12&\n\x05peers\x18\x02 \x03(\x0b\x32\x17.scheduler.v2.PeerImage\"U\n\tPeerImage\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12*\n\rcached_layers\x18\x03 \x03(\x0b\x32\x13.scheduler.v2.Layer\",\n\x05Image\x12#\n\x06layers\x18\x01 \x03(\x0b\x32\x13.scheduler.v2.Layer\">\n\x05Layer\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x18\n\x0bis_finished\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x0e\n\x0c_is_finished\"\xb9\x06\n\x12PreheatFileRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12<\n\x06header\x18\x06 \x03(\x0b\x32,.scheduler.v2.PreheatFileRequest.HeaderEntry\x12\r\n\x05scope\x18\x07 \x01(\t\x12\x0b\n\x03ips\x18\x08 \x03(\t\x12\x17\n\npercentage\x18\t \x01(\rH\x03\x88\x01\x01\x12\x12\n\x05\x63ount\x18\n \x01(\rH\x04\x88\x01\x01\x12\"\n\x15\x63oncurrent_task_count\x18\x0b \x01(\x03H\x05\x88\x01\x01\x12\"\n\x15\x63oncurrent_peer_count\x18\x0c \x01(\x03H\x06\x88\x01\x01\x12/\n\x07timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.DurationH\x07\x88\x01\x01\x12%\n\x08priority\x18\x0e \x01(\x0e\x32\x13.common.v2.Priority\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x08\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\t\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x13 \x01(\tH\n\x88\x01\x01\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\r\n\x0b_percentageB\x08\n\x06_countB\x18\n\x16_concurrent_task_countB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\x0e\n\x0c_output_path\"\xc2\x04\n\x0fStatFileRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12\x39\n\x06header\x18\x06 \x03(\x0b\x32).scheduler.v2.StatFileRequest.HeaderEntry\x12\"\n\x15\x63oncurrent_peer_count\x18\x07 \x01(\x03H\x03\x88\x01\x01\x12/\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x19\n\x11\x63\x65rtificate_chain\x18\t \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\n \x01(\x08\x12\x35\n\x0eobject_storage\x18\x0b \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x05\x88\x01\x01\x12\"\n\x04hdfs\x18\x0c \x01(\x0b\x32\x0f.common.v2.HDFSH\x06\x88\x01\x01\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfs\"9\n\x10StatFileResponse\x12%\n\x05peers\x18\x01 \x03(\x0b\x32\x16.scheduler.v2.PeerFile\"R\n\x08PeerFile\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12(\n\x0c\x63\x61\x63hed_files\x18\x03 \x03(\x0b\x32\x12.scheduler.v2.File\"=\n\x04\x46ile\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x18\n\x0bis_finished\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x0e\n\x0c_is_finished2\xc2\x17\n\tScheduler\x12Y\n\x0c\x41nnouncePeer\x12!.scheduler.v2.AnnouncePeerRequest\x1a\".scheduler.v2.AnnouncePeerResponse(\x01\x30\x01\x12:\n\x08StatPeer\x12\x1d.scheduler.v2.StatPeerRequest\x1a\x0f.common.v2.Peer\x12\x45\n\nDeletePeer\x12\x1f.scheduler.v2.DeletePeerRequest\x1a\x16.google.protobuf.Empty\x12:\n\x08StatTask\x12\x1d.scheduler.v2.StatTaskRequest\x1a\x0f.common.v2.Task\x12\x45\n\nDeleteTask\x12\x1f.scheduler.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\x12I\n\x0c\x41nnounceHost\x12!.scheduler.v2.AnnounceHostRequest\x1a\x16.google.protobuf.Empty\x12L\n\tListHosts\x12\x1e.scheduler.v2.ListHostsRequest\x1a\x1f.scheduler.v2.ListHostsResponse\x12\x45\n\nDeleteHost\x12\x1f.scheduler.v2.DeleteHostRequest\x1a\x16.google.protobuf.Empty\x12h\n\x11\x41nnounceCachePeer\x12&.scheduler.v2.AnnounceCachePeerRequest\x1a\'.scheduler.v2.AnnounceCachePeerResponse(\x01\x30\x01\x12I\n\rStatCachePeer\x12\".scheduler.v2.StatCachePeerRequest\x1a\x14.common.v2.CachePeer\x12O\n\x0f\x44\x65leteCachePeer\x12$.scheduler.v2.DeleteCachePeerRequest\x1a\x16.google.protobuf.Empty\x12I\n\rStatCacheTask\x12\".scheduler.v2.StatCacheTaskRequest\x1a\x14.common.v2.CacheTask\x12O\n\x0f\x44\x65leteCacheTask\x12$.scheduler.v2.DeleteCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12w\n\x16\x41nnouncePersistentPeer\x12+.scheduler.v2.AnnouncePersistentPeerRequest\x1a,.scheduler.v2.AnnouncePersistentPeerResponse(\x01\x30\x01\x12X\n\x12StatPersistentPeer\x12\'.scheduler.v2.StatPersistentPeerRequest\x1a\x19.common.v2.PersistentPeer\x12Y\n\x14\x44\x65letePersistentPeer\x12).scheduler.v2.DeletePersistentPeerRequest\x1a\x16.google.protobuf.Empty\x12g\n\x1bUploadPersistentTaskStarted\x12\x30.scheduler.v2.UploadPersistentTaskStartedRequest\x1a\x16.google.protobuf.Empty\x12l\n\x1cUploadPersistentTaskFinished\x12\x31.scheduler.v2.UploadPersistentTaskFinishedRequest\x1a\x19.common.v2.PersistentTask\x12\x65\n\x1aUploadPersistentTaskFailed\x12/.scheduler.v2.UploadPersistentTaskFailedRequest\x1a\x16.google.protobuf.Empty\x12X\n\x12StatPersistentTask\x12\'.scheduler.v2.StatPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12Y\n\x14\x44\x65letePersistentTask\x12).scheduler.v2.DeletePersistentTaskRequest\x1a\x16.google.protobuf.Empty\x12\x86\x01\n\x1b\x41nnouncePersistentCachePeer\x12\x30.scheduler.v2.AnnouncePersistentCachePeerRequest\x1a\x31.scheduler.v2.AnnouncePersistentCachePeerResponse(\x01\x30\x01\x12g\n\x17StatPersistentCachePeer\x12,.scheduler.v2.StatPersistentCachePeerRequest\x1a\x1e.common.v2.PersistentCachePeer\x12\x63\n\x19\x44\x65letePersistentCachePeer\x12..scheduler.v2.DeletePersistentCachePeerRequest\x1a\x16.google.protobuf.Empty\x12q\n UploadPersistentCacheTaskStarted\x12\x35.scheduler.v2.UploadPersistentCacheTaskStartedRequest\x1a\x16.google.protobuf.Empty\x12{\n!UploadPersistentCacheTaskFinished\x12\x36.scheduler.v2.UploadPersistentCacheTaskFinishedRequest\x1a\x1e.common.v2.PersistentCacheTask\x12o\n\x1fUploadPersistentCacheTaskFailed\x12\x34.scheduler.v2.UploadPersistentCacheTaskFailedRequest\x1a\x16.google.protobuf.Empty\x12g\n\x17StatPersistentCacheTask\x12,.scheduler.v2.StatPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x63\n\x19\x44\x65letePersistentCacheTask\x12..scheduler.v2.DeletePersistentCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12I\n\x0cPreheatImage\x12!.scheduler.v2.PreheatImageRequest\x1a\x16.google.protobuf.Empty\x12L\n\tStatImage\x12\x1e.scheduler.v2.StatImageRequest\x1a\x1f.scheduler.v2.StatImageResponse\x12G\n\x0bPreheatFile\x12 .scheduler.v2.PreheatFileRequest\x1a\x16.google.protobuf.Empty\x12I\n\x08StatFile\x12\x1d.scheduler.v2.StatFileRequest\x1a\x1e.scheduler.v2.StatFileResponseb\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fscheduler.proto\x12\x0cscheduler.v2\x1a\x0c\x63ommon.proto\x1a\x12\x65rrordetails.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\"<\n\x13RegisterPeerRequest\x12%\n\x08\x64ownload\x18\x01 \x01(\x0b\x32\x13.common.v2.Download\"\x1c\n\x1a\x44ownloadPeerStartedRequest\"R\n&DownloadPeerBackToSourceStartedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"m\n\x15ReschedulePeerRequest\x12*\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x0f.common.v2.Peer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"F\n\x1b\x44ownloadPeerFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"R\n\'DownloadPeerBackToSourceFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"E\n\x19\x44ownloadPeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"Q\n%DownloadPeerBackToSourceFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"?\n\x1c\x44ownloadPieceFinishedRequest\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\"K\n(DownloadPieceBackToSourceFinishedRequest\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\"n\n\x1a\x44ownloadPieceFailedRequest\x12\x19\n\x0cpiece_number\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x11\n\tparent_id\x18\x02 \x01(\t\x12\x11\n\ttemporary\x18\x03 \x01(\x08\x42\x0f\n\r_piece_number\"\xba\x01\n&DownloadPieceBackToSourceFailedRequest\x12\x19\n\x0cpiece_number\x18\x01 \x01(\rH\x01\x88\x01\x01\x12+\n\x07\x62\x61\x63kend\x18\x02 \x01(\x0b\x32\x18.errordetails.v2.BackendH\x00\x12+\n\x07unknown\x18\x03 \x01(\x0b\x32\x18.errordetails.v2.UnknownH\x00\x42\n\n\x08responseB\x0f\n\r_piece_number\"\xac\t\n\x13\x41nnouncePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x42\n\x15register_peer_request\x18\x04 \x01(\x0b\x32!.scheduler.v2.RegisterPeerRequestH\x00\x12Q\n\x1d\x64ownload_peer_started_request\x18\x05 \x01(\x0b\x32(.scheduler.v2.DownloadPeerStartedRequestH\x00\x12l\n,download_peer_back_to_source_started_request\x18\x06 \x01(\x0b\x32\x34.scheduler.v2.DownloadPeerBackToSourceStartedRequestH\x00\x12\x46\n\x17reschedule_peer_request\x18\x07 \x01(\x0b\x32#.scheduler.v2.ReschedulePeerRequestH\x00\x12S\n\x1e\x64ownload_peer_finished_request\x18\x08 \x01(\x0b\x32).scheduler.v2.DownloadPeerFinishedRequestH\x00\x12n\n-download_peer_back_to_source_finished_request\x18\t \x01(\x0b\x32\x35.scheduler.v2.DownloadPeerBackToSourceFinishedRequestH\x00\x12O\n\x1c\x64ownload_peer_failed_request\x18\n \x01(\x0b\x32\'.scheduler.v2.DownloadPeerFailedRequestH\x00\x12j\n+download_peer_back_to_source_failed_request\x18\x0b \x01(\x0b\x32\x33.scheduler.v2.DownloadPeerBackToSourceFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\x0c \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12p\n.download_piece_back_to_source_finished_request\x18\r \x01(\x0b\x32\x36.scheduler.v2.DownloadPieceBackToSourceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\x0e \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x12l\n,download_piece_back_to_source_failed_request\x18\x0f \x01(\x0b\x32\x34.scheduler.v2.DownloadPieceBackToSourceFailedRequestH\x00\x42\t\n\x07request\"\x13\n\x11\x45mptyTaskResponse\"@\n\x12NormalTaskResponse\x12*\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x0f.common.v2.Peer\"D\n\x18NeedBackToSourceResponse\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x16\n\x14MetadataOnlyResponse\"\xba\x02\n\x14\x41nnouncePeerResponse\x12>\n\x13\x65mpty_task_response\x18\x01 \x01(\x0b\x32\x1f.scheduler.v2.EmptyTaskResponseH\x00\x12@\n\x14normal_task_response\x18\x02 \x01(\x0b\x32 .scheduler.v2.NormalTaskResponseH\x00\x12N\n\x1cneed_back_to_source_response\x18\x03 \x01(\x0b\x32&.scheduler.v2.NeedBackToSourceResponseH\x00\x12\x44\n\x16metadata_only_response\x18\x04 \x01(\x0b\x32\".scheduler.v2.MetadataOnlyResponseH\x00\x42\n\n\x08response\"D\n\x0fStatPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"F\n\x11\x44\x65letePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"3\n\x0fStatTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"5\n\x11\x44\x65leteTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"s\n\x13\x41nnounceHostRequest\x12\x1d\n\x04host\x18\x01 \x01(\x0b\x32\x0f.common.v2.Host\x12\x30\n\x08interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x42\x0b\n\t_interval\".\n\x10ListHostsRequest\x12\x11\n\x04type\x18\x01 \x01(\rH\x00\x88\x01\x01\x42\x07\n\x05_type\"3\n\x11ListHostsResponse\x12\x1e\n\x05hosts\x18\x01 \x03(\x0b\x32\x0f.common.v2.Host\"$\n\x11\x44\x65leteHostRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\"\xba\t\n\x18RegisterCachePeerRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x05range\x18\x03 \x01(\x0b\x32\x10.common.v2.RangeH\x01\x88\x01\x01\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x10\n\x03tag\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x03\x88\x01\x01\x12%\n\x08priority\x18\x07 \x01(\x0e\x32\x13.common.v2.Priority\x12\x1d\n\x15\x66iltered_query_params\x18\x08 \x03(\t\x12Q\n\x0erequest_header\x18\t \x03(\x0b\x32\x39.scheduler.v2.RegisterCachePeerRequest.RequestHeaderEntry\x12\x19\n\x0cpiece_length\x18\n \x01(\x04H\x04\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x0b \x01(\tH\x05\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12\x1e\n\x16\x64isable_back_to_source\x18\r \x01(\x08\x12\x1b\n\x13need_back_to_source\x18\x0e \x01(\x08\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x10\n\x08prefetch\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x07\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\x08\x88\x01\x01\x12\x13\n\x0bis_prefetch\x18\x13 \x01(\x08\x12\x1a\n\x12need_piece_content\x18\x14 \x01(\x08\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x15 \x01(\tH\t\x88\x01\x01\x12\x16\n\tremote_ip\x18\x16 \x01(\tH\n\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x17 \x01(\rH\x0b\x88\x01\x01\x12 \n\x13\x61\x63tual_piece_length\x18\x18 \x01(\x04H\x0c\x88\x01\x01\x12\"\n\x15\x61\x63tual_content_length\x18\x19 \x01(\x04H\r\x88\x01\x01\x12\x1f\n\x12\x61\x63tual_piece_count\x18\x1a \x01(\x04H\x0e\x88\x01\x01\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x08\n\x06_rangeB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\"\n _content_for_calculating_task_idB\x0c\n\n_remote_ipB\x19\n\x17_concurrent_piece_countB\x16\n\x14_actual_piece_lengthB\x18\n\x16_actual_content_lengthB\x15\n\x13_actual_piece_count\"!\n\x1f\x44ownloadCachePeerStartedRequest\"W\n+DownloadCachePeerBackToSourceStartedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"w\n\x1aRescheduleCachePeerRequest\x12/\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x14.common.v2.CachePeer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"K\n DownloadCachePeerFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"W\n,DownloadCachePeerBackToSourceFinishedRequestJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0e\x63ontent_lengthR\x0bpiece_count\"J\n\x1e\x44ownloadCachePeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"V\n*DownloadCachePeerBackToSourceFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x89\n\n\x18\x41nnounceCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12M\n\x1bregister_cache_peer_request\x18\x04 \x01(\x0b\x32&.scheduler.v2.RegisterCachePeerRequestH\x00\x12\\\n#download_cache_peer_started_request\x18\x05 \x01(\x0b\x32-.scheduler.v2.DownloadCachePeerStartedRequestH\x00\x12w\n2download_cache_peer_back_to_source_started_request\x18\x06 \x01(\x0b\x32\x39.scheduler.v2.DownloadCachePeerBackToSourceStartedRequestH\x00\x12Q\n\x1dreschedule_cache_peer_request\x18\x07 \x01(\x0b\x32(.scheduler.v2.RescheduleCachePeerRequestH\x00\x12^\n$download_cache_peer_finished_request\x18\x08 \x01(\x0b\x32..scheduler.v2.DownloadCachePeerFinishedRequestH\x00\x12y\n3download_cache_peer_back_to_source_finished_request\x18\t \x01(\x0b\x32:.scheduler.v2.DownloadCachePeerBackToSourceFinishedRequestH\x00\x12Z\n\"download_cache_peer_failed_request\x18\n \x01(\x0b\x32,.scheduler.v2.DownloadCachePeerFailedRequestH\x00\x12u\n1download_cache_peer_back_to_source_failed_request\x18\x0b \x01(\x0b\x32\x38.scheduler.v2.DownloadCachePeerBackToSourceFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\x0c \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12p\n.download_piece_back_to_source_finished_request\x18\r \x01(\x0b\x32\x36.scheduler.v2.DownloadPieceBackToSourceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\x0e \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x12l\n,download_piece_back_to_source_failed_request\x18\x0f \x01(\x0b\x32\x34.scheduler.v2.DownloadPieceBackToSourceFailedRequestH\x00\x42\t\n\x07request\"\x18\n\x16\x45mptyCacheTaskResponse\"J\n\x17NormalCacheTaskResponse\x12/\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x14.common.v2.CachePeer\"\x8f\x02\n\x19\x41nnounceCachePeerResponse\x12I\n\x19\x65mpty_cache_task_response\x18\x01 \x01(\x0b\x32$.scheduler.v2.EmptyCacheTaskResponseH\x00\x12K\n\x1anormal_cache_task_response\x18\x02 \x01(\x0b\x32%.scheduler.v2.NormalCacheTaskResponseH\x00\x12N\n\x1cneed_back_to_source_response\x18\x03 \x01(\x0b\x32&.scheduler.v2.NeedBackToSourceResponseH\x00\x42\n\n\x08response\"I\n\x14StatCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"K\n\x16\x44\x65leteCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"8\n\x14StatCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\":\n\x16\x44\x65leteCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"\x8e\x02\n\x1dRegisterPersistentPeerRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x30\n\x0eobject_storage\x18\x02 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12\x12\n\npersistent\x18\x03 \x01(\x08\x12\x18\n\x0boutput_path\x18\x04 \x01(\tH\x00\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x0bpiece_count\x18\x06 \x01(\x04\x12\x1b\n\x13need_back_to_source\x18\x07 \x01(\x08\x42\x0e\n\x0c_output_pathB\x19\n\x17_concurrent_piece_count\"&\n$DownloadPersistentPeerStartedRequest\"\\\n0DownloadPersistentPeerBackToSourceStartedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x81\x01\n\x1fReschedulePersistentPeerRequest\x12\x34\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x19.common.v2.PersistentPeer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\'\n%DownloadPersistentPeerFinishedRequest\"3\n1DownloadPersistentPeerBackToSourceFinishedRequest\"O\n#DownloadPersistentPeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"[\n/DownloadPersistentPeerBackToSourceFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xe0\n\n\x1d\x41nnouncePersistentPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12W\n register_persistent_peer_request\x18\x04 \x01(\x0b\x32+.scheduler.v2.RegisterPersistentPeerRequestH\x00\x12\x66\n(download_persistent_peer_started_request\x18\x05 \x01(\x0b\x32\x32.scheduler.v2.DownloadPersistentPeerStartedRequestH\x00\x12\x81\x01\n7download_persistent_peer_back_to_source_started_request\x18\x06 \x01(\x0b\x32>.scheduler.v2.DownloadPersistentPeerBackToSourceStartedRequestH\x00\x12[\n\"reschedule_persistent_peer_request\x18\x07 \x01(\x0b\x32-.scheduler.v2.ReschedulePersistentPeerRequestH\x00\x12h\n)download_persistent_peer_finished_request\x18\x08 \x01(\x0b\x32\x33.scheduler.v2.DownloadPersistentPeerFinishedRequestH\x00\x12\x83\x01\n8download_persistent_peer_back_to_source_finished_request\x18\t \x01(\x0b\x32?.scheduler.v2.DownloadPersistentPeerBackToSourceFinishedRequestH\x00\x12\x64\n\'download_persistent_peer_failed_request\x18\n \x01(\x0b\x32\x31.scheduler.v2.DownloadPersistentPeerFailedRequestH\x00\x12\x7f\n6download_persistent_peer_back_to_source_failed_request\x18\x0b \x01(\x0b\x32=.scheduler.v2.DownloadPersistentPeerBackToSourceFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\x0c \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12p\n.download_piece_back_to_source_finished_request\x18\r \x01(\x0b\x32\x36.scheduler.v2.DownloadPieceBackToSourceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\x0e \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x12l\n,download_piece_back_to_source_failed_request\x18\x0f \x01(\x0b\x32\x34.scheduler.v2.DownloadPieceBackToSourceFailedRequestH\x00\x42\t\n\x07request\"\x1d\n\x1b\x45mptyPersistentTaskResponse\"T\n\x1cNormalPersistentTaskResponse\x12\x34\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x19.common.v2.PersistentPeer\"\xa8\x02\n\x1e\x41nnouncePersistentPeerResponse\x12S\n\x1e\x65mpty_persistent_task_response\x18\x01 \x01(\x0b\x32).scheduler.v2.EmptyPersistentTaskResponseH\x00\x12U\n\x1fnormal_persistent_task_response\x18\x02 \x01(\x0b\x32*.scheduler.v2.NormalPersistentTaskResponseH\x00\x12N\n\x1cneed_back_to_source_response\x18\x03 \x01(\x0b\x32&.scheduler.v2.NeedBackToSourceResponseH\x00\x42\n\n\x08response\"N\n\x19StatPersistentPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"P\n\x1b\x44\x65letePersistentPeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\x8d\x02\n\"UploadPersistentTaskStartedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12\x30\n\x0eobject_storage\x18\x05 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12 \n\x18persistent_replica_count\x18\x06 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x07 \x01(\x04\x12\x13\n\x0bpiece_count\x18\x08 \x01(\r\x12&\n\x03ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\"X\n#UploadPersistentTaskFinishedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\x80\x01\n!UploadPersistentTaskFailedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"=\n\x19StatPersistentTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"?\n\x1b\x44\x65letePersistentTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"\x91\x02\n\"RegisterPersistentCachePeerRequest\x12\x12\n\npersistent\x18\x01 \x01(\x08\x12\x10\n\x03tag\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpiece_length\x18\x04 \x01(\x04\x12\x18\n\x0boutput_path\x18\x05 \x01(\tH\x02\x88\x01\x01\x12#\n\x16\x63oncurrent_piece_count\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x13\n\x0bpiece_count\x18\x07 \x01(\x04\x42\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0e\n\x0c_output_pathB\x19\n\x17_concurrent_piece_count\"+\n)DownloadPersistentCachePeerStartedRequest\"\x8b\x01\n$ReschedulePersistentCachePeerRequest\x12\x39\n\x11\x63\x61ndidate_parents\x18\x01 \x03(\x0b\x32\x1e.common.v2.PersistentCachePeer\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"?\n*DownloadPersistentCachePeerFinishedRequestJ\x04\x08\x01\x10\x02R\x0bpiece_count\"T\n(DownloadPersistentCachePeerFailedRequest\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xb1\x06\n\"AnnouncePersistentCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x62\n&register_persistent_cache_peer_request\x18\x04 \x01(\x0b\x32\x30.scheduler.v2.RegisterPersistentCachePeerRequestH\x00\x12q\n.download_persistent_cache_peer_started_request\x18\x05 \x01(\x0b\x32\x37.scheduler.v2.DownloadPersistentCachePeerStartedRequestH\x00\x12\x66\n(reschedule_persistent_cache_peer_request\x18\x06 \x01(\x0b\x32\x32.scheduler.v2.ReschedulePersistentCachePeerRequestH\x00\x12s\n/download_persistent_cache_peer_finished_request\x18\x07 \x01(\x0b\x32\x38.scheduler.v2.DownloadPersistentCachePeerFinishedRequestH\x00\x12o\n-download_persistent_cache_peer_failed_request\x18\x08 \x01(\x0b\x32\x36.scheduler.v2.DownloadPersistentCachePeerFailedRequestH\x00\x12U\n\x1f\x64ownload_piece_finished_request\x18\t \x01(\x0b\x32*.scheduler.v2.DownloadPieceFinishedRequestH\x00\x12Q\n\x1d\x64ownload_piece_failed_request\x18\n \x01(\x0b\x32(.scheduler.v2.DownloadPieceFailedRequestH\x00\x42\t\n\x07request\"\"\n EmptyPersistentCacheTaskResponse\"d\n!NormalPersistentCacheTaskResponse\x12?\n\x17\x63\x61ndidate_cache_parents\x18\x01 \x03(\x0b\x32\x1e.common.v2.PersistentCachePeer\"\xf3\x01\n#AnnouncePersistentCachePeerResponse\x12^\n$empty_persistent_cache_task_response\x18\x01 \x01(\x0b\x32..scheduler.v2.EmptyPersistentCacheTaskResponseH\x00\x12`\n%normal_persistent_cache_task_response\x18\x02 \x01(\x0b\x32/.scheduler.v2.NormalPersistentCacheTaskResponseH\x00\x42\n\n\x08response\"S\n\x1eStatPersistentCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"U\n DeletePersistentCachePeerRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\xad\x02\n\'UploadPersistentCacheTaskStartedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12 \n\x18persistent_replica_count\x18\x04 \x01(\x04\x12\x10\n\x03tag\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpiece_length\x18\x07 \x01(\x04\x12\x16\n\x0e\x63ontent_length\x18\x08 \x01(\x04\x12\x13\n\x0bpiece_count\x18\t \x01(\r\x12&\n\x03ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\n\x04_tagB\x0e\n\x0c_application\"]\n(UploadPersistentCacheTaskFinishedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\"\x85\x01\n&UploadPersistentCacheTaskFailedRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"B\n\x1eStatPersistentCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"D\n DeletePersistentCacheTaskRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\"\xe0\x06\n\x13PreheatImageRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12=\n\x06header\x18\x06 \x03(\x0b\x32-.scheduler.v2.PreheatImageRequest.HeaderEntry\x12\x15\n\x08username\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08password\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x15\n\x08platform\x18\t \x01(\tH\x05\x88\x01\x01\x12\r\n\x05scope\x18\n \x01(\t\x12\x0b\n\x03ips\x18\x0b \x03(\t\x12\x17\n\npercentage\x18\x0c \x01(\rH\x06\x88\x01\x01\x12\x12\n\x05\x63ount\x18\r \x01(\rH\x07\x88\x01\x01\x12\"\n\x15\x63oncurrent_task_count\x18\x0e \x01(\x03H\x08\x88\x01\x01\x12\"\n\x15\x63oncurrent_peer_count\x18\x0f \x01(\x03H\t\x88\x01\x01\x12/\n\x07timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationH\n\x88\x01\x01\x12%\n\x08priority\x18\x11 \x01(\x0e\x32\x13.common.v2.Priority\x12\x19\n\x11\x63\x65rtificate_chain\x18\x12 \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\x13 \x01(\x08\x12(\n enable_task_id_based_blob_digest\x18\x14 \x01(\x08\x12$\n\x05image\x18\x15 \x01(\x0b\x32\x10.common.v2.ImageH\x0b\x88\x01\x01\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0b\n\t_usernameB\x0b\n\t_passwordB\x0b\n\t_platformB\r\n\x0b_percentageB\x08\n\x06_countB\x18\n\x16_concurrent_task_countB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeoutB\x08\n\x06_image\"\xb2\x05\n\x10StatImageRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12:\n\x06header\x18\x06 \x03(\x0b\x32*.scheduler.v2.StatImageRequest.HeaderEntry\x12\x15\n\x08username\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08password\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x15\n\x08platform\x18\t \x01(\tH\x05\x88\x01\x01\x12#\n\x16\x63oncurrent_layer_count\x18\n \x01(\x03H\x06\x88\x01\x01\x12\"\n\x15\x63oncurrent_peer_count\x18\x0b \x01(\x03H\x07\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x08\x88\x01\x01\x12\x19\n\x11\x63\x65rtificate_chain\x18\r \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\x0e \x01(\x08\x12\r\n\x05scope\x18\x0f \x01(\t\x12(\n enable_task_id_based_blob_digest\x18\x10 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0b\n\t_usernameB\x0b\n\t_passwordB\x0b\n\t_platformB\x19\n\x17_concurrent_layer_countB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeout\"_\n\x11StatImageResponse\x12\"\n\x05image\x18\x01 \x01(\x0b\x32\x13.scheduler.v2.Image\x12&\n\x05peers\x18\x02 \x03(\x0b\x32\x17.scheduler.v2.PeerImage\"U\n\tPeerImage\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12*\n\rcached_layers\x18\x03 \x03(\x0b\x32\x13.scheduler.v2.Layer\",\n\x05Image\x12#\n\x06layers\x18\x01 \x03(\x0b\x32\x13.scheduler.v2.Layer\">\n\x05Layer\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x18\n\x0bis_finished\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x0e\n\x0c_is_finished\"\xb9\x06\n\x12PreheatFileRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12<\n\x06header\x18\x06 \x03(\x0b\x32,.scheduler.v2.PreheatFileRequest.HeaderEntry\x12\r\n\x05scope\x18\x07 \x01(\t\x12\x0b\n\x03ips\x18\x08 \x03(\t\x12\x17\n\npercentage\x18\t \x01(\rH\x03\x88\x01\x01\x12\x12\n\x05\x63ount\x18\n \x01(\rH\x04\x88\x01\x01\x12\"\n\x15\x63oncurrent_task_count\x18\x0b \x01(\x03H\x05\x88\x01\x01\x12\"\n\x15\x63oncurrent_peer_count\x18\x0c \x01(\x03H\x06\x88\x01\x01\x12/\n\x07timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.DurationH\x07\x88\x01\x01\x12%\n\x08priority\x18\x0e \x01(\x0e\x32\x13.common.v2.Priority\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x08\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\t\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x13 \x01(\tH\n\x88\x01\x01\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\r\n\x0b_percentageB\x08\n\x06_countB\x18\n\x16_concurrent_task_countB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\x0e\n\x0c_output_path\"\xc2\x04\n\x0fStatFileRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03tag\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x66iltered_query_params\x18\x05 \x03(\t\x12\x39\n\x06header\x18\x06 \x03(\x0b\x32).scheduler.v2.StatFileRequest.HeaderEntry\x12\"\n\x15\x63oncurrent_peer_count\x18\x07 \x01(\x03H\x03\x88\x01\x01\x12/\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x19\n\x11\x63\x65rtificate_chain\x18\t \x03(\x0c\x12\x1c\n\x14insecure_skip_verify\x18\n \x01(\x08\x12\x35\n\x0eobject_storage\x18\x0b \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x05\x88\x01\x01\x12\"\n\x04hdfs\x18\x0c \x01(\x0b\x32\x0f.common.v2.HDFSH\x06\x88\x01\x01\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x18\n\x16_concurrent_peer_countB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfs\"9\n\x10StatFileResponse\x12%\n\x05peers\x18\x01 \x03(\x0b\x32\x16.scheduler.v2.PeerFile\"R\n\x08PeerFile\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12(\n\x0c\x63\x61\x63hed_files\x18\x03 \x03(\x0b\x32\x12.scheduler.v2.File\"=\n\x04\x46ile\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x18\n\x0bis_finished\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x0e\n\x0c_is_finished2\xc2\x17\n\tScheduler\x12Y\n\x0c\x41nnouncePeer\x12!.scheduler.v2.AnnouncePeerRequest\x1a\".scheduler.v2.AnnouncePeerResponse(\x01\x30\x01\x12:\n\x08StatPeer\x12\x1d.scheduler.v2.StatPeerRequest\x1a\x0f.common.v2.Peer\x12\x45\n\nDeletePeer\x12\x1f.scheduler.v2.DeletePeerRequest\x1a\x16.google.protobuf.Empty\x12:\n\x08StatTask\x12\x1d.scheduler.v2.StatTaskRequest\x1a\x0f.common.v2.Task\x12\x45\n\nDeleteTask\x12\x1f.scheduler.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\x12I\n\x0c\x41nnounceHost\x12!.scheduler.v2.AnnounceHostRequest\x1a\x16.google.protobuf.Empty\x12L\n\tListHosts\x12\x1e.scheduler.v2.ListHostsRequest\x1a\x1f.scheduler.v2.ListHostsResponse\x12\x45\n\nDeleteHost\x12\x1f.scheduler.v2.DeleteHostRequest\x1a\x16.google.protobuf.Empty\x12h\n\x11\x41nnounceCachePeer\x12&.scheduler.v2.AnnounceCachePeerRequest\x1a\'.scheduler.v2.AnnounceCachePeerResponse(\x01\x30\x01\x12I\n\rStatCachePeer\x12\".scheduler.v2.StatCachePeerRequest\x1a\x14.common.v2.CachePeer\x12O\n\x0f\x44\x65leteCachePeer\x12$.scheduler.v2.DeleteCachePeerRequest\x1a\x16.google.protobuf.Empty\x12I\n\rStatCacheTask\x12\".scheduler.v2.StatCacheTaskRequest\x1a\x14.common.v2.CacheTask\x12O\n\x0f\x44\x65leteCacheTask\x12$.scheduler.v2.DeleteCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12w\n\x16\x41nnouncePersistentPeer\x12+.scheduler.v2.AnnouncePersistentPeerRequest\x1a,.scheduler.v2.AnnouncePersistentPeerResponse(\x01\x30\x01\x12X\n\x12StatPersistentPeer\x12\'.scheduler.v2.StatPersistentPeerRequest\x1a\x19.common.v2.PersistentPeer\x12Y\n\x14\x44\x65letePersistentPeer\x12).scheduler.v2.DeletePersistentPeerRequest\x1a\x16.google.protobuf.Empty\x12g\n\x1bUploadPersistentTaskStarted\x12\x30.scheduler.v2.UploadPersistentTaskStartedRequest\x1a\x16.google.protobuf.Empty\x12l\n\x1cUploadPersistentTaskFinished\x12\x31.scheduler.v2.UploadPersistentTaskFinishedRequest\x1a\x19.common.v2.PersistentTask\x12\x65\n\x1aUploadPersistentTaskFailed\x12/.scheduler.v2.UploadPersistentTaskFailedRequest\x1a\x16.google.protobuf.Empty\x12X\n\x12StatPersistentTask\x12\'.scheduler.v2.StatPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12Y\n\x14\x44\x65letePersistentTask\x12).scheduler.v2.DeletePersistentTaskRequest\x1a\x16.google.protobuf.Empty\x12\x86\x01\n\x1b\x41nnouncePersistentCachePeer\x12\x30.scheduler.v2.AnnouncePersistentCachePeerRequest\x1a\x31.scheduler.v2.AnnouncePersistentCachePeerResponse(\x01\x30\x01\x12g\n\x17StatPersistentCachePeer\x12,.scheduler.v2.StatPersistentCachePeerRequest\x1a\x1e.common.v2.PersistentCachePeer\x12\x63\n\x19\x44\x65letePersistentCachePeer\x12..scheduler.v2.DeletePersistentCachePeerRequest\x1a\x16.google.protobuf.Empty\x12q\n UploadPersistentCacheTaskStarted\x12\x35.scheduler.v2.UploadPersistentCacheTaskStartedRequest\x1a\x16.google.protobuf.Empty\x12{\n!UploadPersistentCacheTaskFinished\x12\x36.scheduler.v2.UploadPersistentCacheTaskFinishedRequest\x1a\x1e.common.v2.PersistentCacheTask\x12o\n\x1fUploadPersistentCacheTaskFailed\x12\x34.scheduler.v2.UploadPersistentCacheTaskFailedRequest\x1a\x16.google.protobuf.Empty\x12g\n\x17StatPersistentCacheTask\x12,.scheduler.v2.StatPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x63\n\x19\x44\x65letePersistentCacheTask\x12..scheduler.v2.DeletePersistentCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12I\n\x0cPreheatImage\x12!.scheduler.v2.PreheatImageRequest\x1a\x16.google.protobuf.Empty\x12L\n\tStatImage\x12\x1e.scheduler.v2.StatImageRequest\x1a\x1f.scheduler.v2.StatImageResponse\x12G\n\x0bPreheatFile\x12 .scheduler.v2.PreheatFileRequest\x1a\x16.google.protobuf.Empty\x12I\n\x08StatFile\x12\x1d.scheduler.v2.StatFileRequest\x1a\x1e.scheduler.v2.StatFileResponseb\x06proto3')
32
32
 
33
33
  _globals = globals()
34
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -202,35 +202,35 @@ if not _descriptor._USE_C_DESCRIPTORS:
202
202
  _globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_start=13075
203
203
  _globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_end=13143
204
204
  _globals['_PREHEATIMAGEREQUEST']._serialized_start=13146
205
- _globals['_PREHEATIMAGEREQUEST']._serialized_end=13962
206
- _globals['_PREHEATIMAGEREQUEST_HEADERENTRY']._serialized_start=13748
207
- _globals['_PREHEATIMAGEREQUEST_HEADERENTRY']._serialized_end=13793
208
- _globals['_STATIMAGEREQUEST']._serialized_start=13965
209
- _globals['_STATIMAGEREQUEST']._serialized_end=14655
210
- _globals['_STATIMAGEREQUEST_HEADERENTRY']._serialized_start=13748
211
- _globals['_STATIMAGEREQUEST_HEADERENTRY']._serialized_end=13793
212
- _globals['_STATIMAGERESPONSE']._serialized_start=14657
213
- _globals['_STATIMAGERESPONSE']._serialized_end=14752
214
- _globals['_PEERIMAGE']._serialized_start=14754
215
- _globals['_PEERIMAGE']._serialized_end=14839
216
- _globals['_IMAGE']._serialized_start=14841
217
- _globals['_IMAGE']._serialized_end=14885
218
- _globals['_LAYER']._serialized_start=14887
219
- _globals['_LAYER']._serialized_end=14949
220
- _globals['_PREHEATFILEREQUEST']._serialized_start=14952
221
- _globals['_PREHEATFILEREQUEST']._serialized_end=15777
222
- _globals['_PREHEATFILEREQUEST_HEADERENTRY']._serialized_start=13748
223
- _globals['_PREHEATFILEREQUEST_HEADERENTRY']._serialized_end=13793
224
- _globals['_STATFILEREQUEST']._serialized_start=15780
225
- _globals['_STATFILEREQUEST']._serialized_end=16358
226
- _globals['_STATFILEREQUEST_HEADERENTRY']._serialized_start=13748
227
- _globals['_STATFILEREQUEST_HEADERENTRY']._serialized_end=13793
228
- _globals['_STATFILERESPONSE']._serialized_start=16360
229
- _globals['_STATFILERESPONSE']._serialized_end=16417
230
- _globals['_PEERFILE']._serialized_start=16419
231
- _globals['_PEERFILE']._serialized_end=16501
232
- _globals['_FILE']._serialized_start=16503
233
- _globals['_FILE']._serialized_end=16564
234
- _globals['_SCHEDULER']._serialized_start=16567
235
- _globals['_SCHEDULER']._serialized_end=19577
205
+ _globals['_PREHEATIMAGEREQUEST']._serialized_end=14010
206
+ _globals['_PREHEATIMAGEREQUEST_HEADERENTRY']._serialized_start=13786
207
+ _globals['_PREHEATIMAGEREQUEST_HEADERENTRY']._serialized_end=13831
208
+ _globals['_STATIMAGEREQUEST']._serialized_start=14013
209
+ _globals['_STATIMAGEREQUEST']._serialized_end=14703
210
+ _globals['_STATIMAGEREQUEST_HEADERENTRY']._serialized_start=13786
211
+ _globals['_STATIMAGEREQUEST_HEADERENTRY']._serialized_end=13831
212
+ _globals['_STATIMAGERESPONSE']._serialized_start=14705
213
+ _globals['_STATIMAGERESPONSE']._serialized_end=14800
214
+ _globals['_PEERIMAGE']._serialized_start=14802
215
+ _globals['_PEERIMAGE']._serialized_end=14887
216
+ _globals['_IMAGE']._serialized_start=14889
217
+ _globals['_IMAGE']._serialized_end=14933
218
+ _globals['_LAYER']._serialized_start=14935
219
+ _globals['_LAYER']._serialized_end=14997
220
+ _globals['_PREHEATFILEREQUEST']._serialized_start=15000
221
+ _globals['_PREHEATFILEREQUEST']._serialized_end=15825
222
+ _globals['_PREHEATFILEREQUEST_HEADERENTRY']._serialized_start=13786
223
+ _globals['_PREHEATFILEREQUEST_HEADERENTRY']._serialized_end=13831
224
+ _globals['_STATFILEREQUEST']._serialized_start=15828
225
+ _globals['_STATFILEREQUEST']._serialized_end=16406
226
+ _globals['_STATFILEREQUEST_HEADERENTRY']._serialized_start=13786
227
+ _globals['_STATFILEREQUEST_HEADERENTRY']._serialized_end=13831
228
+ _globals['_STATFILERESPONSE']._serialized_start=16408
229
+ _globals['_STATFILERESPONSE']._serialized_end=16465
230
+ _globals['_PEERFILE']._serialized_start=16467
231
+ _globals['_PEERFILE']._serialized_end=16549
232
+ _globals['_FILE']._serialized_start=16551
233
+ _globals['_FILE']._serialized_end=16612
234
+ _globals['_SCHEDULER']._serialized_start=16615
235
+ _globals['_SCHEDULER']._serialized_end=19625
236
236
  # @@protoc_insertion_point(module_scope)
@@ -762,7 +762,7 @@ class DeletePersistentCacheTaskRequest(_message.Message):
762
762
  def __init__(self, host_id: _Optional[str] = ..., task_id: _Optional[str] = ...) -> None: ...
763
763
 
764
764
  class PreheatImageRequest(_message.Message):
765
- __slots__ = ("url", "piece_length", "tag", "application", "filtered_query_params", "header", "username", "password", "platform", "scope", "ips", "percentage", "count", "concurrent_task_count", "concurrent_peer_count", "timeout", "priority", "certificate_chain", "insecure_skip_verify", "enable_task_id_based_blob_digest")
765
+ __slots__ = ("url", "piece_length", "tag", "application", "filtered_query_params", "header", "username", "password", "platform", "scope", "ips", "percentage", "count", "concurrent_task_count", "concurrent_peer_count", "timeout", "priority", "certificate_chain", "insecure_skip_verify", "enable_task_id_based_blob_digest", "image")
766
766
  class HeaderEntry(_message.Message):
767
767
  __slots__ = ("key", "value")
768
768
  KEY_FIELD_NUMBER: _ClassVar[int]
@@ -790,6 +790,7 @@ class PreheatImageRequest(_message.Message):
790
790
  CERTIFICATE_CHAIN_FIELD_NUMBER: _ClassVar[int]
791
791
  INSECURE_SKIP_VERIFY_FIELD_NUMBER: _ClassVar[int]
792
792
  ENABLE_TASK_ID_BASED_BLOB_DIGEST_FIELD_NUMBER: _ClassVar[int]
793
+ IMAGE_FIELD_NUMBER: _ClassVar[int]
793
794
  url: str
794
795
  piece_length: int
795
796
  tag: str
@@ -810,7 +811,8 @@ class PreheatImageRequest(_message.Message):
810
811
  certificate_chain: _containers.RepeatedScalarFieldContainer[bytes]
811
812
  insecure_skip_verify: bool
812
813
  enable_task_id_based_blob_digest: bool
813
- def __init__(self, url: _Optional[str] = ..., piece_length: _Optional[int] = ..., tag: _Optional[str] = ..., application: _Optional[str] = ..., filtered_query_params: _Optional[_Iterable[str]] = ..., header: _Optional[_Mapping[str, str]] = ..., username: _Optional[str] = ..., password: _Optional[str] = ..., platform: _Optional[str] = ..., scope: _Optional[str] = ..., ips: _Optional[_Iterable[str]] = ..., percentage: _Optional[int] = ..., count: _Optional[int] = ..., concurrent_task_count: _Optional[int] = ..., concurrent_peer_count: _Optional[int] = ..., timeout: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., priority: _Optional[_Union[_common_pb2.Priority, str]] = ..., certificate_chain: _Optional[_Iterable[bytes]] = ..., insecure_skip_verify: bool = ..., enable_task_id_based_blob_digest: bool = ...) -> None: ...
814
+ image: _common_pb2.Image
815
+ def __init__(self, url: _Optional[str] = ..., piece_length: _Optional[int] = ..., tag: _Optional[str] = ..., application: _Optional[str] = ..., filtered_query_params: _Optional[_Iterable[str]] = ..., header: _Optional[_Mapping[str, str]] = ..., username: _Optional[str] = ..., password: _Optional[str] = ..., platform: _Optional[str] = ..., scope: _Optional[str] = ..., ips: _Optional[_Iterable[str]] = ..., percentage: _Optional[int] = ..., count: _Optional[int] = ..., concurrent_task_count: _Optional[int] = ..., concurrent_peer_count: _Optional[int] = ..., timeout: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., priority: _Optional[_Union[_common_pb2.Priority, str]] = ..., certificate_chain: _Optional[_Iterable[bytes]] = ..., insecure_skip_verify: bool = ..., enable_task_id_based_blob_digest: bool = ..., image: _Optional[_Union[_common_pb2.Image, _Mapping]] = ...) -> None: ...
814
816
 
815
817
  class StatImageRequest(_message.Message):
816
818
  __slots__ = ("url", "piece_length", "tag", "application", "filtered_query_params", "header", "username", "password", "platform", "concurrent_layer_count", "concurrent_peer_count", "timeout", "certificate_chain", "insecure_skip_verify", "scope", "enable_task_id_based_blob_digest")
@@ -1,172 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: dfdaemon.proto
5
- # Protobuf Python Version: 6.31.1
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 6,
15
- 31,
16
- 1,
17
- '',
18
- 'dfdaemon.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from . import common_pb2 as common__pb2
26
- from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
27
- from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
28
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
29
-
30
-
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x64\x66\x64\x61\x65mon.proto\x12\x0b\x64\x66\x64\x61\x65mon.v2\x1a\x0c\x63ommon.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"<\n\x13\x44ownloadTaskRequest\x12%\n\x08\x64ownload\x18\x01 \x01(\x0b\x32\x13.common.v2.Download\"\xaa\x02\n\x1b\x44ownloadTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12U\n\x0fresponse_header\x18\x03 \x03(\x0b\x32<.dfdaemon.v2.DownloadTaskStartedResponse.ResponseHeaderEntry\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\x13\n\x0bis_finished\x18\x05 \x01(\x08\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06_range\"@\n\x1d\x44ownloadPieceFinishedResponse\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\"\x81\x02\n\x14\x44ownloadTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12R\n\x1e\x64ownload_task_started_response\x18\x04 \x01(\x0b\x32(.dfdaemon.v2.DownloadTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"W\n\x11SyncPiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12 \n\x18interested_piece_numbers\x18\x03 \x03(\r\"\x9a\x01\n\x12SyncPiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x15\n\x08tcp_port\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tquic_port\x18\x06 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_tcp_portB\x0c\n\n_quic_port\"Z\n\x0fStatTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ipJ\x04\x08\x03\x10\x04R\nlocal_only\"M\n\x14StatLocalTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xef\x04\n\x15StatLocalTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x19\n\x0cpiece_length\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x1b\n\x0e\x63ontent_length\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12O\n\x0fresponse_header\x18\x04 \x03(\x0b\x32\x36.dfdaemon.v2.StatLocalTaskResponse.ResponseHeaderEntry\x12\x17\n\x0fuploading_count\x18\x05 \x01(\x04\x12\x16\n\x0euploaded_count\x18\x06 \x01(\x04\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\rprefetched_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x32\n\tfailed_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x34\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_piece_lengthB\x11\n\x0f_content_lengthB\x10\n\x0e_prefetched_atB\x0c\n\n_failed_atB\x0e\n\x0c_finished_at\"=\n\x15ListLocalTasksRequest\x12\x16\n\tremote_ip\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"K\n\x16ListLocalTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".dfdaemon.v2.StatLocalTaskResponse\"\xee\x04\n\x16ListTaskEntriesRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12N\n\x0erequest_header\x18\x03 \x03(\x0b\x32\x36.dfdaemon.v2.ListTaskEntriesRequest.RequestHeaderEntry\x12/\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x19\n\x11\x63\x65rtificate_chain\x18\x05 \x03(\x0c\x12\x35\n\x0eobject_storage\x18\x06 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x01\x88\x01\x01\x12\"\n\x04hdfs\x18\x07 \x01(\x0b\x32\x0f.common.v2.HDFSH\x02\x88\x01\x01\x12\x16\n\tremote_ip\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x31\n\x0chugging_face\x18\t \x01(\x0b\x32\x16.common.v2.HuggingFaceH\x04\x88\x01\x01\x12/\n\x0bmodel_scope\x18\n \x01(\x0b\x32\x15.common.v2.ModelScopeH\x05\x88\x01\x01\x12)\n\x08open_csg\x18\x0b \x01(\x0b\x32\x12.common.v2.OpenCSGH\x06\x88\x01\x01\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\x0c\n\n_remote_ipB\x0f\n\r_hugging_faceB\x0e\n\x0c_model_scopeB\x0b\n\t_open_csg\"\x8a\x02\n\x17ListTaskEntriesResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\x12Q\n\x0fresponse_header\x18\x02 \x03(\x0b\x32\x38.dfdaemon.v2.ListTaskEntriesResponse.ResponseHeaderEntry\x12\x18\n\x0bstatus_code\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12#\n\x07\x65ntries\x18\x04 \x03(\x0b\x32\x12.dfdaemon.v2.Entry\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_status_code\"<\n\x05\x45ntry\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x16\n\x0e\x63ontent_length\x18\x02 \x01(\x04\x12\x0e\n\x06is_dir\x18\x03 \x01(\x08\"J\n\x11\x44\x65leteTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"O\n\x16\x44\x65leteLocalTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xdc\x07\n\x18\x44ownloadCacheTaskRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x05range\x18\x03 \x01(\x0b\x32\x10.common.v2.RangeH\x01\x88\x01\x01\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.common.v2.TaskType\x12\x10\n\x03tag\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x06 \x01(\tH\x03\x88\x01\x01\x12%\n\x08priority\x18\x07 \x01(\x0e\x32\x13.common.v2.Priority\x12\x1d\n\x15\x66iltered_query_params\x18\x08 \x03(\t\x12P\n\x0erequest_header\x18\t \x03(\x0b\x32\x38.dfdaemon.v2.DownloadCacheTaskRequest.RequestHeaderEntry\x12\x19\n\x0cpiece_length\x18\n \x01(\x04H\x04\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x0b \x01(\tH\x05\x88\x01\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12\x1e\n\x16\x64isable_back_to_source\x18\r \x01(\x08\x12\x1b\n\x13need_back_to_source\x18\x0e \x01(\x08\x12\x19\n\x11\x63\x65rtificate_chain\x18\x0f \x03(\x0c\x12\x10\n\x08prefetch\x18\x10 \x01(\x08\x12\x35\n\x0eobject_storage\x18\x11 \x01(\x0b\x32\x18.common.v2.ObjectStorageH\x07\x88\x01\x01\x12\"\n\x04hdfs\x18\x12 \x01(\x0b\x32\x0f.common.v2.HDFSH\x08\x88\x01\x01\x12\x13\n\x0bis_prefetch\x18\x13 \x01(\x08\x12\x1a\n\x12need_piece_content\x18\x14 \x01(\x08\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x15 \x01(\tH\t\x88\x01\x01\x12\x16\n\tremote_ip\x18\x16 \x01(\tH\n\x88\x01\x01\x12\x11\n\toverwrite\x18\x17 \x01(\x08\x1a\x34\n\x12RequestHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_digestB\x08\n\x06_rangeB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\x11\n\x0f_object_storageB\x07\n\x05_hdfsB\"\n _content_for_calculating_task_idB\x0c\n\n_remote_ip\"\xb4\x02\n DownloadCacheTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\x12$\n\x05range\x18\x02 \x01(\x0b\x32\x10.common.v2.RangeH\x00\x88\x01\x01\x12Z\n\x0fresponse_header\x18\x03 \x03(\x0b\x32\x41.dfdaemon.v2.DownloadCacheTaskStartedResponse.ResponseHeaderEntry\x12 \n\x06pieces\x18\x04 \x03(\x0b\x32\x10.common.v2.Piece\x12\x13\n\x0bis_finished\x18\x05 \x01(\x08\x1a\x35\n\x13ResponseHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06_range\"\x91\x02\n\x19\x44ownloadCacheTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12]\n$download_cache_task_started_response\x18\x04 \x01(\x0b\x32-.dfdaemon.v2.DownloadCacheTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"b\n\x16SyncCachePiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12&\n\x1einterested_cache_piece_numbers\x18\x03 \x03(\r\"I\n\x17SyncCachePiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\"S\n\x19\x44ownloadCachePieceRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x14\n\x0cpiece_number\x18\x03 \x01(\r\"]\n\x1a\x44ownloadCachePieceResponse\x12\x1f\n\x05piece\x18\x01 \x01(\x0b\x32\x10.common.v2.Piece\x12\x13\n\x06\x64igest\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_digest\"M\n\x14StatCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"O\n\x16\x44\x65leteCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xe7\x02\n\x1d\x44ownloadPersistentTaskRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x30\n\x0eobject_storage\x18\x02 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12\x12\n\npersistent\x18\x03 \x01(\x08\x12\x18\n\x0boutput_path\x18\x04 \x01(\tH\x00\x88\x01\x01\x12/\n\x07timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12\x1a\n\x12need_piece_content\x18\x06 \x01(\x08\x12\x17\n\x0f\x66orce_hard_link\x18\x07 \x01(\x08\x12\x13\n\x06\x64igest\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tremote_ip\x18\t \x01(\tH\x03\x88\x01\x01\x12\x11\n\toverwrite\x18\n \x01(\x08\x42\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\t\n\x07_digestB\x0c\n\n_remote_ip\"?\n%DownloadPersistentTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\"\xa0\x02\n\x1e\x44ownloadPersistentTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12g\n)download_persistent_task_started_response\x18\x04 \x01(\x0b\x32\x32.dfdaemon.v2.DownloadPersistentTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"\x97\x02\n\x1bUploadPersistentTaskRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x30\n\x0eobject_storage\x18\x02 \x01(\x0b\x32\x18.common.v2.ObjectStorage\x12\x0c\n\x04path\x18\x03 \x01(\t\x12 \n\x18persistent_replica_count\x18\x04 \x01(\x04\x12&\n\x03ttl\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x16\n\tremote_ip\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_timeoutB\x0c\n\n_remote_ip\"h\n\x1bUpdatePersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\x16\n\tremote_ip\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"R\n\x19StatPersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"W\n\x1eStatLocalPersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xe3\x03\n\x1fStatLocalPersistentTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x0cpiece_length\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x1b\n\x0e\x63ontent_length\x18\x05 \x01(\x04H\x01\x88\x01\x01\x12\x17\n\x0fuploading_count\x18\x06 \x01(\x04\x12\x16\n\x0euploaded_count\x18\x07 \x01(\x04\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\tfailed_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x34\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x42\x0f\n\r_piece_lengthB\x11\n\x0f_content_lengthB\x0c\n\n_failed_atB\x0e\n\x0c_finished_at\"G\n\x1fListLocalPersistentTasksRequest\x12\x16\n\tremote_ip\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"_\n ListLocalPersistentTasksResponse\x12;\n\x05tasks\x18\x01 \x03(\x0b\x32,.dfdaemon.v2.StatLocalPersistentTaskResponse\"T\n\x1b\x44\x65letePersistentTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"a\n\x1bSyncPersistentPiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12 \n\x18interested_piece_numbers\x18\x03 \x03(\r\"\xa4\x01\n\x1cSyncPersistentPiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x15\n\x08tcp_port\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tquic_port\x18\x06 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_tcp_portB\x0c\n\n_quic_port\"\x82\x03\n\"DownloadPersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\x10\n\x03tag\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0boutput_path\x18\x05 \x01(\tH\x02\x88\x01\x01\x12/\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12\x1a\n\x12need_piece_content\x18\x07 \x01(\x08\x12\x17\n\x0f\x66orce_hard_link\x18\x08 \x01(\x08\x12\x13\n\x06\x64igest\x18\t \x01(\tH\x04\x88\x01\x01\x12\x16\n\tremote_ip\x18\n \x01(\tH\x05\x88\x01\x01\x12\x11\n\toverwrite\x18\x0b \x01(\x08\x42\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0e\n\x0c_output_pathB\n\n\x08_timeoutB\t\n\x07_digestB\x0c\n\n_remote_ip\"D\n*DownloadPersistentCacheTaskStartedResponse\x12\x16\n\x0e\x63ontent_length\x18\x01 \x01(\x04\"\xb0\x02\n#DownloadPersistentCacheTaskResponse\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0f\n\x07peer_id\x18\x03 \x01(\t\x12r\n/download_persistent_cache_task_started_response\x18\x04 \x01(\x0b\x32\x37.dfdaemon.v2.DownloadPersistentCacheTaskStartedResponseH\x00\x12V\n download_piece_finished_response\x18\x05 \x01(\x0b\x32*.dfdaemon.v2.DownloadPieceFinishedResponseH\x00\x42\n\n\x08response\"\x9f\x03\n UploadPersistentCacheTaskRequest\x12,\n\x1f\x63ontent_for_calculating_task_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x0c\n\x04path\x18\x02 \x01(\t\x12 \n\x18persistent_replica_count\x18\x03 \x01(\x04\x12\x10\n\x03tag\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pplication\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0cpiece_length\x18\x06 \x01(\x04H\x03\x88\x01\x01\x12&\n\x03ttl\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x16\n\tremote_ip\x18\t \x01(\tH\x05\x88\x01\x01\x42\"\n _content_for_calculating_task_idB\x06\n\x04_tagB\x0e\n\x0c_applicationB\x0f\n\r_piece_lengthB\n\n\x08_timeoutB\x0c\n\n_remote_ip\"m\n UpdatePersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12\x16\n\tremote_ip\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"W\n\x1eStatPersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\\\n#StatLocalPersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"\xe8\x03\n$StatLocalPersistentCacheTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x12\n\npersistent\x18\x02 \x01(\x08\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x0cpiece_length\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x1b\n\x0e\x63ontent_length\x18\x05 \x01(\x04H\x01\x88\x01\x01\x12\x17\n\x0fuploading_count\x18\x06 \x01(\x04\x12\x16\n\x0euploaded_count\x18\x07 \x01(\x04\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\tfailed_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x34\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x42\x0f\n\r_piece_lengthB\x11\n\x0f_content_lengthB\x0c\n\n_failed_atB\x0e\n\x0c_finished_at\"L\n$ListLocalPersistentCacheTasksRequest\x12\x16\n\tremote_ip\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"i\n%ListLocalPersistentCacheTasksResponse\x12@\n\x05tasks\x18\x01 \x03(\x0b\x32\x31.dfdaemon.v2.StatLocalPersistentCacheTaskResponse\"Y\n DeletePersistentCacheTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\tremote_ip\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_remote_ip\"f\n SyncPersistentCachePiecesRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12 \n\x18interested_piece_numbers\x18\x03 \x03(\r\"\xa9\x01\n!SyncPersistentCachePiecesResponse\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\x12\x15\n\x08tcp_port\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tquic_port\x18\x06 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_tcp_portB\x0c\n\n_quic_port\"3\n\x0fSyncHostRequest\x12\x0f\n\x07host_id\x18\x01 \x01(\t\x12\x0f\n\x07peer_id\x18\x02 \x01(\t\"A\n\x18IBVerbsQueuePairEndpoint\x12\x0b\n\x03num\x18\x01 \x01(\r\x12\x0b\n\x03lid\x18\x02 \x01(\r\x12\x0b\n\x03gid\x18\x03 \x01(\x0c\x32\x97\x10\n\x0e\x44\x66\x64\x61\x65monUpload\x12U\n\x0c\x44ownloadTask\x12 .dfdaemon.v2.DownloadTaskRequest\x1a!.dfdaemon.v2.DownloadTaskResponse0\x01\x12\x39\n\x08StatTask\x12\x1c.dfdaemon.v2.StatTaskRequest\x1a\x0f.common.v2.Task\x12V\n\rStatLocalTask\x12!.dfdaemon.v2.StatLocalTaskRequest\x1a\".dfdaemon.v2.StatLocalTaskResponse\x12\\\n\x0fListTaskEntries\x12#.dfdaemon.v2.ListTaskEntriesRequest\x1a$.dfdaemon.v2.ListTaskEntriesResponse\x12\x44\n\nDeleteTask\x12\x1e.dfdaemon.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\x12O\n\nSyncPieces\x12\x1e.dfdaemon.v2.SyncPiecesRequest\x1a\x1f.dfdaemon.v2.SyncPiecesResponse0\x01\x12\x64\n\x11\x44ownloadCacheTask\x12%.dfdaemon.v2.DownloadCacheTaskRequest\x1a&.dfdaemon.v2.DownloadCacheTaskResponse0\x01\x12H\n\rStatCacheTask\x12!.dfdaemon.v2.StatCacheTaskRequest\x1a\x14.common.v2.CacheTask\x12N\n\x0f\x44\x65leteCacheTask\x12#.dfdaemon.v2.DeleteCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12^\n\x0fSyncCachePieces\x12#.dfdaemon.v2.SyncCachePiecesRequest\x1a$.dfdaemon.v2.SyncCachePiecesResponse0\x01\x12\x65\n\x12\x44ownloadCachePiece\x12&.dfdaemon.v2.DownloadCachePieceRequest\x1a\'.dfdaemon.v2.DownloadCachePieceResponse\x12s\n\x16\x44ownloadPersistentTask\x12*.dfdaemon.v2.DownloadPersistentTaskRequest\x1a+.dfdaemon.v2.DownloadPersistentTaskResponse0\x01\x12m\n\x14SyncPersistentPieces\x12(.dfdaemon.v2.SyncPersistentPiecesRequest\x1a).dfdaemon.v2.SyncPersistentPiecesResponse0\x01\x12X\n\x14UpdatePersistentTask\x12(.dfdaemon.v2.UpdatePersistentTaskRequest\x1a\x16.google.protobuf.Empty\x12W\n\x12StatPersistentTask\x12&.dfdaemon.v2.StatPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12X\n\x14\x44\x65letePersistentTask\x12(.dfdaemon.v2.DeletePersistentTaskRequest\x1a\x16.google.protobuf.Empty\x12\x82\x01\n\x1b\x44ownloadPersistentCacheTask\x12/.dfdaemon.v2.DownloadPersistentCacheTaskRequest\x1a\x30.dfdaemon.v2.DownloadPersistentCacheTaskResponse0\x01\x12\x62\n\x19UpdatePersistentCacheTask\x12-.dfdaemon.v2.UpdatePersistentCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12\x66\n\x17StatPersistentCacheTask\x12+.dfdaemon.v2.StatPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x62\n\x19\x44\x65letePersistentCacheTask\x12-.dfdaemon.v2.DeletePersistentCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12|\n\x19SyncPersistentCachePieces\x12-.dfdaemon.v2.SyncPersistentCachePiecesRequest\x1a..dfdaemon.v2.SyncPersistentCachePiecesResponse0\x01\x12;\n\x08SyncHost\x12\x1c.dfdaemon.v2.SyncHostRequest\x1a\x0f.common.v2.Host0\x01\x32\x8b\x10\n\x10\x44\x66\x64\x61\x65monDownload\x12U\n\x0c\x44ownloadTask\x12 .dfdaemon.v2.DownloadTaskRequest\x1a!.dfdaemon.v2.DownloadTaskResponse0\x01\x12\x39\n\x08StatTask\x12\x1c.dfdaemon.v2.StatTaskRequest\x1a\x0f.common.v2.Task\x12V\n\rStatLocalTask\x12!.dfdaemon.v2.StatLocalTaskRequest\x1a\".dfdaemon.v2.StatLocalTaskResponse\x12Y\n\x0eListLocalTasks\x12\".dfdaemon.v2.ListLocalTasksRequest\x1a#.dfdaemon.v2.ListLocalTasksResponse\x12\\\n\x0fListTaskEntries\x12#.dfdaemon.v2.ListTaskEntriesRequest\x1a$.dfdaemon.v2.ListTaskEntriesResponse\x12\x44\n\nDeleteTask\x12\x1e.dfdaemon.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\x12N\n\x0f\x44\x65leteLocalTask\x12#.dfdaemon.v2.DeleteLocalTaskRequest\x1a\x16.google.protobuf.Empty\x12<\n\nDeleteHost\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12\x64\n\x11\x44ownloadCacheTask\x12%.dfdaemon.v2.DownloadCacheTaskRequest\x1a&.dfdaemon.v2.DownloadCacheTaskResponse0\x01\x12H\n\rStatCacheTask\x12!.dfdaemon.v2.StatCacheTaskRequest\x1a\x14.common.v2.CacheTask\x12N\n\x0f\x44\x65leteCacheTask\x12#.dfdaemon.v2.DeleteCacheTaskRequest\x1a\x16.google.protobuf.Empty\x12s\n\x16\x44ownloadPersistentTask\x12*.dfdaemon.v2.DownloadPersistentTaskRequest\x1a+.dfdaemon.v2.DownloadPersistentTaskResponse0\x01\x12[\n\x14UploadPersistentTask\x12(.dfdaemon.v2.UploadPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12W\n\x12StatPersistentTask\x12&.dfdaemon.v2.StatPersistentTaskRequest\x1a\x19.common.v2.PersistentTask\x12t\n\x17StatLocalPersistentTask\x12+.dfdaemon.v2.StatLocalPersistentTaskRequest\x1a,.dfdaemon.v2.StatLocalPersistentTaskResponse\x12w\n\x18ListLocalPersistentTasks\x12,.dfdaemon.v2.ListLocalPersistentTasksRequest\x1a-.dfdaemon.v2.ListLocalPersistentTasksResponse\x12\x82\x01\n\x1b\x44ownloadPersistentCacheTask\x12/.dfdaemon.v2.DownloadPersistentCacheTaskRequest\x1a\x30.dfdaemon.v2.DownloadPersistentCacheTaskResponse0\x01\x12j\n\x19UploadPersistentCacheTask\x12-.dfdaemon.v2.UploadPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x66\n\x17StatPersistentCacheTask\x12+.dfdaemon.v2.StatPersistentCacheTaskRequest\x1a\x1e.common.v2.PersistentCacheTask\x12\x83\x01\n\x1cStatLocalPersistentCacheTask\x12\x30.dfdaemon.v2.StatLocalPersistentCacheTaskRequest\x1a\x31.dfdaemon.v2.StatLocalPersistentCacheTaskResponse\x12\x86\x01\n\x1dListLocalPersistentCacheTasks\x12\x31.dfdaemon.v2.ListLocalPersistentCacheTasksRequest\x1a\x32.dfdaemon.v2.ListLocalPersistentCacheTasksResponseb\x06proto3')
32
-
33
- _globals = globals()
34
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dfdaemon_pb2', _globals)
36
- if not _descriptor._USE_C_DESCRIPTORS:
37
- DESCRIPTOR._loaded_options = None
38
- _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
39
- _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
40
- _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
41
- _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
42
- _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._loaded_options = None
43
- _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._serialized_options = b'8\001'
44
- _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
45
- _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
46
- _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._loaded_options = None
47
- _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_options = b'8\001'
48
- _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._loaded_options = None
49
- _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_options = b'8\001'
50
- _globals['_DOWNLOADTASKREQUEST']._serialized_start=139
51
- _globals['_DOWNLOADTASKREQUEST']._serialized_end=199
52
- _globals['_DOWNLOADTASKSTARTEDRESPONSE']._serialized_start=202
53
- _globals['_DOWNLOADTASKSTARTEDRESPONSE']._serialized_end=500
54
- _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
55
- _globals['_DOWNLOADTASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
56
- _globals['_DOWNLOADPIECEFINISHEDRESPONSE']._serialized_start=502
57
- _globals['_DOWNLOADPIECEFINISHEDRESPONSE']._serialized_end=566
58
- _globals['_DOWNLOADTASKRESPONSE']._serialized_start=569
59
- _globals['_DOWNLOADTASKRESPONSE']._serialized_end=826
60
- _globals['_SYNCPIECESREQUEST']._serialized_start=828
61
- _globals['_SYNCPIECESREQUEST']._serialized_end=915
62
- _globals['_SYNCPIECESRESPONSE']._serialized_start=918
63
- _globals['_SYNCPIECESRESPONSE']._serialized_end=1072
64
- _globals['_STATTASKREQUEST']._serialized_start=1074
65
- _globals['_STATTASKREQUEST']._serialized_end=1164
66
- _globals['_STATLOCALTASKREQUEST']._serialized_start=1166
67
- _globals['_STATLOCALTASKREQUEST']._serialized_end=1243
68
- _globals['_STATLOCALTASKRESPONSE']._serialized_start=1246
69
- _globals['_STATLOCALTASKRESPONSE']._serialized_end=1869
70
- _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
71
- _globals['_STATLOCALTASKRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
72
- _globals['_LISTLOCALTASKSREQUEST']._serialized_start=1871
73
- _globals['_LISTLOCALTASKSREQUEST']._serialized_end=1932
74
- _globals['_LISTLOCALTASKSRESPONSE']._serialized_start=1934
75
- _globals['_LISTLOCALTASKSRESPONSE']._serialized_end=2009
76
- _globals['_LISTTASKENTRIESREQUEST']._serialized_start=2012
77
- _globals['_LISTTASKENTRIESREQUEST']._serialized_end=2634
78
- _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._serialized_start=2482
79
- _globals['_LISTTASKENTRIESREQUEST_REQUESTHEADERENTRY']._serialized_end=2534
80
- _globals['_LISTTASKENTRIESRESPONSE']._serialized_start=2637
81
- _globals['_LISTTASKENTRIESRESPONSE']._serialized_end=2903
82
- _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
83
- _globals['_LISTTASKENTRIESRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
84
- _globals['_ENTRY']._serialized_start=2905
85
- _globals['_ENTRY']._serialized_end=2965
86
- _globals['_DELETETASKREQUEST']._serialized_start=2967
87
- _globals['_DELETETASKREQUEST']._serialized_end=3041
88
- _globals['_DELETELOCALTASKREQUEST']._serialized_start=3043
89
- _globals['_DELETELOCALTASKREQUEST']._serialized_end=3122
90
- _globals['_DOWNLOADCACHETASKREQUEST']._serialized_start=3125
91
- _globals['_DOWNLOADCACHETASKREQUEST']._serialized_end=4113
92
- _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_start=2482
93
- _globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_end=2534
94
- _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE']._serialized_start=4116
95
- _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE']._serialized_end=4424
96
- _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
97
- _globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
98
- _globals['_DOWNLOADCACHETASKRESPONSE']._serialized_start=4427
99
- _globals['_DOWNLOADCACHETASKRESPONSE']._serialized_end=4700
100
- _globals['_SYNCCACHEPIECESREQUEST']._serialized_start=4702
101
- _globals['_SYNCCACHEPIECESREQUEST']._serialized_end=4800
102
- _globals['_SYNCCACHEPIECESRESPONSE']._serialized_start=4802
103
- _globals['_SYNCCACHEPIECESRESPONSE']._serialized_end=4875
104
- _globals['_DOWNLOADCACHEPIECEREQUEST']._serialized_start=4877
105
- _globals['_DOWNLOADCACHEPIECEREQUEST']._serialized_end=4960
106
- _globals['_DOWNLOADCACHEPIECERESPONSE']._serialized_start=4962
107
- _globals['_DOWNLOADCACHEPIECERESPONSE']._serialized_end=5055
108
- _globals['_STATCACHETASKREQUEST']._serialized_start=5057
109
- _globals['_STATCACHETASKREQUEST']._serialized_end=5134
110
- _globals['_DELETECACHETASKREQUEST']._serialized_start=5136
111
- _globals['_DELETECACHETASKREQUEST']._serialized_end=5215
112
- _globals['_DOWNLOADPERSISTENTTASKREQUEST']._serialized_start=5218
113
- _globals['_DOWNLOADPERSISTENTTASKREQUEST']._serialized_end=5577
114
- _globals['_DOWNLOADPERSISTENTTASKSTARTEDRESPONSE']._serialized_start=5579
115
- _globals['_DOWNLOADPERSISTENTTASKSTARTEDRESPONSE']._serialized_end=5642
116
- _globals['_DOWNLOADPERSISTENTTASKRESPONSE']._serialized_start=5645
117
- _globals['_DOWNLOADPERSISTENTTASKRESPONSE']._serialized_end=5933
118
- _globals['_UPLOADPERSISTENTTASKREQUEST']._serialized_start=5936
119
- _globals['_UPLOADPERSISTENTTASKREQUEST']._serialized_end=6215
120
- _globals['_UPDATEPERSISTENTTASKREQUEST']._serialized_start=6217
121
- _globals['_UPDATEPERSISTENTTASKREQUEST']._serialized_end=6321
122
- _globals['_STATPERSISTENTTASKREQUEST']._serialized_start=6323
123
- _globals['_STATPERSISTENTTASKREQUEST']._serialized_end=6405
124
- _globals['_STATLOCALPERSISTENTTASKREQUEST']._serialized_start=6407
125
- _globals['_STATLOCALPERSISTENTTASKREQUEST']._serialized_end=6494
126
- _globals['_STATLOCALPERSISTENTTASKRESPONSE']._serialized_start=6497
127
- _globals['_STATLOCALPERSISTENTTASKRESPONSE']._serialized_end=6980
128
- _globals['_LISTLOCALPERSISTENTTASKSREQUEST']._serialized_start=6982
129
- _globals['_LISTLOCALPERSISTENTTASKSREQUEST']._serialized_end=7053
130
- _globals['_LISTLOCALPERSISTENTTASKSRESPONSE']._serialized_start=7055
131
- _globals['_LISTLOCALPERSISTENTTASKSRESPONSE']._serialized_end=7150
132
- _globals['_DELETEPERSISTENTTASKREQUEST']._serialized_start=7152
133
- _globals['_DELETEPERSISTENTTASKREQUEST']._serialized_end=7236
134
- _globals['_SYNCPERSISTENTPIECESREQUEST']._serialized_start=7238
135
- _globals['_SYNCPERSISTENTPIECESREQUEST']._serialized_end=7335
136
- _globals['_SYNCPERSISTENTPIECESRESPONSE']._serialized_start=7338
137
- _globals['_SYNCPERSISTENTPIECESRESPONSE']._serialized_end=7502
138
- _globals['_DOWNLOADPERSISTENTCACHETASKREQUEST']._serialized_start=7505
139
- _globals['_DOWNLOADPERSISTENTCACHETASKREQUEST']._serialized_end=7891
140
- _globals['_DOWNLOADPERSISTENTCACHETASKSTARTEDRESPONSE']._serialized_start=7893
141
- _globals['_DOWNLOADPERSISTENTCACHETASKSTARTEDRESPONSE']._serialized_end=7961
142
- _globals['_DOWNLOADPERSISTENTCACHETASKRESPONSE']._serialized_start=7964
143
- _globals['_DOWNLOADPERSISTENTCACHETASKRESPONSE']._serialized_end=8268
144
- _globals['_UPLOADPERSISTENTCACHETASKREQUEST']._serialized_start=8271
145
- _globals['_UPLOADPERSISTENTCACHETASKREQUEST']._serialized_end=8686
146
- _globals['_UPDATEPERSISTENTCACHETASKREQUEST']._serialized_start=8688
147
- _globals['_UPDATEPERSISTENTCACHETASKREQUEST']._serialized_end=8797
148
- _globals['_STATPERSISTENTCACHETASKREQUEST']._serialized_start=8799
149
- _globals['_STATPERSISTENTCACHETASKREQUEST']._serialized_end=8886
150
- _globals['_STATLOCALPERSISTENTCACHETASKREQUEST']._serialized_start=8888
151
- _globals['_STATLOCALPERSISTENTCACHETASKREQUEST']._serialized_end=8980
152
- _globals['_STATLOCALPERSISTENTCACHETASKRESPONSE']._serialized_start=8983
153
- _globals['_STATLOCALPERSISTENTCACHETASKRESPONSE']._serialized_end=9471
154
- _globals['_LISTLOCALPERSISTENTCACHETASKSREQUEST']._serialized_start=9473
155
- _globals['_LISTLOCALPERSISTENTCACHETASKSREQUEST']._serialized_end=9549
156
- _globals['_LISTLOCALPERSISTENTCACHETASKSRESPONSE']._serialized_start=9551
157
- _globals['_LISTLOCALPERSISTENTCACHETASKSRESPONSE']._serialized_end=9656
158
- _globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_start=9658
159
- _globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_end=9747
160
- _globals['_SYNCPERSISTENTCACHEPIECESREQUEST']._serialized_start=9749
161
- _globals['_SYNCPERSISTENTCACHEPIECESREQUEST']._serialized_end=9851
162
- _globals['_SYNCPERSISTENTCACHEPIECESRESPONSE']._serialized_start=9854
163
- _globals['_SYNCPERSISTENTCACHEPIECESRESPONSE']._serialized_end=10023
164
- _globals['_SYNCHOSTREQUEST']._serialized_start=10025
165
- _globals['_SYNCHOSTREQUEST']._serialized_end=10076
166
- _globals['_IBVERBSQUEUEPAIRENDPOINT']._serialized_start=10078
167
- _globals['_IBVERBSQUEUEPAIRENDPOINT']._serialized_end=10143
168
- _globals['_DFDAEMONUPLOAD']._serialized_start=10146
169
- _globals['_DFDAEMONUPLOAD']._serialized_end=12217
170
- _globals['_DFDAEMONDOWNLOAD']._serialized_start=12220
171
- _globals['_DFDAEMONDOWNLOAD']._serialized_end=14279
172
- # @@protoc_insertion_point(module_scope)
File without changes
File without changes
File without changes