1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: metrics.proto 3 4package soong_metrics_proto 5 6import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10) 11 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. 21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23type MetricsBase_BuildVariant int32 24 25const ( 26 MetricsBase_USER MetricsBase_BuildVariant = 0 27 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1 28 MetricsBase_ENG MetricsBase_BuildVariant = 2 29) 30 31var MetricsBase_BuildVariant_name = map[int32]string{ 32 0: "USER", 33 1: "USERDEBUG", 34 2: "ENG", 35} 36 37var MetricsBase_BuildVariant_value = map[string]int32{ 38 "USER": 0, 39 "USERDEBUG": 1, 40 "ENG": 2, 41} 42 43func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant { 44 p := new(MetricsBase_BuildVariant) 45 *p = x 46 return p 47} 48 49func (x MetricsBase_BuildVariant) String() string { 50 return proto.EnumName(MetricsBase_BuildVariant_name, int32(x)) 51} 52 53func (x *MetricsBase_BuildVariant) UnmarshalJSON(data []byte) error { 54 value, err := proto.UnmarshalJSONEnum(MetricsBase_BuildVariant_value, data, "MetricsBase_BuildVariant") 55 if err != nil { 56 return err 57 } 58 *x = MetricsBase_BuildVariant(value) 59 return nil 60} 61 62func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) { 63 return fileDescriptor_6039342a2ba47b72, []int{0, 0} 64} 65 66type MetricsBase_Arch int32 67 68const ( 69 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 74) 75 76var MetricsBase_Arch_name = map[int32]string{ 77 0: "UNKNOWN", 78 1: "ARM", 79 2: "ARM64", 80 3: "X86", 81 4: "X86_64", 82} 83 84var MetricsBase_Arch_value = map[string]int32{ 85 "UNKNOWN": 0, 86 "ARM": 1, 87 "ARM64": 2, 88 "X86": 3, 89 "X86_64": 4, 90} 91 92func (x MetricsBase_Arch) Enum() *MetricsBase_Arch { 93 p := new(MetricsBase_Arch) 94 *p = x 95 return p 96} 97 98func (x MetricsBase_Arch) String() string { 99 return proto.EnumName(MetricsBase_Arch_name, int32(x)) 100} 101 102func (x *MetricsBase_Arch) UnmarshalJSON(data []byte) error { 103 value, err := proto.UnmarshalJSONEnum(MetricsBase_Arch_value, data, "MetricsBase_Arch") 104 if err != nil { 105 return err 106 } 107 *x = MetricsBase_Arch(value) 108 return nil 109} 110 111func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) { 112 return fileDescriptor_6039342a2ba47b72, []int{0, 1} 113} 114 115type ModuleTypeInfo_BuildSystem int32 116 117const ( 118 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0 119 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1 120 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2 121) 122 123var ModuleTypeInfo_BuildSystem_name = map[int32]string{ 124 0: "UNKNOWN", 125 1: "SOONG", 126 2: "MAKE", 127} 128 129var ModuleTypeInfo_BuildSystem_value = map[string]int32{ 130 "UNKNOWN": 0, 131 "SOONG": 1, 132 "MAKE": 2, 133} 134 135func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem { 136 p := new(ModuleTypeInfo_BuildSystem) 137 *p = x 138 return p 139} 140 141func (x ModuleTypeInfo_BuildSystem) String() string { 142 return proto.EnumName(ModuleTypeInfo_BuildSystem_name, int32(x)) 143} 144 145func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(data []byte) error { 146 value, err := proto.UnmarshalJSONEnum(ModuleTypeInfo_BuildSystem_value, data, "ModuleTypeInfo_BuildSystem") 147 if err != nil { 148 return err 149 } 150 *x = ModuleTypeInfo_BuildSystem(value) 151 return nil 152} 153 154func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) { 155 return fileDescriptor_6039342a2ba47b72, []int{3, 0} 156} 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. 168 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"` 169 // The target arch information, eg. arm. 170 TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"` 171 // 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. 176 HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"` 177 // The host 2nd arch information, eg. x86. 178 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"` 179 // 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. 198 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"` 199 // The metrics for the whole build 200 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"` 201 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"` 202 // The hostname of the machine. 203 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"` 204 XXX_NoUnkeyedLiteral struct{} `json:"-"` 205 XXX_unrecognized []byte `json:"-"` 206 XXX_sizecache int32 `json:"-"` 207} 208 209func (m *MetricsBase) Reset() { *m = MetricsBase{} } 210func (m *MetricsBase) String() string { return proto.CompactTextString(m) } 211func (*MetricsBase) ProtoMessage() {} 212func (*MetricsBase) Descriptor() ([]byte, []int) { 213 return fileDescriptor_6039342a2ba47b72, []int{0} 214} 215 216func (m *MetricsBase) XXX_Unmarshal(b []byte) error { 217 return xxx_messageInfo_MetricsBase.Unmarshal(m, b) 218} 219func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 220 return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic) 221} 222func (m *MetricsBase) XXX_Merge(src proto.Message) { 223 xxx_messageInfo_MetricsBase.Merge(m, src) 224} 225func (m *MetricsBase) XXX_Size() int { 226 return xxx_messageInfo_MetricsBase.Size(m) 227} 228func (m *MetricsBase) XXX_DiscardUnknown() { 229 xxx_messageInfo_MetricsBase.DiscardUnknown(m) 230} 231 232var xxx_messageInfo_MetricsBase proto.InternalMessageInfo 233 234const Default_MetricsBase_TargetBuildVariant MetricsBase_BuildVariant = MetricsBase_ENG 235const Default_MetricsBase_TargetArch MetricsBase_Arch = MetricsBase_UNKNOWN 236const Default_MetricsBase_HostArch MetricsBase_Arch = MetricsBase_UNKNOWN 237const Default_MetricsBase_Host_2NdArch MetricsBase_Arch = MetricsBase_UNKNOWN 238 239func (m *MetricsBase) GetBuildDateTimestamp() int64 { 240 if m != nil && m.BuildDateTimestamp != nil { 241 return *m.BuildDateTimestamp 242 } 243 return 0 244} 245 246func (m *MetricsBase) GetBuildId() string { 247 if m != nil && m.BuildId != nil { 248 return *m.BuildId 249 } 250 return "" 251} 252 253func (m *MetricsBase) GetPlatformVersionCodename() string { 254 if m != nil && m.PlatformVersionCodename != nil { 255 return *m.PlatformVersionCodename 256 } 257 return "" 258} 259 260func (m *MetricsBase) GetTargetProduct() string { 261 if m != nil && m.TargetProduct != nil { 262 return *m.TargetProduct 263 } 264 return "" 265} 266 267func (m *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant { 268 if m != nil && m.TargetBuildVariant != nil { 269 return *m.TargetBuildVariant 270 } 271 return Default_MetricsBase_TargetBuildVariant 272} 273 274func (m *MetricsBase) GetTargetArch() MetricsBase_Arch { 275 if m != nil && m.TargetArch != nil { 276 return *m.TargetArch 277 } 278 return Default_MetricsBase_TargetArch 279} 280 281func (m *MetricsBase) GetTargetArchVariant() string { 282 if m != nil && m.TargetArchVariant != nil { 283 return *m.TargetArchVariant 284 } 285 return "" 286} 287 288func (m *MetricsBase) GetTargetCpuVariant() string { 289 if m != nil && m.TargetCpuVariant != nil { 290 return *m.TargetCpuVariant 291 } 292 return "" 293} 294 295func (m *MetricsBase) GetHostArch() MetricsBase_Arch { 296 if m != nil && m.HostArch != nil { 297 return *m.HostArch 298 } 299 return Default_MetricsBase_HostArch 300} 301 302func (m *MetricsBase) GetHost_2NdArch() MetricsBase_Arch { 303 if m != nil && m.Host_2NdArch != nil { 304 return *m.Host_2NdArch 305 } 306 return Default_MetricsBase_Host_2NdArch 307} 308 309func (m *MetricsBase) GetHostOs() string { 310 if m != nil && m.HostOs != nil { 311 return *m.HostOs 312 } 313 return "" 314} 315 316func (m *MetricsBase) GetHostOsExtra() string { 317 if m != nil && m.HostOsExtra != nil { 318 return *m.HostOsExtra 319 } 320 return "" 321} 322 323func (m *MetricsBase) GetHostCrossOs() string { 324 if m != nil && m.HostCrossOs != nil { 325 return *m.HostCrossOs 326 } 327 return "" 328} 329 330func (m *MetricsBase) GetHostCrossArch() string { 331 if m != nil && m.HostCrossArch != nil { 332 return *m.HostCrossArch 333 } 334 return "" 335} 336 337func (m *MetricsBase) GetHostCross_2NdArch() string { 338 if m != nil && m.HostCross_2NdArch != nil { 339 return *m.HostCross_2NdArch 340 } 341 return "" 342} 343 344func (m *MetricsBase) GetOutDir() string { 345 if m != nil && m.OutDir != nil { 346 return *m.OutDir 347 } 348 return "" 349} 350 351func (m *MetricsBase) GetSetupTools() []*PerfInfo { 352 if m != nil { 353 return m.SetupTools 354 } 355 return nil 356} 357 358func (m *MetricsBase) GetKatiRuns() []*PerfInfo { 359 if m != nil { 360 return m.KatiRuns 361 } 362 return nil 363} 364 365func (m *MetricsBase) GetSoongRuns() []*PerfInfo { 366 if m != nil { 367 return m.SoongRuns 368 } 369 return nil 370} 371 372func (m *MetricsBase) GetNinjaRuns() []*PerfInfo { 373 if m != nil { 374 return m.NinjaRuns 375 } 376 return nil 377} 378 379func (m *MetricsBase) GetTotal() *PerfInfo { 380 if m != nil { 381 return m.Total 382 } 383 return nil 384} 385 386func (m *MetricsBase) GetBuildConfig() *BuildConfig { 387 if m != nil { 388 return m.BuildConfig 389 } 390 return nil 391} 392 393func (m *MetricsBase) GetHostname() string { 394 if m != nil && m.Hostname != nil { 395 return *m.Hostname 396 } 397 return "" 398} 399 400type BuildConfig struct { 401 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"` 402 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"` 403 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"` 404 XXX_NoUnkeyedLiteral struct{} `json:"-"` 405 XXX_unrecognized []byte `json:"-"` 406 XXX_sizecache int32 `json:"-"` 407} 408 409func (m *BuildConfig) Reset() { *m = BuildConfig{} } 410func (m *BuildConfig) String() string { return proto.CompactTextString(m) } 411func (*BuildConfig) ProtoMessage() {} 412func (*BuildConfig) Descriptor() ([]byte, []int) { 413 return fileDescriptor_6039342a2ba47b72, []int{1} 414} 415 416func (m *BuildConfig) XXX_Unmarshal(b []byte) error { 417 return xxx_messageInfo_BuildConfig.Unmarshal(m, b) 418} 419func (m *BuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 420 return xxx_messageInfo_BuildConfig.Marshal(b, m, deterministic) 421} 422func (m *BuildConfig) XXX_Merge(src proto.Message) { 423 xxx_messageInfo_BuildConfig.Merge(m, src) 424} 425func (m *BuildConfig) XXX_Size() int { 426 return xxx_messageInfo_BuildConfig.Size(m) 427} 428func (m *BuildConfig) XXX_DiscardUnknown() { 429 xxx_messageInfo_BuildConfig.DiscardUnknown(m) 430} 431 432var xxx_messageInfo_BuildConfig proto.InternalMessageInfo 433 434func (m *BuildConfig) GetUseGoma() bool { 435 if m != nil && m.UseGoma != nil { 436 return *m.UseGoma 437 } 438 return false 439} 440 441func (m *BuildConfig) GetUseRbe() bool { 442 if m != nil && m.UseRbe != nil { 443 return *m.UseRbe 444 } 445 return false 446} 447 448func (m *BuildConfig) GetForceUseGoma() bool { 449 if m != nil && m.ForceUseGoma != nil { 450 return *m.ForceUseGoma 451 } 452 return false 453} 454 455type PerfInfo struct { 456 // The description for the phase/action/part while the tool running. 457 Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"` 458 // The name for the running phase/action/part. 459 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` 460 // The absolute start time. 461 // The number of nanoseconds elapsed since January 1, 1970 UTC. 462 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` 463 // The real running time. 464 // The number of nanoseconds elapsed since start_time. 465 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"` 466 // The number of MB for memory use. 467 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` 468 XXX_NoUnkeyedLiteral struct{} `json:"-"` 469 XXX_unrecognized []byte `json:"-"` 470 XXX_sizecache int32 `json:"-"` 471} 472 473func (m *PerfInfo) Reset() { *m = PerfInfo{} } 474func (m *PerfInfo) String() string { return proto.CompactTextString(m) } 475func (*PerfInfo) ProtoMessage() {} 476func (*PerfInfo) Descriptor() ([]byte, []int) { 477 return fileDescriptor_6039342a2ba47b72, []int{2} 478} 479 480func (m *PerfInfo) XXX_Unmarshal(b []byte) error { 481 return xxx_messageInfo_PerfInfo.Unmarshal(m, b) 482} 483func (m *PerfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 484 return xxx_messageInfo_PerfInfo.Marshal(b, m, deterministic) 485} 486func (m *PerfInfo) XXX_Merge(src proto.Message) { 487 xxx_messageInfo_PerfInfo.Merge(m, src) 488} 489func (m *PerfInfo) XXX_Size() int { 490 return xxx_messageInfo_PerfInfo.Size(m) 491} 492func (m *PerfInfo) XXX_DiscardUnknown() { 493 xxx_messageInfo_PerfInfo.DiscardUnknown(m) 494} 495 496var xxx_messageInfo_PerfInfo proto.InternalMessageInfo 497 498func (m *PerfInfo) GetDesc() string { 499 if m != nil && m.Desc != nil { 500 return *m.Desc 501 } 502 return "" 503} 504 505func (m *PerfInfo) GetName() string { 506 if m != nil && m.Name != nil { 507 return *m.Name 508 } 509 return "" 510} 511 512func (m *PerfInfo) GetStartTime() uint64 { 513 if m != nil && m.StartTime != nil { 514 return *m.StartTime 515 } 516 return 0 517} 518 519func (m *PerfInfo) GetRealTime() uint64 { 520 if m != nil && m.RealTime != nil { 521 return *m.RealTime 522 } 523 return 0 524} 525 526func (m *PerfInfo) GetMemoryUse() uint64 { 527 if m != nil && m.MemoryUse != nil { 528 return *m.MemoryUse 529 } 530 return 0 531} 532 533type ModuleTypeInfo struct { 534 // The build system, eg. Soong or Make. 535 BuildSystem *ModuleTypeInfo_BuildSystem `protobuf:"varint,1,opt,name=build_system,json=buildSystem,enum=soong_build_metrics.ModuleTypeInfo_BuildSystem,def=0" json:"build_system,omitempty"` 536 // The module type, eg. java_library, cc_binary, and etc. 537 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"` 538 // The number of logical modules. 539 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"` 540 XXX_NoUnkeyedLiteral struct{} `json:"-"` 541 XXX_unrecognized []byte `json:"-"` 542 XXX_sizecache int32 `json:"-"` 543} 544 545func (m *ModuleTypeInfo) Reset() { *m = ModuleTypeInfo{} } 546func (m *ModuleTypeInfo) String() string { return proto.CompactTextString(m) } 547func (*ModuleTypeInfo) ProtoMessage() {} 548func (*ModuleTypeInfo) Descriptor() ([]byte, []int) { 549 return fileDescriptor_6039342a2ba47b72, []int{3} 550} 551 552func (m *ModuleTypeInfo) XXX_Unmarshal(b []byte) error { 553 return xxx_messageInfo_ModuleTypeInfo.Unmarshal(m, b) 554} 555func (m *ModuleTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 556 return xxx_messageInfo_ModuleTypeInfo.Marshal(b, m, deterministic) 557} 558func (m *ModuleTypeInfo) XXX_Merge(src proto.Message) { 559 xxx_messageInfo_ModuleTypeInfo.Merge(m, src) 560} 561func (m *ModuleTypeInfo) XXX_Size() int { 562 return xxx_messageInfo_ModuleTypeInfo.Size(m) 563} 564func (m *ModuleTypeInfo) XXX_DiscardUnknown() { 565 xxx_messageInfo_ModuleTypeInfo.DiscardUnknown(m) 566} 567 568var xxx_messageInfo_ModuleTypeInfo proto.InternalMessageInfo 569 570const Default_ModuleTypeInfo_BuildSystem ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN 571 572func (m *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem { 573 if m != nil && m.BuildSystem != nil { 574 return *m.BuildSystem 575 } 576 return Default_ModuleTypeInfo_BuildSystem 577} 578 579func (m *ModuleTypeInfo) GetModuleType() string { 580 if m != nil && m.ModuleType != nil { 581 return *m.ModuleType 582 } 583 return "" 584} 585 586func (m *ModuleTypeInfo) GetNumOfModules() uint32 { 587 if m != nil && m.NumOfModules != nil { 588 return *m.NumOfModules 589 } 590 return 0 591} 592 593type CriticalUserJourneyMetrics struct { 594 // The name of a critical user journey test. 595 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 596 // The metrics produced when running the critical user journey test. 597 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"` 598 XXX_NoUnkeyedLiteral struct{} `json:"-"` 599 XXX_unrecognized []byte `json:"-"` 600 XXX_sizecache int32 `json:"-"` 601} 602 603func (m *CriticalUserJourneyMetrics) Reset() { *m = CriticalUserJourneyMetrics{} } 604func (m *CriticalUserJourneyMetrics) String() string { return proto.CompactTextString(m) } 605func (*CriticalUserJourneyMetrics) ProtoMessage() {} 606func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) { 607 return fileDescriptor_6039342a2ba47b72, []int{4} 608} 609 610func (m *CriticalUserJourneyMetrics) XXX_Unmarshal(b []byte) error { 611 return xxx_messageInfo_CriticalUserJourneyMetrics.Unmarshal(m, b) 612} 613func (m *CriticalUserJourneyMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 614 return xxx_messageInfo_CriticalUserJourneyMetrics.Marshal(b, m, deterministic) 615} 616func (m *CriticalUserJourneyMetrics) XXX_Merge(src proto.Message) { 617 xxx_messageInfo_CriticalUserJourneyMetrics.Merge(m, src) 618} 619func (m *CriticalUserJourneyMetrics) XXX_Size() int { 620 return xxx_messageInfo_CriticalUserJourneyMetrics.Size(m) 621} 622func (m *CriticalUserJourneyMetrics) XXX_DiscardUnknown() { 623 xxx_messageInfo_CriticalUserJourneyMetrics.DiscardUnknown(m) 624} 625 626var xxx_messageInfo_CriticalUserJourneyMetrics proto.InternalMessageInfo 627 628func (m *CriticalUserJourneyMetrics) GetName() string { 629 if m != nil && m.Name != nil { 630 return *m.Name 631 } 632 return "" 633} 634 635func (m *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase { 636 if m != nil { 637 return m.Metrics 638 } 639 return nil 640} 641 642type CriticalUserJourneysMetrics struct { 643 // A set of metrics from a run of the critical user journey tests. 644 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"` 645 XXX_NoUnkeyedLiteral struct{} `json:"-"` 646 XXX_unrecognized []byte `json:"-"` 647 XXX_sizecache int32 `json:"-"` 648} 649 650func (m *CriticalUserJourneysMetrics) Reset() { *m = CriticalUserJourneysMetrics{} } 651func (m *CriticalUserJourneysMetrics) String() string { return proto.CompactTextString(m) } 652func (*CriticalUserJourneysMetrics) ProtoMessage() {} 653func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) { 654 return fileDescriptor_6039342a2ba47b72, []int{5} 655} 656 657func (m *CriticalUserJourneysMetrics) XXX_Unmarshal(b []byte) error { 658 return xxx_messageInfo_CriticalUserJourneysMetrics.Unmarshal(m, b) 659} 660func (m *CriticalUserJourneysMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 661 return xxx_messageInfo_CriticalUserJourneysMetrics.Marshal(b, m, deterministic) 662} 663func (m *CriticalUserJourneysMetrics) XXX_Merge(src proto.Message) { 664 xxx_messageInfo_CriticalUserJourneysMetrics.Merge(m, src) 665} 666func (m *CriticalUserJourneysMetrics) XXX_Size() int { 667 return xxx_messageInfo_CriticalUserJourneysMetrics.Size(m) 668} 669func (m *CriticalUserJourneysMetrics) XXX_DiscardUnknown() { 670 xxx_messageInfo_CriticalUserJourneysMetrics.DiscardUnknown(m) 671} 672 673var xxx_messageInfo_CriticalUserJourneysMetrics proto.InternalMessageInfo 674 675func (m *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics { 676 if m != nil { 677 return m.Cujs 678 } 679 return nil 680} 681 682func init() { 683 proto.RegisterEnum("soong_build_metrics.MetricsBase_BuildVariant", MetricsBase_BuildVariant_name, MetricsBase_BuildVariant_value) 684 proto.RegisterEnum("soong_build_metrics.MetricsBase_Arch", MetricsBase_Arch_name, MetricsBase_Arch_value) 685 proto.RegisterEnum("soong_build_metrics.ModuleTypeInfo_BuildSystem", ModuleTypeInfo_BuildSystem_name, ModuleTypeInfo_BuildSystem_value) 686 proto.RegisterType((*MetricsBase)(nil), "soong_build_metrics.MetricsBase") 687 proto.RegisterType((*BuildConfig)(nil), "soong_build_metrics.BuildConfig") 688 proto.RegisterType((*PerfInfo)(nil), "soong_build_metrics.PerfInfo") 689 proto.RegisterType((*ModuleTypeInfo)(nil), "soong_build_metrics.ModuleTypeInfo") 690 proto.RegisterType((*CriticalUserJourneyMetrics)(nil), "soong_build_metrics.CriticalUserJourneyMetrics") 691 proto.RegisterType((*CriticalUserJourneysMetrics)(nil), "soong_build_metrics.CriticalUserJourneysMetrics") 692} 693 694func init() { proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72) } 695 696var fileDescriptor_6039342a2ba47b72 = []byte{ 697 // 934 bytes of a gzipped FileDescriptorProto 698 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x6f, 0x6b, 0xdb, 0x46, 699 0x18, 0xaf, 0x62, 0x25, 0x96, 0x1e, 0xc5, 0xae, 0x7a, 0x69, 0x89, 0xda, 0x12, 0x66, 0xc4, 0x3a, 700 0xf2, 0x62, 0x4d, 0x4b, 0x56, 0x42, 0x09, 0x65, 0x90, 0x38, 0x21, 0x74, 0x21, 0x71, 0xb9, 0xc4, 701 0x5d, 0xd9, 0x5e, 0x08, 0x59, 0x3a, 0x3b, 0xea, 0x2c, 0x9d, 0xb9, 0x3b, 0x95, 0xf9, 0x43, 0xec, 702 0x4b, 0xed, 0xbb, 0xec, 0x7b, 0x8c, 0x7b, 0x4e, 0x52, 0x14, 0x70, 0x69, 0xe8, 0x3b, 0xe9, 0xf9, 703 0xfd, 0xb9, 0xdf, 0x3d, 0x77, 0x7a, 0x10, 0xf4, 0x72, 0xa6, 0x44, 0x96, 0xc8, 0xbd, 0x85, 0xe0, 704 0x8a, 0x93, 0x2d, 0xc9, 0x79, 0x31, 0x8b, 0x26, 0x65, 0x36, 0x4f, 0xa3, 0x0a, 0x0a, 0xff, 0x05, 705 0xf0, 0x2e, 0xcc, 0xf3, 0x71, 0x2c, 0x19, 0x79, 0x0d, 0x8f, 0x0d, 0x21, 0x8d, 0x15, 0x8b, 0x54, 706 0x96, 0x33, 0xa9, 0xe2, 0x7c, 0x11, 0x58, 0x03, 0x6b, 0xb7, 0x43, 0x09, 0x62, 0x27, 0xb1, 0x62, 707 0xd7, 0x35, 0x42, 0x9e, 0x82, 0x63, 0x14, 0x59, 0x1a, 0xac, 0x0d, 0xac, 0x5d, 0x97, 0x76, 0xf1, 708 0xfd, 0x7d, 0x4a, 0x0e, 0xe1, 0xe9, 0x62, 0x1e, 0xab, 0x29, 0x17, 0x79, 0xf4, 0x85, 0x09, 0x99, 709 0xf1, 0x22, 0x4a, 0x78, 0xca, 0x8a, 0x38, 0x67, 0x41, 0x07, 0xb9, 0xdb, 0x35, 0xe1, 0xa3, 0xc1, 710 0x87, 0x15, 0x4c, 0x5e, 0x40, 0x5f, 0xc5, 0x62, 0xc6, 0x54, 0xb4, 0x10, 0x3c, 0x2d, 0x13, 0x15, 711 0xd8, 0x28, 0xe8, 0x99, 0xea, 0x07, 0x53, 0x24, 0x29, 0x3c, 0xae, 0x68, 0x26, 0xc4, 0x97, 0x58, 712 0x64, 0x71, 0xa1, 0x82, 0xf5, 0x81, 0xb5, 0xdb, 0xdf, 0x7f, 0xb9, 0xb7, 0x62, 0xcf, 0x7b, 0xad, 713 0xfd, 0xee, 0x1d, 0x6b, 0xe4, 0xa3, 0x11, 0x1d, 0x76, 0x4e, 0x2f, 0xcf, 0x28, 0x31, 0x7e, 0x6d, 714 0x80, 0x8c, 0xc0, 0xab, 0x56, 0x89, 0x45, 0x72, 0x13, 0x6c, 0xa0, 0xf9, 0x8b, 0x6f, 0x9a, 0x1f, 715 0x89, 0xe4, 0xe6, 0xb0, 0x3b, 0xbe, 0x3c, 0xbf, 0x1c, 0xfd, 0x7e, 0x49, 0xc1, 0x58, 0xe8, 0x22, 716 0xd9, 0x83, 0xad, 0x96, 0x61, 0x93, 0xba, 0x8b, 0x5b, 0x7c, 0x74, 0x4b, 0xac, 0x03, 0xfc, 0x0c, 717 0x55, 0xac, 0x28, 0x59, 0x94, 0x0d, 0xdd, 0x41, 0xba, 0x6f, 0x90, 0xe1, 0xa2, 0xac, 0xd9, 0xe7, 718 0xe0, 0xde, 0x70, 0x59, 0x85, 0x75, 0xbf, 0x2b, 0xac, 0xa3, 0x0d, 0x30, 0x2a, 0x85, 0x1e, 0x9a, 719 0xed, 0x17, 0xa9, 0x31, 0x84, 0xef, 0x32, 0xf4, 0xb4, 0xc9, 0x7e, 0x91, 0xa2, 0xe7, 0x36, 0x74, 720 0xd1, 0x93, 0xcb, 0xc0, 0xc3, 0x3d, 0x6c, 0xe8, 0xd7, 0x91, 0x24, 0x61, 0xb5, 0x18, 0x97, 0x11, 721 0xfb, 0x5b, 0x89, 0x38, 0xd8, 0x44, 0xd8, 0x33, 0xf0, 0xa9, 0x2e, 0x35, 0x9c, 0x44, 0x70, 0x29, 722 0xb5, 0x45, 0xef, 0x96, 0x33, 0xd4, 0xb5, 0x91, 0x24, 0x3f, 0xc1, 0xc3, 0x16, 0x07, 0x63, 0xf7, 723 0xcd, 0xf5, 0x69, 0x58, 0x18, 0xe4, 0x25, 0x6c, 0xb5, 0x78, 0xcd, 0x16, 0x1f, 0x9a, 0xc6, 0x36, 724 0xdc, 0x56, 0x6e, 0x5e, 0xaa, 0x28, 0xcd, 0x44, 0xe0, 0x9b, 0xdc, 0xbc, 0x54, 0x27, 0x99, 0x20, 725 0xbf, 0x82, 0x27, 0x99, 0x2a, 0x17, 0x91, 0xe2, 0x7c, 0x2e, 0x83, 0x47, 0x83, 0xce, 0xae, 0xb7, 726 0xbf, 0xb3, 0xb2, 0x45, 0x1f, 0x98, 0x98, 0xbe, 0x2f, 0xa6, 0x9c, 0x02, 0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, 0xa9, 0x59, 0x4f, 0x86, 0xaf, 0xaa, 0xf3, 0xaa, 0x5c, 0xef, 0x1c, 0xba, 0x0b, 0xeb, 750 0x57, 0xa3, 0xd1, 0xa5, 0xbe, 0x1d, 0x0e, 0xd8, 0x17, 0x47, 0xe7, 0xa7, 0xfe, 0x5a, 0x38, 0x87, 751 0x67, 0x43, 0x91, 0xa9, 0x2c, 0x89, 0xe7, 0x63, 0xc9, 0xc4, 0x6f, 0xbc, 0x14, 0x05, 0x5b, 0x56, 752 0xc3, 0xae, 0x69, 0xba, 0xd5, 0x6a, 0xfa, 0x21, 0x74, 0xab, 0x5d, 0x62, 0xca, 0xaf, 0x5d, 0xef, 753 0xd6, 0xbc, 0xa4, 0xb5, 0x20, 0x9c, 0xc0, 0xf3, 0x15, 0xab, 0xc9, 0x7a, 0xb9, 0x21, 0xd8, 0x49, 754 0xf9, 0x59, 0x06, 0x16, 0x7e, 0xab, 0xab, 0x3b, 0xfb, 0xf5, 0xb4, 0x14, 0xc5, 0xc7, 0x4f, 0xfe, 755 0xa8, 0x7e, 0x07, 0x2a, 0x45, 0x84, 0xff, 0x08, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x7b, 756 0xda, 0x72, 0x33, 0x08, 0x00, 0x00, 757} 758