dragonfly-api 2.3.8__tar.gz → 2.3.10__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.
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/PKG-INFO +1 -1
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/common_pb2.py +28 -26
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/common_pb2.pyi +12 -2
- dragonfly_api-2.3.10/dragonfly_api/dfdaemon_pb2.py +176 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/dfdaemon_pb2.pyi +18 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/dfdaemon_pb2_grpc.py +90 -0
- dragonfly_api-2.3.8/dragonfly_api/dfdaemon_pb2.py +0 -172
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/.gitignore +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/LICENSE +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/README.md +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/__init__.py +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/errordetails_pb2.py +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/errordetails_pb2.pyi +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/manager_pb2.py +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/manager_pb2.pyi +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/manager_pb2_grpc.py +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/py.typed +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/scheduler_pb2.py +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/scheduler_pb2.pyi +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/dragonfly_api/scheduler_pb2_grpc.py +0 -0
- {dragonfly_api-2.3.8 → dragonfly_api-2.3.10}/pyproject.toml +0 -0
|
@@ -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\x15\n\x08platform\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_platform\"&\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=
|
|
43
|
-
_globals['_SIZESCOPE']._serialized_end=
|
|
44
|
-
_globals['_TASKTYPE']._serialized_start=
|
|
45
|
-
_globals['_TASKTYPE']._serialized_end=
|
|
46
|
-
_globals['_TRAFFICTYPE']._serialized_start=
|
|
47
|
-
_globals['_TRAFFICTYPE']._serialized_end=
|
|
48
|
-
_globals['_PRIORITY']._serialized_start=
|
|
49
|
-
_globals['_PRIORITY']._serialized_end=
|
|
50
|
-
_globals['_SCHEDULINGPOLICY']._serialized_start=
|
|
51
|
-
_globals['_SCHEDULINGPOLICY']._serialized_end=
|
|
42
|
+
_globals['_SIZESCOPE']._serialized_start=8501
|
|
43
|
+
_globals['_SIZESCOPE']._serialized_end=8556
|
|
44
|
+
_globals['_TASKTYPE']._serialized_start=8558
|
|
45
|
+
_globals['_TASKTYPE']._serialized_end=8631
|
|
46
|
+
_globals['_TRAFFICTYPE']._serialized_start=8633
|
|
47
|
+
_globals['_TRAFFICTYPE']._serialized_end=8699
|
|
48
|
+
_globals['_PRIORITY']._serialized_start=8701
|
|
49
|
+
_globals['_PRIORITY']._serialized_end=8795
|
|
50
|
+
_globals['_SCHEDULINGPOLICY']._serialized_start=8797
|
|
51
|
+
_globals['_SCHEDULINGPOLICY']._serialized_end=8837
|
|
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=
|
|
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=
|
|
97
|
-
_globals['_OBJECTSTORAGE']._serialized_end=
|
|
98
|
-
_globals['_HDFS']._serialized_start=
|
|
99
|
-
_globals['_HDFS']._serialized_end=
|
|
100
|
-
_globals['_HUGGINGFACE']._serialized_start=
|
|
101
|
-
_globals['_HUGGINGFACE']._serialized_end=
|
|
102
|
-
_globals['_MODELSCOPE']._serialized_start=
|
|
103
|
-
_globals['_MODELSCOPE']._serialized_end=
|
|
104
|
-
_globals['_OPENCSG']._serialized_start=
|
|
105
|
-
_globals['_OPENCSG']._serialized_end=
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
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=8156
|
|
108
|
+
_globals['_RANGE']._serialized_start=8158
|
|
109
|
+
_globals['_RANGE']._serialized_end=8196
|
|
110
|
+
_globals['_PIECE']._serialized_start=8199
|
|
111
|
+
_globals['_PIECE']._serialized_end=8499
|
|
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
|
-
|
|
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\"k\n\x12\x44\x65leteImageRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x15\n\x08platform\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tremote_ip\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_platformB\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=3231
|
|
92
|
+
_globals['_DELETEIMAGERESPONSE']._serialized_start=3233
|
|
93
|
+
_globals['_DELETEIMAGERESPONSE']._serialized_end=3307
|
|
94
|
+
_globals['_DOWNLOADCACHETASKREQUEST']._serialized_start=3310
|
|
95
|
+
_globals['_DOWNLOADCACHETASKREQUEST']._serialized_end=4298
|
|
96
|
+
_globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_start=2482
|
|
97
|
+
_globals['_DOWNLOADCACHETASKREQUEST_REQUESTHEADERENTRY']._serialized_end=2534
|
|
98
|
+
_globals['_DOWNLOADCACHETASKSTARTEDRESPONSE']._serialized_start=4301
|
|
99
|
+
_globals['_DOWNLOADCACHETASKSTARTEDRESPONSE']._serialized_end=4609
|
|
100
|
+
_globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_start=437
|
|
101
|
+
_globals['_DOWNLOADCACHETASKSTARTEDRESPONSE_RESPONSEHEADERENTRY']._serialized_end=490
|
|
102
|
+
_globals['_DOWNLOADCACHETASKRESPONSE']._serialized_start=4612
|
|
103
|
+
_globals['_DOWNLOADCACHETASKRESPONSE']._serialized_end=4885
|
|
104
|
+
_globals['_SYNCCACHEPIECESREQUEST']._serialized_start=4887
|
|
105
|
+
_globals['_SYNCCACHEPIECESREQUEST']._serialized_end=4985
|
|
106
|
+
_globals['_SYNCCACHEPIECESRESPONSE']._serialized_start=4987
|
|
107
|
+
_globals['_SYNCCACHEPIECESRESPONSE']._serialized_end=5060
|
|
108
|
+
_globals['_DOWNLOADCACHEPIECEREQUEST']._serialized_start=5062
|
|
109
|
+
_globals['_DOWNLOADCACHEPIECEREQUEST']._serialized_end=5145
|
|
110
|
+
_globals['_DOWNLOADCACHEPIECERESPONSE']._serialized_start=5147
|
|
111
|
+
_globals['_DOWNLOADCACHEPIECERESPONSE']._serialized_end=5240
|
|
112
|
+
_globals['_STATCACHETASKREQUEST']._serialized_start=5242
|
|
113
|
+
_globals['_STATCACHETASKREQUEST']._serialized_end=5319
|
|
114
|
+
_globals['_DELETECACHETASKREQUEST']._serialized_start=5321
|
|
115
|
+
_globals['_DELETECACHETASKREQUEST']._serialized_end=5400
|
|
116
|
+
_globals['_DOWNLOADPERSISTENTTASKREQUEST']._serialized_start=5403
|
|
117
|
+
_globals['_DOWNLOADPERSISTENTTASKREQUEST']._serialized_end=5762
|
|
118
|
+
_globals['_DOWNLOADPERSISTENTTASKSTARTEDRESPONSE']._serialized_start=5764
|
|
119
|
+
_globals['_DOWNLOADPERSISTENTTASKSTARTEDRESPONSE']._serialized_end=5827
|
|
120
|
+
_globals['_DOWNLOADPERSISTENTTASKRESPONSE']._serialized_start=5830
|
|
121
|
+
_globals['_DOWNLOADPERSISTENTTASKRESPONSE']._serialized_end=6118
|
|
122
|
+
_globals['_UPLOADPERSISTENTTASKREQUEST']._serialized_start=6121
|
|
123
|
+
_globals['_UPLOADPERSISTENTTASKREQUEST']._serialized_end=6400
|
|
124
|
+
_globals['_UPDATEPERSISTENTTASKREQUEST']._serialized_start=6402
|
|
125
|
+
_globals['_UPDATEPERSISTENTTASKREQUEST']._serialized_end=6506
|
|
126
|
+
_globals['_STATPERSISTENTTASKREQUEST']._serialized_start=6508
|
|
127
|
+
_globals['_STATPERSISTENTTASKREQUEST']._serialized_end=6590
|
|
128
|
+
_globals['_STATLOCALPERSISTENTTASKREQUEST']._serialized_start=6592
|
|
129
|
+
_globals['_STATLOCALPERSISTENTTASKREQUEST']._serialized_end=6679
|
|
130
|
+
_globals['_STATLOCALPERSISTENTTASKRESPONSE']._serialized_start=6682
|
|
131
|
+
_globals['_STATLOCALPERSISTENTTASKRESPONSE']._serialized_end=7165
|
|
132
|
+
_globals['_LISTLOCALPERSISTENTTASKSREQUEST']._serialized_start=7167
|
|
133
|
+
_globals['_LISTLOCALPERSISTENTTASKSREQUEST']._serialized_end=7238
|
|
134
|
+
_globals['_LISTLOCALPERSISTENTTASKSRESPONSE']._serialized_start=7240
|
|
135
|
+
_globals['_LISTLOCALPERSISTENTTASKSRESPONSE']._serialized_end=7335
|
|
136
|
+
_globals['_DELETEPERSISTENTTASKREQUEST']._serialized_start=7337
|
|
137
|
+
_globals['_DELETEPERSISTENTTASKREQUEST']._serialized_end=7421
|
|
138
|
+
_globals['_SYNCPERSISTENTPIECESREQUEST']._serialized_start=7423
|
|
139
|
+
_globals['_SYNCPERSISTENTPIECESREQUEST']._serialized_end=7520
|
|
140
|
+
_globals['_SYNCPERSISTENTPIECESRESPONSE']._serialized_start=7523
|
|
141
|
+
_globals['_SYNCPERSISTENTPIECESRESPONSE']._serialized_end=7687
|
|
142
|
+
_globals['_DOWNLOADPERSISTENTCACHETASKREQUEST']._serialized_start=7690
|
|
143
|
+
_globals['_DOWNLOADPERSISTENTCACHETASKREQUEST']._serialized_end=8076
|
|
144
|
+
_globals['_DOWNLOADPERSISTENTCACHETASKSTARTEDRESPONSE']._serialized_start=8078
|
|
145
|
+
_globals['_DOWNLOADPERSISTENTCACHETASKSTARTEDRESPONSE']._serialized_end=8146
|
|
146
|
+
_globals['_DOWNLOADPERSISTENTCACHETASKRESPONSE']._serialized_start=8149
|
|
147
|
+
_globals['_DOWNLOADPERSISTENTCACHETASKRESPONSE']._serialized_end=8453
|
|
148
|
+
_globals['_UPLOADPERSISTENTCACHETASKREQUEST']._serialized_start=8456
|
|
149
|
+
_globals['_UPLOADPERSISTENTCACHETASKREQUEST']._serialized_end=8871
|
|
150
|
+
_globals['_UPDATEPERSISTENTCACHETASKREQUEST']._serialized_start=8873
|
|
151
|
+
_globals['_UPDATEPERSISTENTCACHETASKREQUEST']._serialized_end=8982
|
|
152
|
+
_globals['_STATPERSISTENTCACHETASKREQUEST']._serialized_start=8984
|
|
153
|
+
_globals['_STATPERSISTENTCACHETASKREQUEST']._serialized_end=9071
|
|
154
|
+
_globals['_STATLOCALPERSISTENTCACHETASKREQUEST']._serialized_start=9073
|
|
155
|
+
_globals['_STATLOCALPERSISTENTCACHETASKREQUEST']._serialized_end=9165
|
|
156
|
+
_globals['_STATLOCALPERSISTENTCACHETASKRESPONSE']._serialized_start=9168
|
|
157
|
+
_globals['_STATLOCALPERSISTENTCACHETASKRESPONSE']._serialized_end=9656
|
|
158
|
+
_globals['_LISTLOCALPERSISTENTCACHETASKSREQUEST']._serialized_start=9658
|
|
159
|
+
_globals['_LISTLOCALPERSISTENTCACHETASKSREQUEST']._serialized_end=9734
|
|
160
|
+
_globals['_LISTLOCALPERSISTENTCACHETASKSRESPONSE']._serialized_start=9736
|
|
161
|
+
_globals['_LISTLOCALPERSISTENTCACHETASKSRESPONSE']._serialized_end=9841
|
|
162
|
+
_globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_start=9843
|
|
163
|
+
_globals['_DELETEPERSISTENTCACHETASKREQUEST']._serialized_end=9932
|
|
164
|
+
_globals['_SYNCPERSISTENTCACHEPIECESREQUEST']._serialized_start=9934
|
|
165
|
+
_globals['_SYNCPERSISTENTCACHEPIECESREQUEST']._serialized_end=10036
|
|
166
|
+
_globals['_SYNCPERSISTENTCACHEPIECESRESPONSE']._serialized_start=10039
|
|
167
|
+
_globals['_SYNCPERSISTENTCACHEPIECESRESPONSE']._serialized_end=10208
|
|
168
|
+
_globals['_SYNCHOSTREQUEST']._serialized_start=10210
|
|
169
|
+
_globals['_SYNCHOSTREQUEST']._serialized_end=10261
|
|
170
|
+
_globals['_IBVERBSQUEUEPAIRENDPOINT']._serialized_start=10263
|
|
171
|
+
_globals['_IBVERBSQUEUEPAIRENDPOINT']._serialized_end=10328
|
|
172
|
+
_globals['_DFDAEMONUPLOAD']._serialized_start=10331
|
|
173
|
+
_globals['_DFDAEMONUPLOAD']._serialized_end=12484
|
|
174
|
+
_globals['_DFDAEMONDOWNLOAD']._serialized_start=12487
|
|
175
|
+
_globals['_DFDAEMONDOWNLOAD']._serialized_end=14628
|
|
176
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -224,6 +224,24 @@ 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__ = ("url", "platform", "remote_ip")
|
|
229
|
+
URL_FIELD_NUMBER: _ClassVar[int]
|
|
230
|
+
PLATFORM_FIELD_NUMBER: _ClassVar[int]
|
|
231
|
+
REMOTE_IP_FIELD_NUMBER: _ClassVar[int]
|
|
232
|
+
url: str
|
|
233
|
+
platform: str
|
|
234
|
+
remote_ip: str
|
|
235
|
+
def __init__(self, url: _Optional[str] = ..., platform: _Optional[str] = ..., remote_ip: _Optional[str] = ...) -> None: ...
|
|
236
|
+
|
|
237
|
+
class DeleteImageResponse(_message.Message):
|
|
238
|
+
__slots__ = ("deleted_task_ids", "retained_task_ids")
|
|
239
|
+
DELETED_TASK_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
240
|
+
RETAINED_TASK_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
241
|
+
deleted_task_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
242
|
+
retained_task_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
243
|
+
def __init__(self, deleted_task_ids: _Optional[_Iterable[str]] = ..., retained_task_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
244
|
+
|
|
227
245
|
class DownloadCacheTaskRequest(_message.Message):
|
|
228
246
|
__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
247
|
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,
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|