blob: b8c57750b7742f7878ce228867d950320c9c8e2d [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.
206 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
207 XXX_NoUnkeyedLiteral struct{} `json:"-"`
208 XXX_unrecognized []byte `json:"-"`
209 XXX_sizecache int32 `json:"-"`
Nan Zhang17f27672018-12-12 16:01:49 -0800210}
211
212func (m *MetricsBase) Reset() { *m = MetricsBase{} }
213func (m *MetricsBase) String() string { return proto.CompactTextString(m) }
214func (*MetricsBase) ProtoMessage() {}
215func (*MetricsBase) Descriptor() ([]byte, []int) {
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216 return fileDescriptor_6039342a2ba47b72, []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800217}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700218
Nan Zhang17f27672018-12-12 16:01:49 -0800219func (m *MetricsBase) XXX_Unmarshal(b []byte) error {
220 return xxx_messageInfo_MetricsBase.Unmarshal(m, b)
221}
222func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
223 return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic)
224}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700225func (m *MetricsBase) XXX_Merge(src proto.Message) {
226 xxx_messageInfo_MetricsBase.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800227}
228func (m *MetricsBase) XXX_Size() int {
229 return xxx_messageInfo_MetricsBase.Size(m)
230}
231func (m *MetricsBase) XXX_DiscardUnknown() {
232 xxx_messageInfo_MetricsBase.DiscardUnknown(m)
233}
234
235var xxx_messageInfo_MetricsBase proto.InternalMessageInfo
236
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700237const Default_MetricsBase_TargetBuildVariant MetricsBase_BuildVariant = MetricsBase_ENG
238const Default_MetricsBase_TargetArch MetricsBase_Arch = MetricsBase_UNKNOWN
239const Default_MetricsBase_HostArch MetricsBase_Arch = MetricsBase_UNKNOWN
240const Default_MetricsBase_Host_2NdArch MetricsBase_Arch = MetricsBase_UNKNOWN
Nan Zhang17f27672018-12-12 16:01:49 -0800241
242func (m *MetricsBase) GetBuildDateTimestamp() int64 {
243 if m != nil && m.BuildDateTimestamp != nil {
244 return *m.BuildDateTimestamp
245 }
246 return 0
247}
248
249func (m *MetricsBase) GetBuildId() string {
250 if m != nil && m.BuildId != nil {
251 return *m.BuildId
252 }
253 return ""
254}
255
256func (m *MetricsBase) GetPlatformVersionCodename() string {
257 if m != nil && m.PlatformVersionCodename != nil {
258 return *m.PlatformVersionCodename
259 }
260 return ""
261}
262
263func (m *MetricsBase) GetTargetProduct() string {
264 if m != nil && m.TargetProduct != nil {
265 return *m.TargetProduct
266 }
267 return ""
268}
269
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700270func (m *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
Nan Zhang17f27672018-12-12 16:01:49 -0800271 if m != nil && m.TargetBuildVariant != nil {
272 return *m.TargetBuildVariant
273 }
274 return Default_MetricsBase_TargetBuildVariant
275}
276
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700277func (m *MetricsBase) GetTargetArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800278 if m != nil && m.TargetArch != nil {
279 return *m.TargetArch
280 }
281 return Default_MetricsBase_TargetArch
282}
283
284func (m *MetricsBase) GetTargetArchVariant() string {
285 if m != nil && m.TargetArchVariant != nil {
286 return *m.TargetArchVariant
287 }
288 return ""
289}
290
291func (m *MetricsBase) GetTargetCpuVariant() string {
292 if m != nil && m.TargetCpuVariant != nil {
293 return *m.TargetCpuVariant
294 }
295 return ""
296}
297
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700298func (m *MetricsBase) GetHostArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800299 if m != nil && m.HostArch != nil {
300 return *m.HostArch
301 }
302 return Default_MetricsBase_HostArch
303}
304
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700305func (m *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
Nan Zhang17f27672018-12-12 16:01:49 -0800306 if m != nil && m.Host_2NdArch != nil {
307 return *m.Host_2NdArch
308 }
309 return Default_MetricsBase_Host_2NdArch
310}
311
312func (m *MetricsBase) GetHostOs() string {
313 if m != nil && m.HostOs != nil {
314 return *m.HostOs
315 }
316 return ""
317}
318
319func (m *MetricsBase) GetHostOsExtra() string {
320 if m != nil && m.HostOsExtra != nil {
321 return *m.HostOsExtra
322 }
323 return ""
324}
325
326func (m *MetricsBase) GetHostCrossOs() string {
327 if m != nil && m.HostCrossOs != nil {
328 return *m.HostCrossOs
329 }
330 return ""
331}
332
333func (m *MetricsBase) GetHostCrossArch() string {
334 if m != nil && m.HostCrossArch != nil {
335 return *m.HostCrossArch
336 }
337 return ""
338}
339
340func (m *MetricsBase) GetHostCross_2NdArch() string {
341 if m != nil && m.HostCross_2NdArch != nil {
342 return *m.HostCross_2NdArch
343 }
344 return ""
345}
346
347func (m *MetricsBase) GetOutDir() string {
348 if m != nil && m.OutDir != nil {
349 return *m.OutDir
350 }
351 return ""
352}
353
354func (m *MetricsBase) GetSetupTools() []*PerfInfo {
355 if m != nil {
356 return m.SetupTools
357 }
358 return nil
359}
360
361func (m *MetricsBase) GetKatiRuns() []*PerfInfo {
362 if m != nil {
363 return m.KatiRuns
364 }
365 return nil
366}
367
368func (m *MetricsBase) GetSoongRuns() []*PerfInfo {
369 if m != nil {
370 return m.SoongRuns
371 }
372 return nil
373}
374
375func (m *MetricsBase) GetNinjaRuns() []*PerfInfo {
376 if m != nil {
377 return m.NinjaRuns
378 }
379 return nil
380}
381
Colin Cross74cda722020-01-16 15:25:50 -0800382func (m *MetricsBase) GetTotal() *PerfInfo {
383 if m != nil {
384 return m.Total
385 }
386 return nil
387}
388
Colin Crossb72c9092020-02-10 11:23:49 -0800389func (m *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
390 if m != nil {
391 return m.SoongBuildMetrics
392 }
393 return nil
394}
395
Patrice Arruda96850362020-08-11 20:41:11 +0000396func (m *MetricsBase) GetBuildConfig() *BuildConfig {
397 if m != nil {
398 return m.BuildConfig
399 }
400 return nil
401}
402
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000403func (m *MetricsBase) GetHostname() string {
404 if m != nil && m.Hostname != nil {
405 return *m.Hostname
406 }
407 return ""
408}
409
Patrice Arruda3edfd482020-10-13 23:58:41 +0000410func (m *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
411 if m != nil {
412 return m.SystemResourceInfo
413 }
414 return nil
415}
416
Patrice Arruda96850362020-08-11 20:41:11 +0000417type BuildConfig struct {
418 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
419 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000420 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000421 XXX_NoUnkeyedLiteral struct{} `json:"-"`
422 XXX_unrecognized []byte `json:"-"`
423 XXX_sizecache int32 `json:"-"`
424}
425
426func (m *BuildConfig) Reset() { *m = BuildConfig{} }
427func (m *BuildConfig) String() string { return proto.CompactTextString(m) }
428func (*BuildConfig) ProtoMessage() {}
429func (*BuildConfig) Descriptor() ([]byte, []int) {
430 return fileDescriptor_6039342a2ba47b72, []int{1}
431}
432
433func (m *BuildConfig) XXX_Unmarshal(b []byte) error {
434 return xxx_messageInfo_BuildConfig.Unmarshal(m, b)
435}
436func (m *BuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
437 return xxx_messageInfo_BuildConfig.Marshal(b, m, deterministic)
438}
439func (m *BuildConfig) XXX_Merge(src proto.Message) {
440 xxx_messageInfo_BuildConfig.Merge(m, src)
441}
442func (m *BuildConfig) XXX_Size() int {
443 return xxx_messageInfo_BuildConfig.Size(m)
444}
445func (m *BuildConfig) XXX_DiscardUnknown() {
446 xxx_messageInfo_BuildConfig.DiscardUnknown(m)
447}
448
449var xxx_messageInfo_BuildConfig proto.InternalMessageInfo
450
451func (m *BuildConfig) GetUseGoma() bool {
452 if m != nil && m.UseGoma != nil {
453 return *m.UseGoma
454 }
455 return false
456}
457
458func (m *BuildConfig) GetUseRbe() bool {
459 if m != nil && m.UseRbe != nil {
460 return *m.UseRbe
461 }
462 return false
463}
464
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000465func (m *BuildConfig) GetForceUseGoma() bool {
466 if m != nil && m.ForceUseGoma != nil {
467 return *m.ForceUseGoma
468 }
469 return false
470}
471
Patrice Arruda3edfd482020-10-13 23:58:41 +0000472type SystemResourceInfo struct {
473 // The total physical memory in bytes.
474 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
475 // The total of available cores for building
476 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
477 XXX_NoUnkeyedLiteral struct{} `json:"-"`
478 XXX_unrecognized []byte `json:"-"`
479 XXX_sizecache int32 `json:"-"`
480}
481
482func (m *SystemResourceInfo) Reset() { *m = SystemResourceInfo{} }
483func (m *SystemResourceInfo) String() string { return proto.CompactTextString(m) }
484func (*SystemResourceInfo) ProtoMessage() {}
485func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
486 return fileDescriptor_6039342a2ba47b72, []int{2}
487}
488
489func (m *SystemResourceInfo) XXX_Unmarshal(b []byte) error {
490 return xxx_messageInfo_SystemResourceInfo.Unmarshal(m, b)
491}
492func (m *SystemResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
493 return xxx_messageInfo_SystemResourceInfo.Marshal(b, m, deterministic)
494}
495func (m *SystemResourceInfo) XXX_Merge(src proto.Message) {
496 xxx_messageInfo_SystemResourceInfo.Merge(m, src)
497}
498func (m *SystemResourceInfo) XXX_Size() int {
499 return xxx_messageInfo_SystemResourceInfo.Size(m)
500}
501func (m *SystemResourceInfo) XXX_DiscardUnknown() {
502 xxx_messageInfo_SystemResourceInfo.DiscardUnknown(m)
503}
504
505var xxx_messageInfo_SystemResourceInfo proto.InternalMessageInfo
506
507func (m *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
508 if m != nil && m.TotalPhysicalMemory != nil {
509 return *m.TotalPhysicalMemory
510 }
511 return 0
512}
513
514func (m *SystemResourceInfo) GetAvailableCpus() int32 {
515 if m != nil && m.AvailableCpus != nil {
516 return *m.AvailableCpus
517 }
518 return 0
519}
520
Nan Zhang17f27672018-12-12 16:01:49 -0800521type PerfInfo struct {
522 // The description for the phase/action/part while the tool running.
523 Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"`
524 // The name for the running phase/action/part.
525 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
526 // The absolute start time.
527 // The number of nanoseconds elapsed since January 1, 1970 UTC.
528 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
529 // The real running time.
530 // The number of nanoseconds elapsed since start_time.
531 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700532 // The number of MB for memory use (deprecated as it is too generic).
533 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` // Deprecated: Do not use.
534 // The resource information of each executed process.
535 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
536 XXX_NoUnkeyedLiteral struct{} `json:"-"`
537 XXX_unrecognized []byte `json:"-"`
538 XXX_sizecache int32 `json:"-"`
Nan Zhang17f27672018-12-12 16:01:49 -0800539}
540
541func (m *PerfInfo) Reset() { *m = PerfInfo{} }
542func (m *PerfInfo) String() string { return proto.CompactTextString(m) }
543func (*PerfInfo) ProtoMessage() {}
544func (*PerfInfo) Descriptor() ([]byte, []int) {
Patrice Arruda3edfd482020-10-13 23:58:41 +0000545 return fileDescriptor_6039342a2ba47b72, []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800546}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700547
Nan Zhang17f27672018-12-12 16:01:49 -0800548func (m *PerfInfo) XXX_Unmarshal(b []byte) error {
549 return xxx_messageInfo_PerfInfo.Unmarshal(m, b)
550}
551func (m *PerfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
552 return xxx_messageInfo_PerfInfo.Marshal(b, m, deterministic)
553}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700554func (m *PerfInfo) XXX_Merge(src proto.Message) {
555 xxx_messageInfo_PerfInfo.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800556}
557func (m *PerfInfo) XXX_Size() int {
558 return xxx_messageInfo_PerfInfo.Size(m)
559}
560func (m *PerfInfo) XXX_DiscardUnknown() {
561 xxx_messageInfo_PerfInfo.DiscardUnknown(m)
562}
563
564var xxx_messageInfo_PerfInfo proto.InternalMessageInfo
565
566func (m *PerfInfo) GetDesc() string {
567 if m != nil && m.Desc != nil {
568 return *m.Desc
569 }
570 return ""
571}
572
573func (m *PerfInfo) GetName() string {
574 if m != nil && m.Name != nil {
575 return *m.Name
576 }
577 return ""
578}
579
580func (m *PerfInfo) GetStartTime() uint64 {
581 if m != nil && m.StartTime != nil {
582 return *m.StartTime
583 }
584 return 0
585}
586
587func (m *PerfInfo) GetRealTime() uint64 {
588 if m != nil && m.RealTime != nil {
589 return *m.RealTime
590 }
591 return 0
592}
593
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700594// Deprecated: Do not use.
Nan Zhang17f27672018-12-12 16:01:49 -0800595func (m *PerfInfo) GetMemoryUse() uint64 {
596 if m != nil && m.MemoryUse != nil {
597 return *m.MemoryUse
598 }
599 return 0
600}
601
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700602func (m *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
603 if m != nil {
604 return m.ProcessesResourceInfo
605 }
606 return nil
607}
608
609type ProcessResourceInfo struct {
610 // The name of the process for identification.
611 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
612 // The amount of time spent executing in user space in microseconds.
613 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
614 // The amount of time spent executing in kernel mode in microseconds.
615 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
616 // The maximum resident set size memory used in kilobytes.
617 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
618 // The number of minor page faults serviced without any I/O activity.
619 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
620 // The number of major page faults serviced that required I/O activity.
621 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
622 // Total IO input in kilobytes.
623 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
624 // Total IO output in kilobytes.
625 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
626 // The number of voluntary context switches
627 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
628 // The number of involuntary context switches
629 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
630 XXX_NoUnkeyedLiteral struct{} `json:"-"`
631 XXX_unrecognized []byte `json:"-"`
632 XXX_sizecache int32 `json:"-"`
633}
634
635func (m *ProcessResourceInfo) Reset() { *m = ProcessResourceInfo{} }
636func (m *ProcessResourceInfo) String() string { return proto.CompactTextString(m) }
637func (*ProcessResourceInfo) ProtoMessage() {}
638func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
639 return fileDescriptor_6039342a2ba47b72, []int{4}
640}
641
642func (m *ProcessResourceInfo) XXX_Unmarshal(b []byte) error {
643 return xxx_messageInfo_ProcessResourceInfo.Unmarshal(m, b)
644}
645func (m *ProcessResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
646 return xxx_messageInfo_ProcessResourceInfo.Marshal(b, m, deterministic)
647}
648func (m *ProcessResourceInfo) XXX_Merge(src proto.Message) {
649 xxx_messageInfo_ProcessResourceInfo.Merge(m, src)
650}
651func (m *ProcessResourceInfo) XXX_Size() int {
652 return xxx_messageInfo_ProcessResourceInfo.Size(m)
653}
654func (m *ProcessResourceInfo) XXX_DiscardUnknown() {
655 xxx_messageInfo_ProcessResourceInfo.DiscardUnknown(m)
656}
657
658var xxx_messageInfo_ProcessResourceInfo proto.InternalMessageInfo
659
660func (m *ProcessResourceInfo) GetName() string {
661 if m != nil && m.Name != nil {
662 return *m.Name
663 }
664 return ""
665}
666
667func (m *ProcessResourceInfo) GetUserTimeMicros() uint64 {
668 if m != nil && m.UserTimeMicros != nil {
669 return *m.UserTimeMicros
670 }
671 return 0
672}
673
674func (m *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
675 if m != nil && m.SystemTimeMicros != nil {
676 return *m.SystemTimeMicros
677 }
678 return 0
679}
680
681func (m *ProcessResourceInfo) GetMaxRssKb() uint64 {
682 if m != nil && m.MaxRssKb != nil {
683 return *m.MaxRssKb
684 }
685 return 0
686}
687
688func (m *ProcessResourceInfo) GetMinorPageFaults() uint64 {
689 if m != nil && m.MinorPageFaults != nil {
690 return *m.MinorPageFaults
691 }
692 return 0
693}
694
695func (m *ProcessResourceInfo) GetMajorPageFaults() uint64 {
696 if m != nil && m.MajorPageFaults != nil {
697 return *m.MajorPageFaults
698 }
699 return 0
700}
701
702func (m *ProcessResourceInfo) GetIoInputKb() uint64 {
703 if m != nil && m.IoInputKb != nil {
704 return *m.IoInputKb
705 }
706 return 0
707}
708
709func (m *ProcessResourceInfo) GetIoOutputKb() uint64 {
710 if m != nil && m.IoOutputKb != nil {
711 return *m.IoOutputKb
712 }
713 return 0
714}
715
716func (m *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
717 if m != nil && m.VoluntaryContextSwitches != nil {
718 return *m.VoluntaryContextSwitches
719 }
720 return 0
721}
722
723func (m *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
724 if m != nil && m.InvoluntaryContextSwitches != nil {
725 return *m.InvoluntaryContextSwitches
726 }
727 return 0
728}
729
Nan Zhang17f27672018-12-12 16:01:49 -0800730type ModuleTypeInfo struct {
731 // The build system, eg. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700732 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 -0800733 // The module type, eg. java_library, cc_binary, and etc.
734 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
735 // The number of logical modules.
736 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
737 XXX_NoUnkeyedLiteral struct{} `json:"-"`
738 XXX_unrecognized []byte `json:"-"`
739 XXX_sizecache int32 `json:"-"`
740}
741
742func (m *ModuleTypeInfo) Reset() { *m = ModuleTypeInfo{} }
743func (m *ModuleTypeInfo) String() string { return proto.CompactTextString(m) }
744func (*ModuleTypeInfo) ProtoMessage() {}
745func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700746 return fileDescriptor_6039342a2ba47b72, []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -0800747}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700748
Nan Zhang17f27672018-12-12 16:01:49 -0800749func (m *ModuleTypeInfo) XXX_Unmarshal(b []byte) error {
750 return xxx_messageInfo_ModuleTypeInfo.Unmarshal(m, b)
751}
752func (m *ModuleTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
753 return xxx_messageInfo_ModuleTypeInfo.Marshal(b, m, deterministic)
754}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700755func (m *ModuleTypeInfo) XXX_Merge(src proto.Message) {
756 xxx_messageInfo_ModuleTypeInfo.Merge(m, src)
Nan Zhang17f27672018-12-12 16:01:49 -0800757}
758func (m *ModuleTypeInfo) XXX_Size() int {
759 return xxx_messageInfo_ModuleTypeInfo.Size(m)
760}
761func (m *ModuleTypeInfo) XXX_DiscardUnknown() {
762 xxx_messageInfo_ModuleTypeInfo.DiscardUnknown(m)
763}
764
765var xxx_messageInfo_ModuleTypeInfo proto.InternalMessageInfo
766
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700767const Default_ModuleTypeInfo_BuildSystem ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
Nan Zhang17f27672018-12-12 16:01:49 -0800768
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700769func (m *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
Nan Zhang17f27672018-12-12 16:01:49 -0800770 if m != nil && m.BuildSystem != nil {
771 return *m.BuildSystem
772 }
773 return Default_ModuleTypeInfo_BuildSystem
774}
775
776func (m *ModuleTypeInfo) GetModuleType() string {
777 if m != nil && m.ModuleType != nil {
778 return *m.ModuleType
779 }
780 return ""
781}
782
783func (m *ModuleTypeInfo) GetNumOfModules() uint32 {
784 if m != nil && m.NumOfModules != nil {
785 return *m.NumOfModules
786 }
787 return 0
788}
789
Colin Crossd0be2102019-11-26 16:16:57 -0800790type CriticalUserJourneyMetrics struct {
791 // The name of a critical user journey test.
792 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
793 // The metrics produced when running the critical user journey test.
794 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
795 XXX_NoUnkeyedLiteral struct{} `json:"-"`
796 XXX_unrecognized []byte `json:"-"`
797 XXX_sizecache int32 `json:"-"`
798}
799
800func (m *CriticalUserJourneyMetrics) Reset() { *m = CriticalUserJourneyMetrics{} }
801func (m *CriticalUserJourneyMetrics) String() string { return proto.CompactTextString(m) }
802func (*CriticalUserJourneyMetrics) ProtoMessage() {}
803func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700804 return fileDescriptor_6039342a2ba47b72, []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -0800805}
806
807func (m *CriticalUserJourneyMetrics) XXX_Unmarshal(b []byte) error {
808 return xxx_messageInfo_CriticalUserJourneyMetrics.Unmarshal(m, b)
809}
810func (m *CriticalUserJourneyMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
811 return xxx_messageInfo_CriticalUserJourneyMetrics.Marshal(b, m, deterministic)
812}
813func (m *CriticalUserJourneyMetrics) XXX_Merge(src proto.Message) {
814 xxx_messageInfo_CriticalUserJourneyMetrics.Merge(m, src)
815}
816func (m *CriticalUserJourneyMetrics) XXX_Size() int {
817 return xxx_messageInfo_CriticalUserJourneyMetrics.Size(m)
818}
819func (m *CriticalUserJourneyMetrics) XXX_DiscardUnknown() {
820 xxx_messageInfo_CriticalUserJourneyMetrics.DiscardUnknown(m)
821}
822
823var xxx_messageInfo_CriticalUserJourneyMetrics proto.InternalMessageInfo
824
825func (m *CriticalUserJourneyMetrics) GetName() string {
826 if m != nil && m.Name != nil {
827 return *m.Name
828 }
829 return ""
830}
831
832func (m *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
833 if m != nil {
834 return m.Metrics
835 }
836 return nil
837}
838
839type CriticalUserJourneysMetrics struct {
840 // A set of metrics from a run of the critical user journey tests.
841 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
842 XXX_NoUnkeyedLiteral struct{} `json:"-"`
843 XXX_unrecognized []byte `json:"-"`
844 XXX_sizecache int32 `json:"-"`
845}
846
847func (m *CriticalUserJourneysMetrics) Reset() { *m = CriticalUserJourneysMetrics{} }
848func (m *CriticalUserJourneysMetrics) String() string { return proto.CompactTextString(m) }
849func (*CriticalUserJourneysMetrics) ProtoMessage() {}
850func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700851 return fileDescriptor_6039342a2ba47b72, []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -0800852}
853
854func (m *CriticalUserJourneysMetrics) XXX_Unmarshal(b []byte) error {
855 return xxx_messageInfo_CriticalUserJourneysMetrics.Unmarshal(m, b)
856}
857func (m *CriticalUserJourneysMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
858 return xxx_messageInfo_CriticalUserJourneysMetrics.Marshal(b, m, deterministic)
859}
860func (m *CriticalUserJourneysMetrics) XXX_Merge(src proto.Message) {
861 xxx_messageInfo_CriticalUserJourneysMetrics.Merge(m, src)
862}
863func (m *CriticalUserJourneysMetrics) XXX_Size() int {
864 return xxx_messageInfo_CriticalUserJourneysMetrics.Size(m)
865}
866func (m *CriticalUserJourneysMetrics) XXX_DiscardUnknown() {
867 xxx_messageInfo_CriticalUserJourneysMetrics.DiscardUnknown(m)
868}
869
870var xxx_messageInfo_CriticalUserJourneysMetrics proto.InternalMessageInfo
871
872func (m *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
873 if m != nil {
874 return m.Cujs
875 }
876 return nil
877}
878
Colin Crossb72c9092020-02-10 11:23:49 -0800879type SoongBuildMetrics struct {
880 // The number of modules handled by soong_build.
881 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
882 // The total number of variants handled by soong_build.
883 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
884 // The total number of allocations in soong_build.
885 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
886 // The total size of allocations in soong_build in bytes.
887 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
888 // The approximate maximum size of the heap in soong_build in bytes.
889 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
890 XXX_NoUnkeyedLiteral struct{} `json:"-"`
891 XXX_unrecognized []byte `json:"-"`
892 XXX_sizecache int32 `json:"-"`
893}
894
895func (m *SoongBuildMetrics) Reset() { *m = SoongBuildMetrics{} }
896func (m *SoongBuildMetrics) String() string { return proto.CompactTextString(m) }
897func (*SoongBuildMetrics) ProtoMessage() {}
898func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700899 return fileDescriptor_6039342a2ba47b72, []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -0800900}
901
902func (m *SoongBuildMetrics) XXX_Unmarshal(b []byte) error {
903 return xxx_messageInfo_SoongBuildMetrics.Unmarshal(m, b)
904}
905func (m *SoongBuildMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
906 return xxx_messageInfo_SoongBuildMetrics.Marshal(b, m, deterministic)
907}
908func (m *SoongBuildMetrics) XXX_Merge(src proto.Message) {
909 xxx_messageInfo_SoongBuildMetrics.Merge(m, src)
910}
911func (m *SoongBuildMetrics) XXX_Size() int {
912 return xxx_messageInfo_SoongBuildMetrics.Size(m)
913}
914func (m *SoongBuildMetrics) XXX_DiscardUnknown() {
915 xxx_messageInfo_SoongBuildMetrics.DiscardUnknown(m)
916}
917
918var xxx_messageInfo_SoongBuildMetrics proto.InternalMessageInfo
919
920func (m *SoongBuildMetrics) GetModules() uint32 {
921 if m != nil && m.Modules != nil {
922 return *m.Modules
923 }
924 return 0
925}
926
927func (m *SoongBuildMetrics) GetVariants() uint32 {
928 if m != nil && m.Variants != nil {
929 return *m.Variants
930 }
931 return 0
932}
933
934func (m *SoongBuildMetrics) GetTotalAllocCount() uint64 {
935 if m != nil && m.TotalAllocCount != nil {
936 return *m.TotalAllocCount
937 }
938 return 0
939}
940
941func (m *SoongBuildMetrics) GetTotalAllocSize() uint64 {
942 if m != nil && m.TotalAllocSize != nil {
943 return *m.TotalAllocSize
944 }
945 return 0
946}
947
948func (m *SoongBuildMetrics) GetMaxHeapSize() uint64 {
949 if m != nil && m.MaxHeapSize != nil {
950 return *m.MaxHeapSize
951 }
952 return 0
953}
954
Nan Zhang17f27672018-12-12 16:01:49 -0800955func init() {
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700956 proto.RegisterEnum("soong_build_metrics.MetricsBase_BuildVariant", MetricsBase_BuildVariant_name, MetricsBase_BuildVariant_value)
957 proto.RegisterEnum("soong_build_metrics.MetricsBase_Arch", MetricsBase_Arch_name, MetricsBase_Arch_value)
958 proto.RegisterEnum("soong_build_metrics.ModuleTypeInfo_BuildSystem", ModuleTypeInfo_BuildSystem_name, ModuleTypeInfo_BuildSystem_value)
959 proto.RegisterType((*MetricsBase)(nil), "soong_build_metrics.MetricsBase")
Patrice Arruda96850362020-08-11 20:41:11 +0000960 proto.RegisterType((*BuildConfig)(nil), "soong_build_metrics.BuildConfig")
Patrice Arruda3edfd482020-10-13 23:58:41 +0000961 proto.RegisterType((*SystemResourceInfo)(nil), "soong_build_metrics.SystemResourceInfo")
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700962 proto.RegisterType((*PerfInfo)(nil), "soong_build_metrics.PerfInfo")
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700963 proto.RegisterType((*ProcessResourceInfo)(nil), "soong_build_metrics.ProcessResourceInfo")
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700964 proto.RegisterType((*ModuleTypeInfo)(nil), "soong_build_metrics.ModuleTypeInfo")
Colin Crossd0be2102019-11-26 16:16:57 -0800965 proto.RegisterType((*CriticalUserJourneyMetrics)(nil), "soong_build_metrics.CriticalUserJourneyMetrics")
966 proto.RegisterType((*CriticalUserJourneysMetrics)(nil), "soong_build_metrics.CriticalUserJourneysMetrics")
Colin Crossb72c9092020-02-10 11:23:49 -0800967 proto.RegisterType((*SoongBuildMetrics)(nil), "soong_build_metrics.SoongBuildMetrics")
Nan Zhang17f27672018-12-12 16:01:49 -0800968}
969
Patrice Arruda96850362020-08-11 20:41:11 +0000970func init() {
971 proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72)
972}
Nan Zhang17f27672018-12-12 16:01:49 -0800973
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700974var fileDescriptor_6039342a2ba47b72 = []byte{
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700975 // 1347 bytes of a gzipped FileDescriptorProto
976 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x6f, 0x4f, 0x1b, 0xc7,
977 0x13, 0x8e, 0xc1, 0x60, 0x7b, 0x8c, 0x8d, 0x59, 0xe0, 0xc7, 0x85, 0x24, 0xbf, 0x52, 0xab, 0x49,
978 0x51, 0xd5, 0x90, 0x88, 0x46, 0x28, 0x42, 0x51, 0x55, 0x70, 0x68, 0x9a, 0x22, 0x30, 0x5a, 0x42,
979 0x9a, 0xb6, 0x2f, 0xb6, 0xeb, 0xf3, 0x1a, 0x2e, 0xb9, 0xbb, 0x3d, 0xed, 0xee, 0x51, 0x9c, 0x6f,
980 0xd6, 0xd7, 0xfd, 0x2c, 0xfd, 0x04, 0x55, 0xdf, 0x57, 0x3b, 0x7b, 0x77, 0x1c, 0xc4, 0x4d, 0xa2,
981 0xbc, 0xbb, 0x9b, 0xe7, 0x79, 0x66, 0x67, 0xe7, 0xe6, 0x8f, 0x0d, 0xad, 0x48, 0x18, 0x15, 0xf8,
982 0x7a, 0x23, 0x51, 0xd2, 0x48, 0xb2, 0xa8, 0xa5, 0x8c, 0x4f, 0xd9, 0x20, 0x0d, 0xc2, 0x21, 0xcb,
983 0xa0, 0xee, 0x3f, 0x4d, 0x68, 0x1e, 0xb8, 0xe7, 0x5d, 0xae, 0x05, 0x79, 0x08, 0x4b, 0x8e, 0x30,
984 0xe4, 0x46, 0x30, 0x13, 0x44, 0x42, 0x1b, 0x1e, 0x25, 0x5e, 0x65, 0xad, 0xb2, 0x3e, 0x4d, 0x09,
985 0x62, 0x4f, 0xb9, 0x11, 0x2f, 0x72, 0x84, 0xdc, 0x84, 0xba, 0x53, 0x04, 0x43, 0x6f, 0x6a, 0xad,
986 0xb2, 0xde, 0xa0, 0x35, 0x7c, 0x7f, 0x3e, 0x24, 0xdb, 0x70, 0x33, 0x09, 0xb9, 0x19, 0x49, 0x15,
987 0xb1, 0x73, 0xa1, 0x74, 0x20, 0x63, 0xe6, 0xcb, 0xa1, 0x88, 0x79, 0x24, 0xbc, 0x69, 0xe4, 0xae,
988 0xe4, 0x84, 0x97, 0x0e, 0xef, 0x65, 0x30, 0xb9, 0x0b, 0x6d, 0xc3, 0xd5, 0xa9, 0x30, 0x2c, 0x51,
989 0x72, 0x98, 0xfa, 0xc6, 0xab, 0xa2, 0xa0, 0xe5, 0xac, 0x47, 0xce, 0x48, 0x86, 0xb0, 0x94, 0xd1,
990 0x5c, 0x10, 0xe7, 0x5c, 0x05, 0x3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 0x1c, 0xbc, 0x15, 0xf6, 0xc7, 0x92, 0xed, 0xc9, 0x33, 0xc1, 0x13, 0x47, 0x73,
1058 0x1d, 0xd7, 0x8c, 0xf8, 0xc5, 0x0f, 0x82, 0x27, 0x96, 0xb3, 0xbb, 0xfc, 0x4b, 0xb6, 0x8f, 0xb3,
1059 0x7b, 0x33, 0xfc, 0xbf, 0xf0, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xc2, 0xdd, 0xb5, 0x3f,
1060 0x0c, 0x00, 0x00,
Nan Zhang17f27672018-12-12 16:01:49 -08001061}