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