File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -466,11 +466,11 @@ message RawBatchPutRequest {
466466 Context context = 1 ;
467467 repeated KvPair pairs = 2 ;
468468 string cf = 3 ;
469+ bool for_cas = 5 ;
469470 // The time-to-live for each keys in seconds, and if the length of `ttls`
470471 // is exactly one, the ttl will be applied to all keys. Otherwise, the length
471472 // mismatch between `ttls` and `pairs` will return an error.
472- repeated uint64 ttls = 4 ;
473- bool for_cas = 5 ;
473+ repeated uint64 ttls = 6 ;
474474}
475475
476476message RawBatchPutResponse {
Original file line number Diff line number Diff line change @@ -652,13 +652,13 @@ pub struct RawBatchPutRequest {
652652 pub pairs : :: prost:: alloc:: vec:: Vec < KvPair > ,
653653 #[ prost( string, tag = "3" ) ]
654654 pub cf : :: prost:: alloc:: string:: String ,
655+ #[ prost( bool , tag = "5" ) ]
656+ pub for_cas : bool ,
655657 /// The time-to-live for each keys in seconds, and if the length of `ttls`
656658 /// is exactly one, the ttl will be applied to all keys. Otherwise, the length
657659 /// mismatch between `ttls` and `pairs` will return an error.
658- #[ prost( uint64, repeated, tag = "4 " ) ]
660+ #[ prost( uint64, repeated, tag = "6 " ) ]
659661 pub ttls : :: prost:: alloc:: vec:: Vec < u64 > ,
660- #[ prost( bool , tag = "5" ) ]
661- pub for_cas : bool ,
662662}
663663#[ allow( clippy:: derive_partial_eq_without_eq) ]
664664#[ derive( Clone , PartialEq , :: prost:: Message ) ]
You can’t perform that action at this time.
0 commit comments