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