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: |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 17 | // protoc-gen-go v1.28.0 |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 18 | // protoc v3.9.1 |
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 { |
| 70 | return file_metrics_proto_enumTypes[0].Descriptor() |
| 71 | } |
| 72 | |
| 73 | func (MetricsBase_BuildVariant) Type() protoreflect.EnumType { |
| 74 | return &file_metrics_proto_enumTypes[0] |
| 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 { |
| 135 | return file_metrics_proto_enumTypes[1].Descriptor() |
| 136 | } |
| 137 | |
| 138 | func (MetricsBase_Arch) Type() protoreflect.EnumType { |
| 139 | return &file_metrics_proto_enumTypes[1] |
| 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 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 161 | type ModuleTypeInfo_BuildSystem int32 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 162 | |
| 163 | const ( |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 164 | ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0 |
| 165 | ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1 |
| 166 | ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 167 | ) |
| 168 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 169 | // Enum value maps for ModuleTypeInfo_BuildSystem. |
| 170 | var ( |
| 171 | ModuleTypeInfo_BuildSystem_name = map[int32]string{ |
| 172 | 0: "UNKNOWN", |
| 173 | 1: "SOONG", |
| 174 | 2: "MAKE", |
| 175 | } |
| 176 | ModuleTypeInfo_BuildSystem_value = map[string]int32{ |
| 177 | "UNKNOWN": 0, |
| 178 | "SOONG": 1, |
| 179 | "MAKE": 2, |
| 180 | } |
| 181 | ) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 182 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 183 | func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem { |
| 184 | p := new(ModuleTypeInfo_BuildSystem) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 185 | *p = x |
| 186 | return p |
| 187 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 188 | |
| 189 | func (x ModuleTypeInfo_BuildSystem) String() string { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 190 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 191 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 192 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 193 | func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor { |
| 194 | return file_metrics_proto_enumTypes[2].Descriptor() |
| 195 | } |
| 196 | |
| 197 | func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType { |
| 198 | return &file_metrics_proto_enumTypes[2] |
| 199 | } |
| 200 | |
| 201 | func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber { |
| 202 | return protoreflect.EnumNumber(x) |
| 203 | } |
| 204 | |
| 205 | // Deprecated: Do not use. |
| 206 | func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error { |
| 207 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 208 | if err != nil { |
| 209 | return err |
| 210 | } |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 211 | *x = ModuleTypeInfo_BuildSystem(num) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 212 | return nil |
| 213 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 214 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 215 | // Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 216 | func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 217 | return file_metrics_proto_rawDescGZIP(), []int{5, 0} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 218 | } |
| 219 | |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 220 | type ExpConfigFetcher_ConfigStatus int32 |
| 221 | |
| 222 | const ( |
Kousik Kumar | c75e129 | 2022-07-07 02:20:51 +0000 | [diff] [blame] | 223 | ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0 |
| 224 | ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1 |
| 225 | ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2 |
| 226 | ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3 |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 227 | ) |
| 228 | |
| 229 | // Enum value maps for ExpConfigFetcher_ConfigStatus. |
| 230 | var ( |
| 231 | ExpConfigFetcher_ConfigStatus_name = map[int32]string{ |
| 232 | 0: "NO_CONFIG", |
| 233 | 1: "CONFIG", |
| 234 | 2: "ERROR", |
Kousik Kumar | c75e129 | 2022-07-07 02:20:51 +0000 | [diff] [blame] | 235 | 3: "MISSING_GCERT", |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 236 | } |
| 237 | ExpConfigFetcher_ConfigStatus_value = map[string]int32{ |
Kousik Kumar | c75e129 | 2022-07-07 02:20:51 +0000 | [diff] [blame] | 238 | "NO_CONFIG": 0, |
| 239 | "CONFIG": 1, |
| 240 | "ERROR": 2, |
| 241 | "MISSING_GCERT": 3, |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 242 | } |
| 243 | ) |
| 244 | |
| 245 | func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus { |
| 246 | p := new(ExpConfigFetcher_ConfigStatus) |
| 247 | *p = x |
| 248 | return p |
| 249 | } |
| 250 | |
| 251 | func (x ExpConfigFetcher_ConfigStatus) String() string { |
| 252 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 253 | } |
| 254 | |
| 255 | func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor { |
| 256 | return file_metrics_proto_enumTypes[3].Descriptor() |
| 257 | } |
| 258 | |
| 259 | func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType { |
| 260 | return &file_metrics_proto_enumTypes[3] |
| 261 | } |
| 262 | |
| 263 | func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber { |
| 264 | return protoreflect.EnumNumber(x) |
| 265 | } |
| 266 | |
| 267 | // Deprecated: Do not use. |
| 268 | func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error { |
| 269 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 270 | if err != nil { |
| 271 | return err |
| 272 | } |
| 273 | *x = ExpConfigFetcher_ConfigStatus(num) |
| 274 | return nil |
| 275 | } |
| 276 | |
| 277 | // Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead. |
| 278 | func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) { |
| 279 | return file_metrics_proto_rawDescGZIP(), []int{9, 0} |
| 280 | } |
| 281 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 282 | type MetricsBase struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 283 | state protoimpl.MessageState |
| 284 | sizeCache protoimpl.SizeCache |
| 285 | unknownFields protoimpl.UnknownFields |
| 286 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 287 | // Timestamp generated when the build starts. |
| 288 | BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"` |
| 289 | // It is usually used to specify the branch name [and release candidate]. |
| 290 | BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"` |
| 291 | // The platform version codename, eg. P, Q, REL. |
| 292 | PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"` |
| 293 | // The target product information, eg. aosp_arm. |
| 294 | TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"` |
| 295 | // The target build variant information, eg. eng. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 296 | 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] | 297 | // The target arch information, eg. arm. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 298 | 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] | 299 | // The target arch variant information, eg. armv7-a-neon. |
| 300 | TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"` |
| 301 | // The target cpu variant information, eg. generic. |
| 302 | TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"` |
| 303 | // The host arch information, eg. x86_64. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 304 | 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] | 305 | // The host 2nd arch information, eg. x86. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 306 | 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] | 307 | // The host os information, eg. linux. |
| 308 | HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"` |
| 309 | // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU. |
| 310 | HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"` |
| 311 | // The host cross os information, eg. windows. |
| 312 | HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"` |
| 313 | // The host cross arch information, eg. x86. |
| 314 | HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"` |
| 315 | // The host cross 2nd arch information, eg. x86_64. |
| 316 | HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"` |
| 317 | // The directory for generated built artifacts installation, eg. out. |
| 318 | OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"` |
| 319 | // The metrics for calling various tools (microfactory) before Soong_UI starts. |
| 320 | SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"` |
| 321 | // The metrics for calling Kati by multiple times. |
| 322 | KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"` |
| 323 | // The metrics for calling Soong. |
| 324 | SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"` |
| 325 | // The metrics for calling Ninja. |
Colin Cross | 74cda72 | 2020-01-16 15:25:50 -0800 | [diff] [blame] | 326 | NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"` |
| 327 | // The metrics for the whole build |
Patrice Arruda | 4fb8adc | 2020-10-12 22:38:06 +0000 | [diff] [blame] | 328 | Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"` |
| 329 | SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"` |
| 330 | 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] | 331 | // The hostname of the machine. |
| 332 | Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"` |
| 333 | // The system resource information such as total physical memory. |
Patrice Arruda | e92c30d | 2020-10-29 11:01:32 -0700 | [diff] [blame] | 334 | SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"` |
| 335 | // The build command that the user entered to the build system. |
Patrice Arruda | b7cf9ba | 2020-11-13 13:04:17 -0800 | [diff] [blame] | 336 | BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"` |
| 337 | // The metrics for calling Bazel. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 338 | 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] | 339 | // The metrics of the experiment config fetcher |
| 340 | 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^] | 341 | // Whether the build exited with a panic or non-zero exit code, includes both |
| 342 | // non-zero exits of recorded phases and non-recorded phases of the build. |
| 343 | NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"` |
| 344 | // The error message due to a non-zero exit _only_ if it did not occur in a |
| 345 | // recorded phase of the build. |
| 346 | ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 347 | } |
| 348 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 349 | // Default values for MetricsBase fields. |
| 350 | const ( |
| 351 | Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG |
| 352 | Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN |
| 353 | Default_MetricsBase_HostArch = MetricsBase_UNKNOWN |
| 354 | Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN |
| 355 | ) |
| 356 | |
| 357 | func (x *MetricsBase) Reset() { |
| 358 | *x = MetricsBase{} |
| 359 | if protoimpl.UnsafeEnabled { |
| 360 | mi := &file_metrics_proto_msgTypes[0] |
| 361 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 362 | ms.StoreMessageInfo(mi) |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | func (x *MetricsBase) String() string { |
| 367 | return protoimpl.X.MessageStringOf(x) |
| 368 | } |
| 369 | |
| 370 | func (*MetricsBase) ProtoMessage() {} |
| 371 | |
| 372 | func (x *MetricsBase) ProtoReflect() protoreflect.Message { |
| 373 | mi := &file_metrics_proto_msgTypes[0] |
| 374 | if protoimpl.UnsafeEnabled && x != nil { |
| 375 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 376 | if ms.LoadMessageInfo() == nil { |
| 377 | ms.StoreMessageInfo(mi) |
| 378 | } |
| 379 | return ms |
| 380 | } |
| 381 | return mi.MessageOf(x) |
| 382 | } |
| 383 | |
| 384 | // Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 385 | func (*MetricsBase) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 386 | return file_metrics_proto_rawDescGZIP(), []int{0} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 387 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 388 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 389 | func (x *MetricsBase) GetBuildDateTimestamp() int64 { |
| 390 | if x != nil && x.BuildDateTimestamp != nil { |
| 391 | return *x.BuildDateTimestamp |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 392 | } |
| 393 | return 0 |
| 394 | } |
| 395 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 396 | func (x *MetricsBase) GetBuildId() string { |
| 397 | if x != nil && x.BuildId != nil { |
| 398 | return *x.BuildId |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 399 | } |
| 400 | return "" |
| 401 | } |
| 402 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 403 | func (x *MetricsBase) GetPlatformVersionCodename() string { |
| 404 | if x != nil && x.PlatformVersionCodename != nil { |
| 405 | return *x.PlatformVersionCodename |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 406 | } |
| 407 | return "" |
| 408 | } |
| 409 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 410 | func (x *MetricsBase) GetTargetProduct() string { |
| 411 | if x != nil && x.TargetProduct != nil { |
| 412 | return *x.TargetProduct |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 413 | } |
| 414 | return "" |
| 415 | } |
| 416 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 417 | func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant { |
| 418 | if x != nil && x.TargetBuildVariant != nil { |
| 419 | return *x.TargetBuildVariant |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 420 | } |
| 421 | return Default_MetricsBase_TargetBuildVariant |
| 422 | } |
| 423 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 424 | func (x *MetricsBase) GetTargetArch() MetricsBase_Arch { |
| 425 | if x != nil && x.TargetArch != nil { |
| 426 | return *x.TargetArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 427 | } |
| 428 | return Default_MetricsBase_TargetArch |
| 429 | } |
| 430 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 431 | func (x *MetricsBase) GetTargetArchVariant() string { |
| 432 | if x != nil && x.TargetArchVariant != nil { |
| 433 | return *x.TargetArchVariant |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 434 | } |
| 435 | return "" |
| 436 | } |
| 437 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 438 | func (x *MetricsBase) GetTargetCpuVariant() string { |
| 439 | if x != nil && x.TargetCpuVariant != nil { |
| 440 | return *x.TargetCpuVariant |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 441 | } |
| 442 | return "" |
| 443 | } |
| 444 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 445 | func (x *MetricsBase) GetHostArch() MetricsBase_Arch { |
| 446 | if x != nil && x.HostArch != nil { |
| 447 | return *x.HostArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 448 | } |
| 449 | return Default_MetricsBase_HostArch |
| 450 | } |
| 451 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 452 | func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch { |
| 453 | if x != nil && x.Host_2NdArch != nil { |
| 454 | return *x.Host_2NdArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 455 | } |
| 456 | return Default_MetricsBase_Host_2NdArch |
| 457 | } |
| 458 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 459 | func (x *MetricsBase) GetHostOs() string { |
| 460 | if x != nil && x.HostOs != nil { |
| 461 | return *x.HostOs |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 462 | } |
| 463 | return "" |
| 464 | } |
| 465 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 466 | func (x *MetricsBase) GetHostOsExtra() string { |
| 467 | if x != nil && x.HostOsExtra != nil { |
| 468 | return *x.HostOsExtra |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 469 | } |
| 470 | return "" |
| 471 | } |
| 472 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 473 | func (x *MetricsBase) GetHostCrossOs() string { |
| 474 | if x != nil && x.HostCrossOs != nil { |
| 475 | return *x.HostCrossOs |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 476 | } |
| 477 | return "" |
| 478 | } |
| 479 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 480 | func (x *MetricsBase) GetHostCrossArch() string { |
| 481 | if x != nil && x.HostCrossArch != nil { |
| 482 | return *x.HostCrossArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 483 | } |
| 484 | return "" |
| 485 | } |
| 486 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 487 | func (x *MetricsBase) GetHostCross_2NdArch() string { |
| 488 | if x != nil && x.HostCross_2NdArch != nil { |
| 489 | return *x.HostCross_2NdArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 490 | } |
| 491 | return "" |
| 492 | } |
| 493 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 494 | func (x *MetricsBase) GetOutDir() string { |
| 495 | if x != nil && x.OutDir != nil { |
| 496 | return *x.OutDir |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 497 | } |
| 498 | return "" |
| 499 | } |
| 500 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 501 | func (x *MetricsBase) GetSetupTools() []*PerfInfo { |
| 502 | if x != nil { |
| 503 | return x.SetupTools |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 504 | } |
| 505 | return nil |
| 506 | } |
| 507 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 508 | func (x *MetricsBase) GetKatiRuns() []*PerfInfo { |
| 509 | if x != nil { |
| 510 | return x.KatiRuns |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 511 | } |
| 512 | return nil |
| 513 | } |
| 514 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 515 | func (x *MetricsBase) GetSoongRuns() []*PerfInfo { |
| 516 | if x != nil { |
| 517 | return x.SoongRuns |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 518 | } |
| 519 | return nil |
| 520 | } |
| 521 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 522 | func (x *MetricsBase) GetNinjaRuns() []*PerfInfo { |
| 523 | if x != nil { |
| 524 | return x.NinjaRuns |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 525 | } |
| 526 | return nil |
| 527 | } |
| 528 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 529 | func (x *MetricsBase) GetTotal() *PerfInfo { |
| 530 | if x != nil { |
| 531 | return x.Total |
Colin Cross | 74cda72 | 2020-01-16 15:25:50 -0800 | [diff] [blame] | 532 | } |
| 533 | return nil |
| 534 | } |
| 535 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 536 | func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics { |
| 537 | if x != nil { |
| 538 | return x.SoongBuildMetrics |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 539 | } |
| 540 | return nil |
| 541 | } |
| 542 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 543 | func (x *MetricsBase) GetBuildConfig() *BuildConfig { |
| 544 | if x != nil { |
| 545 | return x.BuildConfig |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 546 | } |
| 547 | return nil |
| 548 | } |
| 549 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 550 | func (x *MetricsBase) GetHostname() string { |
| 551 | if x != nil && x.Hostname != nil { |
| 552 | return *x.Hostname |
Patrice Arruda | 4fb8adc | 2020-10-12 22:38:06 +0000 | [diff] [blame] | 553 | } |
| 554 | return "" |
| 555 | } |
| 556 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 557 | func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo { |
| 558 | if x != nil { |
| 559 | return x.SystemResourceInfo |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 560 | } |
| 561 | return nil |
| 562 | } |
| 563 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 564 | func (x *MetricsBase) GetBuildCommand() string { |
| 565 | if x != nil && x.BuildCommand != nil { |
| 566 | return *x.BuildCommand |
Patrice Arruda | e92c30d | 2020-10-29 11:01:32 -0700 | [diff] [blame] | 567 | } |
| 568 | return "" |
| 569 | } |
| 570 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 571 | func (x *MetricsBase) GetBazelRuns() []*PerfInfo { |
| 572 | if x != nil { |
| 573 | return x.BazelRuns |
Patrice Arruda | b7cf9ba | 2020-11-13 13:04:17 -0800 | [diff] [blame] | 574 | } |
| 575 | return nil |
| 576 | } |
| 577 | |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 578 | func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher { |
| 579 | if x != nil { |
| 580 | return x.ExpConfigFetcher |
| 581 | } |
| 582 | return nil |
| 583 | } |
| 584 | |
Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame^] | 585 | func (x *MetricsBase) GetNonZeroExit() bool { |
| 586 | if x != nil && x.NonZeroExit != nil { |
| 587 | return *x.NonZeroExit |
| 588 | } |
| 589 | return false |
| 590 | } |
| 591 | |
| 592 | func (x *MetricsBase) GetErrorMessage() string { |
| 593 | if x != nil && x.ErrorMessage != nil { |
| 594 | return *x.ErrorMessage |
| 595 | } |
| 596 | return "" |
| 597 | } |
| 598 | |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 599 | type BuildConfig struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 600 | state protoimpl.MessageState |
| 601 | sizeCache protoimpl.SizeCache |
| 602 | unknownFields protoimpl.UnknownFields |
| 603 | |
Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 604 | UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"` |
| 605 | UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"` |
| 606 | ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"` |
| 607 | // Whether the Bazel is acting as the Ninja executor for this build. |
| 608 | BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"` |
| 609 | // Whether build is occurring in a mixed build mode, where Bazel maintains the |
| 610 | // definition and build of some modules in cooperation with Soong. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 611 | 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] | 612 | // These are the targets soong passes to ninja, these targets include special |
| 613 | // targets such as droid as well as the regular build targets. |
| 614 | Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"` |
Romain Jobredeaux | ea098ef | 2022-10-20 14:24:31 -0400 | [diff] [blame] | 615 | // Whether the user explicitly disabled bazel mixed builds for this build. |
| 616 | ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"` |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 617 | } |
| 618 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 619 | func (x *BuildConfig) Reset() { |
| 620 | *x = BuildConfig{} |
| 621 | if protoimpl.UnsafeEnabled { |
| 622 | mi := &file_metrics_proto_msgTypes[1] |
| 623 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 624 | ms.StoreMessageInfo(mi) |
| 625 | } |
| 626 | } |
| 627 | |
| 628 | func (x *BuildConfig) String() string { |
| 629 | return protoimpl.X.MessageStringOf(x) |
| 630 | } |
| 631 | |
| 632 | func (*BuildConfig) ProtoMessage() {} |
| 633 | |
| 634 | func (x *BuildConfig) ProtoReflect() protoreflect.Message { |
| 635 | mi := &file_metrics_proto_msgTypes[1] |
| 636 | if protoimpl.UnsafeEnabled && x != nil { |
| 637 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 638 | if ms.LoadMessageInfo() == nil { |
| 639 | ms.StoreMessageInfo(mi) |
| 640 | } |
| 641 | return ms |
| 642 | } |
| 643 | return mi.MessageOf(x) |
| 644 | } |
| 645 | |
| 646 | // Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead. |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 647 | func (*BuildConfig) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 648 | return file_metrics_proto_rawDescGZIP(), []int{1} |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 649 | } |
| 650 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 651 | func (x *BuildConfig) GetUseGoma() bool { |
| 652 | if x != nil && x.UseGoma != nil { |
| 653 | return *x.UseGoma |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 654 | } |
| 655 | return false |
| 656 | } |
| 657 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 658 | func (x *BuildConfig) GetUseRbe() bool { |
| 659 | if x != nil && x.UseRbe != nil { |
| 660 | return *x.UseRbe |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 661 | } |
| 662 | return false |
| 663 | } |
| 664 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 665 | func (x *BuildConfig) GetForceUseGoma() bool { |
| 666 | if x != nil && x.ForceUseGoma != nil { |
| 667 | return *x.ForceUseGoma |
Patrice Arruda | c97d6dc | 2020-09-28 18:22:07 +0000 | [diff] [blame] | 668 | } |
| 669 | return false |
| 670 | } |
| 671 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 672 | func (x *BuildConfig) GetBazelAsNinja() bool { |
| 673 | if x != nil && x.BazelAsNinja != nil { |
| 674 | return *x.BazelAsNinja |
Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 675 | } |
| 676 | return false |
| 677 | } |
| 678 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 679 | func (x *BuildConfig) GetBazelMixedBuild() bool { |
| 680 | if x != nil && x.BazelMixedBuild != nil { |
| 681 | return *x.BazelMixedBuild |
Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 682 | } |
| 683 | return false |
| 684 | } |
| 685 | |
Yu Liu | e737a99 | 2021-10-04 13:21:41 -0700 | [diff] [blame] | 686 | func (x *BuildConfig) GetTargets() []string { |
| 687 | if x != nil { |
| 688 | return x.Targets |
| 689 | } |
| 690 | return nil |
| 691 | } |
| 692 | |
Romain Jobredeaux | ea098ef | 2022-10-20 14:24:31 -0400 | [diff] [blame] | 693 | func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool { |
| 694 | if x != nil && x.ForceDisableBazelMixedBuild != nil { |
| 695 | return *x.ForceDisableBazelMixedBuild |
| 696 | } |
| 697 | return false |
| 698 | } |
| 699 | |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 700 | type SystemResourceInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 701 | state protoimpl.MessageState |
| 702 | sizeCache protoimpl.SizeCache |
| 703 | unknownFields protoimpl.UnknownFields |
| 704 | |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 705 | // The total physical memory in bytes. |
| 706 | TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"` |
| 707 | // The total of available cores for building |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 708 | 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] | 709 | } |
| 710 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 711 | func (x *SystemResourceInfo) Reset() { |
| 712 | *x = SystemResourceInfo{} |
| 713 | if protoimpl.UnsafeEnabled { |
| 714 | mi := &file_metrics_proto_msgTypes[2] |
| 715 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 716 | ms.StoreMessageInfo(mi) |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | func (x *SystemResourceInfo) String() string { |
| 721 | return protoimpl.X.MessageStringOf(x) |
| 722 | } |
| 723 | |
| 724 | func (*SystemResourceInfo) ProtoMessage() {} |
| 725 | |
| 726 | func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message { |
| 727 | mi := &file_metrics_proto_msgTypes[2] |
| 728 | if protoimpl.UnsafeEnabled && x != nil { |
| 729 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 730 | if ms.LoadMessageInfo() == nil { |
| 731 | ms.StoreMessageInfo(mi) |
| 732 | } |
| 733 | return ms |
| 734 | } |
| 735 | return mi.MessageOf(x) |
| 736 | } |
| 737 | |
| 738 | // Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead. |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 739 | func (*SystemResourceInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 740 | return file_metrics_proto_rawDescGZIP(), []int{2} |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 741 | } |
| 742 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 743 | func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 { |
| 744 | if x != nil && x.TotalPhysicalMemory != nil { |
| 745 | return *x.TotalPhysicalMemory |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 746 | } |
| 747 | return 0 |
| 748 | } |
| 749 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 750 | func (x *SystemResourceInfo) GetAvailableCpus() int32 { |
| 751 | if x != nil && x.AvailableCpus != nil { |
| 752 | return *x.AvailableCpus |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 753 | } |
| 754 | return 0 |
| 755 | } |
| 756 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 757 | type PerfInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 758 | state protoimpl.MessageState |
| 759 | sizeCache protoimpl.SizeCache |
| 760 | unknownFields protoimpl.UnknownFields |
| 761 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 762 | // The description for the phase/action/part while the tool running. |
Yu Liu | 37c3dd3 | 2021-09-30 14:46:18 -0700 | [diff] [blame] | 763 | Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 764 | // The name for the running phase/action/part. |
| 765 | Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` |
| 766 | // The absolute start time. |
| 767 | // The number of nanoseconds elapsed since January 1, 1970 UTC. |
| 768 | StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` |
| 769 | // The real running time. |
| 770 | // The number of nanoseconds elapsed since start_time. |
| 771 | 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] | 772 | // 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] | 773 | // |
| 774 | // Deprecated: Do not use. |
| 775 | 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] | 776 | // The resource information of each executed process. |
| 777 | 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^] | 778 | // Whether the phase of tool running exited with a panic or non-zero exit |
| 779 | // code. |
| 780 | NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"` |
| 781 | // The error message, if any, due to a non-zero exit. |
| 782 | 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] | 783 | } |
| 784 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 785 | func (x *PerfInfo) Reset() { |
| 786 | *x = PerfInfo{} |
| 787 | if protoimpl.UnsafeEnabled { |
| 788 | mi := &file_metrics_proto_msgTypes[3] |
| 789 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 790 | ms.StoreMessageInfo(mi) |
| 791 | } |
| 792 | } |
| 793 | |
| 794 | func (x *PerfInfo) String() string { |
| 795 | return protoimpl.X.MessageStringOf(x) |
| 796 | } |
| 797 | |
| 798 | func (*PerfInfo) ProtoMessage() {} |
| 799 | |
| 800 | func (x *PerfInfo) ProtoReflect() protoreflect.Message { |
| 801 | mi := &file_metrics_proto_msgTypes[3] |
| 802 | if protoimpl.UnsafeEnabled && x != nil { |
| 803 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 804 | if ms.LoadMessageInfo() == nil { |
| 805 | ms.StoreMessageInfo(mi) |
| 806 | } |
| 807 | return ms |
| 808 | } |
| 809 | return mi.MessageOf(x) |
| 810 | } |
| 811 | |
| 812 | // Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 813 | func (*PerfInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 814 | return file_metrics_proto_rawDescGZIP(), []int{3} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 815 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 816 | |
Yu Liu | 37c3dd3 | 2021-09-30 14:46:18 -0700 | [diff] [blame] | 817 | func (x *PerfInfo) GetDescription() string { |
| 818 | if x != nil && x.Description != nil { |
| 819 | return *x.Description |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 820 | } |
| 821 | return "" |
| 822 | } |
| 823 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 824 | func (x *PerfInfo) GetName() string { |
| 825 | if x != nil && x.Name != nil { |
| 826 | return *x.Name |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 827 | } |
| 828 | return "" |
| 829 | } |
| 830 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 831 | func (x *PerfInfo) GetStartTime() uint64 { |
| 832 | if x != nil && x.StartTime != nil { |
| 833 | return *x.StartTime |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 834 | } |
| 835 | return 0 |
| 836 | } |
| 837 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 838 | func (x *PerfInfo) GetRealTime() uint64 { |
| 839 | if x != nil && x.RealTime != nil { |
| 840 | return *x.RealTime |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 841 | } |
| 842 | return 0 |
| 843 | } |
| 844 | |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 845 | // Deprecated: Do not use. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 846 | func (x *PerfInfo) GetMemoryUse() uint64 { |
| 847 | if x != nil && x.MemoryUse != nil { |
| 848 | return *x.MemoryUse |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 849 | } |
| 850 | return 0 |
| 851 | } |
| 852 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 853 | func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo { |
| 854 | if x != nil { |
| 855 | return x.ProcessesResourceInfo |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 856 | } |
| 857 | return nil |
| 858 | } |
| 859 | |
Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame^] | 860 | func (x *PerfInfo) GetNonZeroExit() bool { |
| 861 | if x != nil && x.NonZeroExit != nil { |
| 862 | return *x.NonZeroExit |
| 863 | } |
| 864 | return false |
| 865 | } |
| 866 | |
| 867 | func (x *PerfInfo) GetErrorMessage() string { |
| 868 | if x != nil && x.ErrorMessage != nil { |
| 869 | return *x.ErrorMessage |
| 870 | } |
| 871 | return "" |
| 872 | } |
| 873 | |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 874 | type ProcessResourceInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 875 | state protoimpl.MessageState |
| 876 | sizeCache protoimpl.SizeCache |
| 877 | unknownFields protoimpl.UnknownFields |
| 878 | |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 879 | // The name of the process for identification. |
| 880 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 881 | // The amount of time spent executing in user space in microseconds. |
| 882 | UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"` |
| 883 | // The amount of time spent executing in kernel mode in microseconds. |
| 884 | SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"` |
| 885 | // The maximum resident set size memory used in kilobytes. |
| 886 | MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"` |
| 887 | // The number of minor page faults serviced without any I/O activity. |
| 888 | MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"` |
| 889 | // The number of major page faults serviced that required I/O activity. |
| 890 | MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"` |
| 891 | // Total IO input in kilobytes. |
| 892 | IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"` |
| 893 | // Total IO output in kilobytes. |
| 894 | IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"` |
| 895 | // The number of voluntary context switches |
| 896 | VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"` |
| 897 | // The number of involuntary context switches |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 898 | 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] | 899 | } |
| 900 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 901 | func (x *ProcessResourceInfo) Reset() { |
| 902 | *x = ProcessResourceInfo{} |
| 903 | if protoimpl.UnsafeEnabled { |
| 904 | mi := &file_metrics_proto_msgTypes[4] |
| 905 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 906 | ms.StoreMessageInfo(mi) |
| 907 | } |
| 908 | } |
| 909 | |
| 910 | func (x *ProcessResourceInfo) String() string { |
| 911 | return protoimpl.X.MessageStringOf(x) |
| 912 | } |
| 913 | |
| 914 | func (*ProcessResourceInfo) ProtoMessage() {} |
| 915 | |
| 916 | func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message { |
| 917 | mi := &file_metrics_proto_msgTypes[4] |
| 918 | if protoimpl.UnsafeEnabled && x != nil { |
| 919 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 920 | if ms.LoadMessageInfo() == nil { |
| 921 | ms.StoreMessageInfo(mi) |
| 922 | } |
| 923 | return ms |
| 924 | } |
| 925 | return mi.MessageOf(x) |
| 926 | } |
| 927 | |
| 928 | // Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead. |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 929 | func (*ProcessResourceInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 930 | return file_metrics_proto_rawDescGZIP(), []int{4} |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 931 | } |
| 932 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 933 | func (x *ProcessResourceInfo) GetName() string { |
| 934 | if x != nil && x.Name != nil { |
| 935 | return *x.Name |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 936 | } |
| 937 | return "" |
| 938 | } |
| 939 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 940 | func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 { |
| 941 | if x != nil && x.UserTimeMicros != nil { |
| 942 | return *x.UserTimeMicros |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 943 | } |
| 944 | return 0 |
| 945 | } |
| 946 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 947 | func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 { |
| 948 | if x != nil && x.SystemTimeMicros != nil { |
| 949 | return *x.SystemTimeMicros |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 950 | } |
| 951 | return 0 |
| 952 | } |
| 953 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 954 | func (x *ProcessResourceInfo) GetMaxRssKb() uint64 { |
| 955 | if x != nil && x.MaxRssKb != nil { |
| 956 | return *x.MaxRssKb |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 957 | } |
| 958 | return 0 |
| 959 | } |
| 960 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 961 | func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 { |
| 962 | if x != nil && x.MinorPageFaults != nil { |
| 963 | return *x.MinorPageFaults |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 964 | } |
| 965 | return 0 |
| 966 | } |
| 967 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 968 | func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 { |
| 969 | if x != nil && x.MajorPageFaults != nil { |
| 970 | return *x.MajorPageFaults |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 971 | } |
| 972 | return 0 |
| 973 | } |
| 974 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 975 | func (x *ProcessResourceInfo) GetIoInputKb() uint64 { |
| 976 | if x != nil && x.IoInputKb != nil { |
| 977 | return *x.IoInputKb |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 978 | } |
| 979 | return 0 |
| 980 | } |
| 981 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 982 | func (x *ProcessResourceInfo) GetIoOutputKb() uint64 { |
| 983 | if x != nil && x.IoOutputKb != nil { |
| 984 | return *x.IoOutputKb |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 985 | } |
| 986 | return 0 |
| 987 | } |
| 988 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 989 | func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 { |
| 990 | if x != nil && x.VoluntaryContextSwitches != nil { |
| 991 | return *x.VoluntaryContextSwitches |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 992 | } |
| 993 | return 0 |
| 994 | } |
| 995 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 996 | func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 { |
| 997 | if x != nil && x.InvoluntaryContextSwitches != nil { |
| 998 | return *x.InvoluntaryContextSwitches |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 999 | } |
| 1000 | return 0 |
| 1001 | } |
| 1002 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1003 | type ModuleTypeInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1004 | state protoimpl.MessageState |
| 1005 | sizeCache protoimpl.SizeCache |
| 1006 | unknownFields protoimpl.UnknownFields |
| 1007 | |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1008 | // The build system, e.g. Soong or Make. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 1009 | 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] | 1010 | // The module type, e.g. java_library, cc_binary, and etc. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1011 | ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"` |
| 1012 | // The number of logical modules. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1013 | 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] | 1014 | } |
| 1015 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1016 | // Default values for ModuleTypeInfo fields. |
| 1017 | const ( |
| 1018 | Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN |
| 1019 | ) |
| 1020 | |
| 1021 | func (x *ModuleTypeInfo) Reset() { |
| 1022 | *x = ModuleTypeInfo{} |
| 1023 | if protoimpl.UnsafeEnabled { |
| 1024 | mi := &file_metrics_proto_msgTypes[5] |
| 1025 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1026 | ms.StoreMessageInfo(mi) |
| 1027 | } |
| 1028 | } |
| 1029 | |
| 1030 | func (x *ModuleTypeInfo) String() string { |
| 1031 | return protoimpl.X.MessageStringOf(x) |
| 1032 | } |
| 1033 | |
| 1034 | func (*ModuleTypeInfo) ProtoMessage() {} |
| 1035 | |
| 1036 | func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message { |
| 1037 | mi := &file_metrics_proto_msgTypes[5] |
| 1038 | if protoimpl.UnsafeEnabled && x != nil { |
| 1039 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1040 | if ms.LoadMessageInfo() == nil { |
| 1041 | ms.StoreMessageInfo(mi) |
| 1042 | } |
| 1043 | return ms |
| 1044 | } |
| 1045 | return mi.MessageOf(x) |
| 1046 | } |
| 1047 | |
| 1048 | // Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1049 | func (*ModuleTypeInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1050 | return file_metrics_proto_rawDescGZIP(), []int{5} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1051 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 1052 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1053 | func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem { |
| 1054 | if x != nil && x.BuildSystem != nil { |
| 1055 | return *x.BuildSystem |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1056 | } |
| 1057 | return Default_ModuleTypeInfo_BuildSystem |
| 1058 | } |
| 1059 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1060 | func (x *ModuleTypeInfo) GetModuleType() string { |
| 1061 | if x != nil && x.ModuleType != nil { |
| 1062 | return *x.ModuleType |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1063 | } |
| 1064 | return "" |
| 1065 | } |
| 1066 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1067 | func (x *ModuleTypeInfo) GetNumOfModules() uint32 { |
| 1068 | if x != nil && x.NumOfModules != nil { |
| 1069 | return *x.NumOfModules |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1070 | } |
| 1071 | return 0 |
| 1072 | } |
| 1073 | |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1074 | type CriticalUserJourneyMetrics struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1075 | state protoimpl.MessageState |
| 1076 | sizeCache protoimpl.SizeCache |
| 1077 | unknownFields protoimpl.UnknownFields |
| 1078 | |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1079 | // The name of a critical user journey test. |
| 1080 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 1081 | // The metrics produced when running the critical user journey test. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1082 | Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"` |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1083 | } |
| 1084 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1085 | func (x *CriticalUserJourneyMetrics) Reset() { |
| 1086 | *x = CriticalUserJourneyMetrics{} |
| 1087 | if protoimpl.UnsafeEnabled { |
| 1088 | mi := &file_metrics_proto_msgTypes[6] |
| 1089 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1090 | ms.StoreMessageInfo(mi) |
| 1091 | } |
| 1092 | } |
| 1093 | |
| 1094 | func (x *CriticalUserJourneyMetrics) String() string { |
| 1095 | return protoimpl.X.MessageStringOf(x) |
| 1096 | } |
| 1097 | |
| 1098 | func (*CriticalUserJourneyMetrics) ProtoMessage() {} |
| 1099 | |
| 1100 | func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message { |
| 1101 | mi := &file_metrics_proto_msgTypes[6] |
| 1102 | if protoimpl.UnsafeEnabled && x != nil { |
| 1103 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1104 | if ms.LoadMessageInfo() == nil { |
| 1105 | ms.StoreMessageInfo(mi) |
| 1106 | } |
| 1107 | return ms |
| 1108 | } |
| 1109 | return mi.MessageOf(x) |
| 1110 | } |
| 1111 | |
| 1112 | // Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead. |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1113 | func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1114 | return file_metrics_proto_rawDescGZIP(), []int{6} |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1115 | } |
| 1116 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1117 | func (x *CriticalUserJourneyMetrics) GetName() string { |
| 1118 | if x != nil && x.Name != nil { |
| 1119 | return *x.Name |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1120 | } |
| 1121 | return "" |
| 1122 | } |
| 1123 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1124 | func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase { |
| 1125 | if x != nil { |
| 1126 | return x.Metrics |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1127 | } |
| 1128 | return nil |
| 1129 | } |
| 1130 | |
| 1131 | type CriticalUserJourneysMetrics struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1132 | state protoimpl.MessageState |
| 1133 | sizeCache protoimpl.SizeCache |
| 1134 | unknownFields protoimpl.UnknownFields |
| 1135 | |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1136 | // 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] | 1137 | Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"` |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1138 | } |
| 1139 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1140 | func (x *CriticalUserJourneysMetrics) Reset() { |
| 1141 | *x = CriticalUserJourneysMetrics{} |
| 1142 | if protoimpl.UnsafeEnabled { |
| 1143 | mi := &file_metrics_proto_msgTypes[7] |
| 1144 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1145 | ms.StoreMessageInfo(mi) |
| 1146 | } |
| 1147 | } |
| 1148 | |
| 1149 | func (x *CriticalUserJourneysMetrics) String() string { |
| 1150 | return protoimpl.X.MessageStringOf(x) |
| 1151 | } |
| 1152 | |
| 1153 | func (*CriticalUserJourneysMetrics) ProtoMessage() {} |
| 1154 | |
| 1155 | func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message { |
| 1156 | mi := &file_metrics_proto_msgTypes[7] |
| 1157 | if protoimpl.UnsafeEnabled && x != nil { |
| 1158 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1159 | if ms.LoadMessageInfo() == nil { |
| 1160 | ms.StoreMessageInfo(mi) |
| 1161 | } |
| 1162 | return ms |
| 1163 | } |
| 1164 | return mi.MessageOf(x) |
| 1165 | } |
| 1166 | |
| 1167 | // Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead. |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1168 | func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1169 | return file_metrics_proto_rawDescGZIP(), []int{7} |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1170 | } |
| 1171 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1172 | func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics { |
| 1173 | if x != nil { |
| 1174 | return x.Cujs |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1175 | } |
| 1176 | return nil |
| 1177 | } |
| 1178 | |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1179 | type SoongBuildMetrics struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1180 | state protoimpl.MessageState |
| 1181 | sizeCache protoimpl.SizeCache |
| 1182 | unknownFields protoimpl.UnknownFields |
| 1183 | |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1184 | // The number of modules handled by soong_build. |
| 1185 | Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"` |
| 1186 | // The total number of variants handled by soong_build. |
| 1187 | Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"` |
| 1188 | // The total number of allocations in soong_build. |
| 1189 | TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"` |
| 1190 | // The total size of allocations in soong_build in bytes. |
| 1191 | TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"` |
| 1192 | // The approximate maximum size of the heap in soong_build in bytes. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1193 | 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] | 1194 | // Runtime metrics for soong_build execution. |
| 1195 | Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"` |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1196 | // Mixed Builds information |
| 1197 | MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"` |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1198 | } |
| 1199 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1200 | func (x *SoongBuildMetrics) Reset() { |
| 1201 | *x = SoongBuildMetrics{} |
| 1202 | if protoimpl.UnsafeEnabled { |
| 1203 | mi := &file_metrics_proto_msgTypes[8] |
| 1204 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1205 | ms.StoreMessageInfo(mi) |
| 1206 | } |
| 1207 | } |
| 1208 | |
| 1209 | func (x *SoongBuildMetrics) String() string { |
| 1210 | return protoimpl.X.MessageStringOf(x) |
| 1211 | } |
| 1212 | |
| 1213 | func (*SoongBuildMetrics) ProtoMessage() {} |
| 1214 | |
| 1215 | func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message { |
| 1216 | mi := &file_metrics_proto_msgTypes[8] |
| 1217 | if protoimpl.UnsafeEnabled && x != nil { |
| 1218 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1219 | if ms.LoadMessageInfo() == nil { |
| 1220 | ms.StoreMessageInfo(mi) |
| 1221 | } |
| 1222 | return ms |
| 1223 | } |
| 1224 | return mi.MessageOf(x) |
| 1225 | } |
| 1226 | |
| 1227 | // Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead. |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1228 | func (*SoongBuildMetrics) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1229 | return file_metrics_proto_rawDescGZIP(), []int{8} |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1230 | } |
| 1231 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1232 | func (x *SoongBuildMetrics) GetModules() uint32 { |
| 1233 | if x != nil && x.Modules != nil { |
| 1234 | return *x.Modules |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1235 | } |
| 1236 | return 0 |
| 1237 | } |
| 1238 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1239 | func (x *SoongBuildMetrics) GetVariants() uint32 { |
| 1240 | if x != nil && x.Variants != nil { |
| 1241 | return *x.Variants |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1242 | } |
| 1243 | return 0 |
| 1244 | } |
| 1245 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1246 | func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 { |
| 1247 | if x != nil && x.TotalAllocCount != nil { |
| 1248 | return *x.TotalAllocCount |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1249 | } |
| 1250 | return 0 |
| 1251 | } |
| 1252 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1253 | func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 { |
| 1254 | if x != nil && x.TotalAllocSize != nil { |
| 1255 | return *x.TotalAllocSize |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1256 | } |
| 1257 | return 0 |
| 1258 | } |
| 1259 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1260 | func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 { |
| 1261 | if x != nil && x.MaxHeapSize != nil { |
| 1262 | return *x.MaxHeapSize |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1263 | } |
| 1264 | return 0 |
| 1265 | } |
| 1266 | |
Chris Parsons | 715b08f | 2022-03-22 19:23:40 -0400 | [diff] [blame] | 1267 | func (x *SoongBuildMetrics) GetEvents() []*PerfInfo { |
| 1268 | if x != nil { |
| 1269 | return x.Events |
| 1270 | } |
| 1271 | return nil |
| 1272 | } |
| 1273 | |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1274 | func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo { |
| 1275 | if x != nil { |
| 1276 | return x.MixedBuildsInfo |
| 1277 | } |
| 1278 | return nil |
| 1279 | } |
| 1280 | |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1281 | type ExpConfigFetcher struct { |
| 1282 | state protoimpl.MessageState |
| 1283 | sizeCache protoimpl.SizeCache |
| 1284 | unknownFields protoimpl.UnknownFields |
| 1285 | |
| 1286 | // The result of the call to expconfigfetcher |
| 1287 | // NO_CONFIG - Not part of experiment |
| 1288 | // CONFIG - Part of experiment, config copied successfully |
| 1289 | // ERROR - expconfigfetcher failed |
| 1290 | Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"` |
| 1291 | // The output config filename |
| 1292 | Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` |
| 1293 | // Time, in microseconds, taken by the expconfigfetcher |
| 1294 | Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"` |
| 1295 | } |
| 1296 | |
| 1297 | func (x *ExpConfigFetcher) Reset() { |
| 1298 | *x = ExpConfigFetcher{} |
| 1299 | if protoimpl.UnsafeEnabled { |
| 1300 | mi := &file_metrics_proto_msgTypes[9] |
| 1301 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1302 | ms.StoreMessageInfo(mi) |
| 1303 | } |
| 1304 | } |
| 1305 | |
| 1306 | func (x *ExpConfigFetcher) String() string { |
| 1307 | return protoimpl.X.MessageStringOf(x) |
| 1308 | } |
| 1309 | |
| 1310 | func (*ExpConfigFetcher) ProtoMessage() {} |
| 1311 | |
| 1312 | func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message { |
| 1313 | mi := &file_metrics_proto_msgTypes[9] |
| 1314 | if protoimpl.UnsafeEnabled && x != nil { |
| 1315 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1316 | if ms.LoadMessageInfo() == nil { |
| 1317 | ms.StoreMessageInfo(mi) |
| 1318 | } |
| 1319 | return ms |
| 1320 | } |
| 1321 | return mi.MessageOf(x) |
| 1322 | } |
| 1323 | |
| 1324 | // Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead. |
| 1325 | func (*ExpConfigFetcher) Descriptor() ([]byte, []int) { |
| 1326 | return file_metrics_proto_rawDescGZIP(), []int{9} |
| 1327 | } |
| 1328 | |
| 1329 | func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus { |
| 1330 | if x != nil && x.Status != nil { |
| 1331 | return *x.Status |
| 1332 | } |
| 1333 | return ExpConfigFetcher_NO_CONFIG |
| 1334 | } |
| 1335 | |
| 1336 | func (x *ExpConfigFetcher) GetFilename() string { |
| 1337 | if x != nil && x.Filename != nil { |
| 1338 | return *x.Filename |
| 1339 | } |
| 1340 | return "" |
| 1341 | } |
| 1342 | |
| 1343 | func (x *ExpConfigFetcher) GetMicros() uint64 { |
| 1344 | if x != nil && x.Micros != nil { |
| 1345 | return *x.Micros |
| 1346 | } |
| 1347 | return 0 |
| 1348 | } |
| 1349 | |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1350 | type MixedBuildsInfo struct { |
| 1351 | state protoimpl.MessageState |
| 1352 | sizeCache protoimpl.SizeCache |
| 1353 | unknownFields protoimpl.UnknownFields |
| 1354 | |
| 1355 | // Modules that are enabled for Mixed Builds. |
| 1356 | 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] | 1357 | // Modules that are not enabled for MixedBuilds |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1358 | MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"` |
| 1359 | } |
| 1360 | |
| 1361 | func (x *MixedBuildsInfo) Reset() { |
| 1362 | *x = MixedBuildsInfo{} |
| 1363 | if protoimpl.UnsafeEnabled { |
| 1364 | mi := &file_metrics_proto_msgTypes[10] |
| 1365 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1366 | ms.StoreMessageInfo(mi) |
| 1367 | } |
| 1368 | } |
| 1369 | |
| 1370 | func (x *MixedBuildsInfo) String() string { |
| 1371 | return protoimpl.X.MessageStringOf(x) |
| 1372 | } |
| 1373 | |
| 1374 | func (*MixedBuildsInfo) ProtoMessage() {} |
| 1375 | |
| 1376 | func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message { |
| 1377 | mi := &file_metrics_proto_msgTypes[10] |
| 1378 | if protoimpl.UnsafeEnabled && x != nil { |
| 1379 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1380 | if ms.LoadMessageInfo() == nil { |
| 1381 | ms.StoreMessageInfo(mi) |
| 1382 | } |
| 1383 | return ms |
| 1384 | } |
| 1385 | return mi.MessageOf(x) |
| 1386 | } |
| 1387 | |
| 1388 | // Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead. |
| 1389 | func (*MixedBuildsInfo) Descriptor() ([]byte, []int) { |
| 1390 | return file_metrics_proto_rawDescGZIP(), []int{10} |
| 1391 | } |
| 1392 | |
| 1393 | func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string { |
| 1394 | if x != nil { |
| 1395 | return x.MixedBuildEnabledModules |
| 1396 | } |
| 1397 | return nil |
| 1398 | } |
| 1399 | |
| 1400 | func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string { |
| 1401 | if x != nil { |
| 1402 | return x.MixedBuildDisabledModules |
| 1403 | } |
| 1404 | return nil |
| 1405 | } |
| 1406 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1407 | var File_metrics_proto protoreflect.FileDescriptor |
| 1408 | |
| 1409 | var file_metrics_proto_rawDesc = []byte{ |
| 1410 | 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 1411 | 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame^] | 1412 | 0x72, 0x69, 0x63, 0x73, 0x22, 0xf6, 0x0d, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1413 | 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61, |
| 1414 | 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, |
| 1415 | 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 1416 | 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 1417 | 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, |
| 1418 | 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, |
| 1419 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, |
| 1420 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, |
| 1421 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, |
| 1422 | 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, |
| 1423 | 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, |
| 1424 | 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62, |
| 1425 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, |
| 1426 | 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 1427 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 1428 | 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, |
| 1429 | 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75, |
| 1430 | 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61, |
| 1431 | 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 1432 | 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 1433 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, |
| 1434 | 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, |
| 1435 | 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74, |
| 1436 | 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, |
| 1437 | 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, |
| 1438 | 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, |
| 1439 | 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, |
| 1440 | 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, |
| 1441 | 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73, |
| 1442 | 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, |
| 1443 | 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 1444 | 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41, |
| 1445 | 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f, |
| 1446 | 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32, |
| 1447 | 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, |
| 1448 | 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, |
| 1449 | 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, |
| 1450 | 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68, |
| 1451 | 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, |
| 1452 | 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, |
| 1453 | 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65, |
| 1454 | 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, |
| 1455 | 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, |
| 1456 | 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 1457 | 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68, |
| 1458 | 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e, |
| 1459 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41, |
| 1460 | 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, |
| 1461 | 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, |
| 1462 | 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72, |
| 1463 | 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20, |
| 1464 | 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73, |
| 1465 | 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, |
| 1466 | 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, |
| 1467 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 1468 | 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b, |
| 1469 | 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, |
| 1470 | 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
| 1471 | 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b, |
| 1472 | 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67, |
| 1473 | 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, |
| 1474 | 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, |
| 1475 | 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e, |
| 1476 | 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72, |
| 1477 | 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, |
| 1478 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, |
| 1479 | 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52, |
| 1480 | 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01, |
| 1481 | 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 1482 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, |
| 1483 | 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e, |
| 1484 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, |
| 1485 | 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 1486 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e, |
| 1487 | 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x11, 0x73, |
| 1488 | 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 1489 | 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 1490 | 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, |
| 1491 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69, |
| 1492 | 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, |
| 1493 | 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, |
| 1494 | 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, |
| 1495 | 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, |
| 1496 | 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1497 | 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 1498 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, |
| 1499 | 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, |
| 1500 | 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, |
| 1501 | 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x1a, 0x20, |
| 1502 | 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 1503 | 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, |
| 1504 | 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 1505 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1506 | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52, 0x75, 0x6e, 0x73, 0x12, |
| 1507 | 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x65, |
| 1508 | 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, |
| 1509 | 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, |
| 1510 | 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, |
| 1511 | 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, |
Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame^] | 1512 | 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, |
| 1513 | 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, |
| 1514 | 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, |
| 1515 | 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1516 | 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x30, 0x0a, |
| 1517 | 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, |
| 1518 | 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, |
| 1519 | 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, |
| 1520 | 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, |
| 1521 | 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, |
| 1522 | 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, |
| 1523 | 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x04, 0x22, 0x99, 0x02, |
| 1524 | 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, |
| 1525 | 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, |
| 1526 | 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, |
| 1527 | 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, |
| 1528 | 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, |
| 1529 | 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, |
| 1530 | 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, |
| 1531 | 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, |
| 1532 | 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, |
| 1533 | 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, |
| 1534 | 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, |
| 1535 | 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, |
| 1536 | 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, |
| 1537 | 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, |
| 1538 | 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, |
| 1539 | 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f, |
| 1540 | 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d, |
| 1541 | 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73, |
| 1542 | 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| 1543 | 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, |
| 1544 | 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, |
| 1545 | 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d, |
| 1546 | 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, |
| 1547 | 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61, |
| 1548 | 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50, |
| 1549 | 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 1550 | 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, |
| 1551 | 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 1552 | 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, |
| 1553 | 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 1554 | 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, |
| 1555 | 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, |
| 1556 | 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, |
| 1557 | 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, |
| 1558 | 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, |
| 1559 | 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 1560 | 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, |
| 1561 | 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, |
| 1562 | 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, |
| 1563 | 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, |
| 1564 | 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, |
| 1565 | 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, |
| 1566 | 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, |
| 1567 | 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, |
| 1568 | 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, |
| 1569 | 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, |
| 1570 | 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| 1571 | 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, |
| 1572 | 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 1573 | 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, |
| 1574 | 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, |
| 1575 | 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, |
| 1576 | 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, |
| 1577 | 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, |
| 1578 | 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, |
| 1579 | 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, |
| 1580 | 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, |
| 1581 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, |
| 1582 | 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, |
| 1583 | 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, |
| 1584 | 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, |
| 1585 | 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, |
| 1586 | 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, |
| 1587 | 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, |
| 1588 | 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, |
| 1589 | 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, |
| 1590 | 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, |
| 1591 | 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, |
Romain Jobredeaux | ea098ef | 2022-10-20 14:24:31 -0400 | [diff] [blame] | 1592 | 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, |
Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame^] | 1593 | 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, |
| 1594 | 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, |
| 1595 | 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, |
| 1596 | 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, |
| 1597 | 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, |
| 1598 | 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 1599 | 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, |
Romain Jobredeaux | ea098ef | 2022-10-20 14:24:31 -0400 | [diff] [blame] | 1600 | 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
Liz Kammer | f2a80c6 | 2022-10-21 10:42:35 -0400 | [diff] [blame^] | 1601 | 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, |
| 1602 | 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, |
| 1603 | 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, |
| 1604 | 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, |
| 1605 | 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, |
| 1606 | 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, |
| 1607 | 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, |
| 1608 | 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, |
| 1609 | 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, |
| 1610 | 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, |
| 1611 | 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, |
| 1612 | 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, |
| 1613 | 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 1614 | 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, |
| 1615 | 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, |
| 1616 | 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
| 1617 | 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, |
| 1618 | 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, |
| 1619 | 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, |
| 1620 | 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, |
| 1621 | 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, |
| 1622 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, |
| 1623 | 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, |
| 1624 | 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02, |
| 1625 | 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, |
| 1626 | 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, |
| 1627 | 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, |
| 1628 | 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, |
| 1629 | 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, |
| 1630 | 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, |
| 1631 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, |
| 1632 | 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, |
| 1633 | 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, |
| 1634 | 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, |
| 1635 | 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, |
| 1636 | 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, |
| 1637 | 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, |
| 1638 | 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, |
| 1639 | 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, |
| 1640 | 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, |
| 1641 | 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, |
| 1642 | 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 1643 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, |
| 1644 | 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, |
| 1645 | 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a, |
| 1646 | 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, |
| 1647 | 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1648 | 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 1649 | 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 1650 | 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, |
| 1651 | 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, |
| 1652 | 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1653 | 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63, |
| 1654 | 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, |
| 1655 | 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, |
| 1656 | 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00, |
| 1657 | 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, |
| 1658 | 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x53, 0x49, |
| 1659 | 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d, |
| 1660 | 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, |
| 1661 | 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x65, 0x6e, |
| 1662 | 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, |
| 1663 | 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, |
| 1664 | 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, |
| 1665 | 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x73, |
| 1666 | 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, |
| 1667 | 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, |
| 1668 | 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x28, |
| 1669 | 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, |
| 1670 | 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 1671 | 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1672 | } |
| 1673 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1674 | var ( |
| 1675 | file_metrics_proto_rawDescOnce sync.Once |
| 1676 | file_metrics_proto_rawDescData = file_metrics_proto_rawDesc |
| 1677 | ) |
| 1678 | |
| 1679 | func file_metrics_proto_rawDescGZIP() []byte { |
| 1680 | file_metrics_proto_rawDescOnce.Do(func() { |
| 1681 | file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData) |
| 1682 | }) |
| 1683 | return file_metrics_proto_rawDescData |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 1684 | } |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1685 | |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1686 | var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1687 | var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1688 | var file_metrics_proto_goTypes = []interface{}{ |
| 1689 | (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant |
| 1690 | (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch |
| 1691 | (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1692 | (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus |
| 1693 | (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase |
| 1694 | (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig |
| 1695 | (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo |
| 1696 | (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo |
| 1697 | (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo |
| 1698 | (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo |
| 1699 | (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics |
| 1700 | (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics |
| 1701 | (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics |
| 1702 | (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1703 | (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1704 | } |
| 1705 | var file_metrics_proto_depIdxs = []int32{ |
| 1706 | 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant |
| 1707 | 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 1708 | 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 1709 | 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1710 | 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo |
| 1711 | 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo |
| 1712 | 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo |
| 1713 | 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo |
| 1714 | 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo |
| 1715 | 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics |
| 1716 | 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig |
| 1717 | 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo |
| 1718 | 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo |
| 1719 | 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher |
| 1720 | 8, // 14: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo |
| 1721 | 2, // 15: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem |
| 1722 | 4, // 16: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase |
| 1723 | 10, // 17: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics |
| 1724 | 7, // 18: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1725 | 14, // 19: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo |
| 1726 | 3, // 20: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus |
| 1727 | 21, // [21:21] is the sub-list for method output_type |
| 1728 | 21, // [21:21] is the sub-list for method input_type |
| 1729 | 21, // [21:21] is the sub-list for extension type_name |
| 1730 | 21, // [21:21] is the sub-list for extension extendee |
| 1731 | 0, // [0:21] is the sub-list for field type_name |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1732 | } |
| 1733 | |
| 1734 | func init() { file_metrics_proto_init() } |
| 1735 | func file_metrics_proto_init() { |
| 1736 | if File_metrics_proto != nil { |
| 1737 | return |
| 1738 | } |
| 1739 | if !protoimpl.UnsafeEnabled { |
| 1740 | file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1741 | switch v := v.(*MetricsBase); i { |
| 1742 | case 0: |
| 1743 | return &v.state |
| 1744 | case 1: |
| 1745 | return &v.sizeCache |
| 1746 | case 2: |
| 1747 | return &v.unknownFields |
| 1748 | default: |
| 1749 | return nil |
| 1750 | } |
| 1751 | } |
| 1752 | file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1753 | switch v := v.(*BuildConfig); i { |
| 1754 | case 0: |
| 1755 | return &v.state |
| 1756 | case 1: |
| 1757 | return &v.sizeCache |
| 1758 | case 2: |
| 1759 | return &v.unknownFields |
| 1760 | default: |
| 1761 | return nil |
| 1762 | } |
| 1763 | } |
| 1764 | file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1765 | switch v := v.(*SystemResourceInfo); i { |
| 1766 | case 0: |
| 1767 | return &v.state |
| 1768 | case 1: |
| 1769 | return &v.sizeCache |
| 1770 | case 2: |
| 1771 | return &v.unknownFields |
| 1772 | default: |
| 1773 | return nil |
| 1774 | } |
| 1775 | } |
| 1776 | file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1777 | switch v := v.(*PerfInfo); i { |
| 1778 | case 0: |
| 1779 | return &v.state |
| 1780 | case 1: |
| 1781 | return &v.sizeCache |
| 1782 | case 2: |
| 1783 | return &v.unknownFields |
| 1784 | default: |
| 1785 | return nil |
| 1786 | } |
| 1787 | } |
| 1788 | file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1789 | switch v := v.(*ProcessResourceInfo); i { |
| 1790 | case 0: |
| 1791 | return &v.state |
| 1792 | case 1: |
| 1793 | return &v.sizeCache |
| 1794 | case 2: |
| 1795 | return &v.unknownFields |
| 1796 | default: |
| 1797 | return nil |
| 1798 | } |
| 1799 | } |
| 1800 | file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1801 | switch v := v.(*ModuleTypeInfo); i { |
| 1802 | case 0: |
| 1803 | return &v.state |
| 1804 | case 1: |
| 1805 | return &v.sizeCache |
| 1806 | case 2: |
| 1807 | return &v.unknownFields |
| 1808 | default: |
| 1809 | return nil |
| 1810 | } |
| 1811 | } |
| 1812 | file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1813 | switch v := v.(*CriticalUserJourneyMetrics); i { |
| 1814 | case 0: |
| 1815 | return &v.state |
| 1816 | case 1: |
| 1817 | return &v.sizeCache |
| 1818 | case 2: |
| 1819 | return &v.unknownFields |
| 1820 | default: |
| 1821 | return nil |
| 1822 | } |
| 1823 | } |
| 1824 | file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1825 | switch v := v.(*CriticalUserJourneysMetrics); i { |
| 1826 | case 0: |
| 1827 | return &v.state |
| 1828 | case 1: |
| 1829 | return &v.sizeCache |
| 1830 | case 2: |
| 1831 | return &v.unknownFields |
| 1832 | default: |
| 1833 | return nil |
| 1834 | } |
| 1835 | } |
| 1836 | file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1837 | switch v := v.(*SoongBuildMetrics); i { |
| 1838 | case 0: |
| 1839 | return &v.state |
| 1840 | case 1: |
| 1841 | return &v.sizeCache |
| 1842 | case 2: |
| 1843 | return &v.unknownFields |
| 1844 | default: |
| 1845 | return nil |
| 1846 | } |
| 1847 | } |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1848 | file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1849 | switch v := v.(*ExpConfigFetcher); i { |
| 1850 | case 0: |
| 1851 | return &v.state |
| 1852 | case 1: |
| 1853 | return &v.sizeCache |
| 1854 | case 2: |
| 1855 | return &v.unknownFields |
| 1856 | default: |
| 1857 | return nil |
| 1858 | } |
| 1859 | } |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1860 | file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1861 | switch v := v.(*MixedBuildsInfo); i { |
| 1862 | case 0: |
| 1863 | return &v.state |
| 1864 | case 1: |
| 1865 | return &v.sizeCache |
| 1866 | case 2: |
| 1867 | return &v.unknownFields |
| 1868 | default: |
| 1869 | return nil |
| 1870 | } |
| 1871 | } |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1872 | } |
| 1873 | type x struct{} |
| 1874 | out := protoimpl.TypeBuilder{ |
| 1875 | File: protoimpl.DescBuilder{ |
| 1876 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1877 | RawDescriptor: file_metrics_proto_rawDesc, |
David Goldsmith | 62243a3 | 2022-04-08 13:42:04 +0000 | [diff] [blame] | 1878 | NumEnums: 4, |
MarkDacek | ff851b8 | 2022-04-21 18:33:17 +0000 | [diff] [blame] | 1879 | NumMessages: 11, |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1880 | NumExtensions: 0, |
| 1881 | NumServices: 0, |
| 1882 | }, |
| 1883 | GoTypes: file_metrics_proto_goTypes, |
| 1884 | DependencyIndexes: file_metrics_proto_depIdxs, |
| 1885 | EnumInfos: file_metrics_proto_enumTypes, |
| 1886 | MessageInfos: file_metrics_proto_msgTypes, |
| 1887 | }.Build() |
| 1888 | File_metrics_proto = out.File |
| 1889 | file_metrics_proto_rawDesc = nil |
| 1890 | file_metrics_proto_goTypes = nil |
| 1891 | file_metrics_proto_depIdxs = nil |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1892 | } |