1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkerRecord { #[prost(string, tag="1")] pub id: std::string::String, #[prost(map="string, string", tag="2")] pub labels: ::std::collections::HashMap<std::string::String, std::string::String>, #[prost(message, repeated, tag="3")] pub platforms: ::std::vec::Vec<super::super::super::super::pb::Platform>, #[prost(message, repeated, tag="4")] pub gc_policy: ::std::vec::Vec<GcPolicy>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcPolicy { #[prost(bool, tag="1")] pub all: bool, #[prost(int64, tag="2")] pub keep_duration: i64, #[prost(int64, tag="3")] pub keep_bytes: i64, #[prost(string, repeated, tag="4")] pub filters: ::std::vec::Vec<std::string::String>, }