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: |
| 17 | // protoc-gen-go v1.26.0 |
| 18 | // protoc v3.9.1 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 19 | // source: metrics.proto |
| 20 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 21 | package metrics_proto |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 22 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 23 | import ( |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 24 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 | reflect "reflect" |
| 27 | sync "sync" |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 28 | ) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 29 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 30 | const ( |
| 31 | // Verify that this generated code is sufficiently up-to-date. |
| 32 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 | ) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 36 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 37 | type MetricsBase_BuildVariant int32 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 38 | |
| 39 | const ( |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 40 | MetricsBase_USER MetricsBase_BuildVariant = 0 |
| 41 | MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1 |
| 42 | MetricsBase_ENG MetricsBase_BuildVariant = 2 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 43 | ) |
| 44 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 45 | // Enum value maps for MetricsBase_BuildVariant. |
| 46 | var ( |
| 47 | MetricsBase_BuildVariant_name = map[int32]string{ |
| 48 | 0: "USER", |
| 49 | 1: "USERDEBUG", |
| 50 | 2: "ENG", |
| 51 | } |
| 52 | MetricsBase_BuildVariant_value = map[string]int32{ |
| 53 | "USER": 0, |
| 54 | "USERDEBUG": 1, |
| 55 | "ENG": 2, |
| 56 | } |
| 57 | ) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 58 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 59 | func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant { |
| 60 | p := new(MetricsBase_BuildVariant) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 61 | *p = x |
| 62 | return p |
| 63 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 64 | |
| 65 | func (x MetricsBase_BuildVariant) String() string { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 66 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 67 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 68 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 69 | func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor { |
| 70 | return file_metrics_proto_enumTypes[0].Descriptor() |
| 71 | } |
| 72 | |
| 73 | func (MetricsBase_BuildVariant) Type() protoreflect.EnumType { |
| 74 | return &file_metrics_proto_enumTypes[0] |
| 75 | } |
| 76 | |
| 77 | func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber { |
| 78 | return protoreflect.EnumNumber(x) |
| 79 | } |
| 80 | |
| 81 | // Deprecated: Do not use. |
| 82 | func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error { |
| 83 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 84 | if err != nil { |
| 85 | return err |
| 86 | } |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 87 | *x = MetricsBase_BuildVariant(num) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 88 | return nil |
| 89 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 90 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 91 | // Deprecated: Use MetricsBase_BuildVariant.Descriptor instead. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 92 | func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 93 | return file_metrics_proto_rawDescGZIP(), []int{0, 0} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 94 | } |
| 95 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 96 | type MetricsBase_Arch int32 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 97 | |
| 98 | const ( |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 99 | MetricsBase_UNKNOWN MetricsBase_Arch = 0 |
| 100 | MetricsBase_ARM MetricsBase_Arch = 1 |
| 101 | MetricsBase_ARM64 MetricsBase_Arch = 2 |
| 102 | MetricsBase_X86 MetricsBase_Arch = 3 |
| 103 | MetricsBase_X86_64 MetricsBase_Arch = 4 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 104 | ) |
| 105 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 106 | // Enum value maps for MetricsBase_Arch. |
| 107 | var ( |
| 108 | MetricsBase_Arch_name = map[int32]string{ |
| 109 | 0: "UNKNOWN", |
| 110 | 1: "ARM", |
| 111 | 2: "ARM64", |
| 112 | 3: "X86", |
| 113 | 4: "X86_64", |
| 114 | } |
| 115 | MetricsBase_Arch_value = map[string]int32{ |
| 116 | "UNKNOWN": 0, |
| 117 | "ARM": 1, |
| 118 | "ARM64": 2, |
| 119 | "X86": 3, |
| 120 | "X86_64": 4, |
| 121 | } |
| 122 | ) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 123 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 124 | func (x MetricsBase_Arch) Enum() *MetricsBase_Arch { |
| 125 | p := new(MetricsBase_Arch) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 126 | *p = x |
| 127 | return p |
| 128 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 129 | |
| 130 | func (x MetricsBase_Arch) String() string { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 131 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 132 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 133 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 134 | func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor { |
| 135 | return file_metrics_proto_enumTypes[1].Descriptor() |
| 136 | } |
| 137 | |
| 138 | func (MetricsBase_Arch) Type() protoreflect.EnumType { |
| 139 | return &file_metrics_proto_enumTypes[1] |
| 140 | } |
| 141 | |
| 142 | func (x MetricsBase_Arch) Number() protoreflect.EnumNumber { |
| 143 | return protoreflect.EnumNumber(x) |
| 144 | } |
| 145 | |
| 146 | // Deprecated: Do not use. |
| 147 | func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error { |
| 148 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 149 | if err != nil { |
| 150 | return err |
| 151 | } |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 152 | *x = MetricsBase_Arch(num) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 153 | return nil |
| 154 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 155 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 156 | // Deprecated: Use MetricsBase_Arch.Descriptor instead. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 157 | func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 158 | return file_metrics_proto_rawDescGZIP(), []int{0, 1} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 159 | } |
| 160 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 161 | type ModuleTypeInfo_BuildSystem int32 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 162 | |
| 163 | const ( |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 164 | ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0 |
| 165 | ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1 |
| 166 | ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2 |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 167 | ) |
| 168 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 169 | // Enum value maps for ModuleTypeInfo_BuildSystem. |
| 170 | var ( |
| 171 | ModuleTypeInfo_BuildSystem_name = map[int32]string{ |
| 172 | 0: "UNKNOWN", |
| 173 | 1: "SOONG", |
| 174 | 2: "MAKE", |
| 175 | } |
| 176 | ModuleTypeInfo_BuildSystem_value = map[string]int32{ |
| 177 | "UNKNOWN": 0, |
| 178 | "SOONG": 1, |
| 179 | "MAKE": 2, |
| 180 | } |
| 181 | ) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 182 | |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 183 | func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem { |
| 184 | p := new(ModuleTypeInfo_BuildSystem) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 185 | *p = x |
| 186 | return p |
| 187 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 188 | |
| 189 | func (x ModuleTypeInfo_BuildSystem) String() string { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 190 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 191 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 192 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 193 | func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor { |
| 194 | return file_metrics_proto_enumTypes[2].Descriptor() |
| 195 | } |
| 196 | |
| 197 | func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType { |
| 198 | return &file_metrics_proto_enumTypes[2] |
| 199 | } |
| 200 | |
| 201 | func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber { |
| 202 | return protoreflect.EnumNumber(x) |
| 203 | } |
| 204 | |
| 205 | // Deprecated: Do not use. |
| 206 | func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error { |
| 207 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 208 | if err != nil { |
| 209 | return err |
| 210 | } |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 211 | *x = ModuleTypeInfo_BuildSystem(num) |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 212 | return nil |
| 213 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 214 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 215 | // Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 216 | func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 217 | return file_metrics_proto_rawDescGZIP(), []int{5, 0} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 218 | } |
| 219 | |
| 220 | type MetricsBase struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 221 | state protoimpl.MessageState |
| 222 | sizeCache protoimpl.SizeCache |
| 223 | unknownFields protoimpl.UnknownFields |
| 224 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 225 | // Timestamp generated when the build starts. |
| 226 | BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"` |
| 227 | // It is usually used to specify the branch name [and release candidate]. |
| 228 | BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"` |
| 229 | // The platform version codename, eg. P, Q, REL. |
| 230 | PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"` |
| 231 | // The target product information, eg. aosp_arm. |
| 232 | TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"` |
| 233 | // The target build variant information, eg. eng. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 234 | 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] | 235 | // The target arch information, eg. arm. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 236 | 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] | 237 | // The target arch variant information, eg. armv7-a-neon. |
| 238 | TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"` |
| 239 | // The target cpu variant information, eg. generic. |
| 240 | TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"` |
| 241 | // The host arch information, eg. x86_64. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 242 | 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] | 243 | // The host 2nd arch information, eg. x86. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 244 | 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] | 245 | // The host os information, eg. linux. |
| 246 | HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"` |
| 247 | // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU. |
| 248 | HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"` |
| 249 | // The host cross os information, eg. windows. |
| 250 | HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"` |
| 251 | // The host cross arch information, eg. x86. |
| 252 | HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"` |
| 253 | // The host cross 2nd arch information, eg. x86_64. |
| 254 | HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"` |
| 255 | // The directory for generated built artifacts installation, eg. out. |
| 256 | OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"` |
| 257 | // The metrics for calling various tools (microfactory) before Soong_UI starts. |
| 258 | SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"` |
| 259 | // The metrics for calling Kati by multiple times. |
| 260 | KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"` |
| 261 | // The metrics for calling Soong. |
| 262 | SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"` |
| 263 | // The metrics for calling Ninja. |
Colin Cross | 74cda72 | 2020-01-16 15:25:50 -0800 | [diff] [blame] | 264 | NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"` |
| 265 | // The metrics for the whole build |
Patrice Arruda | 4fb8adc | 2020-10-12 22:38:06 +0000 | [diff] [blame] | 266 | Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"` |
| 267 | SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"` |
| 268 | 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] | 269 | // The hostname of the machine. |
| 270 | Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"` |
| 271 | // The system resource information such as total physical memory. |
Patrice Arruda | e92c30d | 2020-10-29 11:01:32 -0700 | [diff] [blame] | 272 | SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"` |
| 273 | // The build command that the user entered to the build system. |
Patrice Arruda | b7cf9ba | 2020-11-13 13:04:17 -0800 | [diff] [blame] | 274 | BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"` |
| 275 | // The metrics for calling Bazel. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 276 | BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"` |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 277 | } |
| 278 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 279 | // Default values for MetricsBase fields. |
| 280 | const ( |
| 281 | Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG |
| 282 | Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN |
| 283 | Default_MetricsBase_HostArch = MetricsBase_UNKNOWN |
| 284 | Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN |
| 285 | ) |
| 286 | |
| 287 | func (x *MetricsBase) Reset() { |
| 288 | *x = MetricsBase{} |
| 289 | if protoimpl.UnsafeEnabled { |
| 290 | mi := &file_metrics_proto_msgTypes[0] |
| 291 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 292 | ms.StoreMessageInfo(mi) |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | func (x *MetricsBase) String() string { |
| 297 | return protoimpl.X.MessageStringOf(x) |
| 298 | } |
| 299 | |
| 300 | func (*MetricsBase) ProtoMessage() {} |
| 301 | |
| 302 | func (x *MetricsBase) ProtoReflect() protoreflect.Message { |
| 303 | mi := &file_metrics_proto_msgTypes[0] |
| 304 | if protoimpl.UnsafeEnabled && x != nil { |
| 305 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 306 | if ms.LoadMessageInfo() == nil { |
| 307 | ms.StoreMessageInfo(mi) |
| 308 | } |
| 309 | return ms |
| 310 | } |
| 311 | return mi.MessageOf(x) |
| 312 | } |
| 313 | |
| 314 | // Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 315 | func (*MetricsBase) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 316 | return file_metrics_proto_rawDescGZIP(), []int{0} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 317 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 318 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 319 | func (x *MetricsBase) GetBuildDateTimestamp() int64 { |
| 320 | if x != nil && x.BuildDateTimestamp != nil { |
| 321 | return *x.BuildDateTimestamp |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 322 | } |
| 323 | return 0 |
| 324 | } |
| 325 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 326 | func (x *MetricsBase) GetBuildId() string { |
| 327 | if x != nil && x.BuildId != nil { |
| 328 | return *x.BuildId |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 329 | } |
| 330 | return "" |
| 331 | } |
| 332 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 333 | func (x *MetricsBase) GetPlatformVersionCodename() string { |
| 334 | if x != nil && x.PlatformVersionCodename != nil { |
| 335 | return *x.PlatformVersionCodename |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 336 | } |
| 337 | return "" |
| 338 | } |
| 339 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 340 | func (x *MetricsBase) GetTargetProduct() string { |
| 341 | if x != nil && x.TargetProduct != nil { |
| 342 | return *x.TargetProduct |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 343 | } |
| 344 | return "" |
| 345 | } |
| 346 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 347 | func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant { |
| 348 | if x != nil && x.TargetBuildVariant != nil { |
| 349 | return *x.TargetBuildVariant |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 350 | } |
| 351 | return Default_MetricsBase_TargetBuildVariant |
| 352 | } |
| 353 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 354 | func (x *MetricsBase) GetTargetArch() MetricsBase_Arch { |
| 355 | if x != nil && x.TargetArch != nil { |
| 356 | return *x.TargetArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 357 | } |
| 358 | return Default_MetricsBase_TargetArch |
| 359 | } |
| 360 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 361 | func (x *MetricsBase) GetTargetArchVariant() string { |
| 362 | if x != nil && x.TargetArchVariant != nil { |
| 363 | return *x.TargetArchVariant |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 364 | } |
| 365 | return "" |
| 366 | } |
| 367 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 368 | func (x *MetricsBase) GetTargetCpuVariant() string { |
| 369 | if x != nil && x.TargetCpuVariant != nil { |
| 370 | return *x.TargetCpuVariant |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 371 | } |
| 372 | return "" |
| 373 | } |
| 374 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 375 | func (x *MetricsBase) GetHostArch() MetricsBase_Arch { |
| 376 | if x != nil && x.HostArch != nil { |
| 377 | return *x.HostArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 378 | } |
| 379 | return Default_MetricsBase_HostArch |
| 380 | } |
| 381 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 382 | func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch { |
| 383 | if x != nil && x.Host_2NdArch != nil { |
| 384 | return *x.Host_2NdArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 385 | } |
| 386 | return Default_MetricsBase_Host_2NdArch |
| 387 | } |
| 388 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 389 | func (x *MetricsBase) GetHostOs() string { |
| 390 | if x != nil && x.HostOs != nil { |
| 391 | return *x.HostOs |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 392 | } |
| 393 | return "" |
| 394 | } |
| 395 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 396 | func (x *MetricsBase) GetHostOsExtra() string { |
| 397 | if x != nil && x.HostOsExtra != nil { |
| 398 | return *x.HostOsExtra |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 399 | } |
| 400 | return "" |
| 401 | } |
| 402 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 403 | func (x *MetricsBase) GetHostCrossOs() string { |
| 404 | if x != nil && x.HostCrossOs != nil { |
| 405 | return *x.HostCrossOs |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 406 | } |
| 407 | return "" |
| 408 | } |
| 409 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 410 | func (x *MetricsBase) GetHostCrossArch() string { |
| 411 | if x != nil && x.HostCrossArch != nil { |
| 412 | return *x.HostCrossArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 413 | } |
| 414 | return "" |
| 415 | } |
| 416 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 417 | func (x *MetricsBase) GetHostCross_2NdArch() string { |
| 418 | if x != nil && x.HostCross_2NdArch != nil { |
| 419 | return *x.HostCross_2NdArch |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 420 | } |
| 421 | return "" |
| 422 | } |
| 423 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 424 | func (x *MetricsBase) GetOutDir() string { |
| 425 | if x != nil && x.OutDir != nil { |
| 426 | return *x.OutDir |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 427 | } |
| 428 | return "" |
| 429 | } |
| 430 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 431 | func (x *MetricsBase) GetSetupTools() []*PerfInfo { |
| 432 | if x != nil { |
| 433 | return x.SetupTools |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 434 | } |
| 435 | return nil |
| 436 | } |
| 437 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 438 | func (x *MetricsBase) GetKatiRuns() []*PerfInfo { |
| 439 | if x != nil { |
| 440 | return x.KatiRuns |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 441 | } |
| 442 | return nil |
| 443 | } |
| 444 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 445 | func (x *MetricsBase) GetSoongRuns() []*PerfInfo { |
| 446 | if x != nil { |
| 447 | return x.SoongRuns |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 448 | } |
| 449 | return nil |
| 450 | } |
| 451 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 452 | func (x *MetricsBase) GetNinjaRuns() []*PerfInfo { |
| 453 | if x != nil { |
| 454 | return x.NinjaRuns |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 455 | } |
| 456 | return nil |
| 457 | } |
| 458 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 459 | func (x *MetricsBase) GetTotal() *PerfInfo { |
| 460 | if x != nil { |
| 461 | return x.Total |
Colin Cross | 74cda72 | 2020-01-16 15:25:50 -0800 | [diff] [blame] | 462 | } |
| 463 | return nil |
| 464 | } |
| 465 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 466 | func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics { |
| 467 | if x != nil { |
| 468 | return x.SoongBuildMetrics |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 469 | } |
| 470 | return nil |
| 471 | } |
| 472 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 473 | func (x *MetricsBase) GetBuildConfig() *BuildConfig { |
| 474 | if x != nil { |
| 475 | return x.BuildConfig |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 476 | } |
| 477 | return nil |
| 478 | } |
| 479 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 480 | func (x *MetricsBase) GetHostname() string { |
| 481 | if x != nil && x.Hostname != nil { |
| 482 | return *x.Hostname |
Patrice Arruda | 4fb8adc | 2020-10-12 22:38:06 +0000 | [diff] [blame] | 483 | } |
| 484 | return "" |
| 485 | } |
| 486 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 487 | func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo { |
| 488 | if x != nil { |
| 489 | return x.SystemResourceInfo |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 490 | } |
| 491 | return nil |
| 492 | } |
| 493 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 494 | func (x *MetricsBase) GetBuildCommand() string { |
| 495 | if x != nil && x.BuildCommand != nil { |
| 496 | return *x.BuildCommand |
Patrice Arruda | e92c30d | 2020-10-29 11:01:32 -0700 | [diff] [blame] | 497 | } |
| 498 | return "" |
| 499 | } |
| 500 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 501 | func (x *MetricsBase) GetBazelRuns() []*PerfInfo { |
| 502 | if x != nil { |
| 503 | return x.BazelRuns |
Patrice Arruda | b7cf9ba | 2020-11-13 13:04:17 -0800 | [diff] [blame] | 504 | } |
| 505 | return nil |
| 506 | } |
| 507 | |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 508 | type BuildConfig struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 509 | state protoimpl.MessageState |
| 510 | sizeCache protoimpl.SizeCache |
| 511 | unknownFields protoimpl.UnknownFields |
| 512 | |
Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 513 | UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"` |
| 514 | UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"` |
| 515 | ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"` |
| 516 | // Whether the Bazel is acting as the Ninja executor for this build. |
| 517 | BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"` |
| 518 | // Whether build is occurring in a mixed build mode, where Bazel maintains the |
| 519 | // definition and build of some modules in cooperation with Soong. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 520 | BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"` |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 521 | } |
| 522 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 523 | func (x *BuildConfig) Reset() { |
| 524 | *x = BuildConfig{} |
| 525 | if protoimpl.UnsafeEnabled { |
| 526 | mi := &file_metrics_proto_msgTypes[1] |
| 527 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 528 | ms.StoreMessageInfo(mi) |
| 529 | } |
| 530 | } |
| 531 | |
| 532 | func (x *BuildConfig) String() string { |
| 533 | return protoimpl.X.MessageStringOf(x) |
| 534 | } |
| 535 | |
| 536 | func (*BuildConfig) ProtoMessage() {} |
| 537 | |
| 538 | func (x *BuildConfig) ProtoReflect() protoreflect.Message { |
| 539 | mi := &file_metrics_proto_msgTypes[1] |
| 540 | if protoimpl.UnsafeEnabled && x != nil { |
| 541 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 542 | if ms.LoadMessageInfo() == nil { |
| 543 | ms.StoreMessageInfo(mi) |
| 544 | } |
| 545 | return ms |
| 546 | } |
| 547 | return mi.MessageOf(x) |
| 548 | } |
| 549 | |
| 550 | // Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead. |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 551 | func (*BuildConfig) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 552 | return file_metrics_proto_rawDescGZIP(), []int{1} |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 553 | } |
| 554 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 555 | func (x *BuildConfig) GetUseGoma() bool { |
| 556 | if x != nil && x.UseGoma != nil { |
| 557 | return *x.UseGoma |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 558 | } |
| 559 | return false |
| 560 | } |
| 561 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 562 | func (x *BuildConfig) GetUseRbe() bool { |
| 563 | if x != nil && x.UseRbe != nil { |
| 564 | return *x.UseRbe |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 565 | } |
| 566 | return false |
| 567 | } |
| 568 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 569 | func (x *BuildConfig) GetForceUseGoma() bool { |
| 570 | if x != nil && x.ForceUseGoma != nil { |
| 571 | return *x.ForceUseGoma |
Patrice Arruda | c97d6dc | 2020-09-28 18:22:07 +0000 | [diff] [blame] | 572 | } |
| 573 | return false |
| 574 | } |
| 575 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 576 | func (x *BuildConfig) GetBazelAsNinja() bool { |
| 577 | if x != nil && x.BazelAsNinja != nil { |
| 578 | return *x.BazelAsNinja |
Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 579 | } |
| 580 | return false |
| 581 | } |
| 582 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 583 | func (x *BuildConfig) GetBazelMixedBuild() bool { |
| 584 | if x != nil && x.BazelMixedBuild != nil { |
| 585 | return *x.BazelMixedBuild |
Liz Kammer | ca9cb2e | 2021-07-14 15:29:57 -0400 | [diff] [blame] | 586 | } |
| 587 | return false |
| 588 | } |
| 589 | |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 590 | type SystemResourceInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 591 | state protoimpl.MessageState |
| 592 | sizeCache protoimpl.SizeCache |
| 593 | unknownFields protoimpl.UnknownFields |
| 594 | |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 595 | // The total physical memory in bytes. |
| 596 | TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"` |
| 597 | // The total of available cores for building |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 598 | 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] | 599 | } |
| 600 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 601 | func (x *SystemResourceInfo) Reset() { |
| 602 | *x = SystemResourceInfo{} |
| 603 | if protoimpl.UnsafeEnabled { |
| 604 | mi := &file_metrics_proto_msgTypes[2] |
| 605 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 606 | ms.StoreMessageInfo(mi) |
| 607 | } |
| 608 | } |
| 609 | |
| 610 | func (x *SystemResourceInfo) String() string { |
| 611 | return protoimpl.X.MessageStringOf(x) |
| 612 | } |
| 613 | |
| 614 | func (*SystemResourceInfo) ProtoMessage() {} |
| 615 | |
| 616 | func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message { |
| 617 | mi := &file_metrics_proto_msgTypes[2] |
| 618 | if protoimpl.UnsafeEnabled && x != nil { |
| 619 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 620 | if ms.LoadMessageInfo() == nil { |
| 621 | ms.StoreMessageInfo(mi) |
| 622 | } |
| 623 | return ms |
| 624 | } |
| 625 | return mi.MessageOf(x) |
| 626 | } |
| 627 | |
| 628 | // Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead. |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 629 | func (*SystemResourceInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 630 | return file_metrics_proto_rawDescGZIP(), []int{2} |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 631 | } |
| 632 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 633 | func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 { |
| 634 | if x != nil && x.TotalPhysicalMemory != nil { |
| 635 | return *x.TotalPhysicalMemory |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 636 | } |
| 637 | return 0 |
| 638 | } |
| 639 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 640 | func (x *SystemResourceInfo) GetAvailableCpus() int32 { |
| 641 | if x != nil && x.AvailableCpus != nil { |
| 642 | return *x.AvailableCpus |
Patrice Arruda | 3edfd48 | 2020-10-13 23:58:41 +0000 | [diff] [blame] | 643 | } |
| 644 | return 0 |
| 645 | } |
| 646 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 647 | type PerfInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 648 | state protoimpl.MessageState |
| 649 | sizeCache protoimpl.SizeCache |
| 650 | unknownFields protoimpl.UnknownFields |
| 651 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 652 | // The description for the phase/action/part while the tool running. |
| 653 | Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"` |
| 654 | // The name for the running phase/action/part. |
| 655 | Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` |
| 656 | // The absolute start time. |
| 657 | // The number of nanoseconds elapsed since January 1, 1970 UTC. |
| 658 | StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` |
| 659 | // The real running time. |
| 660 | // The number of nanoseconds elapsed since start_time. |
| 661 | 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] | 662 | // 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] | 663 | // |
| 664 | // Deprecated: Do not use. |
| 665 | 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] | 666 | // The resource information of each executed process. |
| 667 | ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"` |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 668 | } |
| 669 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 670 | func (x *PerfInfo) Reset() { |
| 671 | *x = PerfInfo{} |
| 672 | if protoimpl.UnsafeEnabled { |
| 673 | mi := &file_metrics_proto_msgTypes[3] |
| 674 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 675 | ms.StoreMessageInfo(mi) |
| 676 | } |
| 677 | } |
| 678 | |
| 679 | func (x *PerfInfo) String() string { |
| 680 | return protoimpl.X.MessageStringOf(x) |
| 681 | } |
| 682 | |
| 683 | func (*PerfInfo) ProtoMessage() {} |
| 684 | |
| 685 | func (x *PerfInfo) ProtoReflect() protoreflect.Message { |
| 686 | mi := &file_metrics_proto_msgTypes[3] |
| 687 | if protoimpl.UnsafeEnabled && x != nil { |
| 688 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 689 | if ms.LoadMessageInfo() == nil { |
| 690 | ms.StoreMessageInfo(mi) |
| 691 | } |
| 692 | return ms |
| 693 | } |
| 694 | return mi.MessageOf(x) |
| 695 | } |
| 696 | |
| 697 | // Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 698 | func (*PerfInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 699 | return file_metrics_proto_rawDescGZIP(), []int{3} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 700 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 701 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 702 | func (x *PerfInfo) GetDesc() string { |
| 703 | if x != nil && x.Desc != nil { |
| 704 | return *x.Desc |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 705 | } |
| 706 | return "" |
| 707 | } |
| 708 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 709 | func (x *PerfInfo) GetName() string { |
| 710 | if x != nil && x.Name != nil { |
| 711 | return *x.Name |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 712 | } |
| 713 | return "" |
| 714 | } |
| 715 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 716 | func (x *PerfInfo) GetStartTime() uint64 { |
| 717 | if x != nil && x.StartTime != nil { |
| 718 | return *x.StartTime |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 719 | } |
| 720 | return 0 |
| 721 | } |
| 722 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 723 | func (x *PerfInfo) GetRealTime() uint64 { |
| 724 | if x != nil && x.RealTime != nil { |
| 725 | return *x.RealTime |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 726 | } |
| 727 | return 0 |
| 728 | } |
| 729 | |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 730 | // Deprecated: Do not use. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 731 | func (x *PerfInfo) GetMemoryUse() uint64 { |
| 732 | if x != nil && x.MemoryUse != nil { |
| 733 | return *x.MemoryUse |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 734 | } |
| 735 | return 0 |
| 736 | } |
| 737 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 738 | func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo { |
| 739 | if x != nil { |
| 740 | return x.ProcessesResourceInfo |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 741 | } |
| 742 | return nil |
| 743 | } |
| 744 | |
| 745 | type ProcessResourceInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 746 | state protoimpl.MessageState |
| 747 | sizeCache protoimpl.SizeCache |
| 748 | unknownFields protoimpl.UnknownFields |
| 749 | |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 750 | // The name of the process for identification. |
| 751 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 752 | // The amount of time spent executing in user space in microseconds. |
| 753 | UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"` |
| 754 | // The amount of time spent executing in kernel mode in microseconds. |
| 755 | SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"` |
| 756 | // The maximum resident set size memory used in kilobytes. |
| 757 | MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"` |
| 758 | // The number of minor page faults serviced without any I/O activity. |
| 759 | MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"` |
| 760 | // The number of major page faults serviced that required I/O activity. |
| 761 | MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"` |
| 762 | // Total IO input in kilobytes. |
| 763 | IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"` |
| 764 | // Total IO output in kilobytes. |
| 765 | IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"` |
| 766 | // The number of voluntary context switches |
| 767 | VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"` |
| 768 | // The number of involuntary context switches |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 769 | 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] | 770 | } |
| 771 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 772 | func (x *ProcessResourceInfo) Reset() { |
| 773 | *x = ProcessResourceInfo{} |
| 774 | if protoimpl.UnsafeEnabled { |
| 775 | mi := &file_metrics_proto_msgTypes[4] |
| 776 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 777 | ms.StoreMessageInfo(mi) |
| 778 | } |
| 779 | } |
| 780 | |
| 781 | func (x *ProcessResourceInfo) String() string { |
| 782 | return protoimpl.X.MessageStringOf(x) |
| 783 | } |
| 784 | |
| 785 | func (*ProcessResourceInfo) ProtoMessage() {} |
| 786 | |
| 787 | func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message { |
| 788 | mi := &file_metrics_proto_msgTypes[4] |
| 789 | if protoimpl.UnsafeEnabled && x != nil { |
| 790 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 791 | if ms.LoadMessageInfo() == nil { |
| 792 | ms.StoreMessageInfo(mi) |
| 793 | } |
| 794 | return ms |
| 795 | } |
| 796 | return mi.MessageOf(x) |
| 797 | } |
| 798 | |
| 799 | // Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead. |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 800 | func (*ProcessResourceInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 801 | return file_metrics_proto_rawDescGZIP(), []int{4} |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 802 | } |
| 803 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 804 | func (x *ProcessResourceInfo) GetName() string { |
| 805 | if x != nil && x.Name != nil { |
| 806 | return *x.Name |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 807 | } |
| 808 | return "" |
| 809 | } |
| 810 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 811 | func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 { |
| 812 | if x != nil && x.UserTimeMicros != nil { |
| 813 | return *x.UserTimeMicros |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 814 | } |
| 815 | return 0 |
| 816 | } |
| 817 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 818 | func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 { |
| 819 | if x != nil && x.SystemTimeMicros != nil { |
| 820 | return *x.SystemTimeMicros |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 821 | } |
| 822 | return 0 |
| 823 | } |
| 824 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 825 | func (x *ProcessResourceInfo) GetMaxRssKb() uint64 { |
| 826 | if x != nil && x.MaxRssKb != nil { |
| 827 | return *x.MaxRssKb |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 828 | } |
| 829 | return 0 |
| 830 | } |
| 831 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 832 | func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 { |
| 833 | if x != nil && x.MinorPageFaults != nil { |
| 834 | return *x.MinorPageFaults |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 835 | } |
| 836 | return 0 |
| 837 | } |
| 838 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 839 | func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 { |
| 840 | if x != nil && x.MajorPageFaults != nil { |
| 841 | return *x.MajorPageFaults |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 842 | } |
| 843 | return 0 |
| 844 | } |
| 845 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 846 | func (x *ProcessResourceInfo) GetIoInputKb() uint64 { |
| 847 | if x != nil && x.IoInputKb != nil { |
| 848 | return *x.IoInputKb |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 849 | } |
| 850 | return 0 |
| 851 | } |
| 852 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 853 | func (x *ProcessResourceInfo) GetIoOutputKb() uint64 { |
| 854 | if x != nil && x.IoOutputKb != nil { |
| 855 | return *x.IoOutputKb |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 856 | } |
| 857 | return 0 |
| 858 | } |
| 859 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 860 | func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 { |
| 861 | if x != nil && x.VoluntaryContextSwitches != nil { |
| 862 | return *x.VoluntaryContextSwitches |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 863 | } |
| 864 | return 0 |
| 865 | } |
| 866 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 867 | func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 { |
| 868 | if x != nil && x.InvoluntaryContextSwitches != nil { |
| 869 | return *x.InvoluntaryContextSwitches |
Patrice Arruda | fec3bf2 | 2020-10-19 10:55:34 -0700 | [diff] [blame] | 870 | } |
| 871 | return 0 |
| 872 | } |
| 873 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 874 | type ModuleTypeInfo struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 875 | state protoimpl.MessageState |
| 876 | sizeCache protoimpl.SizeCache |
| 877 | unknownFields protoimpl.UnknownFields |
| 878 | |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 879 | // The build system, eg. Soong or Make. |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 880 | BuildSystem *ModuleTypeInfo_BuildSystem `protobuf:"varint,1,opt,name=build_system,json=buildSystem,enum=soong_build_metrics.ModuleTypeInfo_BuildSystem,def=0" json:"build_system,omitempty"` |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 881 | // The module type, eg. java_library, cc_binary, and etc. |
| 882 | ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"` |
| 883 | // The number of logical modules. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 884 | 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] | 885 | } |
| 886 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 887 | // Default values for ModuleTypeInfo fields. |
| 888 | const ( |
| 889 | Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN |
| 890 | ) |
| 891 | |
| 892 | func (x *ModuleTypeInfo) Reset() { |
| 893 | *x = ModuleTypeInfo{} |
| 894 | if protoimpl.UnsafeEnabled { |
| 895 | mi := &file_metrics_proto_msgTypes[5] |
| 896 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 897 | ms.StoreMessageInfo(mi) |
| 898 | } |
| 899 | } |
| 900 | |
| 901 | func (x *ModuleTypeInfo) String() string { |
| 902 | return protoimpl.X.MessageStringOf(x) |
| 903 | } |
| 904 | |
| 905 | func (*ModuleTypeInfo) ProtoMessage() {} |
| 906 | |
| 907 | func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message { |
| 908 | mi := &file_metrics_proto_msgTypes[5] |
| 909 | if protoimpl.UnsafeEnabled && x != nil { |
| 910 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 911 | if ms.LoadMessageInfo() == nil { |
| 912 | ms.StoreMessageInfo(mi) |
| 913 | } |
| 914 | return ms |
| 915 | } |
| 916 | return mi.MessageOf(x) |
| 917 | } |
| 918 | |
| 919 | // Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead. |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 920 | func (*ModuleTypeInfo) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 921 | return file_metrics_proto_rawDescGZIP(), []int{5} |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 922 | } |
Patrice Arruda | 0cc5b21 | 2019-06-14 15:27:46 -0700 | [diff] [blame] | 923 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 924 | func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem { |
| 925 | if x != nil && x.BuildSystem != nil { |
| 926 | return *x.BuildSystem |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 927 | } |
| 928 | return Default_ModuleTypeInfo_BuildSystem |
| 929 | } |
| 930 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 931 | func (x *ModuleTypeInfo) GetModuleType() string { |
| 932 | if x != nil && x.ModuleType != nil { |
| 933 | return *x.ModuleType |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 934 | } |
| 935 | return "" |
| 936 | } |
| 937 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 938 | func (x *ModuleTypeInfo) GetNumOfModules() uint32 { |
| 939 | if x != nil && x.NumOfModules != nil { |
| 940 | return *x.NumOfModules |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 941 | } |
| 942 | return 0 |
| 943 | } |
| 944 | |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 945 | type CriticalUserJourneyMetrics struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 946 | state protoimpl.MessageState |
| 947 | sizeCache protoimpl.SizeCache |
| 948 | unknownFields protoimpl.UnknownFields |
| 949 | |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 950 | // The name of a critical user journey test. |
| 951 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 952 | // The metrics produced when running the critical user journey test. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 953 | Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"` |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 954 | } |
| 955 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 956 | func (x *CriticalUserJourneyMetrics) Reset() { |
| 957 | *x = CriticalUserJourneyMetrics{} |
| 958 | if protoimpl.UnsafeEnabled { |
| 959 | mi := &file_metrics_proto_msgTypes[6] |
| 960 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 961 | ms.StoreMessageInfo(mi) |
| 962 | } |
| 963 | } |
| 964 | |
| 965 | func (x *CriticalUserJourneyMetrics) String() string { |
| 966 | return protoimpl.X.MessageStringOf(x) |
| 967 | } |
| 968 | |
| 969 | func (*CriticalUserJourneyMetrics) ProtoMessage() {} |
| 970 | |
| 971 | func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message { |
| 972 | mi := &file_metrics_proto_msgTypes[6] |
| 973 | if protoimpl.UnsafeEnabled && x != nil { |
| 974 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 975 | if ms.LoadMessageInfo() == nil { |
| 976 | ms.StoreMessageInfo(mi) |
| 977 | } |
| 978 | return ms |
| 979 | } |
| 980 | return mi.MessageOf(x) |
| 981 | } |
| 982 | |
| 983 | // Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead. |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 984 | func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 985 | return file_metrics_proto_rawDescGZIP(), []int{6} |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 986 | } |
| 987 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 988 | func (x *CriticalUserJourneyMetrics) GetName() string { |
| 989 | if x != nil && x.Name != nil { |
| 990 | return *x.Name |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 991 | } |
| 992 | return "" |
| 993 | } |
| 994 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 995 | func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase { |
| 996 | if x != nil { |
| 997 | return x.Metrics |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 998 | } |
| 999 | return nil |
| 1000 | } |
| 1001 | |
| 1002 | type CriticalUserJourneysMetrics struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1003 | state protoimpl.MessageState |
| 1004 | sizeCache protoimpl.SizeCache |
| 1005 | unknownFields protoimpl.UnknownFields |
| 1006 | |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1007 | // 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] | 1008 | Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"` |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1009 | } |
| 1010 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1011 | func (x *CriticalUserJourneysMetrics) Reset() { |
| 1012 | *x = CriticalUserJourneysMetrics{} |
| 1013 | if protoimpl.UnsafeEnabled { |
| 1014 | mi := &file_metrics_proto_msgTypes[7] |
| 1015 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1016 | ms.StoreMessageInfo(mi) |
| 1017 | } |
| 1018 | } |
| 1019 | |
| 1020 | func (x *CriticalUserJourneysMetrics) String() string { |
| 1021 | return protoimpl.X.MessageStringOf(x) |
| 1022 | } |
| 1023 | |
| 1024 | func (*CriticalUserJourneysMetrics) ProtoMessage() {} |
| 1025 | |
| 1026 | func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message { |
| 1027 | mi := &file_metrics_proto_msgTypes[7] |
| 1028 | if protoimpl.UnsafeEnabled && x != nil { |
| 1029 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1030 | if ms.LoadMessageInfo() == nil { |
| 1031 | ms.StoreMessageInfo(mi) |
| 1032 | } |
| 1033 | return ms |
| 1034 | } |
| 1035 | return mi.MessageOf(x) |
| 1036 | } |
| 1037 | |
| 1038 | // Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead. |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1039 | func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1040 | return file_metrics_proto_rawDescGZIP(), []int{7} |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1041 | } |
| 1042 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1043 | func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics { |
| 1044 | if x != nil { |
| 1045 | return x.Cujs |
Colin Cross | d0be210 | 2019-11-26 16:16:57 -0800 | [diff] [blame] | 1046 | } |
| 1047 | return nil |
| 1048 | } |
| 1049 | |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1050 | type SoongBuildMetrics struct { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1051 | state protoimpl.MessageState |
| 1052 | sizeCache protoimpl.SizeCache |
| 1053 | unknownFields protoimpl.UnknownFields |
| 1054 | |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1055 | // The number of modules handled by soong_build. |
| 1056 | Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"` |
| 1057 | // The total number of variants handled by soong_build. |
| 1058 | Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"` |
| 1059 | // The total number of allocations in soong_build. |
| 1060 | TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"` |
| 1061 | // The total size of allocations in soong_build in bytes. |
| 1062 | TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"` |
| 1063 | // The approximate maximum size of the heap in soong_build in bytes. |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1064 | MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"` |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1065 | } |
| 1066 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1067 | func (x *SoongBuildMetrics) Reset() { |
| 1068 | *x = SoongBuildMetrics{} |
| 1069 | if protoimpl.UnsafeEnabled { |
| 1070 | mi := &file_metrics_proto_msgTypes[8] |
| 1071 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1072 | ms.StoreMessageInfo(mi) |
| 1073 | } |
| 1074 | } |
| 1075 | |
| 1076 | func (x *SoongBuildMetrics) String() string { |
| 1077 | return protoimpl.X.MessageStringOf(x) |
| 1078 | } |
| 1079 | |
| 1080 | func (*SoongBuildMetrics) ProtoMessage() {} |
| 1081 | |
| 1082 | func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message { |
| 1083 | mi := &file_metrics_proto_msgTypes[8] |
| 1084 | if protoimpl.UnsafeEnabled && x != nil { |
| 1085 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1086 | if ms.LoadMessageInfo() == nil { |
| 1087 | ms.StoreMessageInfo(mi) |
| 1088 | } |
| 1089 | return ms |
| 1090 | } |
| 1091 | return mi.MessageOf(x) |
| 1092 | } |
| 1093 | |
| 1094 | // Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead. |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1095 | func (*SoongBuildMetrics) Descriptor() ([]byte, []int) { |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1096 | return file_metrics_proto_rawDescGZIP(), []int{8} |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1097 | } |
| 1098 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1099 | func (x *SoongBuildMetrics) GetModules() uint32 { |
| 1100 | if x != nil && x.Modules != nil { |
| 1101 | return *x.Modules |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1102 | } |
| 1103 | return 0 |
| 1104 | } |
| 1105 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1106 | func (x *SoongBuildMetrics) GetVariants() uint32 { |
| 1107 | if x != nil && x.Variants != nil { |
| 1108 | return *x.Variants |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1109 | } |
| 1110 | return 0 |
| 1111 | } |
| 1112 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1113 | func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 { |
| 1114 | if x != nil && x.TotalAllocCount != nil { |
| 1115 | return *x.TotalAllocCount |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1116 | } |
| 1117 | return 0 |
| 1118 | } |
| 1119 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1120 | func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 { |
| 1121 | if x != nil && x.TotalAllocSize != nil { |
| 1122 | return *x.TotalAllocSize |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1123 | } |
| 1124 | return 0 |
| 1125 | } |
| 1126 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1127 | func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 { |
| 1128 | if x != nil && x.MaxHeapSize != nil { |
| 1129 | return *x.MaxHeapSize |
Colin Cross | b72c909 | 2020-02-10 11:23:49 -0800 | [diff] [blame] | 1130 | } |
| 1131 | return 0 |
| 1132 | } |
| 1133 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1134 | var File_metrics_proto protoreflect.FileDescriptor |
| 1135 | |
| 1136 | var file_metrics_proto_rawDesc = []byte{ |
| 1137 | 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 1138 | 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
| 1139 | 0x72, 0x69, 0x63, 0x73, 0x22, 0xd8, 0x0c, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 1140 | 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61, |
| 1141 | 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, |
| 1142 | 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 1143 | 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 1144 | 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, |
| 1145 | 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, |
| 1146 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, |
| 1147 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, |
| 1148 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, |
| 1149 | 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, |
| 1150 | 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, |
| 1151 | 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62, |
| 1152 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, |
| 1153 | 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 1154 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 1155 | 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, |
| 1156 | 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75, |
| 1157 | 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61, |
| 1158 | 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 1159 | 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 1160 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, |
| 1161 | 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, |
| 1162 | 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74, |
| 1163 | 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, |
| 1164 | 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, |
| 1165 | 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, |
| 1166 | 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, |
| 1167 | 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, |
| 1168 | 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73, |
| 1169 | 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, |
| 1170 | 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 1171 | 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41, |
| 1172 | 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f, |
| 1173 | 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32, |
| 1174 | 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, |
| 1175 | 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, |
| 1176 | 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, |
| 1177 | 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68, |
| 1178 | 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, |
| 1179 | 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, |
| 1180 | 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65, |
| 1181 | 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, |
| 1182 | 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, |
| 1183 | 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 1184 | 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68, |
| 1185 | 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e, |
| 1186 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41, |
| 1187 | 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, |
| 1188 | 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, |
| 1189 | 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72, |
| 1190 | 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20, |
| 1191 | 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73, |
| 1192 | 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, |
| 1193 | 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, |
| 1194 | 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 1195 | 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b, |
| 1196 | 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, |
| 1197 | 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, |
| 1198 | 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b, |
| 1199 | 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67, |
| 1200 | 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, |
| 1201 | 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, |
| 1202 | 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e, |
| 1203 | 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72, |
| 1204 | 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, |
| 1205 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, |
| 1206 | 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52, |
| 1207 | 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01, |
| 1208 | 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, |
| 1209 | 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, |
| 1210 | 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e, |
| 1211 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, |
| 1212 | 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 1213 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e, |
| 1214 | 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x11, 0x73, |
| 1215 | 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 1216 | 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 1217 | 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, |
| 1218 | 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69, |
| 1219 | 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, |
| 1220 | 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, |
| 1221 | 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, |
| 1222 | 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, |
| 1223 | 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1224 | 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, |
| 1225 | 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, |
| 1226 | 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, |
| 1227 | 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, |
| 1228 | 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x1a, 0x20, |
| 1229 | 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 1230 | 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, |
| 1231 | 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, |
| 1232 | 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, |
| 1233 | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52, 0x75, 0x6e, 0x73, 0x22, |
| 1234 | 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, |
| 1235 | 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x45, |
| 1236 | 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x47, 0x10, |
| 1237 | 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, |
| 1238 | 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10, 0x01, 0x12, |
| 1239 | 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, |
| 1240 | 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x04, 0x22, |
| 1241 | 0xb9, 0x01, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, |
| 1242 | 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1243 | 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, |
| 1244 | 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, |
| 1245 | 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, |
| 1246 | 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, |
| 1247 | 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x7a, |
| 1248 | 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 1249 | 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x12, |
| 1250 | 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, |
| 1251 | 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x7a, 0x65, |
| 1252 | 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x6f, 0x0a, 0x12, 0x53, |
| 1253 | 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, |
| 1254 | 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, |
| 1255 | 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, |
| 1256 | 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, |
| 1257 | 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, |
| 1258 | 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, |
| 1259 | 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xf3, 0x01, 0x0a, |
| 1260 | 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, |
| 1261 | 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x12, 0x0a, |
| 1262 | 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 1263 | 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, |
| 1264 | 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, |
| 1265 | 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, |
| 1266 | 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, |
| 1267 | 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 1268 | 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, |
| 1269 | 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, |
| 1270 | 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, |
| 1271 | 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 1272 | 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, |
| 1273 | 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, |
| 1274 | 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, |
| 1275 | 0x66, 0x6f, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, |
| 1276 | 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, |
| 1277 | 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, |
| 1278 | 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, |
| 1279 | 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, |
| 1280 | 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, |
| 1281 | 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, |
| 1282 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, |
| 1283 | 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, |
| 1284 | 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, |
| 1285 | 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, |
| 1286 | 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, |
| 1287 | 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, |
| 1288 | 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, |
| 1289 | 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, |
| 1290 | 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, |
| 1291 | 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, |
| 1292 | 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, |
| 1293 | 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, 0x20, 0x01, |
| 1294 | 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, |
| 1295 | 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, |
| 1296 | 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, |
| 1297 | 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, |
| 1298 | 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, |
| 1299 | 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, |
| 1300 | 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, |
| 1301 | 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, |
| 1302 | 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xe5, |
| 1303 | 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, |
| 1304 | 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, |
| 1305 | 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, |
| 1306 | 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x6f, |
| 1307 | 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x75, 0x69, |
| 1308 | 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, |
| 1309 | 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, |
| 1310 | 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, |
| 1311 | 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 1312 | 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, |
| 1313 | 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 0x6f, |
| 1314 | 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, |
| 1315 | 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, |
| 1316 | 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, |
| 1317 | 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, |
| 1318 | 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, |
| 1319 | 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 1320 | 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, |
| 1321 | 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, |
| 1322 | 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, |
| 1323 | 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x74, |
| 1324 | 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, |
| 1325 | 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, 0x74, 0x72, |
| 1326 | 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 1327 | 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 1328 | 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, |
| 1329 | 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, |
| 1330 | 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x11, 0x53, 0x6f, 0x6f, |
| 1331 | 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, |
| 1332 | 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, |
| 1333 | 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, |
| 1334 | 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, |
| 1335 | 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, |
| 1336 | 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, |
| 1337 | 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 1338 | 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, |
| 1339 | 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, |
| 1340 | 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, |
| 1341 | 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 1342 | 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x28, |
| 1343 | 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, |
| 1344 | 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 1345 | 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1346 | } |
| 1347 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1348 | var ( |
| 1349 | file_metrics_proto_rawDescOnce sync.Once |
| 1350 | file_metrics_proto_rawDescData = file_metrics_proto_rawDesc |
| 1351 | ) |
| 1352 | |
| 1353 | func file_metrics_proto_rawDescGZIP() []byte { |
| 1354 | file_metrics_proto_rawDescOnce.Do(func() { |
| 1355 | file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData) |
| 1356 | }) |
| 1357 | return file_metrics_proto_rawDescData |
Patrice Arruda | 9685036 | 2020-08-11 20:41:11 +0000 | [diff] [blame] | 1358 | } |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1359 | |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame] | 1360 | var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 1361 | var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 9) |
| 1362 | var file_metrics_proto_goTypes = []interface{}{ |
| 1363 | (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant |
| 1364 | (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch |
| 1365 | (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem |
| 1366 | (*MetricsBase)(nil), // 3: soong_build_metrics.MetricsBase |
| 1367 | (*BuildConfig)(nil), // 4: soong_build_metrics.BuildConfig |
| 1368 | (*SystemResourceInfo)(nil), // 5: soong_build_metrics.SystemResourceInfo |
| 1369 | (*PerfInfo)(nil), // 6: soong_build_metrics.PerfInfo |
| 1370 | (*ProcessResourceInfo)(nil), // 7: soong_build_metrics.ProcessResourceInfo |
| 1371 | (*ModuleTypeInfo)(nil), // 8: soong_build_metrics.ModuleTypeInfo |
| 1372 | (*CriticalUserJourneyMetrics)(nil), // 9: soong_build_metrics.CriticalUserJourneyMetrics |
| 1373 | (*CriticalUserJourneysMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneysMetrics |
| 1374 | (*SoongBuildMetrics)(nil), // 11: soong_build_metrics.SoongBuildMetrics |
| 1375 | } |
| 1376 | var file_metrics_proto_depIdxs = []int32{ |
| 1377 | 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant |
| 1378 | 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 1379 | 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 1380 | 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch |
| 1381 | 6, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo |
| 1382 | 6, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo |
| 1383 | 6, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo |
| 1384 | 6, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo |
| 1385 | 6, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo |
| 1386 | 11, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics |
| 1387 | 4, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig |
| 1388 | 5, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo |
| 1389 | 6, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo |
| 1390 | 7, // 13: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo |
| 1391 | 2, // 14: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem |
| 1392 | 3, // 15: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase |
| 1393 | 9, // 16: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics |
| 1394 | 17, // [17:17] is the sub-list for method output_type |
| 1395 | 17, // [17:17] is the sub-list for method input_type |
| 1396 | 17, // [17:17] is the sub-list for extension type_name |
| 1397 | 17, // [17:17] is the sub-list for extension extendee |
| 1398 | 0, // [0:17] is the sub-list for field type_name |
| 1399 | } |
| 1400 | |
| 1401 | func init() { file_metrics_proto_init() } |
| 1402 | func file_metrics_proto_init() { |
| 1403 | if File_metrics_proto != nil { |
| 1404 | return |
| 1405 | } |
| 1406 | if !protoimpl.UnsafeEnabled { |
| 1407 | file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1408 | switch v := v.(*MetricsBase); i { |
| 1409 | case 0: |
| 1410 | return &v.state |
| 1411 | case 1: |
| 1412 | return &v.sizeCache |
| 1413 | case 2: |
| 1414 | return &v.unknownFields |
| 1415 | default: |
| 1416 | return nil |
| 1417 | } |
| 1418 | } |
| 1419 | file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1420 | switch v := v.(*BuildConfig); i { |
| 1421 | case 0: |
| 1422 | return &v.state |
| 1423 | case 1: |
| 1424 | return &v.sizeCache |
| 1425 | case 2: |
| 1426 | return &v.unknownFields |
| 1427 | default: |
| 1428 | return nil |
| 1429 | } |
| 1430 | } |
| 1431 | file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1432 | switch v := v.(*SystemResourceInfo); i { |
| 1433 | case 0: |
| 1434 | return &v.state |
| 1435 | case 1: |
| 1436 | return &v.sizeCache |
| 1437 | case 2: |
| 1438 | return &v.unknownFields |
| 1439 | default: |
| 1440 | return nil |
| 1441 | } |
| 1442 | } |
| 1443 | file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1444 | switch v := v.(*PerfInfo); i { |
| 1445 | case 0: |
| 1446 | return &v.state |
| 1447 | case 1: |
| 1448 | return &v.sizeCache |
| 1449 | case 2: |
| 1450 | return &v.unknownFields |
| 1451 | default: |
| 1452 | return nil |
| 1453 | } |
| 1454 | } |
| 1455 | file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1456 | switch v := v.(*ProcessResourceInfo); i { |
| 1457 | case 0: |
| 1458 | return &v.state |
| 1459 | case 1: |
| 1460 | return &v.sizeCache |
| 1461 | case 2: |
| 1462 | return &v.unknownFields |
| 1463 | default: |
| 1464 | return nil |
| 1465 | } |
| 1466 | } |
| 1467 | file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1468 | switch v := v.(*ModuleTypeInfo); i { |
| 1469 | case 0: |
| 1470 | return &v.state |
| 1471 | case 1: |
| 1472 | return &v.sizeCache |
| 1473 | case 2: |
| 1474 | return &v.unknownFields |
| 1475 | default: |
| 1476 | return nil |
| 1477 | } |
| 1478 | } |
| 1479 | file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1480 | switch v := v.(*CriticalUserJourneyMetrics); i { |
| 1481 | case 0: |
| 1482 | return &v.state |
| 1483 | case 1: |
| 1484 | return &v.sizeCache |
| 1485 | case 2: |
| 1486 | return &v.unknownFields |
| 1487 | default: |
| 1488 | return nil |
| 1489 | } |
| 1490 | } |
| 1491 | file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1492 | switch v := v.(*CriticalUserJourneysMetrics); i { |
| 1493 | case 0: |
| 1494 | return &v.state |
| 1495 | case 1: |
| 1496 | return &v.sizeCache |
| 1497 | case 2: |
| 1498 | return &v.unknownFields |
| 1499 | default: |
| 1500 | return nil |
| 1501 | } |
| 1502 | } |
| 1503 | file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1504 | switch v := v.(*SoongBuildMetrics); i { |
| 1505 | case 0: |
| 1506 | return &v.state |
| 1507 | case 1: |
| 1508 | return &v.sizeCache |
| 1509 | case 2: |
| 1510 | return &v.unknownFields |
| 1511 | default: |
| 1512 | return nil |
| 1513 | } |
| 1514 | } |
| 1515 | } |
| 1516 | type x struct{} |
| 1517 | out := protoimpl.TypeBuilder{ |
| 1518 | File: protoimpl.DescBuilder{ |
| 1519 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1520 | RawDescriptor: file_metrics_proto_rawDesc, |
| 1521 | NumEnums: 3, |
| 1522 | NumMessages: 9, |
| 1523 | NumExtensions: 0, |
| 1524 | NumServices: 0, |
| 1525 | }, |
| 1526 | GoTypes: file_metrics_proto_goTypes, |
| 1527 | DependencyIndexes: file_metrics_proto_depIdxs, |
| 1528 | EnumInfos: file_metrics_proto_enumTypes, |
| 1529 | MessageInfos: file_metrics_proto_msgTypes, |
| 1530 | }.Build() |
| 1531 | File_metrics_proto = out.File |
| 1532 | file_metrics_proto_rawDesc = nil |
| 1533 | file_metrics_proto_goTypes = nil |
| 1534 | file_metrics_proto_depIdxs = nil |
Nan Zhang | 17f2767 | 2018-12-12 16:01:49 -0800 | [diff] [blame] | 1535 | } |