| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1 | // Copyright 2018 Google Inc. All Rights Reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 15 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 16 | // versions: |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 17 | // protoc-gen-go v1.30.0 |
| Jason Wu | 2520f5e | 2023-05-30 19:45:36 -0400 | [diff] [blame] | 18 | // protoc v3.21.12 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 19 | // source: metrics.proto |
| 20 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 21 | package metrics_proto |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 22 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 23 | import ( |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 24 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 | reflect "reflect" |
| 27 | sync "sync" |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 28 | ) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 29 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 30 | const ( |
| 31 | // Verify that this generated code is sufficiently up-to-date. |
| 32 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 | ) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 36 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 37 | type MetricsBase_BuildVariant int32 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 38 | |
| 39 | const ( |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 40 | MetricsBase_USER MetricsBase_BuildVariant = 0 |
| 41 | MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1 |
| 42 | MetricsBase_ENG MetricsBase_BuildVariant = 2 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 43 | ) |
| 44 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 45 | // Enum value maps for MetricsBase_BuildVariant. |
| 46 | var ( |
| 47 | MetricsBase_BuildVariant_name = map[int32]string{ |
| 48 | 0: "USER", |
| 49 | 1: "USERDEBUG", |
| 50 | 2: "ENG", |
| 51 | } |
| 52 | MetricsBase_BuildVariant_value = map[string]int32{ |
| 53 | "USER": 0, |
| 54 | "USERDEBUG": 1, |
| 55 | "ENG": 2, |
| 56 | } |
| 57 | ) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 58 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 59 | func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant { |
| 60 | p := new(MetricsBase_BuildVariant) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 61 | *p = x |
| 62 | return p |
| 63 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 64 | |
| 65 | func (x MetricsBase_BuildVariant) String() string { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 66 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 67 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 68 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 69 | func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor { |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 70 | return file_metrics_proto_enumTypes[0].Descriptor() |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 71 | } |
| 72 | |
| 73 | func (MetricsBase_BuildVariant) Type() protoreflect.EnumType { |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 74 | return &file_metrics_proto_enumTypes[0] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber { |
| 78 | return protoreflect.EnumNumber(x) |
| 79 | } |
| 80 | |
| 81 | // Deprecated: Do not use. |
| 82 | func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error { |
| 83 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 84 | if err != nil { |
| 85 | return err |
| 86 | } |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 87 | *x = MetricsBase_BuildVariant(num) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 88 | return nil |
| 89 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 90 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 91 | // Deprecated: Use MetricsBase_BuildVariant.Descriptor instead. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 92 | func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 93 | return file_metrics_proto_rawDescGZIP(), []int{0, 0} |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 94 | } |
| 95 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 96 | type MetricsBase_Arch int32 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 97 | |
| 98 | const ( |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 99 | MetricsBase_UNKNOWN MetricsBase_Arch = 0 |
| 100 | MetricsBase_ARM MetricsBase_Arch = 1 |
| 101 | MetricsBase_ARM64 MetricsBase_Arch = 2 |
| 102 | MetricsBase_X86 MetricsBase_Arch = 3 |
| 103 | MetricsBase_X86_64 MetricsBase_Arch = 4 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 104 | ) |
| 105 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 106 | // Enum value maps for MetricsBase_Arch. |
| 107 | var ( |
| 108 | MetricsBase_Arch_name = map[int32]string{ |
| 109 | 0: "UNKNOWN", |
| 110 | 1: "ARM", |
| 111 | 2: "ARM64", |
| 112 | 3: "X86", |
| 113 | 4: "X86_64", |
| 114 | } |
| 115 | MetricsBase_Arch_value = map[string]int32{ |
| 116 | "UNKNOWN": 0, |
| 117 | "ARM": 1, |
| 118 | "ARM64": 2, |
| 119 | "X86": 3, |
| 120 | "X86_64": 4, |
| 121 | } |
| 122 | ) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 123 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 124 | func (x MetricsBase_Arch) Enum() *MetricsBase_Arch { |
| 125 | p := new(MetricsBase_Arch) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 126 | *p = x |
| 127 | return p |
| 128 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 129 | |
| 130 | func (x MetricsBase_Arch) String() string { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 131 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 132 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 133 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 134 | func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor { |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 135 | return file_metrics_proto_enumTypes[1].Descriptor() |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 136 | } |
| 137 | |
| 138 | func (MetricsBase_Arch) Type() protoreflect.EnumType { |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 139 | return &file_metrics_proto_enumTypes[1] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 140 | } |
| 141 | |
| 142 | func (x MetricsBase_Arch) Number() protoreflect.EnumNumber { |
| 143 | return protoreflect.EnumNumber(x) |
| 144 | } |
| 145 | |
| 146 | // Deprecated: Do not use. |
| 147 | func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error { |
| 148 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 149 | if err != nil { |
| 150 | return err |
| 151 | } |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 152 | *x = MetricsBase_Arch(num) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 153 | return nil |
| 154 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 155 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 156 | // Deprecated: Use MetricsBase_Arch.Descriptor instead. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 157 | func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 158 | return file_metrics_proto_rawDescGZIP(), []int{0, 1} |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 159 | } |
| 160 | |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 161 | type BuildConfig_NinjaWeightListSource int32 |
| 162 | |
| 163 | const ( |
| 164 | BuildConfig_NOT_USED BuildConfig_NinjaWeightListSource = 0 |
| 165 | BuildConfig_NINJA_LOG BuildConfig_NinjaWeightListSource = 1 |
| 166 | BuildConfig_EVENLY_DISTRIBUTED BuildConfig_NinjaWeightListSource = 2 |
| Jeongik Cha | 518f3ea | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 167 | BuildConfig_EXTERNAL_FILE BuildConfig_NinjaWeightListSource = 3 |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 168 | BuildConfig_HINT_FROM_SOONG BuildConfig_NinjaWeightListSource = 4 |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 169 | ) |
| 170 | |
| 171 | // Enum value maps for BuildConfig_NinjaWeightListSource. |
| 172 | var ( |
| 173 | BuildConfig_NinjaWeightListSource_name = map[int32]string{ |
| 174 | 0: "NOT_USED", |
| 175 | 1: "NINJA_LOG", |
| 176 | 2: "EVENLY_DISTRIBUTED", |
| Jeongik Cha | 518f3ea | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 177 | 3: "EXTERNAL_FILE", |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 178 | 4: "HINT_FROM_SOONG", |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 179 | } |
| 180 | BuildConfig_NinjaWeightListSource_value = map[string]int32{ |
| 181 | "NOT_USED": 0, |
| 182 | "NINJA_LOG": 1, |
| 183 | "EVENLY_DISTRIBUTED": 2, |
| Jeongik Cha | 518f3ea | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 184 | "EXTERNAL_FILE": 3, |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 185 | "HINT_FROM_SOONG": 4, |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 186 | } |
| 187 | ) |
| 188 | |
| 189 | func (x BuildConfig_NinjaWeightListSource) Enum() *BuildConfig_NinjaWeightListSource { |
| 190 | p := new(BuildConfig_NinjaWeightListSource) |
| 191 | *p = x |
| 192 | return p |
| 193 | } |
| 194 | |
| 195 | func (x BuildConfig_NinjaWeightListSource) String() string { |
| 196 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 197 | } |
| 198 | |
| 199 | func (BuildConfig_NinjaWeightListSource) Descriptor() protoreflect.EnumDescriptor { |
| 200 | return file_metrics_proto_enumTypes[2].Descriptor() |
| 201 | } |
| 202 | |
| 203 | func (BuildConfig_NinjaWeightListSource) Type() protoreflect.EnumType { |
| 204 | return &file_metrics_proto_enumTypes[2] |
| 205 | } |
| 206 | |
| 207 | func (x BuildConfig_NinjaWeightListSource) Number() protoreflect.EnumNumber { |
| 208 | return protoreflect.EnumNumber(x) |
| 209 | } |
| 210 | |
| 211 | // Deprecated: Do not use. |
| 212 | func (x *BuildConfig_NinjaWeightListSource) UnmarshalJSON(b []byte) error { |
| 213 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 214 | if err != nil { |
| 215 | return err |
| 216 | } |
| 217 | *x = BuildConfig_NinjaWeightListSource(num) |
| 218 | return nil |
| 219 | } |
| 220 | |
| 221 | // Deprecated: Use BuildConfig_NinjaWeightListSource.Descriptor instead. |
| 222 | func (BuildConfig_NinjaWeightListSource) EnumDescriptor() ([]byte, []int) { |
| 223 | return file_metrics_proto_rawDescGZIP(), []int{1, 0} |
| 224 | } |
| 225 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 226 | type ModuleTypeInfo_BuildSystem int32 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 227 | |
| 228 | const ( |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 229 | ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0 |
| 230 | ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1 |
| 231 | ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2 |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 232 | ) |
| 233 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 234 | // Enum value maps for ModuleTypeInfo_BuildSystem. |
| 235 | var ( |
| 236 | ModuleTypeInfo_BuildSystem_name = map[int32]string{ |
| 237 | 0: "UNKNOWN", |
| 238 | 1: "SOONG", |
| 239 | 2: "MAKE", |
| 240 | } |
| 241 | ModuleTypeInfo_BuildSystem_value = map[string]int32{ |
| 242 | "UNKNOWN": 0, |
| 243 | "SOONG": 1, |
| 244 | "MAKE": 2, |
| 245 | } |
| 246 | ) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 247 | |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 248 | func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem { |
| 249 | p := new(ModuleTypeInfo_BuildSystem) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 250 | *p = x |
| 251 | return p |
| 252 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 253 | |
| 254 | func (x ModuleTypeInfo_BuildSystem) String() string { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 255 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 256 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 257 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 258 | func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor { |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 259 | return file_metrics_proto_enumTypes[3].Descriptor() |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 260 | } |
| 261 | |
| 262 | func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType { |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 263 | return &file_metrics_proto_enumTypes[3] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 264 | } |
| 265 | |
| 266 | func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber { |
| 267 | return protoreflect.EnumNumber(x) |
| 268 | } |
| 269 | |
| 270 | // Deprecated: Do not use. |
| 271 | func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error { |
| 272 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 273 | if err != nil { |
| 274 | return err |
| 275 | } |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 276 | *x = ModuleTypeInfo_BuildSystem(num) |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 277 | return nil |
| 278 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 279 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 280 | // Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 281 | func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 282 | return file_metrics_proto_rawDescGZIP(), []int{8, 0} |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 283 | } |
| 284 | |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 285 | type ExpConfigFetcher_ConfigStatus int32 |
| 286 | |
| 287 | const ( |
| Kousik Kumar | c75e129 | 2022-07-07 02:20:51 +0000 | [diff] [blame] | 288 | ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0 |
| 289 | ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1 |
| 290 | ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2 |
| 291 | ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3 |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 292 | ) |
| 293 | |
| 294 | // Enum value maps for ExpConfigFetcher_ConfigStatus. |
| 295 | var ( |
| 296 | ExpConfigFetcher_ConfigStatus_name = map[int32]string{ |
| 297 | 0: "NO_CONFIG", |
| 298 | 1: "CONFIG", |
| 299 | 2: "ERROR", |
| Kousik Kumar | c75e129 | 2022-07-07 02:20:51 +0000 | [diff] [blame] | 300 | 3: "MISSING_GCERT", |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 301 | } |
| 302 | ExpConfigFetcher_ConfigStatus_value = map[string]int32{ |
| Kousik Kumar | c75e129 | 2022-07-07 02:20:51 +0000 | [diff] [blame] | 303 | "NO_CONFIG": 0, |
| 304 | "CONFIG": 1, |
| 305 | "ERROR": 2, |
| 306 | "MISSING_GCERT": 3, |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 307 | } |
| 308 | ) |
| 309 | |
| 310 | func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus { |
| 311 | p := new(ExpConfigFetcher_ConfigStatus) |
| 312 | *p = x |
| 313 | return p |
| 314 | } |
| 315 | |
| 316 | func (x ExpConfigFetcher_ConfigStatus) String() string { |
| 317 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 318 | } |
| 319 | |
| 320 | func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor { |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 321 | return file_metrics_proto_enumTypes[4].Descriptor() |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 322 | } |
| 323 | |
| 324 | func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType { |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 325 | return &file_metrics_proto_enumTypes[4] |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 326 | } |
| 327 | |
| 328 | func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber { |
| 329 | return protoreflect.EnumNumber(x) |
| 330 | } |
| 331 | |
| 332 | // Deprecated: Do not use. |
| 333 | func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error { |
| 334 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 335 | if err != nil { |
| 336 | return err |
| 337 | } |
| 338 | *x = ExpConfigFetcher_ConfigStatus(num) |
| 339 | return nil |
| 340 | } |
| 341 | |
| 342 | // Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead. |
| 343 | func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 344 | return file_metrics_proto_rawDescGZIP(), []int{12, 0} |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 345 | } |
| 346 | |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 347 | type MetricsBase struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 348 | state protoimpl.MessageState |
| 349 | sizeCache protoimpl.SizeCache |
| 350 | unknownFields protoimpl.UnknownFields |
| 351 | |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 352 | // Timestamp generated when the build starts. |
| 353 | BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"` |
| 354 | // It is usually used to specify the branch name [and release candidate]. |
| 355 | BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"` |
| 356 | // The platform version codename, eg. P, Q, REL. |
| 357 | PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"` |
| 358 | // The target product information, eg. aosp_arm. |
| 359 | TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"` |
| 360 | // The target build variant information, eg. eng. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 361 | TargetBuildVariant *MetricsBase_BuildVariant `protobuf:"varint,5,opt,name=target_build_variant,json=targetBuildVariant,enum=soong_build_metrics.MetricsBase_BuildVariant,def=2" json:"target_build_variant,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 362 | // The target arch information, eg. arm. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 363 | TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 364 | // The target arch variant information, eg. armv7-a-neon. |
| 365 | TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"` |
| 366 | // The target cpu variant information, eg. generic. |
| 367 | TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"` |
| 368 | // The host arch information, eg. x86_64. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 369 | HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 370 | // The host 2nd arch information, eg. x86. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 371 | Host_2NdArch *MetricsBase_Arch `protobuf:"varint,10,opt,name=host_2nd_arch,json=host2ndArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_2nd_arch,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 372 | // The host os information, eg. linux. |
| 373 | HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"` |
| 374 | // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU. |
| 375 | HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"` |
| 376 | // The host cross os information, eg. windows. |
| 377 | HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"` |
| 378 | // The host cross arch information, eg. x86. |
| 379 | HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"` |
| 380 | // The host cross 2nd arch information, eg. x86_64. |
| 381 | HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"` |
| 382 | // The directory for generated built artifacts installation, eg. out. |
| 383 | OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"` |
| 384 | // The metrics for calling various tools (microfactory) before Soong_UI starts. |
| 385 | SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"` |
| 386 | // The metrics for calling Kati by multiple times. |
| 387 | KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"` |
| 388 | // The metrics for calling Soong. |
| 389 | SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"` |
| 390 | // The metrics for calling Ninja. |
| Colin Cross | 74cda72 | 2020-01-16 15:25:50 -0800 | [diff] [blame] | 391 | NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"` |
| 392 | // The metrics for the whole build |
| Jason Wu | 41886f2 | 2023-01-04 11:29:36 -0500 | [diff] [blame] | 393 | Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"` |
| 394 | // Deprecated because instead of embedding in a MetricsBase, we keep |
| 395 | // SoongBuildMetrics in its own file |
| 396 | // |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 397 | // Deprecated: Marked as deprecated in metrics.proto. |
| Patrice Arruda | 4fb8adc | 2020-10-12 22:38:06 +0000 | [diff] [blame] | 398 | SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"` |
| 399 | BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"` |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 400 | // The hostname of the machine. |
| 401 | Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"` |
| 402 | // The system resource information such as total physical memory. |
| Patrice Arruda | e92c30d | 2020-10-29 11:01:32 -0700 | [diff] [blame] | 403 | SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"` |
| 404 | // The build command that the user entered to the build system. |
| Patrice Arruda | b7cf9ba | 2020-11-13 13:04:17 -0800 | [diff] [blame] | 405 | BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"` |
| 406 | // The metrics for calling Bazel. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 407 | BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"` |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 408 | // The metrics of the experiment config fetcher |
| 409 | ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"` |
| Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame] | 410 | // Whether the build exited with a panic or non-zero exit code, includes both |
| 411 | // non-zero exits of recorded phases and non-recorded phases of the build. |
| 412 | NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"` |
| 413 | // The error message due to a non-zero exit _only_ if it did not occur in a |
| 414 | // recorded phase of the build. |
| 415 | ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` |
| MarkDacek | a18ba22 | 2023-03-07 18:18:19 +0000 | [diff] [blame] | 416 | // The Git Manifest for the user's branch. |
| 417 | ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"` |
| 418 | // The branch on which the build occurred. |
| 419 | // Example: refs/heads/master |
| 420 | Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"` |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 421 | // The metric of critical path in build |
| 422 | CriticalPathInfo *CriticalPathInfo `protobuf:"bytes,33,opt,name=critical_path_info,json=criticalPathInfo" json:"critical_path_info,omitempty"` |
| Jason Wu | 2520f5e | 2023-05-30 19:45:36 -0400 | [diff] [blame] | 423 | // Environment variables that have changed value since the previous build, |
| 424 | // which were responsible for retriggering build analysis. |
| 425 | // Note that not all changed environment variables result in analysis retriggering. |
| 426 | // If there was no previous build, this list will be empty. |
| 427 | ChangedEnvironmentVariable []string `protobuf:"bytes,34,rep,name=changed_environment_variable,json=changedEnvironmentVariable" json:"changed_environment_variable,omitempty"` |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 428 | // Metrics related to optimized builds. |
| 429 | OptimizedBuildMetrics *OptimizedBuildMetrics `protobuf:"bytes,35,opt,name=optimized_build_metrics,json=optimizedBuildMetrics" json:"optimized_build_metrics,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 430 | } |
| 431 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 432 | // Default values for MetricsBase fields. |
| 433 | const ( |
| 434 | Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG |
| 435 | Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN |
| 436 | Default_MetricsBase_HostArch = MetricsBase_UNKNOWN |
| 437 | Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN |
| 438 | ) |
| 439 | |
| 440 | func (x *MetricsBase) Reset() { |
| 441 | *x = MetricsBase{} |
| 442 | if protoimpl.UnsafeEnabled { |
| 443 | mi := &file_metrics_proto_msgTypes[0] |
| 444 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 445 | ms.StoreMessageInfo(mi) |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | func (x *MetricsBase) String() string { |
| 450 | return protoimpl.X.MessageStringOf(x) |
| 451 | } |
| 452 | |
| 453 | func (*MetricsBase) ProtoMessage() {} |
| 454 | |
| 455 | func (x *MetricsBase) ProtoReflect() protoreflect.Message { |
| 456 | mi := &file_metrics_proto_msgTypes[0] |
| 457 | if protoimpl.UnsafeEnabled && x != nil { |
| 458 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 459 | if ms.LoadMessageInfo() == nil { |
| 460 | ms.StoreMessageInfo(mi) |
| 461 | } |
| 462 | return ms |
| 463 | } |
| 464 | return mi.MessageOf(x) |
| 465 | } |
| 466 | |
| 467 | // Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead. |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 468 | func (*MetricsBase) Descriptor() ([]byte, []int) { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 469 | return file_metrics_proto_rawDescGZIP(), []int{0} |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 470 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 471 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 472 | func (x *MetricsBase) GetBuildDateTimestamp() int64 { |
| 473 | if x != nil && x.BuildDateTimestamp != nil { |
| 474 | return *x.BuildDateTimestamp |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 475 | } |
| 476 | return 0 |
| 477 | } |
| 478 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 479 | func (x *MetricsBase) GetBuildId() string { |
| 480 | if x != nil && x.BuildId != nil { |
| 481 | return *x.BuildId |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 482 | } |
| 483 | return "" |
| 484 | } |
| 485 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 486 | func (x *MetricsBase) GetPlatformVersionCodename() string { |
| 487 | if x != nil && x.PlatformVersionCodename != nil { |
| 488 | return *x.PlatformVersionCodename |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 489 | } |
| 490 | return "" |
| 491 | } |
| 492 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 493 | func (x *MetricsBase) GetTargetProduct() string { |
| 494 | if x != nil && x.TargetProduct != nil { |
| 495 | return *x.TargetProduct |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 496 | } |
| 497 | return "" |
| 498 | } |
| 499 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 500 | func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant { |
| 501 | if x != nil && x.TargetBuildVariant != nil { |
| 502 | return *x.TargetBuildVariant |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 503 | } |
| 504 | return Default_MetricsBase_TargetBuildVariant |
| 505 | } |
| 506 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 507 | func (x *MetricsBase) GetTargetArch() MetricsBase_Arch { |
| 508 | if x != nil && x.TargetArch != nil { |
| 509 | return *x.TargetArch |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 510 | } |
| 511 | return Default_MetricsBase_TargetArch |
| 512 | } |
| 513 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 514 | func (x *MetricsBase) GetTargetArchVariant() string { |
| 515 | if x != nil && x.TargetArchVariant != nil { |
| 516 | return *x.TargetArchVariant |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 517 | } |
| 518 | return "" |
| 519 | } |
| 520 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 521 | func (x *MetricsBase) GetTargetCpuVariant() string { |
| 522 | if x != nil && x.TargetCpuVariant != nil { |
| 523 | return *x.TargetCpuVariant |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 524 | } |
| 525 | return "" |
| 526 | } |
| 527 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 528 | func (x *MetricsBase) GetHostArch() MetricsBase_Arch { |
| 529 | if x != nil && x.HostArch != nil { |
| 530 | return *x.HostArch |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 531 | } |
| 532 | return Default_MetricsBase_HostArch |
| 533 | } |
| 534 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 535 | func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch { |
| 536 | if x != nil && x.Host_2NdArch != nil { |
| 537 | return *x.Host_2NdArch |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 538 | } |
| 539 | return Default_MetricsBase_Host_2NdArch |
| 540 | } |
| 541 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 542 | func (x *MetricsBase) GetHostOs() string { |
| 543 | if x != nil && x.HostOs != nil { |
| 544 | return *x.HostOs |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 545 | } |
| 546 | return "" |
| 547 | } |
| 548 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 549 | func (x *MetricsBase) GetHostOsExtra() string { |
| 550 | if x != nil && x.HostOsExtra != nil { |
| 551 | return *x.HostOsExtra |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 552 | } |
| 553 | return "" |
| 554 | } |
| 555 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 556 | func (x *MetricsBase) GetHostCrossOs() string { |
| 557 | if x != nil && x.HostCrossOs != nil { |
| 558 | return *x.HostCrossOs |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 559 | } |
| 560 | return "" |
| 561 | } |
| 562 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 563 | func (x *MetricsBase) GetHostCrossArch() string { |
| 564 | if x != nil && x.HostCrossArch != nil { |
| 565 | return *x.HostCrossArch |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 566 | } |
| 567 | return "" |
| 568 | } |
| 569 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 570 | func (x *MetricsBase) GetHostCross_2NdArch() string { |
| 571 | if x != nil && x.HostCross_2NdArch != nil { |
| 572 | return *x.HostCross_2NdArch |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 573 | } |
| 574 | return "" |
| 575 | } |
| 576 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 577 | func (x *MetricsBase) GetOutDir() string { |
| 578 | if x != nil && x.OutDir != nil { |
| 579 | return *x.OutDir |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 580 | } |
| 581 | return "" |
| 582 | } |
| 583 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 584 | func (x *MetricsBase) GetSetupTools() []*PerfInfo { |
| 585 | if x != nil { |
| 586 | return x.SetupTools |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 587 | } |
| 588 | return nil |
| 589 | } |
| 590 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 591 | func (x *MetricsBase) GetKatiRuns() []*PerfInfo { |
| 592 | if x != nil { |
| 593 | return x.KatiRuns |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 594 | } |
| 595 | return nil |
| 596 | } |
| 597 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 598 | func (x *MetricsBase) GetSoongRuns() []*PerfInfo { |
| 599 | if x != nil { |
| 600 | return x.SoongRuns |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 601 | } |
| 602 | return nil |
| 603 | } |
| 604 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 605 | func (x *MetricsBase) GetNinjaRuns() []*PerfInfo { |
| 606 | if x != nil { |
| 607 | return x.NinjaRuns |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 608 | } |
| 609 | return nil |
| 610 | } |
| 611 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 612 | func (x *MetricsBase) GetTotal() *PerfInfo { |
| 613 | if x != nil { |
| 614 | return x.Total |
| Colin Cross | 74cda72 | 2020-01-16 15:25:50 -0800 | [diff] [blame] | 615 | } |
| 616 | return nil |
| 617 | } |
| 618 | |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 619 | // Deprecated: Marked as deprecated in metrics.proto. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 620 | func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics { |
| 621 | if x != nil { |
| 622 | return x.SoongBuildMetrics |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 623 | } |
| 624 | return nil |
| 625 | } |
| 626 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 627 | func (x *MetricsBase) GetBuildConfig() *BuildConfig { |
| 628 | if x != nil { |
| 629 | return x.BuildConfig |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 630 | } |
| 631 | return nil |
| 632 | } |
| 633 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 634 | func (x *MetricsBase) GetHostname() string { |
| 635 | if x != nil && x.Hostname != nil { |
| 636 | return *x.Hostname |
| Patrice Arruda | 4fb8adc | 2020-10-12 22:38:06 +0000 | [diff] [blame] | 637 | } |
| 638 | return "" |
| 639 | } |
| 640 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 641 | func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo { |
| 642 | if x != nil { |
| 643 | return x.SystemResourceInfo |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 644 | } |
| 645 | return nil |
| 646 | } |
| 647 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 648 | func (x *MetricsBase) GetBuildCommand() string { |
| 649 | if x != nil && x.BuildCommand != nil { |
| 650 | return *x.BuildCommand |
| Patrice Arruda | e92c30d | 2020-10-29 11:01:32 -0700 | [diff] [blame] | 651 | } |
| 652 | return "" |
| 653 | } |
| 654 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 655 | func (x *MetricsBase) GetBazelRuns() []*PerfInfo { |
| 656 | if x != nil { |
| 657 | return x.BazelRuns |
| Patrice Arruda | b7cf9ba | 2020-11-13 13:04:17 -0800 | [diff] [blame] | 658 | } |
| 659 | return nil |
| 660 | } |
| 661 | |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 662 | func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher { |
| 663 | if x != nil { |
| 664 | return x.ExpConfigFetcher |
| 665 | } |
| 666 | return nil |
| 667 | } |
| 668 | |
| Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame] | 669 | func (x *MetricsBase) GetNonZeroExit() bool { |
| 670 | if x != nil && x.NonZeroExit != nil { |
| 671 | return *x.NonZeroExit |
| 672 | } |
| 673 | return false |
| 674 | } |
| 675 | |
| 676 | func (x *MetricsBase) GetErrorMessage() string { |
| 677 | if x != nil && x.ErrorMessage != nil { |
| 678 | return *x.ErrorMessage |
| 679 | } |
| 680 | return "" |
| 681 | } |
| 682 | |
| MarkDacek | a18ba22 | 2023-03-07 18:18:19 +0000 | [diff] [blame] | 683 | func (x *MetricsBase) GetManifestUrl() string { |
| 684 | if x != nil && x.ManifestUrl != nil { |
| 685 | return *x.ManifestUrl |
| 686 | } |
| 687 | return "" |
| 688 | } |
| 689 | |
| 690 | func (x *MetricsBase) GetBranch() string { |
| 691 | if x != nil && x.Branch != nil { |
| 692 | return *x.Branch |
| 693 | } |
| 694 | return "" |
| 695 | } |
| 696 | |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 697 | func (x *MetricsBase) GetCriticalPathInfo() *CriticalPathInfo { |
| 698 | if x != nil { |
| 699 | return x.CriticalPathInfo |
| 700 | } |
| 701 | return nil |
| 702 | } |
| 703 | |
| Jason Wu | 2520f5e | 2023-05-30 19:45:36 -0400 | [diff] [blame] | 704 | func (x *MetricsBase) GetChangedEnvironmentVariable() []string { |
| 705 | if x != nil { |
| 706 | return x.ChangedEnvironmentVariable |
| 707 | } |
| 708 | return nil |
| 709 | } |
| 710 | |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 711 | func (x *MetricsBase) GetOptimizedBuildMetrics() *OptimizedBuildMetrics { |
| 712 | if x != nil { |
| 713 | return x.OptimizedBuildMetrics |
| 714 | } |
| 715 | return nil |
| 716 | } |
| 717 | |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 718 | type BuildConfig struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 719 | state protoimpl.MessageState |
| 720 | sizeCache protoimpl.SizeCache |
| 721 | unknownFields protoimpl.UnknownFields |
| 722 | |
| Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 723 | UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"` |
| 724 | UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"` |
| 725 | ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"` |
| 726 | // Whether the Bazel is acting as the Ninja executor for this build. |
| 727 | BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"` |
| 728 | // Whether build is occurring in a mixed build mode, where Bazel maintains the |
| 729 | // definition and build of some modules in cooperation with Soong. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 730 | BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"` |
| Yu Liu | e737a99 | 2021-10-04 13:21:41 -0700 | [diff] [blame] | 731 | // These are the targets soong passes to ninja, these targets include special |
| 732 | // targets such as droid as well as the regular build targets. |
| 733 | Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"` |
| Romain Jobredeaux | ea098ef | 2022-10-20 14:24:31 -0400 | [diff] [blame] | 734 | // Whether the user explicitly disabled bazel mixed builds for this build. |
| 735 | ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"` |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 736 | // NOT_USED - ninja doesn't use weight list. |
| 737 | // NINJA_LOG - ninja uses weight list based on previous builds by ninja log |
| 738 | // EVENLY_DISTRIBUTED - ninja thinks every task has the same weight. |
| Jeongik Cha | 518f3ea | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 739 | // EXTERNAL_FILE - ninja uses an external custom weight list |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 740 | // HINT_FROM_SOONG - ninja uses a prioritized module list from Soong |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 741 | NinjaWeightListSource *BuildConfig_NinjaWeightListSource `protobuf:"varint,8,opt,name=ninja_weight_list_source,json=ninjaWeightListSource,enum=soong_build_metrics.BuildConfig_NinjaWeightListSource,def=0" json:"ninja_weight_list_source,omitempty"` |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 742 | } |
| 743 | |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 744 | // Default values for BuildConfig fields. |
| 745 | const ( |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 746 | Default_BuildConfig_NinjaWeightListSource = BuildConfig_NOT_USED |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 747 | ) |
| 748 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 749 | func (x *BuildConfig) Reset() { |
| 750 | *x = BuildConfig{} |
| 751 | if protoimpl.UnsafeEnabled { |
| 752 | mi := &file_metrics_proto_msgTypes[1] |
| 753 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 754 | ms.StoreMessageInfo(mi) |
| 755 | } |
| 756 | } |
| 757 | |
| 758 | func (x *BuildConfig) String() string { |
| 759 | return protoimpl.X.MessageStringOf(x) |
| 760 | } |
| 761 | |
| 762 | func (*BuildConfig) ProtoMessage() {} |
| 763 | |
| 764 | func (x *BuildConfig) ProtoReflect() protoreflect.Message { |
| 765 | mi := &file_metrics_proto_msgTypes[1] |
| 766 | if protoimpl.UnsafeEnabled && x != nil { |
| 767 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 768 | if ms.LoadMessageInfo() == nil { |
| 769 | ms.StoreMessageInfo(mi) |
| 770 | } |
| 771 | return ms |
| 772 | } |
| 773 | return mi.MessageOf(x) |
| 774 | } |
| 775 | |
| 776 | // Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead. |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 777 | func (*BuildConfig) Descriptor() ([]byte, []int) { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 778 | return file_metrics_proto_rawDescGZIP(), []int{1} |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 779 | } |
| 780 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 781 | func (x *BuildConfig) GetUseGoma() bool { |
| 782 | if x != nil && x.UseGoma != nil { |
| 783 | return *x.UseGoma |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 784 | } |
| 785 | return false |
| 786 | } |
| 787 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 788 | func (x *BuildConfig) GetUseRbe() bool { |
| 789 | if x != nil && x.UseRbe != nil { |
| 790 | return *x.UseRbe |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 791 | } |
| 792 | return false |
| 793 | } |
| 794 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 795 | func (x *BuildConfig) GetForceUseGoma() bool { |
| 796 | if x != nil && x.ForceUseGoma != nil { |
| 797 | return *x.ForceUseGoma |
| Patrice Arruda | c97d6dc | 2020-09-28 18:22:07 +0000 | [diff] [blame] | 798 | } |
| 799 | return false |
| 800 | } |
| 801 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 802 | func (x *BuildConfig) GetBazelAsNinja() bool { |
| 803 | if x != nil && x.BazelAsNinja != nil { |
| 804 | return *x.BazelAsNinja |
| Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 805 | } |
| 806 | return false |
| 807 | } |
| 808 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 809 | func (x *BuildConfig) GetBazelMixedBuild() bool { |
| 810 | if x != nil && x.BazelMixedBuild != nil { |
| 811 | return *x.BazelMixedBuild |
| Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 812 | } |
| 813 | return false |
| 814 | } |
| 815 | |
| Yu Liu | e737a99 | 2021-10-04 13:21:41 -0700 | [diff] [blame] | 816 | func (x *BuildConfig) GetTargets() []string { |
| 817 | if x != nil { |
| 818 | return x.Targets |
| 819 | } |
| 820 | return nil |
| 821 | } |
| 822 | |
| Romain Jobredeaux | ea098ef | 2022-10-20 14:24:31 -0400 | [diff] [blame] | 823 | func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool { |
| 824 | if x != nil && x.ForceDisableBazelMixedBuild != nil { |
| 825 | return *x.ForceDisableBazelMixedBuild |
| 826 | } |
| 827 | return false |
| 828 | } |
| 829 | |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 830 | func (x *BuildConfig) GetNinjaWeightListSource() BuildConfig_NinjaWeightListSource { |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 831 | if x != nil && x.NinjaWeightListSource != nil { |
| 832 | return *x.NinjaWeightListSource |
| 833 | } |
| 834 | return Default_BuildConfig_NinjaWeightListSource |
| 835 | } |
| 836 | |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 837 | type SystemResourceInfo struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 838 | state protoimpl.MessageState |
| 839 | sizeCache protoimpl.SizeCache |
| 840 | unknownFields protoimpl.UnknownFields |
| 841 | |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 842 | // The total physical memory in bytes. |
| 843 | TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"` |
| 844 | // The total of available cores for building |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 845 | AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"` |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 846 | } |
| 847 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 848 | func (x *SystemResourceInfo) Reset() { |
| 849 | *x = SystemResourceInfo{} |
| 850 | if protoimpl.UnsafeEnabled { |
| 851 | mi := &file_metrics_proto_msgTypes[2] |
| 852 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 853 | ms.StoreMessageInfo(mi) |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | func (x *SystemResourceInfo) String() string { |
| 858 | return protoimpl.X.MessageStringOf(x) |
| 859 | } |
| 860 | |
| 861 | func (*SystemResourceInfo) ProtoMessage() {} |
| 862 | |
| 863 | func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message { |
| 864 | mi := &file_metrics_proto_msgTypes[2] |
| 865 | if protoimpl.UnsafeEnabled && x != nil { |
| 866 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 867 | if ms.LoadMessageInfo() == nil { |
| 868 | ms.StoreMessageInfo(mi) |
| 869 | } |
| 870 | return ms |
| 871 | } |
| 872 | return mi.MessageOf(x) |
| 873 | } |
| 874 | |
| 875 | // Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead. |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 876 | func (*SystemResourceInfo) Descriptor() ([]byte, []int) { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 877 | return file_metrics_proto_rawDescGZIP(), []int{2} |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 878 | } |
| 879 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 880 | func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 { |
| 881 | if x != nil && x.TotalPhysicalMemory != nil { |
| 882 | return *x.TotalPhysicalMemory |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 883 | } |
| 884 | return 0 |
| 885 | } |
| 886 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 887 | func (x *SystemResourceInfo) GetAvailableCpus() int32 { |
| 888 | if x != nil && x.AvailableCpus != nil { |
| 889 | return *x.AvailableCpus |
| Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 890 | } |
| 891 | return 0 |
| 892 | } |
| 893 | |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 894 | type PerfInfo struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 895 | state protoimpl.MessageState |
| 896 | sizeCache protoimpl.SizeCache |
| 897 | unknownFields protoimpl.UnknownFields |
| 898 | |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 899 | // The description for the phase/action/part while the tool running. |
| Yu Liu | 37c3dd3 | 2021-09-30 14:46:18 -0700 | [diff] [blame] | 900 | Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 901 | // The name for the running phase/action/part. |
| 902 | Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` |
| 903 | // The absolute start time. |
| 904 | // The number of nanoseconds elapsed since January 1, 1970 UTC. |
| 905 | StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` |
| 906 | // The real running time. |
| 907 | // The number of nanoseconds elapsed since start_time. |
| 908 | RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"` |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 909 | // The number of MB for memory use (deprecated as it is too generic). |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 910 | // |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 911 | // Deprecated: Marked as deprecated in metrics.proto. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 912 | MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 913 | // The resource information of each executed process. |
| 914 | ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"` |
| Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame] | 915 | // Whether the phase of tool running exited with a panic or non-zero exit |
| 916 | // code. |
| 917 | NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"` |
| 918 | // The error message, if any, due to a non-zero exit. |
| 919 | ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 920 | } |
| 921 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 922 | func (x *PerfInfo) Reset() { |
| 923 | *x = PerfInfo{} |
| 924 | if protoimpl.UnsafeEnabled { |
| 925 | mi := &file_metrics_proto_msgTypes[3] |
| 926 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 927 | ms.StoreMessageInfo(mi) |
| 928 | } |
| 929 | } |
| 930 | |
| 931 | func (x *PerfInfo) String() string { |
| 932 | return protoimpl.X.MessageStringOf(x) |
| 933 | } |
| 934 | |
| 935 | func (*PerfInfo) ProtoMessage() {} |
| 936 | |
| 937 | func (x *PerfInfo) ProtoReflect() protoreflect.Message { |
| 938 | mi := &file_metrics_proto_msgTypes[3] |
| 939 | if protoimpl.UnsafeEnabled && x != nil { |
| 940 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 941 | if ms.LoadMessageInfo() == nil { |
| 942 | ms.StoreMessageInfo(mi) |
| 943 | } |
| 944 | return ms |
| 945 | } |
| 946 | return mi.MessageOf(x) |
| 947 | } |
| 948 | |
| 949 | // Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead. |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 950 | func (*PerfInfo) Descriptor() ([]byte, []int) { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 951 | return file_metrics_proto_rawDescGZIP(), []int{3} |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 952 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 953 | |
| Yu Liu | 37c3dd3 | 2021-09-30 14:46:18 -0700 | [diff] [blame] | 954 | func (x *PerfInfo) GetDescription() string { |
| 955 | if x != nil && x.Description != nil { |
| 956 | return *x.Description |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 957 | } |
| 958 | return "" |
| 959 | } |
| 960 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 961 | func (x *PerfInfo) GetName() string { |
| 962 | if x != nil && x.Name != nil { |
| 963 | return *x.Name |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 964 | } |
| 965 | return "" |
| 966 | } |
| 967 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 968 | func (x *PerfInfo) GetStartTime() uint64 { |
| 969 | if x != nil && x.StartTime != nil { |
| 970 | return *x.StartTime |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 971 | } |
| 972 | return 0 |
| 973 | } |
| 974 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 975 | func (x *PerfInfo) GetRealTime() uint64 { |
| 976 | if x != nil && x.RealTime != nil { |
| 977 | return *x.RealTime |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 978 | } |
| 979 | return 0 |
| 980 | } |
| 981 | |
| Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 982 | // Deprecated: Marked as deprecated in metrics.proto. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 983 | func (x *PerfInfo) GetMemoryUse() uint64 { |
| 984 | if x != nil && x.MemoryUse != nil { |
| 985 | return *x.MemoryUse |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 986 | } |
| 987 | return 0 |
| 988 | } |
| 989 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 990 | func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo { |
| 991 | if x != nil { |
| 992 | return x.ProcessesResourceInfo |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 993 | } |
| 994 | return nil |
| 995 | } |
| 996 | |
| Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame] | 997 | func (x *PerfInfo) GetNonZeroExit() bool { |
| 998 | if x != nil && x.NonZeroExit != nil { |
| 999 | return *x.NonZeroExit |
| 1000 | } |
| 1001 | return false |
| 1002 | } |
| 1003 | |
| 1004 | func (x *PerfInfo) GetErrorMessage() string { |
| 1005 | if x != nil && x.ErrorMessage != nil { |
| 1006 | return *x.ErrorMessage |
| 1007 | } |
| 1008 | return "" |
| 1009 | } |
| 1010 | |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1011 | type PerfCounters struct { |
| 1012 | state protoimpl.MessageState |
| 1013 | sizeCache protoimpl.SizeCache |
| 1014 | unknownFields protoimpl.UnknownFields |
| 1015 | |
| 1016 | // The timestamp of these counters in nanoseconds. |
| 1017 | Time *uint64 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"` |
| 1018 | // A list of counter names and values. |
| 1019 | Groups []*PerfCounterGroup `protobuf:"bytes,2,rep,name=groups" json:"groups,omitempty"` |
| 1020 | } |
| 1021 | |
| 1022 | func (x *PerfCounters) Reset() { |
| 1023 | *x = PerfCounters{} |
| 1024 | if protoimpl.UnsafeEnabled { |
| 1025 | mi := &file_metrics_proto_msgTypes[4] |
| 1026 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1027 | ms.StoreMessageInfo(mi) |
| 1028 | } |
| 1029 | } |
| 1030 | |
| 1031 | func (x *PerfCounters) String() string { |
| 1032 | return protoimpl.X.MessageStringOf(x) |
| 1033 | } |
| 1034 | |
| 1035 | func (*PerfCounters) ProtoMessage() {} |
| 1036 | |
| 1037 | func (x *PerfCounters) ProtoReflect() protoreflect.Message { |
| 1038 | mi := &file_metrics_proto_msgTypes[4] |
| 1039 | if protoimpl.UnsafeEnabled && x != nil { |
| 1040 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1041 | if ms.LoadMessageInfo() == nil { |
| 1042 | ms.StoreMessageInfo(mi) |
| 1043 | } |
| 1044 | return ms |
| 1045 | } |
| 1046 | return mi.MessageOf(x) |
| 1047 | } |
| 1048 | |
| 1049 | // Deprecated: Use PerfCounters.ProtoReflect.Descriptor instead. |
| 1050 | func (*PerfCounters) Descriptor() ([]byte, []int) { |
| 1051 | return file_metrics_proto_rawDescGZIP(), []int{4} |
| 1052 | } |
| 1053 | |
| 1054 | func (x *PerfCounters) GetTime() uint64 { |
| 1055 | if x != nil && x.Time != nil { |
| 1056 | return *x.Time |
| 1057 | } |
| 1058 | return 0 |
| 1059 | } |
| 1060 | |
| 1061 | func (x *PerfCounters) GetGroups() []*PerfCounterGroup { |
| 1062 | if x != nil { |
| 1063 | return x.Groups |
| 1064 | } |
| 1065 | return nil |
| 1066 | } |
| 1067 | |
| 1068 | type PerfCounterGroup struct { |
| 1069 | state protoimpl.MessageState |
| 1070 | sizeCache protoimpl.SizeCache |
| 1071 | unknownFields protoimpl.UnknownFields |
| 1072 | |
| 1073 | // The name of this counter group (e.g. "cpu" or "memory") |
| 1074 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 1075 | // The counters in this group |
| 1076 | Counters []*PerfCounter `protobuf:"bytes,2,rep,name=counters" json:"counters,omitempty"` |
| 1077 | } |
| 1078 | |
| 1079 | func (x *PerfCounterGroup) Reset() { |
| 1080 | *x = PerfCounterGroup{} |
| 1081 | if protoimpl.UnsafeEnabled { |
| 1082 | mi := &file_metrics_proto_msgTypes[5] |
| 1083 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1084 | ms.StoreMessageInfo(mi) |
| 1085 | } |
| 1086 | } |
| 1087 | |
| 1088 | func (x *PerfCounterGroup) String() string { |
| 1089 | return protoimpl.X.MessageStringOf(x) |
| 1090 | } |
| 1091 | |
| 1092 | func (*PerfCounterGroup) ProtoMessage() {} |
| 1093 | |
| 1094 | func (x *PerfCounterGroup) ProtoReflect() protoreflect.Message { |
| 1095 | mi := &file_metrics_proto_msgTypes[5] |
| 1096 | if protoimpl.UnsafeEnabled && x != nil { |
| 1097 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1098 | if ms.LoadMessageInfo() == nil { |
| 1099 | ms.StoreMessageInfo(mi) |
| 1100 | } |
| 1101 | return ms |
| 1102 | } |
| 1103 | return mi.MessageOf(x) |
| 1104 | } |
| 1105 | |
| 1106 | // Deprecated: Use PerfCounterGroup.ProtoReflect.Descriptor instead. |
| 1107 | func (*PerfCounterGroup) Descriptor() ([]byte, []int) { |
| 1108 | return file_metrics_proto_rawDescGZIP(), []int{5} |
| 1109 | } |
| 1110 | |
| 1111 | func (x *PerfCounterGroup) GetName() string { |
| 1112 | if x != nil && x.Name != nil { |
| 1113 | return *x.Name |
| 1114 | } |
| 1115 | return "" |
| 1116 | } |
| 1117 | |
| 1118 | func (x *PerfCounterGroup) GetCounters() []*PerfCounter { |
| 1119 | if x != nil { |
| 1120 | return x.Counters |
| 1121 | } |
| 1122 | return nil |
| 1123 | } |
| 1124 | |
| 1125 | type PerfCounter struct { |
| 1126 | state protoimpl.MessageState |
| 1127 | sizeCache protoimpl.SizeCache |
| 1128 | unknownFields protoimpl.UnknownFields |
| 1129 | |
| 1130 | // The name of this counter. |
| 1131 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 1132 | // The value of this counter. |
| 1133 | Value *int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` |
| 1134 | } |
| 1135 | |
| 1136 | func (x *PerfCounter) Reset() { |
| 1137 | *x = PerfCounter{} |
| 1138 | if protoimpl.UnsafeEnabled { |
| 1139 | mi := &file_metrics_proto_msgTypes[6] |
| 1140 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1141 | ms.StoreMessageInfo(mi) |
| 1142 | } |
| 1143 | } |
| 1144 | |
| 1145 | func (x *PerfCounter) String() string { |
| 1146 | return protoimpl.X.MessageStringOf(x) |
| 1147 | } |
| 1148 | |
| 1149 | func (*PerfCounter) ProtoMessage() {} |
| 1150 | |
| 1151 | func (x *PerfCounter) ProtoReflect() protoreflect.Message { |
| 1152 | mi := &file_metrics_proto_msgTypes[6] |
| 1153 | if protoimpl.UnsafeEnabled && x != nil { |
| 1154 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1155 | if ms.LoadMessageInfo() == nil { |
| 1156 | ms.StoreMessageInfo(mi) |
| 1157 | } |
| 1158 | return ms |
| 1159 | } |
| 1160 | return mi.MessageOf(x) |
| 1161 | } |
| 1162 | |
| 1163 | // Deprecated: Use PerfCounter.ProtoReflect.Descriptor instead. |
| 1164 | func (*PerfCounter) Descriptor() ([]byte, []int) { |
| 1165 | return file_metrics_proto_rawDescGZIP(), []int{6} |
| 1166 | } |
| 1167 | |
| 1168 | func (x *PerfCounter) GetName() string { |
| 1169 | if x != nil && x.Name != nil { |
| 1170 | return *x.Name |
| 1171 | } |
| 1172 | return "" |
| 1173 | } |
| 1174 | |
| 1175 | func (x *PerfCounter) GetValue() int64 { |
| 1176 | if x != nil && x.Value != nil { |
| 1177 | return *x.Value |
| 1178 | } |
| 1179 | return 0 |
| 1180 | } |
| 1181 | |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1182 | type ProcessResourceInfo struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1183 | state protoimpl.MessageState |
| 1184 | sizeCache protoimpl.SizeCache |
| 1185 | unknownFields protoimpl.UnknownFields |
| 1186 | |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1187 | // The name of the process for identification. |
| 1188 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 1189 | // The amount of time spent executing in user space in microseconds. |
| 1190 | UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"` |
| 1191 | // The amount of time spent executing in kernel mode in microseconds. |
| 1192 | SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"` |
| 1193 | // The maximum resident set size memory used in kilobytes. |
| 1194 | MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"` |
| 1195 | // The number of minor page faults serviced without any I/O activity. |
| 1196 | MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"` |
| 1197 | // The number of major page faults serviced that required I/O activity. |
| 1198 | MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"` |
| 1199 | // Total IO input in kilobytes. |
| 1200 | IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"` |
| 1201 | // Total IO output in kilobytes. |
| 1202 | IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"` |
| 1203 | // The number of voluntary context switches |
| 1204 | VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"` |
| 1205 | // The number of involuntary context switches |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1206 | InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"` |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1207 | } |
| 1208 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1209 | func (x *ProcessResourceInfo) Reset() { |
| 1210 | *x = ProcessResourceInfo{} |
| 1211 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1212 | mi := &file_metrics_proto_msgTypes[7] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1213 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1214 | ms.StoreMessageInfo(mi) |
| 1215 | } |
| 1216 | } |
| 1217 | |
| 1218 | func (x *ProcessResourceInfo) String() string { |
| 1219 | return protoimpl.X.MessageStringOf(x) |
| 1220 | } |
| 1221 | |
| 1222 | func (*ProcessResourceInfo) ProtoMessage() {} |
| 1223 | |
| 1224 | func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1225 | mi := &file_metrics_proto_msgTypes[7] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1226 | if protoimpl.UnsafeEnabled && x != nil { |
| 1227 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1228 | if ms.LoadMessageInfo() == nil { |
| 1229 | ms.StoreMessageInfo(mi) |
| 1230 | } |
| 1231 | return ms |
| 1232 | } |
| 1233 | return mi.MessageOf(x) |
| 1234 | } |
| 1235 | |
| 1236 | // Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead. |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1237 | func (*ProcessResourceInfo) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1238 | return file_metrics_proto_rawDescGZIP(), []int{7} |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1239 | } |
| 1240 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1241 | func (x *ProcessResourceInfo) GetName() string { |
| 1242 | if x != nil && x.Name != nil { |
| 1243 | return *x.Name |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1244 | } |
| 1245 | return "" |
| 1246 | } |
| 1247 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1248 | func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 { |
| 1249 | if x != nil && x.UserTimeMicros != nil { |
| 1250 | return *x.UserTimeMicros |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1251 | } |
| 1252 | return 0 |
| 1253 | } |
| 1254 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1255 | func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 { |
| 1256 | if x != nil && x.SystemTimeMicros != nil { |
| 1257 | return *x.SystemTimeMicros |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1258 | } |
| 1259 | return 0 |
| 1260 | } |
| 1261 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1262 | func (x *ProcessResourceInfo) GetMaxRssKb() uint64 { |
| 1263 | if x != nil && x.MaxRssKb != nil { |
| 1264 | return *x.MaxRssKb |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1265 | } |
| 1266 | return 0 |
| 1267 | } |
| 1268 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1269 | func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 { |
| 1270 | if x != nil && x.MinorPageFaults != nil { |
| 1271 | return *x.MinorPageFaults |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1272 | } |
| 1273 | return 0 |
| 1274 | } |
| 1275 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1276 | func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 { |
| 1277 | if x != nil && x.MajorPageFaults != nil { |
| 1278 | return *x.MajorPageFaults |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1279 | } |
| 1280 | return 0 |
| 1281 | } |
| 1282 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1283 | func (x *ProcessResourceInfo) GetIoInputKb() uint64 { |
| 1284 | if x != nil && x.IoInputKb != nil { |
| 1285 | return *x.IoInputKb |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1286 | } |
| 1287 | return 0 |
| 1288 | } |
| 1289 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1290 | func (x *ProcessResourceInfo) GetIoOutputKb() uint64 { |
| 1291 | if x != nil && x.IoOutputKb != nil { |
| 1292 | return *x.IoOutputKb |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1293 | } |
| 1294 | return 0 |
| 1295 | } |
| 1296 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1297 | func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 { |
| 1298 | if x != nil && x.VoluntaryContextSwitches != nil { |
| 1299 | return *x.VoluntaryContextSwitches |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1300 | } |
| 1301 | return 0 |
| 1302 | } |
| 1303 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1304 | func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 { |
| 1305 | if x != nil && x.InvoluntaryContextSwitches != nil { |
| 1306 | return *x.InvoluntaryContextSwitches |
| Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 1307 | } |
| 1308 | return 0 |
| 1309 | } |
| 1310 | |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1311 | type ModuleTypeInfo struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1312 | state protoimpl.MessageState |
| 1313 | sizeCache protoimpl.SizeCache |
| 1314 | unknownFields protoimpl.UnknownFields |
| 1315 | |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1316 | // The build system, e.g. Soong or Make. |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 1317 | BuildSystem *ModuleTypeInfo_BuildSystem `protobuf:"varint,1,opt,name=build_system,json=buildSystem,enum=soong_build_metrics.ModuleTypeInfo_BuildSystem,def=0" json:"build_system,omitempty"` |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1318 | // The module type, e.g. java_library, cc_binary, and etc. |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1319 | ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"` |
| 1320 | // The number of logical modules. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1321 | NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"` |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1322 | } |
| 1323 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1324 | // Default values for ModuleTypeInfo fields. |
| 1325 | const ( |
| 1326 | Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN |
| 1327 | ) |
| 1328 | |
| 1329 | func (x *ModuleTypeInfo) Reset() { |
| 1330 | *x = ModuleTypeInfo{} |
| 1331 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1332 | mi := &file_metrics_proto_msgTypes[8] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1333 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1334 | ms.StoreMessageInfo(mi) |
| 1335 | } |
| 1336 | } |
| 1337 | |
| 1338 | func (x *ModuleTypeInfo) String() string { |
| 1339 | return protoimpl.X.MessageStringOf(x) |
| 1340 | } |
| 1341 | |
| 1342 | func (*ModuleTypeInfo) ProtoMessage() {} |
| 1343 | |
| 1344 | func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1345 | mi := &file_metrics_proto_msgTypes[8] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1346 | if protoimpl.UnsafeEnabled && x != nil { |
| 1347 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1348 | if ms.LoadMessageInfo() == nil { |
| 1349 | ms.StoreMessageInfo(mi) |
| 1350 | } |
| 1351 | return ms |
| 1352 | } |
| 1353 | return mi.MessageOf(x) |
| 1354 | } |
| 1355 | |
| 1356 | // Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead. |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1357 | func (*ModuleTypeInfo) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1358 | return file_metrics_proto_rawDescGZIP(), []int{8} |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1359 | } |
| Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 1360 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1361 | func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem { |
| 1362 | if x != nil && x.BuildSystem != nil { |
| 1363 | return *x.BuildSystem |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1364 | } |
| 1365 | return Default_ModuleTypeInfo_BuildSystem |
| 1366 | } |
| 1367 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1368 | func (x *ModuleTypeInfo) GetModuleType() string { |
| 1369 | if x != nil && x.ModuleType != nil { |
| 1370 | return *x.ModuleType |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1371 | } |
| 1372 | return "" |
| 1373 | } |
| 1374 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1375 | func (x *ModuleTypeInfo) GetNumOfModules() uint32 { |
| 1376 | if x != nil && x.NumOfModules != nil { |
| 1377 | return *x.NumOfModules |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1378 | } |
| 1379 | return 0 |
| 1380 | } |
| 1381 | |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1382 | type CriticalUserJourneyMetrics struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1383 | state protoimpl.MessageState |
| 1384 | sizeCache protoimpl.SizeCache |
| 1385 | unknownFields protoimpl.UnknownFields |
| 1386 | |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1387 | // The name of a critical user journey test. |
| 1388 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 1389 | // The metrics produced when running the critical user journey test. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1390 | Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"` |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1391 | } |
| 1392 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1393 | func (x *CriticalUserJourneyMetrics) Reset() { |
| 1394 | *x = CriticalUserJourneyMetrics{} |
| 1395 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1396 | mi := &file_metrics_proto_msgTypes[9] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1397 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1398 | ms.StoreMessageInfo(mi) |
| 1399 | } |
| 1400 | } |
| 1401 | |
| 1402 | func (x *CriticalUserJourneyMetrics) String() string { |
| 1403 | return protoimpl.X.MessageStringOf(x) |
| 1404 | } |
| 1405 | |
| 1406 | func (*CriticalUserJourneyMetrics) ProtoMessage() {} |
| 1407 | |
| 1408 | func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1409 | mi := &file_metrics_proto_msgTypes[9] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1410 | if protoimpl.UnsafeEnabled && x != nil { |
| 1411 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1412 | if ms.LoadMessageInfo() == nil { |
| 1413 | ms.StoreMessageInfo(mi) |
| 1414 | } |
| 1415 | return ms |
| 1416 | } |
| 1417 | return mi.MessageOf(x) |
| 1418 | } |
| 1419 | |
| 1420 | // Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead. |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1421 | func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1422 | return file_metrics_proto_rawDescGZIP(), []int{9} |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1423 | } |
| 1424 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1425 | func (x *CriticalUserJourneyMetrics) GetName() string { |
| 1426 | if x != nil && x.Name != nil { |
| 1427 | return *x.Name |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1428 | } |
| 1429 | return "" |
| 1430 | } |
| 1431 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1432 | func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase { |
| 1433 | if x != nil { |
| 1434 | return x.Metrics |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1435 | } |
| 1436 | return nil |
| 1437 | } |
| 1438 | |
| 1439 | type CriticalUserJourneysMetrics struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1440 | state protoimpl.MessageState |
| 1441 | sizeCache protoimpl.SizeCache |
| 1442 | unknownFields protoimpl.UnknownFields |
| 1443 | |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1444 | // A set of metrics from a run of the critical user journey tests. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1445 | Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"` |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1446 | } |
| 1447 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1448 | func (x *CriticalUserJourneysMetrics) Reset() { |
| 1449 | *x = CriticalUserJourneysMetrics{} |
| 1450 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1451 | mi := &file_metrics_proto_msgTypes[10] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1452 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1453 | ms.StoreMessageInfo(mi) |
| 1454 | } |
| 1455 | } |
| 1456 | |
| 1457 | func (x *CriticalUserJourneysMetrics) String() string { |
| 1458 | return protoimpl.X.MessageStringOf(x) |
| 1459 | } |
| 1460 | |
| 1461 | func (*CriticalUserJourneysMetrics) ProtoMessage() {} |
| 1462 | |
| 1463 | func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1464 | mi := &file_metrics_proto_msgTypes[10] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1465 | if protoimpl.UnsafeEnabled && x != nil { |
| 1466 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1467 | if ms.LoadMessageInfo() == nil { |
| 1468 | ms.StoreMessageInfo(mi) |
| 1469 | } |
| 1470 | return ms |
| 1471 | } |
| 1472 | return mi.MessageOf(x) |
| 1473 | } |
| 1474 | |
| 1475 | // Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead. |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1476 | func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1477 | return file_metrics_proto_rawDescGZIP(), []int{10} |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1478 | } |
| 1479 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1480 | func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics { |
| 1481 | if x != nil { |
| 1482 | return x.Cujs |
| Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1483 | } |
| 1484 | return nil |
| 1485 | } |
| 1486 | |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1487 | type SoongBuildMetrics struct { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1488 | state protoimpl.MessageState |
| 1489 | sizeCache protoimpl.SizeCache |
| 1490 | unknownFields protoimpl.UnknownFields |
| 1491 | |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1492 | // The number of modules handled by soong_build. |
| 1493 | Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"` |
| 1494 | // The total number of variants handled by soong_build. |
| 1495 | Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"` |
| 1496 | // The total number of allocations in soong_build. |
| 1497 | TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"` |
| 1498 | // The total size of allocations in soong_build in bytes. |
| 1499 | TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"` |
| 1500 | // The approximate maximum size of the heap in soong_build in bytes. |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1501 | MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"` |
| Chris Parsons | 715b08f | 2022-03-22 19:23:40 -0400 | [diff] [blame] | 1502 | // Runtime metrics for soong_build execution. |
| 1503 | Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"` |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1504 | // Mixed Builds information |
| 1505 | MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"` |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1506 | // Performance during for soong_build execution. |
| 1507 | PerfCounters []*PerfCounters `protobuf:"bytes,8,rep,name=perf_counters,json=perfCounters" json:"perf_counters,omitempty"` |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1508 | } |
| 1509 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1510 | func (x *SoongBuildMetrics) Reset() { |
| 1511 | *x = SoongBuildMetrics{} |
| 1512 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1513 | mi := &file_metrics_proto_msgTypes[11] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1514 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1515 | ms.StoreMessageInfo(mi) |
| 1516 | } |
| 1517 | } |
| 1518 | |
| 1519 | func (x *SoongBuildMetrics) String() string { |
| 1520 | return protoimpl.X.MessageStringOf(x) |
| 1521 | } |
| 1522 | |
| 1523 | func (*SoongBuildMetrics) ProtoMessage() {} |
| 1524 | |
| 1525 | func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1526 | mi := &file_metrics_proto_msgTypes[11] |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1527 | if protoimpl.UnsafeEnabled && x != nil { |
| 1528 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1529 | if ms.LoadMessageInfo() == nil { |
| 1530 | ms.StoreMessageInfo(mi) |
| 1531 | } |
| 1532 | return ms |
| 1533 | } |
| 1534 | return mi.MessageOf(x) |
| 1535 | } |
| 1536 | |
| 1537 | // Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead. |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1538 | func (*SoongBuildMetrics) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1539 | return file_metrics_proto_rawDescGZIP(), []int{11} |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1540 | } |
| 1541 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1542 | func (x *SoongBuildMetrics) GetModules() uint32 { |
| 1543 | if x != nil && x.Modules != nil { |
| 1544 | return *x.Modules |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1545 | } |
| 1546 | return 0 |
| 1547 | } |
| 1548 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1549 | func (x *SoongBuildMetrics) GetVariants() uint32 { |
| 1550 | if x != nil && x.Variants != nil { |
| 1551 | return *x.Variants |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1552 | } |
| 1553 | return 0 |
| 1554 | } |
| 1555 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1556 | func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 { |
| 1557 | if x != nil && x.TotalAllocCount != nil { |
| 1558 | return *x.TotalAllocCount |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1559 | } |
| 1560 | return 0 |
| 1561 | } |
| 1562 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1563 | func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 { |
| 1564 | if x != nil && x.TotalAllocSize != nil { |
| 1565 | return *x.TotalAllocSize |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1566 | } |
| 1567 | return 0 |
| 1568 | } |
| 1569 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1570 | func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 { |
| 1571 | if x != nil && x.MaxHeapSize != nil { |
| 1572 | return *x.MaxHeapSize |
| Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1573 | } |
| 1574 | return 0 |
| 1575 | } |
| 1576 | |
| Chris Parsons | 715b08f | 2022-03-22 19:23:40 -0400 | [diff] [blame] | 1577 | func (x *SoongBuildMetrics) GetEvents() []*PerfInfo { |
| 1578 | if x != nil { |
| 1579 | return x.Events |
| 1580 | } |
| 1581 | return nil |
| 1582 | } |
| 1583 | |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1584 | func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo { |
| 1585 | if x != nil { |
| 1586 | return x.MixedBuildsInfo |
| 1587 | } |
| 1588 | return nil |
| 1589 | } |
| 1590 | |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1591 | func (x *SoongBuildMetrics) GetPerfCounters() []*PerfCounters { |
| 1592 | if x != nil { |
| 1593 | return x.PerfCounters |
| 1594 | } |
| 1595 | return nil |
| 1596 | } |
| 1597 | |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1598 | type ExpConfigFetcher struct { |
| 1599 | state protoimpl.MessageState |
| 1600 | sizeCache protoimpl.SizeCache |
| 1601 | unknownFields protoimpl.UnknownFields |
| 1602 | |
| 1603 | // The result of the call to expconfigfetcher |
| 1604 | // NO_CONFIG - Not part of experiment |
| 1605 | // CONFIG - Part of experiment, config copied successfully |
| 1606 | // ERROR - expconfigfetcher failed |
| 1607 | Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"` |
| 1608 | // The output config filename |
| 1609 | Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` |
| 1610 | // Time, in microseconds, taken by the expconfigfetcher |
| 1611 | Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"` |
| 1612 | } |
| 1613 | |
| 1614 | func (x *ExpConfigFetcher) Reset() { |
| 1615 | *x = ExpConfigFetcher{} |
| 1616 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1617 | mi := &file_metrics_proto_msgTypes[12] |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1618 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1619 | ms.StoreMessageInfo(mi) |
| 1620 | } |
| 1621 | } |
| 1622 | |
| 1623 | func (x *ExpConfigFetcher) String() string { |
| 1624 | return protoimpl.X.MessageStringOf(x) |
| 1625 | } |
| 1626 | |
| 1627 | func (*ExpConfigFetcher) ProtoMessage() {} |
| 1628 | |
| 1629 | func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1630 | mi := &file_metrics_proto_msgTypes[12] |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1631 | if protoimpl.UnsafeEnabled && x != nil { |
| 1632 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1633 | if ms.LoadMessageInfo() == nil { |
| 1634 | ms.StoreMessageInfo(mi) |
| 1635 | } |
| 1636 | return ms |
| 1637 | } |
| 1638 | return mi.MessageOf(x) |
| 1639 | } |
| 1640 | |
| 1641 | // Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead. |
| 1642 | func (*ExpConfigFetcher) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1643 | return file_metrics_proto_rawDescGZIP(), []int{12} |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1644 | } |
| 1645 | |
| 1646 | func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus { |
| 1647 | if x != nil && x.Status != nil { |
| 1648 | return *x.Status |
| 1649 | } |
| 1650 | return ExpConfigFetcher_NO_CONFIG |
| 1651 | } |
| 1652 | |
| 1653 | func (x *ExpConfigFetcher) GetFilename() string { |
| 1654 | if x != nil && x.Filename != nil { |
| 1655 | return *x.Filename |
| 1656 | } |
| 1657 | return "" |
| 1658 | } |
| 1659 | |
| 1660 | func (x *ExpConfigFetcher) GetMicros() uint64 { |
| 1661 | if x != nil && x.Micros != nil { |
| 1662 | return *x.Micros |
| 1663 | } |
| 1664 | return 0 |
| 1665 | } |
| 1666 | |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1667 | type MixedBuildsInfo struct { |
| 1668 | state protoimpl.MessageState |
| 1669 | sizeCache protoimpl.SizeCache |
| 1670 | unknownFields protoimpl.UnknownFields |
| 1671 | |
| 1672 | // Modules that are enabled for Mixed Builds. |
| 1673 | MixedBuildEnabledModules []string `protobuf:"bytes,1,rep,name=mixed_build_enabled_modules,json=mixedBuildEnabledModules" json:"mixed_build_enabled_modules,omitempty"` |
| MarkDacek | 5b08fe1 | 2022-05-11 21:55:53 +0000 | [diff] [blame] | 1674 | // Modules that are not enabled for MixedBuilds |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1675 | MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"` |
| 1676 | } |
| 1677 | |
| 1678 | func (x *MixedBuildsInfo) Reset() { |
| 1679 | *x = MixedBuildsInfo{} |
| 1680 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1681 | mi := &file_metrics_proto_msgTypes[13] |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1682 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1683 | ms.StoreMessageInfo(mi) |
| 1684 | } |
| 1685 | } |
| 1686 | |
| 1687 | func (x *MixedBuildsInfo) String() string { |
| 1688 | return protoimpl.X.MessageStringOf(x) |
| 1689 | } |
| 1690 | |
| 1691 | func (*MixedBuildsInfo) ProtoMessage() {} |
| 1692 | |
| 1693 | func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1694 | mi := &file_metrics_proto_msgTypes[13] |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1695 | if protoimpl.UnsafeEnabled && x != nil { |
| 1696 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1697 | if ms.LoadMessageInfo() == nil { |
| 1698 | ms.StoreMessageInfo(mi) |
| 1699 | } |
| 1700 | return ms |
| 1701 | } |
| 1702 | return mi.MessageOf(x) |
| 1703 | } |
| 1704 | |
| 1705 | // Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead. |
| 1706 | func (*MixedBuildsInfo) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1707 | return file_metrics_proto_rawDescGZIP(), []int{13} |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1708 | } |
| 1709 | |
| 1710 | func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string { |
| 1711 | if x != nil { |
| 1712 | return x.MixedBuildEnabledModules |
| 1713 | } |
| 1714 | return nil |
| 1715 | } |
| 1716 | |
| 1717 | func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string { |
| 1718 | if x != nil { |
| 1719 | return x.MixedBuildDisabledModules |
| 1720 | } |
| 1721 | return nil |
| 1722 | } |
| 1723 | |
| Jeongik Cha | cf83377 | 2023-03-15 12:54:14 +0900 | [diff] [blame] | 1724 | // CriticalPathInfo contains critical path nodes's information. |
| 1725 | // A critical path is a path determining the minimum time needed for the whole build given perfect parallelism. |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1726 | type CriticalPathInfo struct { |
| 1727 | state protoimpl.MessageState |
| 1728 | sizeCache protoimpl.SizeCache |
| 1729 | unknownFields protoimpl.UnknownFields |
| 1730 | |
| Jeongik Cha | 767ce71 | 2023-03-15 23:20:00 +0900 | [diff] [blame] | 1731 | // Real time which the build system spent in microseconds |
| 1732 | ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"` |
| 1733 | // The sum of execution time of the longest path from leave to the root in microseconds |
| 1734 | CriticalPathTimeMicros *uint64 `protobuf:"varint,2,opt,name=critical_path_time_micros,json=criticalPathTimeMicros" json:"critical_path_time_micros,omitempty"` |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1735 | // Detailed job information in a critical path. |
| 1736 | CriticalPath []*JobInfo `protobuf:"bytes,4,rep,name=critical_path,json=criticalPath" json:"critical_path,omitempty"` |
| Jeongik Cha | 4199d47 | 2023-03-15 10:47:35 +0900 | [diff] [blame] | 1737 | // Detailed job information for long running jobs (>30 seconds). These may or may not also be on a critical path. |
| 1738 | LongRunningJobs []*JobInfo `protobuf:"bytes,5,rep,name=long_running_jobs,json=longRunningJobs" json:"long_running_jobs,omitempty"` |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1739 | } |
| 1740 | |
| 1741 | func (x *CriticalPathInfo) Reset() { |
| 1742 | *x = CriticalPathInfo{} |
| 1743 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1744 | mi := &file_metrics_proto_msgTypes[14] |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1745 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1746 | ms.StoreMessageInfo(mi) |
| 1747 | } |
| 1748 | } |
| 1749 | |
| 1750 | func (x *CriticalPathInfo) String() string { |
| 1751 | return protoimpl.X.MessageStringOf(x) |
| 1752 | } |
| 1753 | |
| 1754 | func (*CriticalPathInfo) ProtoMessage() {} |
| 1755 | |
| 1756 | func (x *CriticalPathInfo) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1757 | mi := &file_metrics_proto_msgTypes[14] |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1758 | if protoimpl.UnsafeEnabled && x != nil { |
| 1759 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1760 | if ms.LoadMessageInfo() == nil { |
| 1761 | ms.StoreMessageInfo(mi) |
| 1762 | } |
| 1763 | return ms |
| 1764 | } |
| 1765 | return mi.MessageOf(x) |
| 1766 | } |
| 1767 | |
| 1768 | // Deprecated: Use CriticalPathInfo.ProtoReflect.Descriptor instead. |
| 1769 | func (*CriticalPathInfo) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1770 | return file_metrics_proto_rawDescGZIP(), []int{14} |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1771 | } |
| 1772 | |
| Jeongik Cha | 767ce71 | 2023-03-15 23:20:00 +0900 | [diff] [blame] | 1773 | func (x *CriticalPathInfo) GetElapsedTimeMicros() uint64 { |
| 1774 | if x != nil && x.ElapsedTimeMicros != nil { |
| 1775 | return *x.ElapsedTimeMicros |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1776 | } |
| 1777 | return 0 |
| 1778 | } |
| 1779 | |
| Jeongik Cha | 767ce71 | 2023-03-15 23:20:00 +0900 | [diff] [blame] | 1780 | func (x *CriticalPathInfo) GetCriticalPathTimeMicros() uint64 { |
| 1781 | if x != nil && x.CriticalPathTimeMicros != nil { |
| 1782 | return *x.CriticalPathTimeMicros |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1783 | } |
| 1784 | return 0 |
| 1785 | } |
| 1786 | |
| 1787 | func (x *CriticalPathInfo) GetCriticalPath() []*JobInfo { |
| 1788 | if x != nil { |
| 1789 | return x.CriticalPath |
| 1790 | } |
| 1791 | return nil |
| 1792 | } |
| 1793 | |
| Jeongik Cha | 4199d47 | 2023-03-15 10:47:35 +0900 | [diff] [blame] | 1794 | func (x *CriticalPathInfo) GetLongRunningJobs() []*JobInfo { |
| 1795 | if x != nil { |
| 1796 | return x.LongRunningJobs |
| 1797 | } |
| 1798 | return nil |
| 1799 | } |
| 1800 | |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1801 | type JobInfo struct { |
| 1802 | state protoimpl.MessageState |
| 1803 | sizeCache protoimpl.SizeCache |
| 1804 | unknownFields protoimpl.UnknownFields |
| 1805 | |
| Jeongik Cha | 767ce71 | 2023-03-15 23:20:00 +0900 | [diff] [blame] | 1806 | // Real time which a job spent in microseconds |
| 1807 | ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"` |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1808 | // Description of a job |
| 1809 | JobDescription *string `protobuf:"bytes,2,opt,name=job_description,json=jobDescription" json:"job_description,omitempty"` |
| 1810 | } |
| 1811 | |
| 1812 | func (x *JobInfo) Reset() { |
| 1813 | *x = JobInfo{} |
| 1814 | if protoimpl.UnsafeEnabled { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1815 | mi := &file_metrics_proto_msgTypes[15] |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1816 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1817 | ms.StoreMessageInfo(mi) |
| 1818 | } |
| 1819 | } |
| 1820 | |
| 1821 | func (x *JobInfo) String() string { |
| 1822 | return protoimpl.X.MessageStringOf(x) |
| 1823 | } |
| 1824 | |
| 1825 | func (*JobInfo) ProtoMessage() {} |
| 1826 | |
| 1827 | func (x *JobInfo) ProtoReflect() protoreflect.Message { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1828 | mi := &file_metrics_proto_msgTypes[15] |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1829 | if protoimpl.UnsafeEnabled && x != nil { |
| 1830 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1831 | if ms.LoadMessageInfo() == nil { |
| 1832 | ms.StoreMessageInfo(mi) |
| 1833 | } |
| 1834 | return ms |
| 1835 | } |
| 1836 | return mi.MessageOf(x) |
| 1837 | } |
| 1838 | |
| 1839 | // Deprecated: Use JobInfo.ProtoReflect.Descriptor instead. |
| 1840 | func (*JobInfo) Descriptor() ([]byte, []int) { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 1841 | return file_metrics_proto_rawDescGZIP(), []int{15} |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1842 | } |
| 1843 | |
| Jeongik Cha | 767ce71 | 2023-03-15 23:20:00 +0900 | [diff] [blame] | 1844 | func (x *JobInfo) GetElapsedTimeMicros() uint64 { |
| 1845 | if x != nil && x.ElapsedTimeMicros != nil { |
| 1846 | return *x.ElapsedTimeMicros |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 1847 | } |
| 1848 | return 0 |
| 1849 | } |
| 1850 | |
| 1851 | func (x *JobInfo) GetJobDescription() string { |
| 1852 | if x != nil && x.JobDescription != nil { |
| 1853 | return *x.JobDescription |
| 1854 | } |
| 1855 | return "" |
| 1856 | } |
| 1857 | |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 1858 | type OptimizedBuildMetrics struct { |
| 1859 | state protoimpl.MessageState |
| 1860 | sizeCache protoimpl.SizeCache |
| 1861 | unknownFields protoimpl.UnknownFields |
| 1862 | |
| 1863 | // The total time spent analyzing what/how to optimize everything. |
| 1864 | AnalysisPerf *PerfInfo `protobuf:"bytes,1,opt,name=analysis_perf,json=analysisPerf" json:"analysis_perf,omitempty"` |
| 1865 | // The total time spent packaging artifacts. |
| 1866 | PackagingPerf *PerfInfo `protobuf:"bytes,2,opt,name=packaging_perf,json=packagingPerf" json:"packaging_perf,omitempty"` |
| 1867 | // Information for a single target (e.g. general-tests). |
| 1868 | TargetResult []*OptimizedBuildMetrics_TargetOptimizationResult `protobuf:"bytes,3,rep,name=target_result,json=targetResult" json:"target_result,omitempty"` |
| 1869 | } |
| 1870 | |
| 1871 | func (x *OptimizedBuildMetrics) Reset() { |
| 1872 | *x = OptimizedBuildMetrics{} |
| 1873 | if protoimpl.UnsafeEnabled { |
| 1874 | mi := &file_metrics_proto_msgTypes[16] |
| 1875 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1876 | ms.StoreMessageInfo(mi) |
| 1877 | } |
| 1878 | } |
| 1879 | |
| 1880 | func (x *OptimizedBuildMetrics) String() string { |
| 1881 | return protoimpl.X.MessageStringOf(x) |
| 1882 | } |
| 1883 | |
| 1884 | func (*OptimizedBuildMetrics) ProtoMessage() {} |
| 1885 | |
| 1886 | func (x *OptimizedBuildMetrics) ProtoReflect() protoreflect.Message { |
| 1887 | mi := &file_metrics_proto_msgTypes[16] |
| 1888 | if protoimpl.UnsafeEnabled && x != nil { |
| 1889 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1890 | if ms.LoadMessageInfo() == nil { |
| 1891 | ms.StoreMessageInfo(mi) |
| 1892 | } |
| 1893 | return ms |
| 1894 | } |
| 1895 | return mi.MessageOf(x) |
| 1896 | } |
| 1897 | |
| 1898 | // Deprecated: Use OptimizedBuildMetrics.ProtoReflect.Descriptor instead. |
| 1899 | func (*OptimizedBuildMetrics) Descriptor() ([]byte, []int) { |
| 1900 | return file_metrics_proto_rawDescGZIP(), []int{16} |
| 1901 | } |
| 1902 | |
| 1903 | func (x *OptimizedBuildMetrics) GetAnalysisPerf() *PerfInfo { |
| 1904 | if x != nil { |
| 1905 | return x.AnalysisPerf |
| 1906 | } |
| 1907 | return nil |
| 1908 | } |
| 1909 | |
| 1910 | func (x *OptimizedBuildMetrics) GetPackagingPerf() *PerfInfo { |
| 1911 | if x != nil { |
| 1912 | return x.PackagingPerf |
| 1913 | } |
| 1914 | return nil |
| 1915 | } |
| 1916 | |
| 1917 | func (x *OptimizedBuildMetrics) GetTargetResult() []*OptimizedBuildMetrics_TargetOptimizationResult { |
| 1918 | if x != nil { |
| 1919 | return x.TargetResult |
| 1920 | } |
| 1921 | return nil |
| 1922 | } |
| 1923 | |
| 1924 | type OptimizedBuildMetrics_TargetOptimizationResult struct { |
| 1925 | state protoimpl.MessageState |
| 1926 | sizeCache protoimpl.SizeCache |
| 1927 | unknownFields protoimpl.UnknownFields |
| 1928 | |
| 1929 | // Target name (e.g. general-tests). |
| 1930 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 1931 | // Whether or not this target was optimized. |
| 1932 | Optimized *bool `protobuf:"varint,2,opt,name=optimized" json:"optimized,omitempty"` |
| 1933 | // Reasoning for why the target wasn't optimized if it wasn't |
| 1934 | OptimizationRationale *string `protobuf:"bytes,3,opt,name=optimization_rationale,json=optimizationRationale" json:"optimization_rationale,omitempty"` |
| 1935 | // Time spent packaging this specific target (if it was optimized). |
| 1936 | PackagingPerf *PerfInfo `protobuf:"bytes,4,opt,name=packaging_perf,json=packagingPerf" json:"packaging_perf,omitempty"` |
| 1937 | // Information for each different artifact produced by this target (if it |
| 1938 | // was optimized). |
| 1939 | OutputArtifact []*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact `protobuf:"bytes,5,rep,name=output_artifact,json=outputArtifact" json:"output_artifact,omitempty"` |
| 1940 | } |
| 1941 | |
| 1942 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) Reset() { |
| 1943 | *x = OptimizedBuildMetrics_TargetOptimizationResult{} |
| 1944 | if protoimpl.UnsafeEnabled { |
| 1945 | mi := &file_metrics_proto_msgTypes[17] |
| 1946 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1947 | ms.StoreMessageInfo(mi) |
| 1948 | } |
| 1949 | } |
| 1950 | |
| 1951 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) String() string { |
| 1952 | return protoimpl.X.MessageStringOf(x) |
| 1953 | } |
| 1954 | |
| 1955 | func (*OptimizedBuildMetrics_TargetOptimizationResult) ProtoMessage() {} |
| 1956 | |
| 1957 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) ProtoReflect() protoreflect.Message { |
| 1958 | mi := &file_metrics_proto_msgTypes[17] |
| 1959 | if protoimpl.UnsafeEnabled && x != nil { |
| 1960 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1961 | if ms.LoadMessageInfo() == nil { |
| 1962 | ms.StoreMessageInfo(mi) |
| 1963 | } |
| 1964 | return ms |
| 1965 | } |
| 1966 | return mi.MessageOf(x) |
| 1967 | } |
| 1968 | |
| 1969 | // Deprecated: Use OptimizedBuildMetrics_TargetOptimizationResult.ProtoReflect.Descriptor instead. |
| 1970 | func (*OptimizedBuildMetrics_TargetOptimizationResult) Descriptor() ([]byte, []int) { |
| 1971 | return file_metrics_proto_rawDescGZIP(), []int{16, 0} |
| 1972 | } |
| 1973 | |
| 1974 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetName() string { |
| 1975 | if x != nil && x.Name != nil { |
| 1976 | return *x.Name |
| 1977 | } |
| 1978 | return "" |
| 1979 | } |
| 1980 | |
| 1981 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetOptimized() bool { |
| 1982 | if x != nil && x.Optimized != nil { |
| 1983 | return *x.Optimized |
| 1984 | } |
| 1985 | return false |
| 1986 | } |
| 1987 | |
| 1988 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetOptimizationRationale() string { |
| 1989 | if x != nil && x.OptimizationRationale != nil { |
| 1990 | return *x.OptimizationRationale |
| 1991 | } |
| 1992 | return "" |
| 1993 | } |
| 1994 | |
| 1995 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetPackagingPerf() *PerfInfo { |
| 1996 | if x != nil { |
| 1997 | return x.PackagingPerf |
| 1998 | } |
| 1999 | return nil |
| 2000 | } |
| 2001 | |
| 2002 | func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetOutputArtifact() []*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact { |
| 2003 | if x != nil { |
| 2004 | return x.OutputArtifact |
| 2005 | } |
| 2006 | return nil |
| 2007 | } |
| 2008 | |
| 2009 | type OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact struct { |
| 2010 | state protoimpl.MessageState |
| 2011 | sizeCache protoimpl.SizeCache |
| 2012 | unknownFields protoimpl.UnknownFields |
| 2013 | |
| 2014 | // Artifact file name (e.g. general-tests.zip) |
| 2015 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 2016 | // Size of the file. |
| 2017 | Size *int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"` |
| 2018 | // Lists of modules packaged into this artifact. |
| 2019 | IncludedModules []string `protobuf:"bytes,3,rep,name=included_modules,json=includedModules" json:"included_modules,omitempty"` |
| 2020 | } |
| 2021 | |
| 2022 | func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) Reset() { |
| 2023 | *x = OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact{} |
| 2024 | if protoimpl.UnsafeEnabled { |
| 2025 | mi := &file_metrics_proto_msgTypes[18] |
| 2026 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2027 | ms.StoreMessageInfo(mi) |
| 2028 | } |
| 2029 | } |
| 2030 | |
| 2031 | func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) String() string { |
| 2032 | return protoimpl.X.MessageStringOf(x) |
| 2033 | } |
| 2034 | |
| 2035 | func (*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) ProtoMessage() {} |
| 2036 | |
| 2037 | func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) ProtoReflect() protoreflect.Message { |
| 2038 | mi := &file_metrics_proto_msgTypes[18] |
| 2039 | if protoimpl.UnsafeEnabled && x != nil { |
| 2040 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2041 | if ms.LoadMessageInfo() == nil { |
| 2042 | ms.StoreMessageInfo(mi) |
| 2043 | } |
| 2044 | return ms |
| 2045 | } |
| 2046 | return mi.MessageOf(x) |
| 2047 | } |
| 2048 | |
| 2049 | // Deprecated: Use OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact.ProtoReflect.Descriptor instead. |
| 2050 | func (*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) Descriptor() ([]byte, []int) { |
| 2051 | return file_metrics_proto_rawDescGZIP(), []int{16, 0, 0} |
| 2052 | } |
| 2053 | |
| 2054 | func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) GetName() string { |
| 2055 | if x != nil && x.Name != nil { |
| 2056 | return *x.Name |
| 2057 | } |
| 2058 | return "" |
| 2059 | } |
| 2060 | |
| 2061 | func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) GetSize() int64 { |
| 2062 | if x != nil && x.Size != nil { |
| 2063 | return *x.Size |
| 2064 | } |
| 2065 | return 0 |
| 2066 | } |
| 2067 | |
| 2068 | func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) GetIncludedModules() []string { |
| 2069 | if x != nil { |
| 2070 | return x.IncludedModules |
| 2071 | } |
| 2072 | return nil |
| 2073 | } |
| 2074 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2075 | var File_metrics_proto protoreflect.FileDescriptor |
| 2076 | |
| 2077 | var file_metrics_proto_rawDesc = []byte{ |
| 2078 | 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 2079 | 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2080 | 0x72, 0x69, 0x63, 0x73, 0x22, 0xb0, 0x10, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2081 | 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61, |
| 2082 | 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, |
| 2083 | 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 2084 | 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 2085 | 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, |
| 2086 | 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, |
| 2087 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, |
| 2088 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, |
| 2089 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, |
| 2090 | 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, |
| 2091 | 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, |
| 2092 | 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62, |
| 2093 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, |
| 2094 | 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 2095 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 2096 | 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, |
| 2097 | 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75, |
| 2098 | 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61, |
| 2099 | 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 2100 | 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 2101 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, |
| 2102 | 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, |
| 2103 | 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74, |
| 2104 | 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, |
| 2105 | 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, |
| 2106 | 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, |
| 2107 | 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, |
| 2108 | 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, |
| 2109 | 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73, |
| 2110 | 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, |
| 2111 | 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 2112 | 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41, |
| 2113 | 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f, |
| 2114 | 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32, |
| 2115 | 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, |
| 2116 | 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, |
| 2117 | 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, |
| 2118 | 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68, |
| 2119 | 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, |
| 2120 | 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, |
| 2121 | 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65, |
| 2122 | 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, |
| 2123 | 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, |
| 2124 | 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 2125 | 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68, |
| 2126 | 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e, |
| 2127 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41, |
| 2128 | 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, |
| 2129 | 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, |
| 2130 | 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72, |
| 2131 | 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20, |
| 2132 | 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73, |
| 2133 | 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, |
| 2134 | 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, |
| 2135 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 2136 | 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b, |
| 2137 | 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, |
| 2138 | 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
| 2139 | 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b, |
| 2140 | 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67, |
| 2141 | 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, |
| 2142 | 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, |
| 2143 | 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e, |
| 2144 | 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72, |
| 2145 | 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, |
| 2146 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, |
| 2147 | 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52, |
| 2148 | 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01, |
| 2149 | 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 2150 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, |
| Jason Wu | 41886f2 | 2023-01-04 11:29:36 -0500 | [diff] [blame] | 2151 | 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e, |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2152 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, |
| 2153 | 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 2154 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e, |
| Jason Wu | 41886f2 | 2023-01-04 11:29:36 -0500 | [diff] [blame] | 2155 | 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18, |
| 2156 | 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, |
| 2157 | 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, |
| 2158 | 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, |
| 2159 | 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 2160 | 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, |
| 2161 | 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, |
| 2162 | 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, |
| 2163 | 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, |
| 2164 | 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, |
| 2165 | 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, |
| 2166 | 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, |
| 2167 | 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79, |
| 2168 | 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, |
| 2169 | 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 2170 | 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, |
| 2171 | 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72, |
| 2172 | 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, |
| 2173 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, |
| 2174 | 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52, |
| 2175 | 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 2176 | 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2177 | 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 2178 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, |
| 2179 | 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 2180 | 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, |
| 2181 | 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, |
| 2182 | 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, |
| 2183 | 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20, |
| 2184 | 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| MarkDacek | a18ba22 | 2023-03-07 18:18:19 +0000 | [diff] [blame] | 2185 | 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72, |
| 2186 | 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, |
| 2187 | 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20, |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 2188 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x53, 0x0a, 0x12, |
| 2189 | 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x6e, |
| 2190 | 0x66, 0x6f, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, |
| 2191 | 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, |
| 2192 | 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 2193 | 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, |
| Jason Wu | 2520f5e | 2023-05-30 19:45:36 -0400 | [diff] [blame] | 2194 | 0x6f, 0x12, 0x40, 0x0a, 0x1c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x76, |
| 2195 | 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, |
| 2196 | 0x65, 0x18, 0x22, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, |
| 2197 | 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2198 | 0x62, 0x6c, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, |
| 2199 | 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x23, |
| 2200 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, |
| 2201 | 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, |
| 2202 | 0x69, 0x7a, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 2203 | 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, |
| 2204 | 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, |
| 2205 | 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, |
| 2206 | 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, |
| 2207 | 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, |
| 2208 | 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, |
| 2209 | 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, |
| 2210 | 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, |
| 2211 | 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x04, 0x22, 0x8a, 0x04, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, |
| 2212 | 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, |
| 2213 | 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, |
| 2214 | 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, |
| 2215 | 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, |
| 2216 | 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, |
| 2217 | 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, |
| 2218 | 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, |
| 2219 | 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, |
| 2220 | 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, |
| 2221 | 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, |
| 2222 | 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, |
| 2223 | 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, |
| 2224 | 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, |
| 2225 | 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, |
| 2226 | 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 2227 | 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, |
| 2228 | 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, |
| 2229 | 0x69, 0x6c, 0x64, 0x12, 0x79, 0x0a, 0x18, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x77, 0x65, 0x69, |
| 2230 | 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, |
| 2231 | 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 2232 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, |
| 2233 | 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, |
| 2234 | 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, 0x4e, |
| 2235 | 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x44, 0x52, 0x15, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, |
| 2236 | 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x74, |
| 2237 | 0x0a, 0x15, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, |
| 2238 | 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x55, |
| 2239 | 0x53, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x49, 0x4e, 0x4a, 0x41, 0x5f, 0x4c, |
| 2240 | 0x4f, 0x47, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x4c, 0x59, 0x5f, 0x44, |
| 2241 | 0x49, 0x53, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, |
| 2242 | 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12, |
| 2243 | 0x13, 0x0a, 0x0f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x53, 0x4f, 0x4f, |
| 2244 | 0x4e, 0x47, 0x10, 0x04, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, |
| 2245 | 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, |
| 2246 | 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, |
| 2247 | 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, |
| 2248 | 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, |
| 2249 | 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, |
| 2250 | 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, |
| 2251 | 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, |
| 2252 | 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, |
| 2253 | 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 2254 | 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 2255 | 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, |
| 2256 | 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, |
| 2257 | 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, |
| 2258 | 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, |
| 2259 | 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, |
| 2260 | 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, |
| 2261 | 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, |
| 2262 | 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, |
| 2263 | 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, |
| 2264 | 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, |
| 2265 | 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, |
| 2266 | 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, |
| 2267 | 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, |
| 2268 | 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, |
| 2269 | 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, |
| 2270 | 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, |
| 2271 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, |
| 2272 | 0x67, 0x65, 0x22, 0x61, 0x0a, 0x0c, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, |
| 2273 | 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, |
| 2274 | 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, |
| 2275 | 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, |
| 2276 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, |
| 2277 | 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, |
| 2278 | 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x64, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, |
| 2279 | 0x6e, 0x74, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 2280 | 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, |
| 2281 | 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 2282 | 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 2283 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, |
| 2284 | 0x72, 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x37, 0x0a, 0x0b, 0x50, |
| 2285 | 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, |
| 2286 | 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, |
| 2287 | 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, |
| 2288 | 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, |
| 2289 | 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, |
| 2290 | 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 2291 | 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, |
| 2292 | 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, |
| 2293 | 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, |
| 2294 | 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, |
| 2295 | 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, |
| 2296 | 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, |
| 2297 | 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, |
| 2298 | 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, |
| 2299 | 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 2300 | 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, |
| 2301 | 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, |
| 2302 | 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, |
| 2303 | 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, |
| 2304 | 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, |
| 2305 | 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, |
| 2306 | 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, |
| 2307 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, |
| 2308 | 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, |
| 2309 | 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, |
| 2310 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, |
| 2311 | 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, |
| 2312 | 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, |
| 2313 | 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, |
| 2314 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, |
| 2315 | 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, |
| 2316 | 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, |
| 2317 | 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, |
| 2318 | 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, |
| 2319 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, |
| 2320 | 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, |
| 2321 | 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, |
| 2322 | 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, |
| 2323 | 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 2324 | 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, |
| 2325 | 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, |
| 2326 | 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, |
| 2327 | 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, |
| 2328 | 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, |
| 2329 | 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, |
| 2330 | 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, |
| 2331 | 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, |
| 2332 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
| 2333 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, |
| 2334 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2335 | 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2336 | 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, |
| 2337 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, |
| 2338 | 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, |
| 2339 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, |
| 2340 | 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, |
| 2341 | 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, |
| 2342 | 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, |
| 2343 | 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0x94, 0x03, 0x0a, 0x11, 0x53, |
| 2344 | 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 2345 | 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 2346 | 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, |
| 2347 | 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, |
| 2348 | 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, |
| 2349 | 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 2350 | 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, |
| 2351 | 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, |
| 2352 | 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, |
| 2353 | 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, |
| 2354 | 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, |
| 2355 | 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, |
| 2356 | 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, |
| 2357 | 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, |
| 2358 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 2359 | 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64, |
| 2360 | 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, |
| 2361 | 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 2362 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, |
| 2363 | 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, |
| 2364 | 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x46, 0x0a, 0x0d, 0x70, 0x65, 0x72, |
| 2365 | 0x66, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, |
| 2366 | 0x32, 0x21, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, |
| 2367 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 2368 | 0x65, 0x72, 0x73, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, |
| 2369 | 0x73, 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, |
| 2370 | 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 2371 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, |
| 2372 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, |
| 2373 | 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, |
| 2374 | 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, |
| 2375 | 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, |
| 2376 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, |
| 2377 | 0x0a, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, |
| 2378 | 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 2379 | 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, |
| 2380 | 0x46, 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, |
| 2381 | 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, |
| 2382 | 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, |
| 2383 | 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, |
| 2384 | 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, |
| 2385 | 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, |
| 2386 | 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, |
| 2387 | 0x75, 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, |
| 2388 | 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, |
| 2389 | 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, |
| 2390 | 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, |
| 2391 | 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, |
| 2392 | 0x6c, 0x65, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x10, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, |
| 2393 | 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, 0x61, 0x70, |
| 2394 | 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, |
| 2395 | 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, |
| 2396 | 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x72, 0x69, 0x74, |
| 2397 | 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, |
| 2398 | 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x63, 0x72, 0x69, |
| 2399 | 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, |
| 2400 | 0x72, 0x6f, 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, |
| 2401 | 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f, |
| 2402 | 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 2403 | 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, |
| 2404 | 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x72, |
| 2405 | 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, |
| 2406 | 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 2407 | 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 2408 | 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, |
| 2409 | 0x22, 0x62, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, |
| 2410 | 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, |
| 2411 | 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, |
| 2412 | 0x64, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6a, |
| 2413 | 0x6f, 0x62, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, |
| 2414 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 2415 | 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x05, 0x0a, 0x15, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, |
| 2416 | 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x42, |
| 2417 | 0x0a, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x66, 0x18, |
| 2418 | 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 2419 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, |
| 2420 | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x50, 0x65, |
| 2421 | 0x72, 0x66, 0x12, 0x44, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, |
| 2422 | 0x70, 0x65, 0x72, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, |
| 2423 | 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 2424 | 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, |
| 2425 | 0x67, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x66, 0x12, 0x68, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, |
| 2426 | 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 2427 | 0x43, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 2428 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x42, |
| 2429 | 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, |
| 2430 | 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, |
| 2431 | 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, |
| 2432 | 0x6c, 0x74, 0x1a, 0xab, 0x03, 0x0a, 0x18, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4f, 0x70, 0x74, |
| 2433 | 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, |
| 2434 | 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, |
| 2435 | 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, |
| 2436 | 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, |
| 2437 | 0x64, 0x12, 0x35, 0x0a, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, |
| 2438 | 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 2439 | 0x09, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 2440 | 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, |
| 2441 | 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 2442 | 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, |
| 2443 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 2444 | 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x66, 0x12, 0x7b, |
| 2445 | 0x0a, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, |
| 2446 | 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, |
| 2447 | 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4f, 0x70, |
| 2448 | 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, |
| 2449 | 0x69, 0x63, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, |
| 2450 | 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4f, 0x75, 0x74, |
| 2451 | 0x70, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0e, 0x6f, 0x75, 0x74, |
| 2452 | 0x70, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x1a, 0x63, 0x0a, 0x0e, 0x4f, |
| 2453 | 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, |
| 2454 | 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 2455 | 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, |
| 2456 | 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, |
| 2457 | 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 2458 | 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2459 | 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, |
| 2460 | 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, |
| 2461 | 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 2462 | } |
| 2463 | |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2464 | var ( |
| 2465 | file_metrics_proto_rawDescOnce sync.Once |
| 2466 | file_metrics_proto_rawDescData = file_metrics_proto_rawDesc |
| 2467 | ) |
| 2468 | |
| 2469 | func file_metrics_proto_rawDescGZIP() []byte { |
| 2470 | file_metrics_proto_rawDescOnce.Do(func() { |
| 2471 | file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData) |
| 2472 | }) |
| 2473 | return file_metrics_proto_rawDescData |
| Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 2474 | } |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 2475 | |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 2476 | var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 5) |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2477 | var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 19) |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2478 | var file_metrics_proto_goTypes = []interface{}{ |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2479 | (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant |
| 2480 | (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch |
| 2481 | (BuildConfig_NinjaWeightListSource)(0), // 2: soong_build_metrics.BuildConfig.NinjaWeightListSource |
| 2482 | (ModuleTypeInfo_BuildSystem)(0), // 3: soong_build_metrics.ModuleTypeInfo.BuildSystem |
| 2483 | (ExpConfigFetcher_ConfigStatus)(0), // 4: soong_build_metrics.ExpConfigFetcher.ConfigStatus |
| 2484 | (*MetricsBase)(nil), // 5: soong_build_metrics.MetricsBase |
| 2485 | (*BuildConfig)(nil), // 6: soong_build_metrics.BuildConfig |
| 2486 | (*SystemResourceInfo)(nil), // 7: soong_build_metrics.SystemResourceInfo |
| 2487 | (*PerfInfo)(nil), // 8: soong_build_metrics.PerfInfo |
| 2488 | (*PerfCounters)(nil), // 9: soong_build_metrics.PerfCounters |
| 2489 | (*PerfCounterGroup)(nil), // 10: soong_build_metrics.PerfCounterGroup |
| 2490 | (*PerfCounter)(nil), // 11: soong_build_metrics.PerfCounter |
| 2491 | (*ProcessResourceInfo)(nil), // 12: soong_build_metrics.ProcessResourceInfo |
| 2492 | (*ModuleTypeInfo)(nil), // 13: soong_build_metrics.ModuleTypeInfo |
| 2493 | (*CriticalUserJourneyMetrics)(nil), // 14: soong_build_metrics.CriticalUserJourneyMetrics |
| 2494 | (*CriticalUserJourneysMetrics)(nil), // 15: soong_build_metrics.CriticalUserJourneysMetrics |
| 2495 | (*SoongBuildMetrics)(nil), // 16: soong_build_metrics.SoongBuildMetrics |
| 2496 | (*ExpConfigFetcher)(nil), // 17: soong_build_metrics.ExpConfigFetcher |
| 2497 | (*MixedBuildsInfo)(nil), // 18: soong_build_metrics.MixedBuildsInfo |
| 2498 | (*CriticalPathInfo)(nil), // 19: soong_build_metrics.CriticalPathInfo |
| 2499 | (*JobInfo)(nil), // 20: soong_build_metrics.JobInfo |
| 2500 | (*OptimizedBuildMetrics)(nil), // 21: soong_build_metrics.OptimizedBuildMetrics |
| 2501 | (*OptimizedBuildMetrics_TargetOptimizationResult)(nil), // 22: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult |
| 2502 | (*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact)(nil), // 23: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.OutputArtifact |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2503 | } |
| 2504 | var file_metrics_proto_depIdxs = []int32{ |
| Jeongik Cha | 8d63d56 | 2023-03-17 03:52:13 +0900 | [diff] [blame] | 2505 | 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant |
| 2506 | 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 2507 | 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 2508 | 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 2509 | 8, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo |
| 2510 | 8, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo |
| 2511 | 8, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo |
| 2512 | 8, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo |
| 2513 | 8, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2514 | 16, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 2515 | 6, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig |
| 2516 | 7, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo |
| 2517 | 8, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2518 | 17, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher |
| 2519 | 19, // 14: soong_build_metrics.MetricsBase.critical_path_info:type_name -> soong_build_metrics.CriticalPathInfo |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2520 | 21, // 15: soong_build_metrics.MetricsBase.optimized_build_metrics:type_name -> soong_build_metrics.OptimizedBuildMetrics |
| 2521 | 2, // 16: soong_build_metrics.BuildConfig.ninja_weight_list_source:type_name -> soong_build_metrics.BuildConfig.NinjaWeightListSource |
| 2522 | 12, // 17: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo |
| 2523 | 10, // 18: soong_build_metrics.PerfCounters.groups:type_name -> soong_build_metrics.PerfCounterGroup |
| 2524 | 11, // 19: soong_build_metrics.PerfCounterGroup.counters:type_name -> soong_build_metrics.PerfCounter |
| 2525 | 3, // 20: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem |
| 2526 | 5, // 21: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase |
| 2527 | 14, // 22: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics |
| 2528 | 8, // 23: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo |
| 2529 | 18, // 24: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo |
| 2530 | 9, // 25: soong_build_metrics.SoongBuildMetrics.perf_counters:type_name -> soong_build_metrics.PerfCounters |
| 2531 | 4, // 26: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus |
| 2532 | 20, // 27: soong_build_metrics.CriticalPathInfo.critical_path:type_name -> soong_build_metrics.JobInfo |
| 2533 | 20, // 28: soong_build_metrics.CriticalPathInfo.long_running_jobs:type_name -> soong_build_metrics.JobInfo |
| 2534 | 8, // 29: soong_build_metrics.OptimizedBuildMetrics.analysis_perf:type_name -> soong_build_metrics.PerfInfo |
| 2535 | 8, // 30: soong_build_metrics.OptimizedBuildMetrics.packaging_perf:type_name -> soong_build_metrics.PerfInfo |
| 2536 | 22, // 31: soong_build_metrics.OptimizedBuildMetrics.target_result:type_name -> soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult |
| 2537 | 8, // 32: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.packaging_perf:type_name -> soong_build_metrics.PerfInfo |
| 2538 | 23, // 33: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.output_artifact:type_name -> soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.OutputArtifact |
| 2539 | 34, // [34:34] is the sub-list for method output_type |
| 2540 | 34, // [34:34] is the sub-list for method input_type |
| 2541 | 34, // [34:34] is the sub-list for extension type_name |
| 2542 | 34, // [34:34] is the sub-list for extension extendee |
| 2543 | 0, // [0:34] is the sub-list for field type_name |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2544 | } |
| 2545 | |
| 2546 | func init() { file_metrics_proto_init() } |
| 2547 | func file_metrics_proto_init() { |
| 2548 | if File_metrics_proto != nil { |
| 2549 | return |
| 2550 | } |
| 2551 | if !protoimpl.UnsafeEnabled { |
| 2552 | file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 2553 | switch v := v.(*MetricsBase); i { |
| 2554 | case 0: |
| 2555 | return &v.state |
| 2556 | case 1: |
| 2557 | return &v.sizeCache |
| 2558 | case 2: |
| 2559 | return &v.unknownFields |
| 2560 | default: |
| 2561 | return nil |
| 2562 | } |
| 2563 | } |
| 2564 | file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 2565 | switch v := v.(*BuildConfig); i { |
| 2566 | case 0: |
| 2567 | return &v.state |
| 2568 | case 1: |
| 2569 | return &v.sizeCache |
| 2570 | case 2: |
| 2571 | return &v.unknownFields |
| 2572 | default: |
| 2573 | return nil |
| 2574 | } |
| 2575 | } |
| 2576 | file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 2577 | switch v := v.(*SystemResourceInfo); i { |
| 2578 | case 0: |
| 2579 | return &v.state |
| 2580 | case 1: |
| 2581 | return &v.sizeCache |
| 2582 | case 2: |
| 2583 | return &v.unknownFields |
| 2584 | default: |
| 2585 | return nil |
| 2586 | } |
| 2587 | } |
| 2588 | file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 2589 | switch v := v.(*PerfInfo); i { |
| 2590 | case 0: |
| 2591 | return &v.state |
| 2592 | case 1: |
| 2593 | return &v.sizeCache |
| 2594 | case 2: |
| 2595 | return &v.unknownFields |
| 2596 | default: |
| 2597 | return nil |
| 2598 | } |
| 2599 | } |
| 2600 | file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2601 | switch v := v.(*PerfCounters); i { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2602 | case 0: |
| 2603 | return &v.state |
| 2604 | case 1: |
| 2605 | return &v.sizeCache |
| 2606 | case 2: |
| 2607 | return &v.unknownFields |
| 2608 | default: |
| 2609 | return nil |
| 2610 | } |
| 2611 | } |
| 2612 | file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2613 | switch v := v.(*PerfCounterGroup); i { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2614 | case 0: |
| 2615 | return &v.state |
| 2616 | case 1: |
| 2617 | return &v.sizeCache |
| 2618 | case 2: |
| 2619 | return &v.unknownFields |
| 2620 | default: |
| 2621 | return nil |
| 2622 | } |
| 2623 | } |
| 2624 | file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2625 | switch v := v.(*PerfCounter); i { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2626 | case 0: |
| 2627 | return &v.state |
| 2628 | case 1: |
| 2629 | return &v.sizeCache |
| 2630 | case 2: |
| 2631 | return &v.unknownFields |
| 2632 | default: |
| 2633 | return nil |
| 2634 | } |
| 2635 | } |
| 2636 | file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2637 | switch v := v.(*ProcessResourceInfo); i { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2638 | case 0: |
| 2639 | return &v.state |
| 2640 | case 1: |
| 2641 | return &v.sizeCache |
| 2642 | case 2: |
| 2643 | return &v.unknownFields |
| 2644 | default: |
| 2645 | return nil |
| 2646 | } |
| 2647 | } |
| 2648 | file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2649 | switch v := v.(*ModuleTypeInfo); i { |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2650 | case 0: |
| 2651 | return &v.state |
| 2652 | case 1: |
| 2653 | return &v.sizeCache |
| 2654 | case 2: |
| 2655 | return &v.unknownFields |
| 2656 | default: |
| 2657 | return nil |
| 2658 | } |
| 2659 | } |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 2660 | file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2661 | switch v := v.(*CriticalUserJourneyMetrics); i { |
| David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 2662 | case 0: |
| 2663 | return &v.state |
| 2664 | case 1: |
| 2665 | return &v.sizeCache |
| 2666 | case 2: |
| 2667 | return &v.unknownFields |
| 2668 | default: |
| 2669 | return nil |
| 2670 | } |
| 2671 | } |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 2672 | file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2673 | switch v := v.(*CriticalUserJourneysMetrics); i { |
| MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 2674 | case 0: |
| 2675 | return &v.state |
| 2676 | case 1: |
| 2677 | return &v.sizeCache |
| 2678 | case 2: |
| 2679 | return &v.unknownFields |
| 2680 | default: |
| 2681 | return nil |
| 2682 | } |
| 2683 | } |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 2684 | file_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2685 | switch v := v.(*SoongBuildMetrics); i { |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 2686 | case 0: |
| 2687 | return &v.state |
| 2688 | case 1: |
| 2689 | return &v.sizeCache |
| 2690 | case 2: |
| 2691 | return &v.unknownFields |
| 2692 | default: |
| 2693 | return nil |
| 2694 | } |
| 2695 | } |
| 2696 | file_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| Colin Cross | 46b0c75 | 2023-10-27 14:56:12 -0700 | [diff] [blame] | 2697 | switch v := v.(*ExpConfigFetcher); i { |
| 2698 | case 0: |
| 2699 | return &v.state |
| 2700 | case 1: |
| 2701 | return &v.sizeCache |
| 2702 | case 2: |
| 2703 | return &v.unknownFields |
| 2704 | default: |
| 2705 | return nil |
| 2706 | } |
| 2707 | } |
| 2708 | file_metrics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 2709 | switch v := v.(*MixedBuildsInfo); i { |
| 2710 | case 0: |
| 2711 | return &v.state |
| 2712 | case 1: |
| 2713 | return &v.sizeCache |
| 2714 | case 2: |
| 2715 | return &v.unknownFields |
| 2716 | default: |
| 2717 | return nil |
| 2718 | } |
| 2719 | } |
| 2720 | file_metrics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 2721 | switch v := v.(*CriticalPathInfo); i { |
| 2722 | case 0: |
| 2723 | return &v.state |
| 2724 | case 1: |
| 2725 | return &v.sizeCache |
| 2726 | case 2: |
| 2727 | return &v.unknownFields |
| 2728 | default: |
| 2729 | return nil |
| 2730 | } |
| 2731 | } |
| 2732 | file_metrics_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| Jeongik Cha | 28c1fe5 | 2023-03-07 15:19:44 +0900 | [diff] [blame] | 2733 | switch v := v.(*JobInfo); i { |
| 2734 | case 0: |
| 2735 | return &v.state |
| 2736 | case 1: |
| 2737 | return &v.sizeCache |
| 2738 | case 2: |
| 2739 | return &v.unknownFields |
| 2740 | default: |
| 2741 | return nil |
| 2742 | } |
| 2743 | } |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2744 | file_metrics_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| 2745 | switch v := v.(*OptimizedBuildMetrics); i { |
| 2746 | case 0: |
| 2747 | return &v.state |
| 2748 | case 1: |
| 2749 | return &v.sizeCache |
| 2750 | case 2: |
| 2751 | return &v.unknownFields |
| 2752 | default: |
| 2753 | return nil |
| 2754 | } |
| 2755 | } |
| 2756 | file_metrics_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| 2757 | switch v := v.(*OptimizedBuildMetrics_TargetOptimizationResult); i { |
| 2758 | case 0: |
| 2759 | return &v.state |
| 2760 | case 1: |
| 2761 | return &v.sizeCache |
| 2762 | case 2: |
| 2763 | return &v.unknownFields |
| 2764 | default: |
| 2765 | return nil |
| 2766 | } |
| 2767 | } |
| 2768 | file_metrics_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
| 2769 | switch v := v.(*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact); i { |
| 2770 | case 0: |
| 2771 | return &v.state |
| 2772 | case 1: |
| 2773 | return &v.sizeCache |
| 2774 | case 2: |
| 2775 | return &v.unknownFields |
| 2776 | default: |
| 2777 | return nil |
| 2778 | } |
| 2779 | } |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2780 | } |
| 2781 | type x struct{} |
| 2782 | out := protoimpl.TypeBuilder{ |
| 2783 | File: protoimpl.DescBuilder{ |
| 2784 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 2785 | RawDescriptor: file_metrics_proto_rawDesc, |
| Jeongik Cha | 0cf44d5 | 2023-03-15 00:10:45 +0900 | [diff] [blame] | 2786 | NumEnums: 5, |
| Luca Farsi | 8ba1fb0 | 2024-10-18 14:35:19 -0700 | [diff] [blame] | 2787 | NumMessages: 19, |
| Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 2788 | NumExtensions: 0, |
| 2789 | NumServices: 0, |
| 2790 | }, |
| 2791 | GoTypes: file_metrics_proto_goTypes, |
| 2792 | DependencyIndexes: file_metrics_proto_depIdxs, |
| 2793 | EnumInfos: file_metrics_proto_enumTypes, |
| 2794 | MessageInfos: file_metrics_proto_msgTypes, |
| 2795 | }.Build() |
| 2796 | File_metrics_proto = out.File |
| 2797 | file_metrics_proto_rawDesc = nil |
| 2798 | file_metrics_proto_goTypes = nil |
| 2799 | file_metrics_proto_depIdxs = nil |
| Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 2800 | } |