blob: fc2cfa492115304a8ba1223423778e3ac4aed1d6 [file] [log] [blame]
Nan Zhang17f27672018-12-12 16:01:49 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: metrics.proto
3
Patrice Arruda0cc5b212019-06-14 15:27:46 -07004package soong_metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -08005
Patrice Arruda0cc5b212019-06-14 15:27:46 -07006import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
Nan Zhang17f27672018-12-12 16:01:49 -080011
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070021const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080024
25const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070026 MetricsBase_USER MetricsBase_BuildVariant = 0
27 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
28 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080029)
30
Patrice Arruda0cc5b212019-06-14 15:27:46 -070031var MetricsBase_BuildVariant_name = map[int32]string{
Nan Zhang17f27672018-12-12 16:01:49 -080032 0: "USER",
33 1: "USERDEBUG",
34 2: "ENG",
35}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070036
37var MetricsBase_BuildVariant_value = map[string]int32{
Nan Zhang17f27672018-12-12 16:01:49 -080038 "USER": 0,
39 "USERDEBUG": 1,
40 "ENG": 2,
41}
42
Patrice Arruda0cc5b212019-06-14 15:27:46 -070043func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
44 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080045 *p = x
46 return p
47}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070048
49func (x MetricsBase_BuildVariant) String() string {
50 return proto.EnumName(MetricsBase_BuildVariant_name, int32(x))
Nan Zhang17f27672018-12-12 16:01:49 -080051}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070052
53func (x *MetricsBase_BuildVariant) UnmarshalJSON(data []byte) error {
54 value, err := proto.UnmarshalJSONEnum(MetricsBase_BuildVariant_value, data, "MetricsBase_BuildVariant")
Nan Zhang17f27672018-12-12 16:01:49 -080055 if err != nil {
56 return err
57 }
Patrice Arruda0cc5b212019-06-14 15:27:46 -070058 *x = MetricsBase_BuildVariant(value)
Nan Zhang17f27672018-12-12 16:01:49 -080059 return nil
60}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070061
62func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
63 return fileDescriptor_6039342a2ba47b72, []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080064}
65
Patrice Arruda0cc5b212019-06-14 15:27:46 -070066type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080067
68const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070069 MetricsBase_UNKNOWN MetricsBase_Arch = 0
70 MetricsBase_ARM MetricsBase_Arch = 1
71 MetricsBase_ARM64 MetricsBase_Arch = 2
72 MetricsBase_X86 MetricsBase_Arch = 3
73 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -080074)
75
Patrice Arruda0cc5b212019-06-14 15:27:46 -070076var MetricsBase_Arch_name = map[int32]string{
Nan Zhang17f27672018-12-12 16:01:49 -080077 0: "UNKNOWN",
78 1: "ARM",
79 2: "ARM64",
80 3: "X86",
81 4: "X86_64",
82}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070083
84var MetricsBase_Arch_value = map[string]int32{
Nan Zhang17f27672018-12-12 16:01:49 -080085 "UNKNOWN": 0,
86 "ARM": 1,
87 "ARM64": 2,
88 "X86": 3,
89 "X86_64": 4,
90}
91
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
93 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -080094 *p = x
95 return p
96}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070097
98func (x MetricsBase_Arch) String() string {
99 return proto.EnumName(MetricsBase_Arch_name, int32(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800100}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700101
102func (x *MetricsBase_Arch) UnmarshalJSON(data []byte) error {
103 value, err := proto.UnmarshalJSONEnum(MetricsBase_Arch_value, data, "MetricsBase_Arch")
Nan Zhang17f27672018-12-12 16:01:49 -0800104 if err != nil {
105 return err
106 }
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700107 *x = MetricsBase_Arch(value)
Nan Zhang17f27672018-12-12 16:01:49 -0800108 return nil
109}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700110
111func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
112 return fileDescriptor_6039342a2ba47b72, []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800113}
114
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700115type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800116
117const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700118 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
119 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
120 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800121)
122
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700123var ModuleTypeInfo_BuildSystem_name = map[int32]string{
Nan Zhang17f27672018-12-12 16:01:49 -0800124 0: "UNKNOWN",
125 1: "SOONG",
126 2: "MAKE",
127}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700128
129var ModuleTypeInfo_BuildSystem_value = map[string]int32{
Nan Zhang17f27672018-12-12 16:01:49 -0800130 "UNKNOWN": 0,
131 "SOONG": 1,
132 "MAKE": 2,
133}
134
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700135func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
136 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800137 *p = x
138 return p
139}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700140
141func (x ModuleTypeInfo_BuildSystem) String() string {
142 return proto.EnumName(ModuleTypeInfo_BuildSystem_name, int32(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800143}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700144
145func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(data []byte) error {
146 value, err := proto.UnmarshalJSONEnum(ModuleTypeInfo_BuildSystem_value, data, "ModuleTypeInfo_BuildSystem")
Nan Zhang17f27672018-12-12 16:01:49 -0800147 if err != nil {
148 return err
149 }
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700150 *x = ModuleTypeInfo_BuildSystem(value)
Nan Zhang17f27672018-12-12 16:01:49 -0800151 return nil
152}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700153
154func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700155 return fileDescriptor_6039342a2ba47b72, []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800156}
157
158type MetricsBase struct {
159 // Timestamp generated when the build starts.
160 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
161 // It is usually used to specify the branch name [and release candidate].
162 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
163 // The platform version codename, eg. P, Q, REL.
164 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
165 // The target product information, eg. aosp_arm.
166 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
167 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700168 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 -0800169 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700170 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 -0800171 // The target arch variant information, eg. armv7-a-neon.
172 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
173 // The target cpu variant information, eg. generic.
174 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
175 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700176 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 -0800177 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700178 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 -0800179 // The host os information, eg. linux.
180 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
181 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
182 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
183 // The host cross os information, eg. windows.
184 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
185 // The host cross arch information, eg. x86.
186 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
187 // The host cross 2nd arch information, eg. x86_64.
188 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
189 // The directory for generated built artifacts installation, eg. out.
190 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
191 // The metrics for calling various tools (microfactory) before Soong_UI starts.
192 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
193 // The metrics for calling Kati by multiple times.
194 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
195 // The metrics for calling Soong.
196 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
197 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800198 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
199 // The metrics for the whole build
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000200 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
201 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
202 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000203 // The hostname of the machine.
204 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
205 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700206 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
207 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800208 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
209 // The metrics for calling Bazel.
210 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
211 XXX_NoUnkeyedLiteral struct{} `json:"-"`
212 XXX_unrecognized []byte `json:"-"`
213 XXX_sizecache int32 `json:"-"`
Nan Zhang17f27672018-12-12 16:01:49 -0800214}
215
216func (m *MetricsBase) Reset() { *m = MetricsBase{} }
217func (m *MetricsBase) String() string { return proto.CompactTextString(m) }
218func (*MetricsBase) ProtoMessage() {}
219func (*MetricsBase) Descriptor() ([]byte, []int) {
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700220 return fileDescriptor_6039342a2ba47b72, []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800221}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700222
Nan Zhang17f27672018-12-12 16:01:49 -0800223func (m *MetricsBase) XXX_Unmarshal(b []byte) error {
224 return xxx_messageInfo_MetricsBase.Unmarshal(m, b)
225}
226func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
227 return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic)
228}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700229func (m *MetricsBase) XXX_Merge(src proto.Message) {
230 xxx_messageInfo_MetricsBase.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800231}
232func (m *MetricsBase) XXX_Size() int {
233 return xxx_messageInfo_MetricsBase.Size(m)
234}
235func (m *MetricsBase) XXX_DiscardUnknown() {
236 xxx_messageInfo_MetricsBase.DiscardUnknown(m)
237}
238
239var xxx_messageInfo_MetricsBase proto.InternalMessageInfo
240
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700241const Default_MetricsBase_TargetBuildVariant MetricsBase_BuildVariant = MetricsBase_ENG
242const Default_MetricsBase_TargetArch MetricsBase_Arch = MetricsBase_UNKNOWN
243const Default_MetricsBase_HostArch MetricsBase_Arch = MetricsBase_UNKNOWN
244const Default_MetricsBase_Host_2NdArch MetricsBase_Arch = MetricsBase_UNKNOWN
Nan Zhang17f27672018-12-12 16:01:49 -0800245
246func (m *MetricsBase) GetBuildDateTimestamp() int64 {
247 if m != nil && m.BuildDateTimestamp != nil {
248 return *m.BuildDateTimestamp
249 }
250 return 0
251}
252
253func (m *MetricsBase) GetBuildId() string {
254 if m != nil && m.BuildId != nil {
255 return *m.BuildId
256 }
257 return ""
258}
259
260func (m *MetricsBase) GetPlatformVersionCodename() string {
261 if m != nil && m.PlatformVersionCodename != nil {
262 return *m.PlatformVersionCodename
263 }
264 return ""
265}
266
267func (m *MetricsBase) GetTargetProduct() string {
268 if m != nil && m.TargetProduct != nil {
269 return *m.TargetProduct
270 }
271 return ""
272}
273
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700274func (m *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
Nan Zhang17f27672018-12-12 16:01:49 -0800275 if m != nil && m.TargetBuildVariant != nil {
276 return *m.TargetBuildVariant
277 }
278 return Default_MetricsBase_TargetBuildVariant
279}
280
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700281func (m *MetricsBase) GetTargetArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800282 if m != nil && m.TargetArch != nil {
283 return *m.TargetArch
284 }
285 return Default_MetricsBase_TargetArch
286}
287
288func (m *MetricsBase) GetTargetArchVariant() string {
289 if m != nil && m.TargetArchVariant != nil {
290 return *m.TargetArchVariant
291 }
292 return ""
293}
294
295func (m *MetricsBase) GetTargetCpuVariant() string {
296 if m != nil && m.TargetCpuVariant != nil {
297 return *m.TargetCpuVariant
298 }
299 return ""
300}
301
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700302func (m *MetricsBase) GetHostArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800303 if m != nil && m.HostArch != nil {
304 return *m.HostArch
305 }
306 return Default_MetricsBase_HostArch
307}
308
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700309func (m *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800310 if m != nil && m.Host_2NdArch != nil {
311 return *m.Host_2NdArch
312 }
313 return Default_MetricsBase_Host_2NdArch
314}
315
316func (m *MetricsBase) GetHostOs() string {
317 if m != nil && m.HostOs != nil {
318 return *m.HostOs
319 }
320 return ""
321}
322
323func (m *MetricsBase) GetHostOsExtra() string {
324 if m != nil && m.HostOsExtra != nil {
325 return *m.HostOsExtra
326 }
327 return ""
328}
329
330func (m *MetricsBase) GetHostCrossOs() string {
331 if m != nil && m.HostCrossOs != nil {
332 return *m.HostCrossOs
333 }
334 return ""
335}
336
337func (m *MetricsBase) GetHostCrossArch() string {
338 if m != nil && m.HostCrossArch != nil {
339 return *m.HostCrossArch
340 }
341 return ""
342}
343
344func (m *MetricsBase) GetHostCross_2NdArch() string {
345 if m != nil && m.HostCross_2NdArch != nil {
346 return *m.HostCross_2NdArch
347 }
348 return ""
349}
350
351func (m *MetricsBase) GetOutDir() string {
352 if m != nil && m.OutDir != nil {
353 return *m.OutDir
354 }
355 return ""
356}
357
358func (m *MetricsBase) GetSetupTools() []*PerfInfo {
359 if m != nil {
360 return m.SetupTools
361 }
362 return nil
363}
364
365func (m *MetricsBase) GetKatiRuns() []*PerfInfo {
366 if m != nil {
367 return m.KatiRuns
368 }
369 return nil
370}
371
372func (m *MetricsBase) GetSoongRuns() []*PerfInfo {
373 if m != nil {
374 return m.SoongRuns
375 }
376 return nil
377}
378
379func (m *MetricsBase) GetNinjaRuns() []*PerfInfo {
380 if m != nil {
381 return m.NinjaRuns
382 }
383 return nil
384}
385
Colin Cross74cda722020-01-16 15:25:50 -0800386func (m *MetricsBase) GetTotal() *PerfInfo {
387 if m != nil {
388 return m.Total
389 }
390 return nil
391}
392
Colin Crossb72c9092020-02-10 11:23:49 -0800393func (m *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
394 if m != nil {
395 return m.SoongBuildMetrics
396 }
397 return nil
398}
399
Patrice Arruda96850362020-08-11 20:41:11 +0000400func (m *MetricsBase) GetBuildConfig() *BuildConfig {
401 if m != nil {
402 return m.BuildConfig
403 }
404 return nil
405}
406
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000407func (m *MetricsBase) GetHostname() string {
408 if m != nil && m.Hostname != nil {
409 return *m.Hostname
410 }
411 return ""
412}
413
Patrice Arruda3edfd482020-10-13 23:58:41 +0000414func (m *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
415 if m != nil {
416 return m.SystemResourceInfo
417 }
418 return nil
419}
420
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700421func (m *MetricsBase) GetBuildCommand() string {
422 if m != nil && m.BuildCommand != nil {
423 return *m.BuildCommand
424 }
425 return ""
426}
427
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800428func (m *MetricsBase) GetBazelRuns() []*PerfInfo {
429 if m != nil {
430 return m.BazelRuns
431 }
432 return nil
433}
434
Patrice Arruda96850362020-08-11 20:41:11 +0000435type BuildConfig struct {
436 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
437 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000438 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000439 XXX_NoUnkeyedLiteral struct{} `json:"-"`
440 XXX_unrecognized []byte `json:"-"`
441 XXX_sizecache int32 `json:"-"`
442}
443
444func (m *BuildConfig) Reset() { *m = BuildConfig{} }
445func (m *BuildConfig) String() string { return proto.CompactTextString(m) }
446func (*BuildConfig) ProtoMessage() {}
447func (*BuildConfig) Descriptor() ([]byte, []int) {
448 return fileDescriptor_6039342a2ba47b72, []int{1}
449}
450
451func (m *BuildConfig) XXX_Unmarshal(b []byte) error {
452 return xxx_messageInfo_BuildConfig.Unmarshal(m, b)
453}
454func (m *BuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
455 return xxx_messageInfo_BuildConfig.Marshal(b, m, deterministic)
456}
457func (m *BuildConfig) XXX_Merge(src proto.Message) {
458 xxx_messageInfo_BuildConfig.Merge(m, src)
459}
460func (m *BuildConfig) XXX_Size() int {
461 return xxx_messageInfo_BuildConfig.Size(m)
462}
463func (m *BuildConfig) XXX_DiscardUnknown() {
464 xxx_messageInfo_BuildConfig.DiscardUnknown(m)
465}
466
467var xxx_messageInfo_BuildConfig proto.InternalMessageInfo
468
469func (m *BuildConfig) GetUseGoma() bool {
470 if m != nil && m.UseGoma != nil {
471 return *m.UseGoma
472 }
473 return false
474}
475
476func (m *BuildConfig) GetUseRbe() bool {
477 if m != nil && m.UseRbe != nil {
478 return *m.UseRbe
479 }
480 return false
481}
482
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000483func (m *BuildConfig) GetForceUseGoma() bool {
484 if m != nil && m.ForceUseGoma != nil {
485 return *m.ForceUseGoma
486 }
487 return false
488}
489
Patrice Arruda3edfd482020-10-13 23:58:41 +0000490type SystemResourceInfo struct {
491 // The total physical memory in bytes.
492 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
493 // The total of available cores for building
494 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
495 XXX_NoUnkeyedLiteral struct{} `json:"-"`
496 XXX_unrecognized []byte `json:"-"`
497 XXX_sizecache int32 `json:"-"`
498}
499
500func (m *SystemResourceInfo) Reset() { *m = SystemResourceInfo{} }
501func (m *SystemResourceInfo) String() string { return proto.CompactTextString(m) }
502func (*SystemResourceInfo) ProtoMessage() {}
503func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
504 return fileDescriptor_6039342a2ba47b72, []int{2}
505}
506
507func (m *SystemResourceInfo) XXX_Unmarshal(b []byte) error {
508 return xxx_messageInfo_SystemResourceInfo.Unmarshal(m, b)
509}
510func (m *SystemResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
511 return xxx_messageInfo_SystemResourceInfo.Marshal(b, m, deterministic)
512}
513func (m *SystemResourceInfo) XXX_Merge(src proto.Message) {
514 xxx_messageInfo_SystemResourceInfo.Merge(m, src)
515}
516func (m *SystemResourceInfo) XXX_Size() int {
517 return xxx_messageInfo_SystemResourceInfo.Size(m)
518}
519func (m *SystemResourceInfo) XXX_DiscardUnknown() {
520 xxx_messageInfo_SystemResourceInfo.DiscardUnknown(m)
521}
522
523var xxx_messageInfo_SystemResourceInfo proto.InternalMessageInfo
524
525func (m *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
526 if m != nil && m.TotalPhysicalMemory != nil {
527 return *m.TotalPhysicalMemory
528 }
529 return 0
530}
531
532func (m *SystemResourceInfo) GetAvailableCpus() int32 {
533 if m != nil && m.AvailableCpus != nil {
534 return *m.AvailableCpus
535 }
536 return 0
537}
538
Nan Zhang17f27672018-12-12 16:01:49 -0800539type PerfInfo struct {
540 // The description for the phase/action/part while the tool running.
541 Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"`
542 // The name for the running phase/action/part.
543 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
544 // The absolute start time.
545 // The number of nanoseconds elapsed since January 1, 1970 UTC.
546 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
547 // The real running time.
548 // The number of nanoseconds elapsed since start_time.
549 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700550 // The number of MB for memory use (deprecated as it is too generic).
551 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` // Deprecated: Do not use.
552 // The resource information of each executed process.
553 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
554 XXX_NoUnkeyedLiteral struct{} `json:"-"`
555 XXX_unrecognized []byte `json:"-"`
556 XXX_sizecache int32 `json:"-"`
Nan Zhang17f27672018-12-12 16:01:49 -0800557}
558
559func (m *PerfInfo) Reset() { *m = PerfInfo{} }
560func (m *PerfInfo) String() string { return proto.CompactTextString(m) }
561func (*PerfInfo) ProtoMessage() {}
562func (*PerfInfo) Descriptor() ([]byte, []int) {
Patrice Arruda3edfd482020-10-13 23:58:41 +0000563 return fileDescriptor_6039342a2ba47b72, []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800564}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700565
Nan Zhang17f27672018-12-12 16:01:49 -0800566func (m *PerfInfo) XXX_Unmarshal(b []byte) error {
567 return xxx_messageInfo_PerfInfo.Unmarshal(m, b)
568}
569func (m *PerfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
570 return xxx_messageInfo_PerfInfo.Marshal(b, m, deterministic)
571}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700572func (m *PerfInfo) XXX_Merge(src proto.Message) {
573 xxx_messageInfo_PerfInfo.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800574}
575func (m *PerfInfo) XXX_Size() int {
576 return xxx_messageInfo_PerfInfo.Size(m)
577}
578func (m *PerfInfo) XXX_DiscardUnknown() {
579 xxx_messageInfo_PerfInfo.DiscardUnknown(m)
580}
581
582var xxx_messageInfo_PerfInfo proto.InternalMessageInfo
583
584func (m *PerfInfo) GetDesc() string {
585 if m != nil && m.Desc != nil {
586 return *m.Desc
587 }
588 return ""
589}
590
591func (m *PerfInfo) GetName() string {
592 if m != nil && m.Name != nil {
593 return *m.Name
594 }
595 return ""
596}
597
598func (m *PerfInfo) GetStartTime() uint64 {
599 if m != nil && m.StartTime != nil {
600 return *m.StartTime
601 }
602 return 0
603}
604
605func (m *PerfInfo) GetRealTime() uint64 {
606 if m != nil && m.RealTime != nil {
607 return *m.RealTime
608 }
609 return 0
610}
611
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700612// Deprecated: Do not use.
Nan Zhang17f27672018-12-12 16:01:49 -0800613func (m *PerfInfo) GetMemoryUse() uint64 {
614 if m != nil && m.MemoryUse != nil {
615 return *m.MemoryUse
616 }
617 return 0
618}
619
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700620func (m *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
621 if m != nil {
622 return m.ProcessesResourceInfo
623 }
624 return nil
625}
626
627type ProcessResourceInfo struct {
628 // The name of the process for identification.
629 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
630 // The amount of time spent executing in user space in microseconds.
631 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
632 // The amount of time spent executing in kernel mode in microseconds.
633 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
634 // The maximum resident set size memory used in kilobytes.
635 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
636 // The number of minor page faults serviced without any I/O activity.
637 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
638 // The number of major page faults serviced that required I/O activity.
639 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
640 // Total IO input in kilobytes.
641 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
642 // Total IO output in kilobytes.
643 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
644 // The number of voluntary context switches
645 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
646 // The number of involuntary context switches
647 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
648 XXX_NoUnkeyedLiteral struct{} `json:"-"`
649 XXX_unrecognized []byte `json:"-"`
650 XXX_sizecache int32 `json:"-"`
651}
652
653func (m *ProcessResourceInfo) Reset() { *m = ProcessResourceInfo{} }
654func (m *ProcessResourceInfo) String() string { return proto.CompactTextString(m) }
655func (*ProcessResourceInfo) ProtoMessage() {}
656func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
657 return fileDescriptor_6039342a2ba47b72, []int{4}
658}
659
660func (m *ProcessResourceInfo) XXX_Unmarshal(b []byte) error {
661 return xxx_messageInfo_ProcessResourceInfo.Unmarshal(m, b)
662}
663func (m *ProcessResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
664 return xxx_messageInfo_ProcessResourceInfo.Marshal(b, m, deterministic)
665}
666func (m *ProcessResourceInfo) XXX_Merge(src proto.Message) {
667 xxx_messageInfo_ProcessResourceInfo.Merge(m, src)
668}
669func (m *ProcessResourceInfo) XXX_Size() int {
670 return xxx_messageInfo_ProcessResourceInfo.Size(m)
671}
672func (m *ProcessResourceInfo) XXX_DiscardUnknown() {
673 xxx_messageInfo_ProcessResourceInfo.DiscardUnknown(m)
674}
675
676var xxx_messageInfo_ProcessResourceInfo proto.InternalMessageInfo
677
678func (m *ProcessResourceInfo) GetName() string {
679 if m != nil && m.Name != nil {
680 return *m.Name
681 }
682 return ""
683}
684
685func (m *ProcessResourceInfo) GetUserTimeMicros() uint64 {
686 if m != nil && m.UserTimeMicros != nil {
687 return *m.UserTimeMicros
688 }
689 return 0
690}
691
692func (m *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
693 if m != nil && m.SystemTimeMicros != nil {
694 return *m.SystemTimeMicros
695 }
696 return 0
697}
698
699func (m *ProcessResourceInfo) GetMaxRssKb() uint64 {
700 if m != nil && m.MaxRssKb != nil {
701 return *m.MaxRssKb
702 }
703 return 0
704}
705
706func (m *ProcessResourceInfo) GetMinorPageFaults() uint64 {
707 if m != nil && m.MinorPageFaults != nil {
708 return *m.MinorPageFaults
709 }
710 return 0
711}
712
713func (m *ProcessResourceInfo) GetMajorPageFaults() uint64 {
714 if m != nil && m.MajorPageFaults != nil {
715 return *m.MajorPageFaults
716 }
717 return 0
718}
719
720func (m *ProcessResourceInfo) GetIoInputKb() uint64 {
721 if m != nil && m.IoInputKb != nil {
722 return *m.IoInputKb
723 }
724 return 0
725}
726
727func (m *ProcessResourceInfo) GetIoOutputKb() uint64 {
728 if m != nil && m.IoOutputKb != nil {
729 return *m.IoOutputKb
730 }
731 return 0
732}
733
734func (m *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
735 if m != nil && m.VoluntaryContextSwitches != nil {
736 return *m.VoluntaryContextSwitches
737 }
738 return 0
739}
740
741func (m *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
742 if m != nil && m.InvoluntaryContextSwitches != nil {
743 return *m.InvoluntaryContextSwitches
744 }
745 return 0
746}
747
Nan Zhang17f27672018-12-12 16:01:49 -0800748type ModuleTypeInfo struct {
749 // The build system, eg. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700750 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 -0800751 // The module type, eg. java_library, cc_binary, and etc.
752 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
753 // The number of logical modules.
754 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
755 XXX_NoUnkeyedLiteral struct{} `json:"-"`
756 XXX_unrecognized []byte `json:"-"`
757 XXX_sizecache int32 `json:"-"`
758}
759
760func (m *ModuleTypeInfo) Reset() { *m = ModuleTypeInfo{} }
761func (m *ModuleTypeInfo) String() string { return proto.CompactTextString(m) }
762func (*ModuleTypeInfo) ProtoMessage() {}
763func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700764 return fileDescriptor_6039342a2ba47b72, []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -0800765}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700766
Nan Zhang17f27672018-12-12 16:01:49 -0800767func (m *ModuleTypeInfo) XXX_Unmarshal(b []byte) error {
768 return xxx_messageInfo_ModuleTypeInfo.Unmarshal(m, b)
769}
770func (m *ModuleTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
771 return xxx_messageInfo_ModuleTypeInfo.Marshal(b, m, deterministic)
772}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700773func (m *ModuleTypeInfo) XXX_Merge(src proto.Message) {
774 xxx_messageInfo_ModuleTypeInfo.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800775}
776func (m *ModuleTypeInfo) XXX_Size() int {
777 return xxx_messageInfo_ModuleTypeInfo.Size(m)
778}
779func (m *ModuleTypeInfo) XXX_DiscardUnknown() {
780 xxx_messageInfo_ModuleTypeInfo.DiscardUnknown(m)
781}
782
783var xxx_messageInfo_ModuleTypeInfo proto.InternalMessageInfo
784
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700785const Default_ModuleTypeInfo_BuildSystem ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
Nan Zhang17f27672018-12-12 16:01:49 -0800786
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700787func (m *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
Nan Zhang17f27672018-12-12 16:01:49 -0800788 if m != nil && m.BuildSystem != nil {
789 return *m.BuildSystem
790 }
791 return Default_ModuleTypeInfo_BuildSystem
792}
793
794func (m *ModuleTypeInfo) GetModuleType() string {
795 if m != nil && m.ModuleType != nil {
796 return *m.ModuleType
797 }
798 return ""
799}
800
801func (m *ModuleTypeInfo) GetNumOfModules() uint32 {
802 if m != nil && m.NumOfModules != nil {
803 return *m.NumOfModules
804 }
805 return 0
806}
807
Colin Crossd0be2102019-11-26 16:16:57 -0800808type CriticalUserJourneyMetrics struct {
809 // The name of a critical user journey test.
810 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
811 // The metrics produced when running the critical user journey test.
812 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
813 XXX_NoUnkeyedLiteral struct{} `json:"-"`
814 XXX_unrecognized []byte `json:"-"`
815 XXX_sizecache int32 `json:"-"`
816}
817
818func (m *CriticalUserJourneyMetrics) Reset() { *m = CriticalUserJourneyMetrics{} }
819func (m *CriticalUserJourneyMetrics) String() string { return proto.CompactTextString(m) }
820func (*CriticalUserJourneyMetrics) ProtoMessage() {}
821func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700822 return fileDescriptor_6039342a2ba47b72, []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -0800823}
824
825func (m *CriticalUserJourneyMetrics) XXX_Unmarshal(b []byte) error {
826 return xxx_messageInfo_CriticalUserJourneyMetrics.Unmarshal(m, b)
827}
828func (m *CriticalUserJourneyMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
829 return xxx_messageInfo_CriticalUserJourneyMetrics.Marshal(b, m, deterministic)
830}
831func (m *CriticalUserJourneyMetrics) XXX_Merge(src proto.Message) {
832 xxx_messageInfo_CriticalUserJourneyMetrics.Merge(m, src)
833}
834func (m *CriticalUserJourneyMetrics) XXX_Size() int {
835 return xxx_messageInfo_CriticalUserJourneyMetrics.Size(m)
836}
837func (m *CriticalUserJourneyMetrics) XXX_DiscardUnknown() {
838 xxx_messageInfo_CriticalUserJourneyMetrics.DiscardUnknown(m)
839}
840
841var xxx_messageInfo_CriticalUserJourneyMetrics proto.InternalMessageInfo
842
843func (m *CriticalUserJourneyMetrics) GetName() string {
844 if m != nil && m.Name != nil {
845 return *m.Name
846 }
847 return ""
848}
849
850func (m *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
851 if m != nil {
852 return m.Metrics
853 }
854 return nil
855}
856
857type CriticalUserJourneysMetrics struct {
858 // A set of metrics from a run of the critical user journey tests.
859 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
860 XXX_NoUnkeyedLiteral struct{} `json:"-"`
861 XXX_unrecognized []byte `json:"-"`
862 XXX_sizecache int32 `json:"-"`
863}
864
865func (m *CriticalUserJourneysMetrics) Reset() { *m = CriticalUserJourneysMetrics{} }
866func (m *CriticalUserJourneysMetrics) String() string { return proto.CompactTextString(m) }
867func (*CriticalUserJourneysMetrics) ProtoMessage() {}
868func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700869 return fileDescriptor_6039342a2ba47b72, []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -0800870}
871
872func (m *CriticalUserJourneysMetrics) XXX_Unmarshal(b []byte) error {
873 return xxx_messageInfo_CriticalUserJourneysMetrics.Unmarshal(m, b)
874}
875func (m *CriticalUserJourneysMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
876 return xxx_messageInfo_CriticalUserJourneysMetrics.Marshal(b, m, deterministic)
877}
878func (m *CriticalUserJourneysMetrics) XXX_Merge(src proto.Message) {
879 xxx_messageInfo_CriticalUserJourneysMetrics.Merge(m, src)
880}
881func (m *CriticalUserJourneysMetrics) XXX_Size() int {
882 return xxx_messageInfo_CriticalUserJourneysMetrics.Size(m)
883}
884func (m *CriticalUserJourneysMetrics) XXX_DiscardUnknown() {
885 xxx_messageInfo_CriticalUserJourneysMetrics.DiscardUnknown(m)
886}
887
888var xxx_messageInfo_CriticalUserJourneysMetrics proto.InternalMessageInfo
889
890func (m *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
891 if m != nil {
892 return m.Cujs
893 }
894 return nil
895}
896
Colin Crossb72c9092020-02-10 11:23:49 -0800897type SoongBuildMetrics struct {
898 // The number of modules handled by soong_build.
899 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
900 // The total number of variants handled by soong_build.
901 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
902 // The total number of allocations in soong_build.
903 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
904 // The total size of allocations in soong_build in bytes.
905 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
906 // The approximate maximum size of the heap in soong_build in bytes.
907 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
908 XXX_NoUnkeyedLiteral struct{} `json:"-"`
909 XXX_unrecognized []byte `json:"-"`
910 XXX_sizecache int32 `json:"-"`
911}
912
913func (m *SoongBuildMetrics) Reset() { *m = SoongBuildMetrics{} }
914func (m *SoongBuildMetrics) String() string { return proto.CompactTextString(m) }
915func (*SoongBuildMetrics) ProtoMessage() {}
916func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700917 return fileDescriptor_6039342a2ba47b72, []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -0800918}
919
920func (m *SoongBuildMetrics) XXX_Unmarshal(b []byte) error {
921 return xxx_messageInfo_SoongBuildMetrics.Unmarshal(m, b)
922}
923func (m *SoongBuildMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
924 return xxx_messageInfo_SoongBuildMetrics.Marshal(b, m, deterministic)
925}
926func (m *SoongBuildMetrics) XXX_Merge(src proto.Message) {
927 xxx_messageInfo_SoongBuildMetrics.Merge(m, src)
928}
929func (m *SoongBuildMetrics) XXX_Size() int {
930 return xxx_messageInfo_SoongBuildMetrics.Size(m)
931}
932func (m *SoongBuildMetrics) XXX_DiscardUnknown() {
933 xxx_messageInfo_SoongBuildMetrics.DiscardUnknown(m)
934}
935
936var xxx_messageInfo_SoongBuildMetrics proto.InternalMessageInfo
937
938func (m *SoongBuildMetrics) GetModules() uint32 {
939 if m != nil && m.Modules != nil {
940 return *m.Modules
941 }
942 return 0
943}
944
945func (m *SoongBuildMetrics) GetVariants() uint32 {
946 if m != nil && m.Variants != nil {
947 return *m.Variants
948 }
949 return 0
950}
951
952func (m *SoongBuildMetrics) GetTotalAllocCount() uint64 {
953 if m != nil && m.TotalAllocCount != nil {
954 return *m.TotalAllocCount
955 }
956 return 0
957}
958
959func (m *SoongBuildMetrics) GetTotalAllocSize() uint64 {
960 if m != nil && m.TotalAllocSize != nil {
961 return *m.TotalAllocSize
962 }
963 return 0
964}
965
966func (m *SoongBuildMetrics) GetMaxHeapSize() uint64 {
967 if m != nil && m.MaxHeapSize != nil {
968 return *m.MaxHeapSize
969 }
970 return 0
971}
972
Nan Zhang17f27672018-12-12 16:01:49 -0800973func init() {
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700974 proto.RegisterEnum("soong_build_metrics.MetricsBase_BuildVariant", MetricsBase_BuildVariant_name, MetricsBase_BuildVariant_value)
975 proto.RegisterEnum("soong_build_metrics.MetricsBase_Arch", MetricsBase_Arch_name, MetricsBase_Arch_value)
976 proto.RegisterEnum("soong_build_metrics.ModuleTypeInfo_BuildSystem", ModuleTypeInfo_BuildSystem_name, ModuleTypeInfo_BuildSystem_value)
977 proto.RegisterType((*MetricsBase)(nil), "soong_build_metrics.MetricsBase")
Patrice Arruda96850362020-08-11 20:41:11 +0000978 proto.RegisterType((*BuildConfig)(nil), "soong_build_metrics.BuildConfig")
Patrice Arruda3edfd482020-10-13 23:58:41 +0000979 proto.RegisterType((*SystemResourceInfo)(nil), "soong_build_metrics.SystemResourceInfo")
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700980 proto.RegisterType((*PerfInfo)(nil), "soong_build_metrics.PerfInfo")
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700981 proto.RegisterType((*ProcessResourceInfo)(nil), "soong_build_metrics.ProcessResourceInfo")
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700982 proto.RegisterType((*ModuleTypeInfo)(nil), "soong_build_metrics.ModuleTypeInfo")
Colin Crossd0be2102019-11-26 16:16:57 -0800983 proto.RegisterType((*CriticalUserJourneyMetrics)(nil), "soong_build_metrics.CriticalUserJourneyMetrics")
984 proto.RegisterType((*CriticalUserJourneysMetrics)(nil), "soong_build_metrics.CriticalUserJourneysMetrics")
Colin Crossb72c9092020-02-10 11:23:49 -0800985 proto.RegisterType((*SoongBuildMetrics)(nil), "soong_build_metrics.SoongBuildMetrics")
Nan Zhang17f27672018-12-12 16:01:49 -0800986}
987
Patrice Arruda96850362020-08-11 20:41:11 +0000988func init() {
989 proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72)
990}
Nan Zhang17f27672018-12-12 16:01:49 -0800991
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700992var fileDescriptor_6039342a2ba47b72 = []byte{
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800993 // 1380 bytes of a gzipped FileDescriptorProto
994 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xef, 0x52, 0x1b, 0x37,
995 0x10, 0x8f, 0xc1, 0x60, 0x7b, 0xfd, 0x07, 0x23, 0xa0, 0x5c, 0x48, 0xd2, 0x52, 0xb7, 0x49, 0x99,
996 0x4e, 0x43, 0x32, 0x34, 0xc3, 0x64, 0x98, 0x4c, 0xa7, 0xe0, 0xd0, 0x34, 0x65, 0xc0, 0x8c, 0x08,
997 0x69, 0xda, 0x7e, 0x50, 0xe5, 0xb3, 0x0c, 0x97, 0xdc, 0x9d, 0x6e, 0x24, 0x1d, 0xc5, 0x79, 0xb3,
998 0x7e, 0xee, 0x4b, 0xf4, 0x05, 0xfa, 0x04, 0x7d, 0x81, 0x8e, 0x56, 0x77, 0xe6, 0x20, 0x6e, 0xc2,
999 0xe4, 0xdb, 0xe9, 0xb7, 0xbf, 0xdf, 0x6a, 0xb5, 0xd2, 0xee, 0xda, 0xd0, 0x8c, 0x84, 0x51, 0x81,
1000 0xaf, 0xd7, 0x13, 0x25, 0x8d, 0x24, 0x0b, 0x5a, 0xca, 0xf8, 0x84, 0xf5, 0xd3, 0x20, 0x1c, 0xb0,
1001 0xcc, 0xd4, 0xf9, 0xbb, 0x01, 0xf5, 0x7d, 0xf7, 0xbd, 0xc3, 0xb5, 0x20, 0x0f, 0x61, 0xd1, 0x11,
1002 0x06, 0xdc, 0x08, 0x66, 0x82, 0x48, 0x68, 0xc3, 0xa3, 0xc4, 0x2b, 0xad, 0x96, 0xd6, 0xa6, 0x29,
1003 0x41, 0xdb, 0x53, 0x6e, 0xc4, 0x8b, 0xdc, 0x42, 0x6e, 0x42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0xb3, 0x60, 0x6b, 0x1f, 0x15, 0x6c,
1015 0xd5, 0x3a, 0xc0, 0x50, 0x29, 0x34, 0xd1, 0xd9, 0x46, 0x3c, 0x70, 0x0e, 0xe1, 0xa3, 0x1c, 0xd6,
1016 0xad, 0x93, 0x8d, 0x78, 0x80, 0x3e, 0x97, 0xa1, 0x82, 0x3e, 0xa5, 0xf6, 0xea, 0x78, 0x86, 0x59,
1017 0xbb, 0xec, 0x69, 0xd2, 0xc9, 0x36, 0x93, 0x9a, 0x89, 0x73, 0xa3, 0xb8, 0xd7, 0x40, 0x73, 0xdd,
1018 0x99, 0x77, 0x2d, 0x34, 0xe6, 0xf8, 0x4a, 0x6a, 0x6d, 0x5d, 0x34, 0x2f, 0x38, 0x5d, 0x8b, 0xf5,
1019 0x34, 0xb9, 0x07, 0x73, 0x05, 0x0e, 0x86, 0xdd, 0x72, 0xcf, 0x67, 0xcc, 0xc2, 0x40, 0xee, 0xc3,
1020 0x42, 0x81, 0x37, 0x3e, 0xe2, 0x9c, 0x4b, 0xec, 0x98, 0x5b, 0x88, 0x5b, 0xa6, 0x86, 0x0d, 0x02,
1021 0xe5, 0xb5, 0x5d, 0xdc, 0x32, 0x35, 0x4f, 0x03, 0x45, 0xbe, 0x83, 0xba, 0x16, 0x26, 0x4d, 0x98,
1022 0x91, 0x32, 0xd4, 0xde, 0xfc, 0xea, 0xf4, 0x5a, 0x7d, 0xe3, 0xce, 0xc4, 0x14, 0x1d, 0x0a, 0x35,
1023 0x7c, 0x1e, 0x0f, 0x25, 0x05, 0x54, 0xbc, 0xb0, 0x02, 0xb2, 0x05, 0xb5, 0x37, 0xdc, 0x04, 0x4c,
1024 0xa5, 0xb1, 0xf6, 0xc8, 0x75, 0xd4, 0x55, 0xcb, 0xa7, 0x69, 0xac, 0xc9, 0x13, 0x00, 0xc7, 0x44,
1025 0xf1, 0xc2, 0x75, 0xc4, 0x35, 0xb4, 0xe6, 0xea, 0x38, 0x88, 0x5f, 0x73, 0xa7, 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b6, 0x15, 0x77, 0x77, 0x81, 0x7c, 0x6e, 0x91, 0xbd, 0x3e, 0x59, 0x85, 0x46, 0x20, 0x99,
1060 0x4c, 0x4d, 0x46, 0xa8, 0x22, 0x01, 0x02, 0xd9, 0x43, 0x68, 0xaf, 0x4f, 0x9e, 0xc0, 0xca, 0x99,
1061 0x0c, 0xd3, 0xd8, 0x70, 0x35, 0xb2, 0xed, 0xc9, 0x88, 0x73, 0xc3, 0xf4, 0x1f, 0x81, 0xf1, 0x4f,
1062 0x85, 0xc6, 0x11, 0x5d, 0xa6, 0xde, 0x98, 0xd1, 0x75, 0x84, 0xa3, 0xcc, 0x4e, 0xbe, 0x87, 0xdb,
1063 0x41, 0xfc, 0x1e, 0x3d, 0xa0, 0x7e, 0xa5, 0xc0, 0xb9, 0xe2, 0xa1, 0xf3, 0x4f, 0x09, 0x5a, 0xfb,
1064 0x72, 0x90, 0x86, 0xe2, 0xc5, 0x28, 0x71, 0xd7, 0xf6, 0x5b, 0xde, 0x2d, 0x5d, 0x92, 0xf1, 0xfa,
1065 0x5a, 0x1b, 0x0f, 0x26, 0x8f, 0xf5, 0x4b, 0x52, 0xd7, 0x3c, 0x5d, 0xc9, 0x15, 0x06, 0x7c, 0xff,
1066 0x02, 0x25, 0x9f, 0x41, 0x3d, 0x42, 0x0d, 0x33, 0xa3, 0x24, 0xaf, 0x03, 0x88, 0xc6, 0x6e, 0x6c,
1067 0x65, 0xc7, 0x69, 0xc4, 0xe4, 0x90, 0x39, 0xd0, 0x5d, 0x79, 0x93, 0x36, 0xe2, 0x34, 0xea, 0x0d,
1068 0xdd, 0x7e, 0xba, 0xf3, 0x20, 0x6b, 0x21, 0x99, 0xd7, 0x4b, 0x7d, 0xa8, 0x06, 0x33, 0x47, 0xbd,
1069 0xde, 0x81, 0x6d, 0x58, 0x55, 0x28, 0xef, 0x6f, 0xef, 0xed, 0xb6, 0xa7, 0x3a, 0x21, 0xac, 0x74,
1070 0x55, 0x60, 0x6c, 0x49, 0x1f, 0x6b, 0xa1, 0x7e, 0x92, 0xa9, 0x8a, 0xc5, 0x28, 0x1f, 0x10, 0x93,
1071 0x5e, 0xea, 0x16, 0x54, 0xf2, 0x01, 0x34, 0xf5, 0x9e, 0x79, 0x51, 0xf8, 0x61, 0x43, 0x73, 0x41,
1072 0xa7, 0x0f, 0xb7, 0x26, 0xec, 0xa6, 0x2f, 0xe6, 0x51, 0xd9, 0x4f, 0x5f, 0x6b, 0xaf, 0x84, 0xf5,
1073 0x37, 0x39, 0xb3, 0xff, 0x1f, 0x2d, 0x45, 0x71, 0xe7, 0xaf, 0x12, 0xcc, 0xbf, 0x33, 0xfd, 0x88,
1074 0x07, 0x95, 0x3c, 0x6f, 0x25, 0xcc, 0x5b, 0xbe, 0xb4, 0xf3, 0x2b, 0xfb, 0x79, 0xe8, 0x0e, 0xd4,
1075 0xa4, 0xe3, 0xb5, 0x7d, 0xf3, 0xae, 0x25, 0xf2, 0x30, 0x94, 0x3e, 0xf3, 0x65, 0x1a, 0x9b, 0xac,
1076 0xd4, 0xe6, 0xd0, 0xb0, 0x6d, 0xf1, 0xae, 0x85, 0x6d, 0x05, 0x17, 0xb9, 0x3a, 0x78, 0x9b, 0xb7,
1077 0xa5, 0xd6, 0x05, 0xf5, 0x28, 0x78, 0x2b, 0xec, 0xef, 0x31, 0x5b, 0x93, 0xa7, 0x82, 0x27, 0x8e,
1078 0xe6, 0x2a, 0xae, 0x1e, 0xf1, 0xf3, 0x1f, 0x05, 0x4f, 0x2c, 0x67, 0x67, 0xe9, 0xd7, 0x6c, 0xe4,
1079 0x67, 0xe7, 0x66, 0xf8, 0x97, 0xe4, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xfb, 0x8e, 0xf5,
1080 0xa2, 0x0c, 0x00, 0x00,
Nan Zhang17f27672018-12-12 16:01:49 -08001081}