blob: 697e9549a3e8f441639c3bb45f4fa664f6d57573 [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// 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 Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
17// protoc-gen-go v1.26.0
18// protoc v3.9.1
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
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 Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
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 Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
70 return file_metrics_proto_enumTypes[0].Descriptor()
71}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
74 return &file_metrics_proto_enumTypes[0]
75}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 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 Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
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 Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
135 return file_metrics_proto_enumTypes[1].Descriptor()
136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
139 return &file_metrics_proto_enumTypes[1]
140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700161type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800162
163const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700164 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
165 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
166 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800167)
168
Dan Willemsen4591b642021-05-24 14:24:12 -0700169// Enum value maps for ModuleTypeInfo_BuildSystem.
170var (
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 Zhang17f27672018-12-12 16:01:49 -0800182
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700183func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
184 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800185 *p = x
186 return p
187}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700188
189func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700190 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800191}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700192
Dan Willemsen4591b642021-05-24 14:24:12 -0700193func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
194 return file_metrics_proto_enumTypes[2].Descriptor()
195}
196
197func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
198 return &file_metrics_proto_enumTypes[2]
199}
200
201func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
202 return protoreflect.EnumNumber(x)
203}
204
205// Deprecated: Do not use.
206func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
207 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800208 if err != nil {
209 return err
210 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700211 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800212 return nil
213}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700214
Dan Willemsen4591b642021-05-24 14:24:12 -0700215// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700217 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800218}
219
220type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700221 state protoimpl.MessageState
222 sizeCache protoimpl.SizeCache
223 unknownFields protoimpl.UnknownFields
224
Nan Zhang17f27672018-12-12 16:01:49 -0800225 // 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 Arruda0cc5b212019-06-14 15:27:46 -0700234 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 Zhang17f27672018-12-12 16:01:49 -0800235 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700236 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 Zhang17f27672018-12-12 16:01:49 -0800237 // 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 Arruda0cc5b212019-06-14 15:27:46 -0700242 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 Zhang17f27672018-12-12 16:01:49 -0800243 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700244 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 Zhang17f27672018-12-12 16:01:49 -0800245 // 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 Cross74cda722020-01-16 15:25:50 -0800264 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
265 // The metrics for the whole build
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000266 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 Arruda3edfd482020-10-13 23:58:41 +0000269 // 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 Arrudae92c30d2020-10-29 11:01:32 -0700272 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 Arrudab7cf9ba2020-11-13 13:04:17 -0800274 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
275 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700276 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800277}
278
Dan Willemsen4591b642021-05-24 14:24:12 -0700279// Default values for MetricsBase fields.
280const (
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
287func (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
296func (x *MetricsBase) String() string {
297 return protoimpl.X.MessageStringOf(x)
298}
299
300func (*MetricsBase) ProtoMessage() {}
301
302func (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 Zhang17f27672018-12-12 16:01:49 -0800315func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700316 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800317}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700318
Dan Willemsen4591b642021-05-24 14:24:12 -0700319func (x *MetricsBase) GetBuildDateTimestamp() int64 {
320 if x != nil && x.BuildDateTimestamp != nil {
321 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800322 }
323 return 0
324}
325
Dan Willemsen4591b642021-05-24 14:24:12 -0700326func (x *MetricsBase) GetBuildId() string {
327 if x != nil && x.BuildId != nil {
328 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800329 }
330 return ""
331}
332
Dan Willemsen4591b642021-05-24 14:24:12 -0700333func (x *MetricsBase) GetPlatformVersionCodename() string {
334 if x != nil && x.PlatformVersionCodename != nil {
335 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800336 }
337 return ""
338}
339
Dan Willemsen4591b642021-05-24 14:24:12 -0700340func (x *MetricsBase) GetTargetProduct() string {
341 if x != nil && x.TargetProduct != nil {
342 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800343 }
344 return ""
345}
346
Dan Willemsen4591b642021-05-24 14:24:12 -0700347func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
348 if x != nil && x.TargetBuildVariant != nil {
349 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800350 }
351 return Default_MetricsBase_TargetBuildVariant
352}
353
Dan Willemsen4591b642021-05-24 14:24:12 -0700354func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
355 if x != nil && x.TargetArch != nil {
356 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800357 }
358 return Default_MetricsBase_TargetArch
359}
360
Dan Willemsen4591b642021-05-24 14:24:12 -0700361func (x *MetricsBase) GetTargetArchVariant() string {
362 if x != nil && x.TargetArchVariant != nil {
363 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800364 }
365 return ""
366}
367
Dan Willemsen4591b642021-05-24 14:24:12 -0700368func (x *MetricsBase) GetTargetCpuVariant() string {
369 if x != nil && x.TargetCpuVariant != nil {
370 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800371 }
372 return ""
373}
374
Dan Willemsen4591b642021-05-24 14:24:12 -0700375func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
376 if x != nil && x.HostArch != nil {
377 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800378 }
379 return Default_MetricsBase_HostArch
380}
381
Dan Willemsen4591b642021-05-24 14:24:12 -0700382func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
383 if x != nil && x.Host_2NdArch != nil {
384 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800385 }
386 return Default_MetricsBase_Host_2NdArch
387}
388
Dan Willemsen4591b642021-05-24 14:24:12 -0700389func (x *MetricsBase) GetHostOs() string {
390 if x != nil && x.HostOs != nil {
391 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800392 }
393 return ""
394}
395
Dan Willemsen4591b642021-05-24 14:24:12 -0700396func (x *MetricsBase) GetHostOsExtra() string {
397 if x != nil && x.HostOsExtra != nil {
398 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800399 }
400 return ""
401}
402
Dan Willemsen4591b642021-05-24 14:24:12 -0700403func (x *MetricsBase) GetHostCrossOs() string {
404 if x != nil && x.HostCrossOs != nil {
405 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800406 }
407 return ""
408}
409
Dan Willemsen4591b642021-05-24 14:24:12 -0700410func (x *MetricsBase) GetHostCrossArch() string {
411 if x != nil && x.HostCrossArch != nil {
412 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800413 }
414 return ""
415}
416
Dan Willemsen4591b642021-05-24 14:24:12 -0700417func (x *MetricsBase) GetHostCross_2NdArch() string {
418 if x != nil && x.HostCross_2NdArch != nil {
419 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800420 }
421 return ""
422}
423
Dan Willemsen4591b642021-05-24 14:24:12 -0700424func (x *MetricsBase) GetOutDir() string {
425 if x != nil && x.OutDir != nil {
426 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800427 }
428 return ""
429}
430
Dan Willemsen4591b642021-05-24 14:24:12 -0700431func (x *MetricsBase) GetSetupTools() []*PerfInfo {
432 if x != nil {
433 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800434 }
435 return nil
436}
437
Dan Willemsen4591b642021-05-24 14:24:12 -0700438func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
439 if x != nil {
440 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800441 }
442 return nil
443}
444
Dan Willemsen4591b642021-05-24 14:24:12 -0700445func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
446 if x != nil {
447 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800448 }
449 return nil
450}
451
Dan Willemsen4591b642021-05-24 14:24:12 -0700452func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
453 if x != nil {
454 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800455 }
456 return nil
457}
458
Dan Willemsen4591b642021-05-24 14:24:12 -0700459func (x *MetricsBase) GetTotal() *PerfInfo {
460 if x != nil {
461 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800462 }
463 return nil
464}
465
Dan Willemsen4591b642021-05-24 14:24:12 -0700466func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
467 if x != nil {
468 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800469 }
470 return nil
471}
472
Dan Willemsen4591b642021-05-24 14:24:12 -0700473func (x *MetricsBase) GetBuildConfig() *BuildConfig {
474 if x != nil {
475 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000476 }
477 return nil
478}
479
Dan Willemsen4591b642021-05-24 14:24:12 -0700480func (x *MetricsBase) GetHostname() string {
481 if x != nil && x.Hostname != nil {
482 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000483 }
484 return ""
485}
486
Dan Willemsen4591b642021-05-24 14:24:12 -0700487func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
488 if x != nil {
489 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000490 }
491 return nil
492}
493
Dan Willemsen4591b642021-05-24 14:24:12 -0700494func (x *MetricsBase) GetBuildCommand() string {
495 if x != nil && x.BuildCommand != nil {
496 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700497 }
498 return ""
499}
500
Dan Willemsen4591b642021-05-24 14:24:12 -0700501func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
502 if x != nil {
503 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800504 }
505 return nil
506}
507
Patrice Arruda96850362020-08-11 20:41:11 +0000508type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700509 state protoimpl.MessageState
510 sizeCache protoimpl.SizeCache
511 unknownFields protoimpl.UnknownFields
512
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400513 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 Willemsen4591b642021-05-24 14:24:12 -0700520 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000521}
522
Dan Willemsen4591b642021-05-24 14:24:12 -0700523func (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
532func (x *BuildConfig) String() string {
533 return protoimpl.X.MessageStringOf(x)
534}
535
536func (*BuildConfig) ProtoMessage() {}
537
538func (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 Arruda96850362020-08-11 20:41:11 +0000551func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700552 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000553}
554
Dan Willemsen4591b642021-05-24 14:24:12 -0700555func (x *BuildConfig) GetUseGoma() bool {
556 if x != nil && x.UseGoma != nil {
557 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000558 }
559 return false
560}
561
Dan Willemsen4591b642021-05-24 14:24:12 -0700562func (x *BuildConfig) GetUseRbe() bool {
563 if x != nil && x.UseRbe != nil {
564 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000565 }
566 return false
567}
568
Dan Willemsen4591b642021-05-24 14:24:12 -0700569func (x *BuildConfig) GetForceUseGoma() bool {
570 if x != nil && x.ForceUseGoma != nil {
571 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000572 }
573 return false
574}
575
Dan Willemsen4591b642021-05-24 14:24:12 -0700576func (x *BuildConfig) GetBazelAsNinja() bool {
577 if x != nil && x.BazelAsNinja != nil {
578 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400579 }
580 return false
581}
582
Dan Willemsen4591b642021-05-24 14:24:12 -0700583func (x *BuildConfig) GetBazelMixedBuild() bool {
584 if x != nil && x.BazelMixedBuild != nil {
585 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400586 }
587 return false
588}
589
Patrice Arruda3edfd482020-10-13 23:58:41 +0000590type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700591 state protoimpl.MessageState
592 sizeCache protoimpl.SizeCache
593 unknownFields protoimpl.UnknownFields
594
Patrice Arruda3edfd482020-10-13 23:58:41 +0000595 // 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 Willemsen4591b642021-05-24 14:24:12 -0700598 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000599}
600
Dan Willemsen4591b642021-05-24 14:24:12 -0700601func (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
610func (x *SystemResourceInfo) String() string {
611 return protoimpl.X.MessageStringOf(x)
612}
613
614func (*SystemResourceInfo) ProtoMessage() {}
615
616func (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 Arruda3edfd482020-10-13 23:58:41 +0000629func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700630 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000631}
632
Dan Willemsen4591b642021-05-24 14:24:12 -0700633func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
634 if x != nil && x.TotalPhysicalMemory != nil {
635 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000636 }
637 return 0
638}
639
Dan Willemsen4591b642021-05-24 14:24:12 -0700640func (x *SystemResourceInfo) GetAvailableCpus() int32 {
641 if x != nil && x.AvailableCpus != nil {
642 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000643 }
644 return 0
645}
646
Nan Zhang17f27672018-12-12 16:01:49 -0800647type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700648 state protoimpl.MessageState
649 sizeCache protoimpl.SizeCache
650 unknownFields protoimpl.UnknownFields
651
Nan Zhang17f27672018-12-12 16:01:49 -0800652 // 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 Arrudafec3bf22020-10-19 10:55:34 -0700662 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700663 //
664 // Deprecated: Do not use.
665 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700666 // 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 Zhang17f27672018-12-12 16:01:49 -0800668}
669
Dan Willemsen4591b642021-05-24 14:24:12 -0700670func (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
679func (x *PerfInfo) String() string {
680 return protoimpl.X.MessageStringOf(x)
681}
682
683func (*PerfInfo) ProtoMessage() {}
684
685func (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 Zhang17f27672018-12-12 16:01:49 -0800698func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700699 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800700}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700701
Dan Willemsen4591b642021-05-24 14:24:12 -0700702func (x *PerfInfo) GetDesc() string {
703 if x != nil && x.Desc != nil {
704 return *x.Desc
Nan Zhang17f27672018-12-12 16:01:49 -0800705 }
706 return ""
707}
708
Dan Willemsen4591b642021-05-24 14:24:12 -0700709func (x *PerfInfo) GetName() string {
710 if x != nil && x.Name != nil {
711 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800712 }
713 return ""
714}
715
Dan Willemsen4591b642021-05-24 14:24:12 -0700716func (x *PerfInfo) GetStartTime() uint64 {
717 if x != nil && x.StartTime != nil {
718 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800719 }
720 return 0
721}
722
Dan Willemsen4591b642021-05-24 14:24:12 -0700723func (x *PerfInfo) GetRealTime() uint64 {
724 if x != nil && x.RealTime != nil {
725 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800726 }
727 return 0
728}
729
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700730// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700731func (x *PerfInfo) GetMemoryUse() uint64 {
732 if x != nil && x.MemoryUse != nil {
733 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800734 }
735 return 0
736}
737
Dan Willemsen4591b642021-05-24 14:24:12 -0700738func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
739 if x != nil {
740 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700741 }
742 return nil
743}
744
745type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700746 state protoimpl.MessageState
747 sizeCache protoimpl.SizeCache
748 unknownFields protoimpl.UnknownFields
749
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700750 // 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 Willemsen4591b642021-05-24 14:24:12 -0700769 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700770}
771
Dan Willemsen4591b642021-05-24 14:24:12 -0700772func (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
781func (x *ProcessResourceInfo) String() string {
782 return protoimpl.X.MessageStringOf(x)
783}
784
785func (*ProcessResourceInfo) ProtoMessage() {}
786
787func (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 Arrudafec3bf22020-10-19 10:55:34 -0700800func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700801 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700802}
803
Dan Willemsen4591b642021-05-24 14:24:12 -0700804func (x *ProcessResourceInfo) GetName() string {
805 if x != nil && x.Name != nil {
806 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700807 }
808 return ""
809}
810
Dan Willemsen4591b642021-05-24 14:24:12 -0700811func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
812 if x != nil && x.UserTimeMicros != nil {
813 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700814 }
815 return 0
816}
817
Dan Willemsen4591b642021-05-24 14:24:12 -0700818func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
819 if x != nil && x.SystemTimeMicros != nil {
820 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700821 }
822 return 0
823}
824
Dan Willemsen4591b642021-05-24 14:24:12 -0700825func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
826 if x != nil && x.MaxRssKb != nil {
827 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700828 }
829 return 0
830}
831
Dan Willemsen4591b642021-05-24 14:24:12 -0700832func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
833 if x != nil && x.MinorPageFaults != nil {
834 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700835 }
836 return 0
837}
838
Dan Willemsen4591b642021-05-24 14:24:12 -0700839func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
840 if x != nil && x.MajorPageFaults != nil {
841 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700842 }
843 return 0
844}
845
Dan Willemsen4591b642021-05-24 14:24:12 -0700846func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
847 if x != nil && x.IoInputKb != nil {
848 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700849 }
850 return 0
851}
852
Dan Willemsen4591b642021-05-24 14:24:12 -0700853func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
854 if x != nil && x.IoOutputKb != nil {
855 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700856 }
857 return 0
858}
859
Dan Willemsen4591b642021-05-24 14:24:12 -0700860func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
861 if x != nil && x.VoluntaryContextSwitches != nil {
862 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700863 }
864 return 0
865}
866
Dan Willemsen4591b642021-05-24 14:24:12 -0700867func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
868 if x != nil && x.InvoluntaryContextSwitches != nil {
869 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700870 }
871 return 0
872}
873
Nan Zhang17f27672018-12-12 16:01:49 -0800874type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700875 state protoimpl.MessageState
876 sizeCache protoimpl.SizeCache
877 unknownFields protoimpl.UnknownFields
878
Nan Zhang17f27672018-12-12 16:01:49 -0800879 // The build system, eg. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700880 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 Zhang17f27672018-12-12 16:01:49 -0800881 // 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 Willemsen4591b642021-05-24 14:24:12 -0700884 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800885}
886
Dan Willemsen4591b642021-05-24 14:24:12 -0700887// Default values for ModuleTypeInfo fields.
888const (
889 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
890)
891
892func (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
901func (x *ModuleTypeInfo) String() string {
902 return protoimpl.X.MessageStringOf(x)
903}
904
905func (*ModuleTypeInfo) ProtoMessage() {}
906
907func (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 Zhang17f27672018-12-12 16:01:49 -0800920func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700921 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -0800922}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700923
Dan Willemsen4591b642021-05-24 14:24:12 -0700924func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
925 if x != nil && x.BuildSystem != nil {
926 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -0800927 }
928 return Default_ModuleTypeInfo_BuildSystem
929}
930
Dan Willemsen4591b642021-05-24 14:24:12 -0700931func (x *ModuleTypeInfo) GetModuleType() string {
932 if x != nil && x.ModuleType != nil {
933 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -0800934 }
935 return ""
936}
937
Dan Willemsen4591b642021-05-24 14:24:12 -0700938func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
939 if x != nil && x.NumOfModules != nil {
940 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -0800941 }
942 return 0
943}
944
Colin Crossd0be2102019-11-26 16:16:57 -0800945type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700946 state protoimpl.MessageState
947 sizeCache protoimpl.SizeCache
948 unknownFields protoimpl.UnknownFields
949
Colin Crossd0be2102019-11-26 16:16:57 -0800950 // 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 Willemsen4591b642021-05-24 14:24:12 -0700953 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -0800954}
955
Dan Willemsen4591b642021-05-24 14:24:12 -0700956func (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
965func (x *CriticalUserJourneyMetrics) String() string {
966 return protoimpl.X.MessageStringOf(x)
967}
968
969func (*CriticalUserJourneyMetrics) ProtoMessage() {}
970
971func (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 Crossd0be2102019-11-26 16:16:57 -0800984func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700985 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -0800986}
987
Dan Willemsen4591b642021-05-24 14:24:12 -0700988func (x *CriticalUserJourneyMetrics) GetName() string {
989 if x != nil && x.Name != nil {
990 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -0800991 }
992 return ""
993}
994
Dan Willemsen4591b642021-05-24 14:24:12 -0700995func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
996 if x != nil {
997 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -0800998 }
999 return nil
1000}
1001
1002type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001003 state protoimpl.MessageState
1004 sizeCache protoimpl.SizeCache
1005 unknownFields protoimpl.UnknownFields
1006
Colin Crossd0be2102019-11-26 16:16:57 -08001007 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001008 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001009}
1010
Dan Willemsen4591b642021-05-24 14:24:12 -07001011func (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
1020func (x *CriticalUserJourneysMetrics) String() string {
1021 return protoimpl.X.MessageStringOf(x)
1022}
1023
1024func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1025
1026func (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 Crossd0be2102019-11-26 16:16:57 -08001039func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001040 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001041}
1042
Dan Willemsen4591b642021-05-24 14:24:12 -07001043func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1044 if x != nil {
1045 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001046 }
1047 return nil
1048}
1049
Colin Crossb72c9092020-02-10 11:23:49 -08001050type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001051 state protoimpl.MessageState
1052 sizeCache protoimpl.SizeCache
1053 unknownFields protoimpl.UnknownFields
1054
Colin Crossb72c9092020-02-10 11:23:49 -08001055 // 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 Willemsen4591b642021-05-24 14:24:12 -07001064 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001065}
1066
Dan Willemsen4591b642021-05-24 14:24:12 -07001067func (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
1076func (x *SoongBuildMetrics) String() string {
1077 return protoimpl.X.MessageStringOf(x)
1078}
1079
1080func (*SoongBuildMetrics) ProtoMessage() {}
1081
1082func (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 Crossb72c9092020-02-10 11:23:49 -08001095func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001096 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001097}
1098
Dan Willemsen4591b642021-05-24 14:24:12 -07001099func (x *SoongBuildMetrics) GetModules() uint32 {
1100 if x != nil && x.Modules != nil {
1101 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001102 }
1103 return 0
1104}
1105
Dan Willemsen4591b642021-05-24 14:24:12 -07001106func (x *SoongBuildMetrics) GetVariants() uint32 {
1107 if x != nil && x.Variants != nil {
1108 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001109 }
1110 return 0
1111}
1112
Dan Willemsen4591b642021-05-24 14:24:12 -07001113func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1114 if x != nil && x.TotalAllocCount != nil {
1115 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001116 }
1117 return 0
1118}
1119
Dan Willemsen4591b642021-05-24 14:24:12 -07001120func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1121 if x != nil && x.TotalAllocSize != nil {
1122 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001123 }
1124 return 0
1125}
1126
Dan Willemsen4591b642021-05-24 14:24:12 -07001127func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1128 if x != nil && x.MaxHeapSize != nil {
1129 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001130 }
1131 return 0
1132}
1133
Dan Willemsen4591b642021-05-24 14:24:12 -07001134var File_metrics_proto protoreflect.FileDescriptor
1135
1136var 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 Zhang17f27672018-12-12 16:01:49 -08001346}
1347
Dan Willemsen4591b642021-05-24 14:24:12 -07001348var (
1349 file_metrics_proto_rawDescOnce sync.Once
1350 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1351)
1352
1353func 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 Arruda96850362020-08-11 20:41:11 +00001358}
Nan Zhang17f27672018-12-12 16:01:49 -08001359
Dan Willemsen4591b642021-05-24 14:24:12 -07001360var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1361var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
1362var 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}
1376var 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
1401func init() { file_metrics_proto_init() }
1402func 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 Zhang17f27672018-12-12 16:01:49 -08001535}