blob: 5db5ae5cdbbf41eec9b6ffa76d7a946d9f7f9ada [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.
208 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
209 XXX_NoUnkeyedLiteral struct{} `json:"-"`
210 XXX_unrecognized []byte `json:"-"`
211 XXX_sizecache int32 `json:"-"`
Nan Zhang17f27672018-12-12 16:01:49 -0800212}
213
214func (m *MetricsBase) Reset() { *m = MetricsBase{} }
215func (m *MetricsBase) String() string { return proto.CompactTextString(m) }
216func (*MetricsBase) ProtoMessage() {}
217func (*MetricsBase) Descriptor() ([]byte, []int) {
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700218 return fileDescriptor_6039342a2ba47b72, []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800219}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700220
Nan Zhang17f27672018-12-12 16:01:49 -0800221func (m *MetricsBase) XXX_Unmarshal(b []byte) error {
222 return xxx_messageInfo_MetricsBase.Unmarshal(m, b)
223}
224func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
225 return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic)
226}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700227func (m *MetricsBase) XXX_Merge(src proto.Message) {
228 xxx_messageInfo_MetricsBase.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800229}
230func (m *MetricsBase) XXX_Size() int {
231 return xxx_messageInfo_MetricsBase.Size(m)
232}
233func (m *MetricsBase) XXX_DiscardUnknown() {
234 xxx_messageInfo_MetricsBase.DiscardUnknown(m)
235}
236
237var xxx_messageInfo_MetricsBase proto.InternalMessageInfo
238
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700239const Default_MetricsBase_TargetBuildVariant MetricsBase_BuildVariant = MetricsBase_ENG
240const Default_MetricsBase_TargetArch MetricsBase_Arch = MetricsBase_UNKNOWN
241const Default_MetricsBase_HostArch MetricsBase_Arch = MetricsBase_UNKNOWN
242const Default_MetricsBase_Host_2NdArch MetricsBase_Arch = MetricsBase_UNKNOWN
Nan Zhang17f27672018-12-12 16:01:49 -0800243
244func (m *MetricsBase) GetBuildDateTimestamp() int64 {
245 if m != nil && m.BuildDateTimestamp != nil {
246 return *m.BuildDateTimestamp
247 }
248 return 0
249}
250
251func (m *MetricsBase) GetBuildId() string {
252 if m != nil && m.BuildId != nil {
253 return *m.BuildId
254 }
255 return ""
256}
257
258func (m *MetricsBase) GetPlatformVersionCodename() string {
259 if m != nil && m.PlatformVersionCodename != nil {
260 return *m.PlatformVersionCodename
261 }
262 return ""
263}
264
265func (m *MetricsBase) GetTargetProduct() string {
266 if m != nil && m.TargetProduct != nil {
267 return *m.TargetProduct
268 }
269 return ""
270}
271
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700272func (m *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
Nan Zhang17f27672018-12-12 16:01:49 -0800273 if m != nil && m.TargetBuildVariant != nil {
274 return *m.TargetBuildVariant
275 }
276 return Default_MetricsBase_TargetBuildVariant
277}
278
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700279func (m *MetricsBase) GetTargetArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800280 if m != nil && m.TargetArch != nil {
281 return *m.TargetArch
282 }
283 return Default_MetricsBase_TargetArch
284}
285
286func (m *MetricsBase) GetTargetArchVariant() string {
287 if m != nil && m.TargetArchVariant != nil {
288 return *m.TargetArchVariant
289 }
290 return ""
291}
292
293func (m *MetricsBase) GetTargetCpuVariant() string {
294 if m != nil && m.TargetCpuVariant != nil {
295 return *m.TargetCpuVariant
296 }
297 return ""
298}
299
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700300func (m *MetricsBase) GetHostArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800301 if m != nil && m.HostArch != nil {
302 return *m.HostArch
303 }
304 return Default_MetricsBase_HostArch
305}
306
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700307func (m *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800308 if m != nil && m.Host_2NdArch != nil {
309 return *m.Host_2NdArch
310 }
311 return Default_MetricsBase_Host_2NdArch
312}
313
314func (m *MetricsBase) GetHostOs() string {
315 if m != nil && m.HostOs != nil {
316 return *m.HostOs
317 }
318 return ""
319}
320
321func (m *MetricsBase) GetHostOsExtra() string {
322 if m != nil && m.HostOsExtra != nil {
323 return *m.HostOsExtra
324 }
325 return ""
326}
327
328func (m *MetricsBase) GetHostCrossOs() string {
329 if m != nil && m.HostCrossOs != nil {
330 return *m.HostCrossOs
331 }
332 return ""
333}
334
335func (m *MetricsBase) GetHostCrossArch() string {
336 if m != nil && m.HostCrossArch != nil {
337 return *m.HostCrossArch
338 }
339 return ""
340}
341
342func (m *MetricsBase) GetHostCross_2NdArch() string {
343 if m != nil && m.HostCross_2NdArch != nil {
344 return *m.HostCross_2NdArch
345 }
346 return ""
347}
348
349func (m *MetricsBase) GetOutDir() string {
350 if m != nil && m.OutDir != nil {
351 return *m.OutDir
352 }
353 return ""
354}
355
356func (m *MetricsBase) GetSetupTools() []*PerfInfo {
357 if m != nil {
358 return m.SetupTools
359 }
360 return nil
361}
362
363func (m *MetricsBase) GetKatiRuns() []*PerfInfo {
364 if m != nil {
365 return m.KatiRuns
366 }
367 return nil
368}
369
370func (m *MetricsBase) GetSoongRuns() []*PerfInfo {
371 if m != nil {
372 return m.SoongRuns
373 }
374 return nil
375}
376
377func (m *MetricsBase) GetNinjaRuns() []*PerfInfo {
378 if m != nil {
379 return m.NinjaRuns
380 }
381 return nil
382}
383
Colin Cross74cda722020-01-16 15:25:50 -0800384func (m *MetricsBase) GetTotal() *PerfInfo {
385 if m != nil {
386 return m.Total
387 }
388 return nil
389}
390
Colin Crossb72c9092020-02-10 11:23:49 -0800391func (m *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
392 if m != nil {
393 return m.SoongBuildMetrics
394 }
395 return nil
396}
397
Patrice Arruda96850362020-08-11 20:41:11 +0000398func (m *MetricsBase) GetBuildConfig() *BuildConfig {
399 if m != nil {
400 return m.BuildConfig
401 }
402 return nil
403}
404
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000405func (m *MetricsBase) GetHostname() string {
406 if m != nil && m.Hostname != nil {
407 return *m.Hostname
408 }
409 return ""
410}
411
Patrice Arruda3edfd482020-10-13 23:58:41 +0000412func (m *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
413 if m != nil {
414 return m.SystemResourceInfo
415 }
416 return nil
417}
418
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700419func (m *MetricsBase) GetBuildCommand() string {
420 if m != nil && m.BuildCommand != nil {
421 return *m.BuildCommand
422 }
423 return ""
424}
425
Patrice Arruda96850362020-08-11 20:41:11 +0000426type BuildConfig struct {
427 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
428 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000429 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000430 XXX_NoUnkeyedLiteral struct{} `json:"-"`
431 XXX_unrecognized []byte `json:"-"`
432 XXX_sizecache int32 `json:"-"`
433}
434
435func (m *BuildConfig) Reset() { *m = BuildConfig{} }
436func (m *BuildConfig) String() string { return proto.CompactTextString(m) }
437func (*BuildConfig) ProtoMessage() {}
438func (*BuildConfig) Descriptor() ([]byte, []int) {
439 return fileDescriptor_6039342a2ba47b72, []int{1}
440}
441
442func (m *BuildConfig) XXX_Unmarshal(b []byte) error {
443 return xxx_messageInfo_BuildConfig.Unmarshal(m, b)
444}
445func (m *BuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
446 return xxx_messageInfo_BuildConfig.Marshal(b, m, deterministic)
447}
448func (m *BuildConfig) XXX_Merge(src proto.Message) {
449 xxx_messageInfo_BuildConfig.Merge(m, src)
450}
451func (m *BuildConfig) XXX_Size() int {
452 return xxx_messageInfo_BuildConfig.Size(m)
453}
454func (m *BuildConfig) XXX_DiscardUnknown() {
455 xxx_messageInfo_BuildConfig.DiscardUnknown(m)
456}
457
458var xxx_messageInfo_BuildConfig proto.InternalMessageInfo
459
460func (m *BuildConfig) GetUseGoma() bool {
461 if m != nil && m.UseGoma != nil {
462 return *m.UseGoma
463 }
464 return false
465}
466
467func (m *BuildConfig) GetUseRbe() bool {
468 if m != nil && m.UseRbe != nil {
469 return *m.UseRbe
470 }
471 return false
472}
473
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000474func (m *BuildConfig) GetForceUseGoma() bool {
475 if m != nil && m.ForceUseGoma != nil {
476 return *m.ForceUseGoma
477 }
478 return false
479}
480
Patrice Arruda3edfd482020-10-13 23:58:41 +0000481type SystemResourceInfo struct {
482 // The total physical memory in bytes.
483 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
484 // The total of available cores for building
485 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
486 XXX_NoUnkeyedLiteral struct{} `json:"-"`
487 XXX_unrecognized []byte `json:"-"`
488 XXX_sizecache int32 `json:"-"`
489}
490
491func (m *SystemResourceInfo) Reset() { *m = SystemResourceInfo{} }
492func (m *SystemResourceInfo) String() string { return proto.CompactTextString(m) }
493func (*SystemResourceInfo) ProtoMessage() {}
494func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
495 return fileDescriptor_6039342a2ba47b72, []int{2}
496}
497
498func (m *SystemResourceInfo) XXX_Unmarshal(b []byte) error {
499 return xxx_messageInfo_SystemResourceInfo.Unmarshal(m, b)
500}
501func (m *SystemResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
502 return xxx_messageInfo_SystemResourceInfo.Marshal(b, m, deterministic)
503}
504func (m *SystemResourceInfo) XXX_Merge(src proto.Message) {
505 xxx_messageInfo_SystemResourceInfo.Merge(m, src)
506}
507func (m *SystemResourceInfo) XXX_Size() int {
508 return xxx_messageInfo_SystemResourceInfo.Size(m)
509}
510func (m *SystemResourceInfo) XXX_DiscardUnknown() {
511 xxx_messageInfo_SystemResourceInfo.DiscardUnknown(m)
512}
513
514var xxx_messageInfo_SystemResourceInfo proto.InternalMessageInfo
515
516func (m *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
517 if m != nil && m.TotalPhysicalMemory != nil {
518 return *m.TotalPhysicalMemory
519 }
520 return 0
521}
522
523func (m *SystemResourceInfo) GetAvailableCpus() int32 {
524 if m != nil && m.AvailableCpus != nil {
525 return *m.AvailableCpus
526 }
527 return 0
528}
529
Nan Zhang17f27672018-12-12 16:01:49 -0800530type PerfInfo struct {
531 // The description for the phase/action/part while the tool running.
532 Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"`
533 // The name for the running phase/action/part.
534 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
535 // The absolute start time.
536 // The number of nanoseconds elapsed since January 1, 1970 UTC.
537 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
538 // The real running time.
539 // The number of nanoseconds elapsed since start_time.
540 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700541 // The number of MB for memory use (deprecated as it is too generic).
542 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` // Deprecated: Do not use.
543 // The resource information of each executed process.
544 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
545 XXX_NoUnkeyedLiteral struct{} `json:"-"`
546 XXX_unrecognized []byte `json:"-"`
547 XXX_sizecache int32 `json:"-"`
Nan Zhang17f27672018-12-12 16:01:49 -0800548}
549
550func (m *PerfInfo) Reset() { *m = PerfInfo{} }
551func (m *PerfInfo) String() string { return proto.CompactTextString(m) }
552func (*PerfInfo) ProtoMessage() {}
553func (*PerfInfo) Descriptor() ([]byte, []int) {
Patrice Arruda3edfd482020-10-13 23:58:41 +0000554 return fileDescriptor_6039342a2ba47b72, []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800555}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700556
Nan Zhang17f27672018-12-12 16:01:49 -0800557func (m *PerfInfo) XXX_Unmarshal(b []byte) error {
558 return xxx_messageInfo_PerfInfo.Unmarshal(m, b)
559}
560func (m *PerfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
561 return xxx_messageInfo_PerfInfo.Marshal(b, m, deterministic)
562}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700563func (m *PerfInfo) XXX_Merge(src proto.Message) {
564 xxx_messageInfo_PerfInfo.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800565}
566func (m *PerfInfo) XXX_Size() int {
567 return xxx_messageInfo_PerfInfo.Size(m)
568}
569func (m *PerfInfo) XXX_DiscardUnknown() {
570 xxx_messageInfo_PerfInfo.DiscardUnknown(m)
571}
572
573var xxx_messageInfo_PerfInfo proto.InternalMessageInfo
574
575func (m *PerfInfo) GetDesc() string {
576 if m != nil && m.Desc != nil {
577 return *m.Desc
578 }
579 return ""
580}
581
582func (m *PerfInfo) GetName() string {
583 if m != nil && m.Name != nil {
584 return *m.Name
585 }
586 return ""
587}
588
589func (m *PerfInfo) GetStartTime() uint64 {
590 if m != nil && m.StartTime != nil {
591 return *m.StartTime
592 }
593 return 0
594}
595
596func (m *PerfInfo) GetRealTime() uint64 {
597 if m != nil && m.RealTime != nil {
598 return *m.RealTime
599 }
600 return 0
601}
602
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700603// Deprecated: Do not use.
Nan Zhang17f27672018-12-12 16:01:49 -0800604func (m *PerfInfo) GetMemoryUse() uint64 {
605 if m != nil && m.MemoryUse != nil {
606 return *m.MemoryUse
607 }
608 return 0
609}
610
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700611func (m *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
612 if m != nil {
613 return m.ProcessesResourceInfo
614 }
615 return nil
616}
617
618type ProcessResourceInfo struct {
619 // The name of the process for identification.
620 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
621 // The amount of time spent executing in user space in microseconds.
622 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
623 // The amount of time spent executing in kernel mode in microseconds.
624 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
625 // The maximum resident set size memory used in kilobytes.
626 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
627 // The number of minor page faults serviced without any I/O activity.
628 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
629 // The number of major page faults serviced that required I/O activity.
630 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
631 // Total IO input in kilobytes.
632 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
633 // Total IO output in kilobytes.
634 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
635 // The number of voluntary context switches
636 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
637 // The number of involuntary context switches
638 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
639 XXX_NoUnkeyedLiteral struct{} `json:"-"`
640 XXX_unrecognized []byte `json:"-"`
641 XXX_sizecache int32 `json:"-"`
642}
643
644func (m *ProcessResourceInfo) Reset() { *m = ProcessResourceInfo{} }
645func (m *ProcessResourceInfo) String() string { return proto.CompactTextString(m) }
646func (*ProcessResourceInfo) ProtoMessage() {}
647func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
648 return fileDescriptor_6039342a2ba47b72, []int{4}
649}
650
651func (m *ProcessResourceInfo) XXX_Unmarshal(b []byte) error {
652 return xxx_messageInfo_ProcessResourceInfo.Unmarshal(m, b)
653}
654func (m *ProcessResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
655 return xxx_messageInfo_ProcessResourceInfo.Marshal(b, m, deterministic)
656}
657func (m *ProcessResourceInfo) XXX_Merge(src proto.Message) {
658 xxx_messageInfo_ProcessResourceInfo.Merge(m, src)
659}
660func (m *ProcessResourceInfo) XXX_Size() int {
661 return xxx_messageInfo_ProcessResourceInfo.Size(m)
662}
663func (m *ProcessResourceInfo) XXX_DiscardUnknown() {
664 xxx_messageInfo_ProcessResourceInfo.DiscardUnknown(m)
665}
666
667var xxx_messageInfo_ProcessResourceInfo proto.InternalMessageInfo
668
669func (m *ProcessResourceInfo) GetName() string {
670 if m != nil && m.Name != nil {
671 return *m.Name
672 }
673 return ""
674}
675
676func (m *ProcessResourceInfo) GetUserTimeMicros() uint64 {
677 if m != nil && m.UserTimeMicros != nil {
678 return *m.UserTimeMicros
679 }
680 return 0
681}
682
683func (m *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
684 if m != nil && m.SystemTimeMicros != nil {
685 return *m.SystemTimeMicros
686 }
687 return 0
688}
689
690func (m *ProcessResourceInfo) GetMaxRssKb() uint64 {
691 if m != nil && m.MaxRssKb != nil {
692 return *m.MaxRssKb
693 }
694 return 0
695}
696
697func (m *ProcessResourceInfo) GetMinorPageFaults() uint64 {
698 if m != nil && m.MinorPageFaults != nil {
699 return *m.MinorPageFaults
700 }
701 return 0
702}
703
704func (m *ProcessResourceInfo) GetMajorPageFaults() uint64 {
705 if m != nil && m.MajorPageFaults != nil {
706 return *m.MajorPageFaults
707 }
708 return 0
709}
710
711func (m *ProcessResourceInfo) GetIoInputKb() uint64 {
712 if m != nil && m.IoInputKb != nil {
713 return *m.IoInputKb
714 }
715 return 0
716}
717
718func (m *ProcessResourceInfo) GetIoOutputKb() uint64 {
719 if m != nil && m.IoOutputKb != nil {
720 return *m.IoOutputKb
721 }
722 return 0
723}
724
725func (m *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
726 if m != nil && m.VoluntaryContextSwitches != nil {
727 return *m.VoluntaryContextSwitches
728 }
729 return 0
730}
731
732func (m *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
733 if m != nil && m.InvoluntaryContextSwitches != nil {
734 return *m.InvoluntaryContextSwitches
735 }
736 return 0
737}
738
Nan Zhang17f27672018-12-12 16:01:49 -0800739type ModuleTypeInfo struct {
740 // The build system, eg. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700741 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 -0800742 // The module type, eg. java_library, cc_binary, and etc.
743 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
744 // The number of logical modules.
745 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
746 XXX_NoUnkeyedLiteral struct{} `json:"-"`
747 XXX_unrecognized []byte `json:"-"`
748 XXX_sizecache int32 `json:"-"`
749}
750
751func (m *ModuleTypeInfo) Reset() { *m = ModuleTypeInfo{} }
752func (m *ModuleTypeInfo) String() string { return proto.CompactTextString(m) }
753func (*ModuleTypeInfo) ProtoMessage() {}
754func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700755 return fileDescriptor_6039342a2ba47b72, []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -0800756}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700757
Nan Zhang17f27672018-12-12 16:01:49 -0800758func (m *ModuleTypeInfo) XXX_Unmarshal(b []byte) error {
759 return xxx_messageInfo_ModuleTypeInfo.Unmarshal(m, b)
760}
761func (m *ModuleTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
762 return xxx_messageInfo_ModuleTypeInfo.Marshal(b, m, deterministic)
763}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700764func (m *ModuleTypeInfo) XXX_Merge(src proto.Message) {
765 xxx_messageInfo_ModuleTypeInfo.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800766}
767func (m *ModuleTypeInfo) XXX_Size() int {
768 return xxx_messageInfo_ModuleTypeInfo.Size(m)
769}
770func (m *ModuleTypeInfo) XXX_DiscardUnknown() {
771 xxx_messageInfo_ModuleTypeInfo.DiscardUnknown(m)
772}
773
774var xxx_messageInfo_ModuleTypeInfo proto.InternalMessageInfo
775
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700776const Default_ModuleTypeInfo_BuildSystem ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
Nan Zhang17f27672018-12-12 16:01:49 -0800777
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700778func (m *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
Nan Zhang17f27672018-12-12 16:01:49 -0800779 if m != nil && m.BuildSystem != nil {
780 return *m.BuildSystem
781 }
782 return Default_ModuleTypeInfo_BuildSystem
783}
784
785func (m *ModuleTypeInfo) GetModuleType() string {
786 if m != nil && m.ModuleType != nil {
787 return *m.ModuleType
788 }
789 return ""
790}
791
792func (m *ModuleTypeInfo) GetNumOfModules() uint32 {
793 if m != nil && m.NumOfModules != nil {
794 return *m.NumOfModules
795 }
796 return 0
797}
798
Colin Crossd0be2102019-11-26 16:16:57 -0800799type CriticalUserJourneyMetrics struct {
800 // The name of a critical user journey test.
801 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
802 // The metrics produced when running the critical user journey test.
803 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
804 XXX_NoUnkeyedLiteral struct{} `json:"-"`
805 XXX_unrecognized []byte `json:"-"`
806 XXX_sizecache int32 `json:"-"`
807}
808
809func (m *CriticalUserJourneyMetrics) Reset() { *m = CriticalUserJourneyMetrics{} }
810func (m *CriticalUserJourneyMetrics) String() string { return proto.CompactTextString(m) }
811func (*CriticalUserJourneyMetrics) ProtoMessage() {}
812func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700813 return fileDescriptor_6039342a2ba47b72, []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -0800814}
815
816func (m *CriticalUserJourneyMetrics) XXX_Unmarshal(b []byte) error {
817 return xxx_messageInfo_CriticalUserJourneyMetrics.Unmarshal(m, b)
818}
819func (m *CriticalUserJourneyMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
820 return xxx_messageInfo_CriticalUserJourneyMetrics.Marshal(b, m, deterministic)
821}
822func (m *CriticalUserJourneyMetrics) XXX_Merge(src proto.Message) {
823 xxx_messageInfo_CriticalUserJourneyMetrics.Merge(m, src)
824}
825func (m *CriticalUserJourneyMetrics) XXX_Size() int {
826 return xxx_messageInfo_CriticalUserJourneyMetrics.Size(m)
827}
828func (m *CriticalUserJourneyMetrics) XXX_DiscardUnknown() {
829 xxx_messageInfo_CriticalUserJourneyMetrics.DiscardUnknown(m)
830}
831
832var xxx_messageInfo_CriticalUserJourneyMetrics proto.InternalMessageInfo
833
834func (m *CriticalUserJourneyMetrics) GetName() string {
835 if m != nil && m.Name != nil {
836 return *m.Name
837 }
838 return ""
839}
840
841func (m *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
842 if m != nil {
843 return m.Metrics
844 }
845 return nil
846}
847
848type CriticalUserJourneysMetrics struct {
849 // A set of metrics from a run of the critical user journey tests.
850 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
851 XXX_NoUnkeyedLiteral struct{} `json:"-"`
852 XXX_unrecognized []byte `json:"-"`
853 XXX_sizecache int32 `json:"-"`
854}
855
856func (m *CriticalUserJourneysMetrics) Reset() { *m = CriticalUserJourneysMetrics{} }
857func (m *CriticalUserJourneysMetrics) String() string { return proto.CompactTextString(m) }
858func (*CriticalUserJourneysMetrics) ProtoMessage() {}
859func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700860 return fileDescriptor_6039342a2ba47b72, []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -0800861}
862
863func (m *CriticalUserJourneysMetrics) XXX_Unmarshal(b []byte) error {
864 return xxx_messageInfo_CriticalUserJourneysMetrics.Unmarshal(m, b)
865}
866func (m *CriticalUserJourneysMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
867 return xxx_messageInfo_CriticalUserJourneysMetrics.Marshal(b, m, deterministic)
868}
869func (m *CriticalUserJourneysMetrics) XXX_Merge(src proto.Message) {
870 xxx_messageInfo_CriticalUserJourneysMetrics.Merge(m, src)
871}
872func (m *CriticalUserJourneysMetrics) XXX_Size() int {
873 return xxx_messageInfo_CriticalUserJourneysMetrics.Size(m)
874}
875func (m *CriticalUserJourneysMetrics) XXX_DiscardUnknown() {
876 xxx_messageInfo_CriticalUserJourneysMetrics.DiscardUnknown(m)
877}
878
879var xxx_messageInfo_CriticalUserJourneysMetrics proto.InternalMessageInfo
880
881func (m *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
882 if m != nil {
883 return m.Cujs
884 }
885 return nil
886}
887
Colin Crossb72c9092020-02-10 11:23:49 -0800888type SoongBuildMetrics struct {
889 // The number of modules handled by soong_build.
890 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
891 // The total number of variants handled by soong_build.
892 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
893 // The total number of allocations in soong_build.
894 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
895 // The total size of allocations in soong_build in bytes.
896 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
897 // The approximate maximum size of the heap in soong_build in bytes.
898 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
899 XXX_NoUnkeyedLiteral struct{} `json:"-"`
900 XXX_unrecognized []byte `json:"-"`
901 XXX_sizecache int32 `json:"-"`
902}
903
904func (m *SoongBuildMetrics) Reset() { *m = SoongBuildMetrics{} }
905func (m *SoongBuildMetrics) String() string { return proto.CompactTextString(m) }
906func (*SoongBuildMetrics) ProtoMessage() {}
907func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700908 return fileDescriptor_6039342a2ba47b72, []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -0800909}
910
911func (m *SoongBuildMetrics) XXX_Unmarshal(b []byte) error {
912 return xxx_messageInfo_SoongBuildMetrics.Unmarshal(m, b)
913}
914func (m *SoongBuildMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
915 return xxx_messageInfo_SoongBuildMetrics.Marshal(b, m, deterministic)
916}
917func (m *SoongBuildMetrics) XXX_Merge(src proto.Message) {
918 xxx_messageInfo_SoongBuildMetrics.Merge(m, src)
919}
920func (m *SoongBuildMetrics) XXX_Size() int {
921 return xxx_messageInfo_SoongBuildMetrics.Size(m)
922}
923func (m *SoongBuildMetrics) XXX_DiscardUnknown() {
924 xxx_messageInfo_SoongBuildMetrics.DiscardUnknown(m)
925}
926
927var xxx_messageInfo_SoongBuildMetrics proto.InternalMessageInfo
928
929func (m *SoongBuildMetrics) GetModules() uint32 {
930 if m != nil && m.Modules != nil {
931 return *m.Modules
932 }
933 return 0
934}
935
936func (m *SoongBuildMetrics) GetVariants() uint32 {
937 if m != nil && m.Variants != nil {
938 return *m.Variants
939 }
940 return 0
941}
942
943func (m *SoongBuildMetrics) GetTotalAllocCount() uint64 {
944 if m != nil && m.TotalAllocCount != nil {
945 return *m.TotalAllocCount
946 }
947 return 0
948}
949
950func (m *SoongBuildMetrics) GetTotalAllocSize() uint64 {
951 if m != nil && m.TotalAllocSize != nil {
952 return *m.TotalAllocSize
953 }
954 return 0
955}
956
957func (m *SoongBuildMetrics) GetMaxHeapSize() uint64 {
958 if m != nil && m.MaxHeapSize != nil {
959 return *m.MaxHeapSize
960 }
961 return 0
962}
963
Nan Zhang17f27672018-12-12 16:01:49 -0800964func init() {
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700965 proto.RegisterEnum("soong_build_metrics.MetricsBase_BuildVariant", MetricsBase_BuildVariant_name, MetricsBase_BuildVariant_value)
966 proto.RegisterEnum("soong_build_metrics.MetricsBase_Arch", MetricsBase_Arch_name, MetricsBase_Arch_value)
967 proto.RegisterEnum("soong_build_metrics.ModuleTypeInfo_BuildSystem", ModuleTypeInfo_BuildSystem_name, ModuleTypeInfo_BuildSystem_value)
968 proto.RegisterType((*MetricsBase)(nil), "soong_build_metrics.MetricsBase")
Patrice Arruda96850362020-08-11 20:41:11 +0000969 proto.RegisterType((*BuildConfig)(nil), "soong_build_metrics.BuildConfig")
Patrice Arruda3edfd482020-10-13 23:58:41 +0000970 proto.RegisterType((*SystemResourceInfo)(nil), "soong_build_metrics.SystemResourceInfo")
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700971 proto.RegisterType((*PerfInfo)(nil), "soong_build_metrics.PerfInfo")
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700972 proto.RegisterType((*ProcessResourceInfo)(nil), "soong_build_metrics.ProcessResourceInfo")
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700973 proto.RegisterType((*ModuleTypeInfo)(nil), "soong_build_metrics.ModuleTypeInfo")
Colin Crossd0be2102019-11-26 16:16:57 -0800974 proto.RegisterType((*CriticalUserJourneyMetrics)(nil), "soong_build_metrics.CriticalUserJourneyMetrics")
975 proto.RegisterType((*CriticalUserJourneysMetrics)(nil), "soong_build_metrics.CriticalUserJourneysMetrics")
Colin Crossb72c9092020-02-10 11:23:49 -0800976 proto.RegisterType((*SoongBuildMetrics)(nil), "soong_build_metrics.SoongBuildMetrics")
Nan Zhang17f27672018-12-12 16:01:49 -0800977}
978
Patrice Arruda96850362020-08-11 20:41:11 +0000979func init() {
980 proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72)
981}
Nan Zhang17f27672018-12-12 16:01:49 -0800982
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700983var fileDescriptor_6039342a2ba47b72 = []byte{
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700984 // 1366 bytes of a gzipped FileDescriptorProto
985 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xdd, 0x52, 0x1b, 0xc7,
986 0x12, 0xb6, 0x40, 0x20, 0xa9, 0xf5, 0x83, 0x18, 0xe0, 0xb0, 0xc6, 0xf6, 0x39, 0x1c, 0x25, 0x76,
987 0xa8, 0x54, 0x8c, 0x5d, 0xc4, 0x45, 0xb9, 0x28, 0x57, 0x2a, 0x20, 0x13, 0xc7, 0xa1, 0x40, 0xd4,
988 0x60, 0x1c, 0x27, 0xb9, 0x98, 0x8c, 0x56, 0x23, 0x58, 0x7b, 0x77, 0x67, 0x6b, 0x66, 0x96, 0x80,
989 0x1f, 0x25, 0x6f, 0x92, 0xeb, 0x3c, 0x4b, 0x9e, 0x20, 0x2f, 0x90, 0x9a, 0x9e, 0xdd, 0x65, 0xc1,
990 0x8a, 0xed, 0xf2, 0xdd, 0xee, 0xd7, 0xdf, 0xd7, 0xd3, 0xdd, 0x3b, 0xdd, 0x2d, 0x41, 0x3b, 0x12,
991 0x46, 0x05, 0xbe, 0x5e, 0x4f, 0x94, 0x34, 0x92, 0x2c, 0x68, 0x29, 0xe3, 0x13, 0x36, 0x4c, 0x83,
992 0x70, 0xc4, 0x32, 0x53, 0xef, 0xf7, 0x16, 0x34, 0xf7, 0xdd, 0xf3, 0x0e, 0xd7, 0x82, 0x3c, 0x84,
993 0x45, 0x47, 0x18, 0x71, 0x23, 0x98, 0x09, 0x22, 0xa1, 0x0d, 0x8f, 0x12, 0xaf, 0xb2, 0x5a, 0x59,
994 0x9b, 0xa6, 0x04, 0x6d, 0x4f, 0xb9, 0x11, 0x2f, 0x72, 0x0b, 0xb9, 0x09, 0x75, 0xa7, 0x08, 0x46,
995 0xde, 0xd4, 0x6a, 0x65, 0xad, 0x41, 0x6b, 0xf8, 0xfe, 0x7c, 0x44, 0xb6, 0xe0, 0x66, 0x12, 0x72,
996 0x33, 0x96, 0x2a, 0x62, 0x67, 0x42, 0xe9, 0x40, 0xc6, 0xcc, 0x97, 0x23, 0x11, 0xf3, 0x48, 0x78,
997 0xd3, 0xc8, 0x5d, 0xce, 0x09, 0x2f, 0x9d, 0xbd, 0x9f, 0x99, 0xc9, 0x5d, 0xe8, 0x18, 0xae, 0x4e,
998 0x84, 0x61, 0x89, 0x92, 0xa3, 0xd4, 0x37, 0x5e, 0x15, 0x05, 0x6d, 0x87, 0x1e, 0x3a, 0x90, 0x8c,
999 0x60, 0x31, 0xa3, 0xb9, 0x20, 0xce, 0xb8, 0x0a, 0x78, 0x6c, 0xbc, 0x99, 0xd5, 0xca, 0x5a, 0x67,
1000 0xe3, 0xfe, 0xfa, 0x84, 0x9c, 0xd7, 0x4b, 0xf9, 0xae, 0xef, 0x58, 0xcb, 0x4b, 0x27, 0xda, 0x9a,
1001 0xde, 0x3d, 0x78, 0x46, 0x89, 0xf3, 0x57, 0x36, 0x90, 0x01, 0x34, 0xb3, 0x53, 0xb8, 0xf2, 0x4f,
1002 0xbd, 0x59, 0x74, 0x7e, 0xf7, 0x83, 0xce, 0xb7, 0x95, 0x7f, 0xba, 0x55, 0x3b, 0x3e, 0xd8, 0x3b,
1003 0x18, 0xfc, 0x78, 0x40, 0xc1, 0xb9, 0xb0, 0x20, 0x59, 0x87, 0x85, 0x92, 0xc3, 0x22, 0xea, 0x1a,
1004 0xa6, 0x38, 0x7f, 0x49, 0xcc, 0x03, 0xf8, 0x0a, 0xb2, 0xb0, 0x98, 0x9f, 0xa4, 0x05, 0xbd, 0x8e,
1005 0xf4, 0xae, 0xb3, 0xf4, 0x93, 0x34, 0x67, 0xef, 0x41, 0xe3, 0x54, 0xea, 0x2c, 0xd8, 0xc6, 0x27,
1006 0x05, 0x5b, 0xb7, 0x0e, 0x30, 0x54, 0x0a, 0x6d, 0x74, 0xb6, 0x11, 0x8f, 0x9c, 0x43, 0xf8, 0x24,
1007 0x87, 0x4d, 0xeb, 0x64, 0x23, 0x1e, 0xa1, 0xcf, 0x65, 0xa8, 0xa1, 0x4f, 0xa9, 0xbd, 0x26, 0xe6,
1008 0x30, 0x6b, 0x5f, 0x07, 0x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0xbc, 0xbe, 0x0e, 0x91, 0x3e, 0xb4, 0x9c, 0xca, 0x97, 0xf1,
1020 0x38, 0x38, 0xf1, 0x96, 0xd1, 0xe1, 0xea, 0x44, 0x87, 0x28, 0xec, 0x23, 0x8f, 0x36, 0x87, 0x97,
1021 0x2f, 0x64, 0x05, 0xf0, 0xea, 0xe3, 0x88, 0xf2, 0xf0, 0x1b, 0x17, 0xef, 0xe4, 0x27, 0x58, 0xd4,
1022 0x17, 0xda, 0x88, 0x88, 0x29, 0xa1, 0x65, 0xaa, 0x7c, 0xc1, 0x82, 0x78, 0x2c, 0xbd, 0x9b, 0x78,
1023 0xd0, 0x17, 0x93, 0x23, 0x47, 0x01, 0xcd, 0xf8, 0x58, 0x06, 0xa2, 0xdf, 0xc1, 0xc8, 0x67, 0xd0,
1024 0xce, 0x63, 0x8f, 0x22, 0x1e, 0x8f, 0xbc, 0x15, 0x3c, 0xbb, 0x95, 0x85, 0x86, 0x58, 0xef, 0x21,
1025 0xb4, 0xae, 0x8c, 0xa5, 0x3a, 0x54, 0x8f, 0x8f, 0x76, 0x69, 0xf7, 0x06, 0x69, 0x43, 0xc3, 0x3e,
1026 0x3d, 0xdd, 0xdd, 0x39, 0x7e, 0xd6, 0xad, 0x90, 0x1a, 0xd8, 0x51, 0xd6, 0x9d, 0xea, 0x3d, 0x81,
1027 0x2a, 0x5e, 0xdc, 0x26, 0xe4, 0x8d, 0xd8, 0xbd, 0x61, 0xad, 0xdb, 0x74, 0xbf, 0x5b, 0x21, 0x0d,
1028 0x98, 0xd9, 0xa6, 0xfb, 0x9b, 0x8f, 0xba, 0x53, 0x16, 0x7b, 0xf5, 0x78, 0xb3, 0x3b, 0x4d, 0x00,
1029 0x66, 0x5f, 0x3d, 0xde, 0x64, 0x9b, 0x8f, 0xba, 0xd5, 0xde, 0x09, 0x34, 0x4b, 0x75, 0xb2, 0x93,
1030 0x3e, 0xd5, 0x82, 0x9d, 0xc8, 0x88, 0xe3, 0x3e, 0xa8, 0x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0x77, 0x97, 0xd3, 0x5c, 0xb9,
1042 0x61, 0x4b, 0x85, 0xa3, 0x32, 0xdc, 0xfb, 0x63, 0x1a, 0x16, 0x26, 0xd0, 0x8b, 0x64, 0x2b, 0xa5,
1043 0x64, 0xd7, 0xa0, 0x9b, 0x6a, 0xa1, 0x30, 0x1b, 0x16, 0x05, 0x76, 0x40, 0x62, 0x31, 0xaa, 0xb4,
1044 0x63, 0x71, 0x9b, 0xd4, 0x3e, 0xa2, 0x76, 0x37, 0x65, 0x5d, 0x51, 0xe6, 0xba, 0xf2, 0x74, 0x9d,
1045 0xa5, 0xc4, 0xbe, 0x0d, 0x10, 0xf1, 0x73, 0xa6, 0xb4, 0x66, 0x6f, 0x86, 0x79, 0x99, 0x22, 0x7e,
1046 0x4e, 0xb5, 0xde, 0x1b, 0x92, 0x2f, 0x61, 0x3e, 0x0a, 0x62, 0xa9, 0x58, 0xc2, 0x4f, 0x04, 0x1b,
1047 0xf3, 0x34, 0x34, 0xda, 0x55, 0x8b, 0xce, 0xa1, 0xe1, 0x90, 0x9f, 0x88, 0xef, 0x10, 0x46, 0x2e,
1048 0x7f, 0x7d, 0x8d, 0x3b, 0x9b, 0x71, 0xad, 0xa1, 0xc4, 0xfd, 0x2f, 0x34, 0x03, 0xc9, 0x82, 0x38,
1049 0x49, 0x8d, 0x3d, 0xb6, 0xe6, 0xbe, 0x5d, 0x20, 0x9f, 0x5b, 0x64, 0x6f, 0x48, 0x56, 0xa1, 0x15,
1050 0x48, 0x26, 0x53, 0x93, 0x11, 0xea, 0x48, 0x80, 0x40, 0x0e, 0x10, 0xda, 0x1b, 0x92, 0x27, 0xb0,
1051 0x72, 0x26, 0xc3, 0x34, 0x36, 0x5c, 0x5d, 0xd8, 0x01, 0x63, 0xc4, 0xb9, 0x61, 0xfa, 0xb7, 0xc0,
1052 0xf8, 0xa7, 0x42, 0xe3, 0x92, 0xad, 0x52, 0xaf, 0x60, 0xf4, 0x1d, 0xe1, 0x28, 0xb3, 0x93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b,
1064 0xfb, 0x8b, 0x78, 0x50, 0xcb, 0xeb, 0x56, 0xc1, 0xba, 0xe5, 0xaf, 0x76, 0x03, 0x65, 0x3f, 0xf0,
1065 0x5c, 0x42, 0x6d, 0x5a, 0xbc, 0xdb, 0x3b, 0xef, 0x46, 0x22, 0x0f, 0x43, 0xe9, 0x33, 0x5f, 0xa6,
1066 0xb1, 0xc9, 0x5a, 0x6d, 0x0e, 0x0d, 0xdb, 0x16, 0xef, 0x5b, 0xd8, 0x76, 0x70, 0x99, 0xab, 0x83,
1067 0xb7, 0xf9, 0x58, 0xea, 0x5c, 0x52, 0x8f, 0x82, 0xb7, 0xc2, 0xfe, 0xa2, 0xb2, 0x3d, 0x79, 0x2a,
1068 0x78, 0xe2, 0x68, 0xae, 0xe3, 0x9a, 0x11, 0x3f, 0xff, 0x5e, 0xf0, 0xc4, 0x72, 0x76, 0x96, 0x7e,
1069 0xce, 0x96, 0x76, 0x96, 0x37, 0xc3, 0x3f, 0x15, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x86,
1070 0x34, 0xa9, 0x64, 0x0c, 0x00, 0x00,
Nan Zhang17f27672018-12-12 16:01:49 -08001071}