From 6a4a097bbe273c2d5970a080d577ec170d915d0b Mon Sep 17 00:00:00 2001 From: southwest <1403572259@qq.com> Date: Fri, 13 Dec 2024 17:19:48 +0800 Subject: [PATCH] feat: add is_preheat_request in DownloadTaskRequest --- proto/dfdaemon.proto | 2 ++ src/descriptor.bin | Bin 95938 -> 96184 bytes src/dfdaemon.v2.rs | 3 +++ 3 files changed, 5 insertions(+) diff --git a/proto/dfdaemon.proto b/proto/dfdaemon.proto index 27ead3c..895eff5 100644 --- a/proto/dfdaemon.proto +++ b/proto/dfdaemon.proto @@ -26,6 +26,8 @@ import "google/protobuf/empty.proto"; message DownloadTaskRequest { // Download information. common.v2.Download download = 1; + // is_preheat_request is the flag to indicate whether the request is a preheat task request + optional bool is_preheat_request = 2; } // DownloadTaskStartedResponse represents task download started response of DownloadTaskResponse. diff --git a/src/descriptor.bin b/src/descriptor.bin index fb25a7b9855feacd359c3c191a98b7942c31dd30..deffa3e46ec43dbcf6151bd8e738a9b86aac42ba 100644 GIT binary patch delta 4806 zcmb7IeQcH08GoPmzJ2@lw7qTLmamI#Z+qL)-b-(xe5^o0dMT7r>nzw*MOKT}0?Jq0 z4Kcco5M%}u=uX^~ZB}L&LzWP?8fUbERy&!U#X1#-LP*G1FqpCIuO&0t?>X;#ZnsFb zEa8vyJLmcRp65It_q=8FtF+htnr4a5%7r`=D;|t|oN+NCY}YC>`hG(X+5^i(hA^FS zH&ALU6OJIq4MdD$wOQ;fz0ERXt=i0V1HAM$%Z<5eliUC=z0C?Et~Q~>OK)?IQK~kD z8{nn4S!tAn)NYv@z*-FD3ez%N>tUmhLW9HqOfPVzi-2W7{$VFqd_lsp4AXD}+hlp} z<=8eeU1W(g-h#z8Cr6_Ikee^|2b4X|dWYkA2dJtyMIhdEvV8)9(3_jL+1}N=vw!CT z@t*v`{f8K<5$SGPk?|w?KNHog?xYgc{NEE*GnJ^C|B4$0A~7vhHq$;#H*wGI)|>%)Kxi2VN9qmXM2%EQsW6c0{OkY8(%kYJC3 z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Un;%kZ! z#u3un19kG;=tP-#cSiXLnM&+nGQl)L8P#s6iO>;h*dSJ^P<(QXlHL|*c4TtpLFIH! zkH%g`$;@;^qQNjqSv4L6!ze9k6-^jD+2)6&eJcNTcVWVZWKC3~=Rd)Wdl>!9I`v1F zanBO~Ajs}{0szF`?|A|M1ou5p0K}*N0R&K7fuH=_lK~)T9(XbUMBD>U2E-G81R2bz z#81RM@RqAHx-{`<4apL*jUC5@-v zH~6o+1E2@XS*L{!?HZ&tFhPb>{O(a@NB0 QNb+dJKJQO{_^Y%311lb9lmGw# diff --git a/src/dfdaemon.v2.rs b/src/dfdaemon.v2.rs index 9354488..f58d15f 100644 --- a/src/dfdaemon.v2.rs +++ b/src/dfdaemon.v2.rs @@ -7,6 +7,9 @@ pub struct DownloadTaskRequest { /// Download information. #[prost(message, optional, tag = "1")] pub download: ::core::option::Option, + /// is_preheat_request is the flag to indicate whether the request is a preheat task request + #[prost(bool, optional, tag = "2")] + pub is_preheat_request: ::core::option::Option, } /// DownloadTaskStartedResponse represents task download started response of DownloadTaskResponse. #[derive(serde::Serialize, serde::Deserialize)]