| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: metrics.proto |
| |
| package soong_metrics_proto |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type MetricsBase_BuildVariant int32 |
| |
| const ( |
| MetricsBase_USER MetricsBase_BuildVariant = 0 |
| MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1 |
| MetricsBase_ENG MetricsBase_BuildVariant = 2 |
| ) |
| |
| var MetricsBase_BuildVariant_name = map[int32]string{ |
| 0: "USER", |
| 1: "USERDEBUG", |
| 2: "ENG", |
| } |
| |
| var MetricsBase_BuildVariant_value = map[string]int32{ |
| "USER": 0, |
| "USERDEBUG": 1, |
| "ENG": 2, |
| } |
| |
| func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant { |
| p := new(MetricsBase_BuildVariant) |
| *p = x |
| return p |
| } |
| |
| func (x MetricsBase_BuildVariant) String() string { |
| return proto.EnumName(MetricsBase_BuildVariant_name, int32(x)) |
| } |
| |
| func (x *MetricsBase_BuildVariant) UnmarshalJSON(data []byte) error { |
| value, err := proto.UnmarshalJSONEnum(MetricsBase_BuildVariant_value, data, "MetricsBase_BuildVariant") |
| if err != nil { |
| return err |
| } |
| *x = MetricsBase_BuildVariant(value) |
| return nil |
| } |
| |
| func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{0, 0} |
| } |
| |
| type MetricsBase_Arch int32 |
| |
| const ( |
| MetricsBase_UNKNOWN MetricsBase_Arch = 0 |
| MetricsBase_ARM MetricsBase_Arch = 1 |
| MetricsBase_ARM64 MetricsBase_Arch = 2 |
| MetricsBase_X86 MetricsBase_Arch = 3 |
| MetricsBase_X86_64 MetricsBase_Arch = 4 |
| ) |
| |
| var MetricsBase_Arch_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "ARM", |
| 2: "ARM64", |
| 3: "X86", |
| 4: "X86_64", |
| } |
| |
| var MetricsBase_Arch_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "ARM": 1, |
| "ARM64": 2, |
| "X86": 3, |
| "X86_64": 4, |
| } |
| |
| func (x MetricsBase_Arch) Enum() *MetricsBase_Arch { |
| p := new(MetricsBase_Arch) |
| *p = x |
| return p |
| } |
| |
| func (x MetricsBase_Arch) String() string { |
| return proto.EnumName(MetricsBase_Arch_name, int32(x)) |
| } |
| |
| func (x *MetricsBase_Arch) UnmarshalJSON(data []byte) error { |
| value, err := proto.UnmarshalJSONEnum(MetricsBase_Arch_value, data, "MetricsBase_Arch") |
| if err != nil { |
| return err |
| } |
| *x = MetricsBase_Arch(value) |
| return nil |
| } |
| |
| func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{0, 1} |
| } |
| |
| type ModuleTypeInfo_BuildSystem int32 |
| |
| const ( |
| ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0 |
| ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1 |
| ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2 |
| ) |
| |
| var ModuleTypeInfo_BuildSystem_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "SOONG", |
| 2: "MAKE", |
| } |
| |
| var ModuleTypeInfo_BuildSystem_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "SOONG": 1, |
| "MAKE": 2, |
| } |
| |
| func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem { |
| p := new(ModuleTypeInfo_BuildSystem) |
| *p = x |
| return p |
| } |
| |
| func (x ModuleTypeInfo_BuildSystem) String() string { |
| return proto.EnumName(ModuleTypeInfo_BuildSystem_name, int32(x)) |
| } |
| |
| func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(data []byte) error { |
| value, err := proto.UnmarshalJSONEnum(ModuleTypeInfo_BuildSystem_value, data, "ModuleTypeInfo_BuildSystem") |
| if err != nil { |
| return err |
| } |
| *x = ModuleTypeInfo_BuildSystem(value) |
| return nil |
| } |
| |
| func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{2, 0} |
| } |
| |
| type MetricsBase struct { |
| // Timestamp generated when the build starts. |
| BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"` |
| // It is usually used to specify the branch name [and release candidate]. |
| BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"` |
| // The platform version codename, eg. P, Q, REL. |
| PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"` |
| // The target product information, eg. aosp_arm. |
| TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"` |
| // The target build variant information, eg. eng. |
| 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"` |
| // The target arch information, eg. arm. |
| TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"` |
| // The target arch variant information, eg. armv7-a-neon. |
| TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"` |
| // The target cpu variant information, eg. generic. |
| TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"` |
| // The host arch information, eg. x86_64. |
| HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"` |
| // The host 2nd arch information, eg. x86. |
| 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"` |
| // The host os information, eg. linux. |
| HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"` |
| // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU. |
| HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"` |
| // The host cross os information, eg. windows. |
| HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"` |
| // The host cross arch information, eg. x86. |
| HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"` |
| // The host cross 2nd arch information, eg. x86_64. |
| HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"` |
| // The directory for generated built artifacts installation, eg. out. |
| OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"` |
| // The metrics for calling various tools (microfactory) before Soong_UI starts. |
| SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"` |
| // The metrics for calling Kati by multiple times. |
| KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"` |
| // The metrics for calling Soong. |
| SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"` |
| // The metrics for calling Ninja. |
| NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MetricsBase) Reset() { *m = MetricsBase{} } |
| func (m *MetricsBase) String() string { return proto.CompactTextString(m) } |
| func (*MetricsBase) ProtoMessage() {} |
| func (*MetricsBase) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{0} |
| } |
| |
| func (m *MetricsBase) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MetricsBase.Unmarshal(m, b) |
| } |
| func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic) |
| } |
| func (m *MetricsBase) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MetricsBase.Merge(m, src) |
| } |
| func (m *MetricsBase) XXX_Size() int { |
| return xxx_messageInfo_MetricsBase.Size(m) |
| } |
| func (m *MetricsBase) XXX_DiscardUnknown() { |
| xxx_messageInfo_MetricsBase.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MetricsBase proto.InternalMessageInfo |
| |
| const Default_MetricsBase_TargetBuildVariant MetricsBase_BuildVariant = MetricsBase_ENG |
| const Default_MetricsBase_TargetArch MetricsBase_Arch = MetricsBase_UNKNOWN |
| const Default_MetricsBase_HostArch MetricsBase_Arch = MetricsBase_UNKNOWN |
| const Default_MetricsBase_Host_2NdArch MetricsBase_Arch = MetricsBase_UNKNOWN |
| |
| func (m *MetricsBase) GetBuildDateTimestamp() int64 { |
| if m != nil && m.BuildDateTimestamp != nil { |
| return *m.BuildDateTimestamp |
| } |
| return 0 |
| } |
| |
| func (m *MetricsBase) GetBuildId() string { |
| if m != nil && m.BuildId != nil { |
| return *m.BuildId |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetPlatformVersionCodename() string { |
| if m != nil && m.PlatformVersionCodename != nil { |
| return *m.PlatformVersionCodename |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetTargetProduct() string { |
| if m != nil && m.TargetProduct != nil { |
| return *m.TargetProduct |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant { |
| if m != nil && m.TargetBuildVariant != nil { |
| return *m.TargetBuildVariant |
| } |
| return Default_MetricsBase_TargetBuildVariant |
| } |
| |
| func (m *MetricsBase) GetTargetArch() MetricsBase_Arch { |
| if m != nil && m.TargetArch != nil { |
| return *m.TargetArch |
| } |
| return Default_MetricsBase_TargetArch |
| } |
| |
| func (m *MetricsBase) GetTargetArchVariant() string { |
| if m != nil && m.TargetArchVariant != nil { |
| return *m.TargetArchVariant |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetTargetCpuVariant() string { |
| if m != nil && m.TargetCpuVariant != nil { |
| return *m.TargetCpuVariant |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetHostArch() MetricsBase_Arch { |
| if m != nil && m.HostArch != nil { |
| return *m.HostArch |
| } |
| return Default_MetricsBase_HostArch |
| } |
| |
| func (m *MetricsBase) GetHost_2NdArch() MetricsBase_Arch { |
| if m != nil && m.Host_2NdArch != nil { |
| return *m.Host_2NdArch |
| } |
| return Default_MetricsBase_Host_2NdArch |
| } |
| |
| func (m *MetricsBase) GetHostOs() string { |
| if m != nil && m.HostOs != nil { |
| return *m.HostOs |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetHostOsExtra() string { |
| if m != nil && m.HostOsExtra != nil { |
| return *m.HostOsExtra |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetHostCrossOs() string { |
| if m != nil && m.HostCrossOs != nil { |
| return *m.HostCrossOs |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetHostCrossArch() string { |
| if m != nil && m.HostCrossArch != nil { |
| return *m.HostCrossArch |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetHostCross_2NdArch() string { |
| if m != nil && m.HostCross_2NdArch != nil { |
| return *m.HostCross_2NdArch |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetOutDir() string { |
| if m != nil && m.OutDir != nil { |
| return *m.OutDir |
| } |
| return "" |
| } |
| |
| func (m *MetricsBase) GetSetupTools() []*PerfInfo { |
| if m != nil { |
| return m.SetupTools |
| } |
| return nil |
| } |
| |
| func (m *MetricsBase) GetKatiRuns() []*PerfInfo { |
| if m != nil { |
| return m.KatiRuns |
| } |
| return nil |
| } |
| |
| func (m *MetricsBase) GetSoongRuns() []*PerfInfo { |
| if m != nil { |
| return m.SoongRuns |
| } |
| return nil |
| } |
| |
| func (m *MetricsBase) GetNinjaRuns() []*PerfInfo { |
| if m != nil { |
| return m.NinjaRuns |
| } |
| return nil |
| } |
| |
| type PerfInfo struct { |
| // The description for the phase/action/part while the tool running. |
| Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"` |
| // The name for the running phase/action/part. |
| Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` |
| // The absolute start time. |
| // The number of nanoseconds elapsed since January 1, 1970 UTC. |
| StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` |
| // The real running time. |
| // The number of nanoseconds elapsed since start_time. |
| RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"` |
| // The number of MB for memory use. |
| MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PerfInfo) Reset() { *m = PerfInfo{} } |
| func (m *PerfInfo) String() string { return proto.CompactTextString(m) } |
| func (*PerfInfo) ProtoMessage() {} |
| func (*PerfInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{1} |
| } |
| |
| func (m *PerfInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PerfInfo.Unmarshal(m, b) |
| } |
| func (m *PerfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PerfInfo.Marshal(b, m, deterministic) |
| } |
| func (m *PerfInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PerfInfo.Merge(m, src) |
| } |
| func (m *PerfInfo) XXX_Size() int { |
| return xxx_messageInfo_PerfInfo.Size(m) |
| } |
| func (m *PerfInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_PerfInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PerfInfo proto.InternalMessageInfo |
| |
| func (m *PerfInfo) GetDesc() string { |
| if m != nil && m.Desc != nil { |
| return *m.Desc |
| } |
| return "" |
| } |
| |
| func (m *PerfInfo) GetName() string { |
| if m != nil && m.Name != nil { |
| return *m.Name |
| } |
| return "" |
| } |
| |
| func (m *PerfInfo) GetStartTime() uint64 { |
| if m != nil && m.StartTime != nil { |
| return *m.StartTime |
| } |
| return 0 |
| } |
| |
| func (m *PerfInfo) GetRealTime() uint64 { |
| if m != nil && m.RealTime != nil { |
| return *m.RealTime |
| } |
| return 0 |
| } |
| |
| func (m *PerfInfo) GetMemoryUse() uint64 { |
| if m != nil && m.MemoryUse != nil { |
| return *m.MemoryUse |
| } |
| return 0 |
| } |
| |
| type ModuleTypeInfo struct { |
| // The build system, eg. Soong or Make. |
| BuildSystem *ModuleTypeInfo_BuildSystem `protobuf:"varint,1,opt,name=build_system,json=buildSystem,enum=soong_build_metrics.ModuleTypeInfo_BuildSystem,def=0" json:"build_system,omitempty"` |
| // The module type, eg. java_library, cc_binary, and etc. |
| ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"` |
| // The number of logical modules. |
| NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ModuleTypeInfo) Reset() { *m = ModuleTypeInfo{} } |
| func (m *ModuleTypeInfo) String() string { return proto.CompactTextString(m) } |
| func (*ModuleTypeInfo) ProtoMessage() {} |
| func (*ModuleTypeInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{2} |
| } |
| |
| func (m *ModuleTypeInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ModuleTypeInfo.Unmarshal(m, b) |
| } |
| func (m *ModuleTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ModuleTypeInfo.Marshal(b, m, deterministic) |
| } |
| func (m *ModuleTypeInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ModuleTypeInfo.Merge(m, src) |
| } |
| func (m *ModuleTypeInfo) XXX_Size() int { |
| return xxx_messageInfo_ModuleTypeInfo.Size(m) |
| } |
| func (m *ModuleTypeInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_ModuleTypeInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ModuleTypeInfo proto.InternalMessageInfo |
| |
| const Default_ModuleTypeInfo_BuildSystem ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN |
| |
| func (m *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem { |
| if m != nil && m.BuildSystem != nil { |
| return *m.BuildSystem |
| } |
| return Default_ModuleTypeInfo_BuildSystem |
| } |
| |
| func (m *ModuleTypeInfo) GetModuleType() string { |
| if m != nil && m.ModuleType != nil { |
| return *m.ModuleType |
| } |
| return "" |
| } |
| |
| func (m *ModuleTypeInfo) GetNumOfModules() uint32 { |
| if m != nil && m.NumOfModules != nil { |
| return *m.NumOfModules |
| } |
| return 0 |
| } |
| |
| type CriticalUserJourneyMetrics struct { |
| // The name of a critical user journey test. |
| Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| // The metrics produced when running the critical user journey test. |
| Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CriticalUserJourneyMetrics) Reset() { *m = CriticalUserJourneyMetrics{} } |
| func (m *CriticalUserJourneyMetrics) String() string { return proto.CompactTextString(m) } |
| func (*CriticalUserJourneyMetrics) ProtoMessage() {} |
| func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{3} |
| } |
| |
| func (m *CriticalUserJourneyMetrics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CriticalUserJourneyMetrics.Unmarshal(m, b) |
| } |
| func (m *CriticalUserJourneyMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CriticalUserJourneyMetrics.Marshal(b, m, deterministic) |
| } |
| func (m *CriticalUserJourneyMetrics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CriticalUserJourneyMetrics.Merge(m, src) |
| } |
| func (m *CriticalUserJourneyMetrics) XXX_Size() int { |
| return xxx_messageInfo_CriticalUserJourneyMetrics.Size(m) |
| } |
| func (m *CriticalUserJourneyMetrics) XXX_DiscardUnknown() { |
| xxx_messageInfo_CriticalUserJourneyMetrics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CriticalUserJourneyMetrics proto.InternalMessageInfo |
| |
| func (m *CriticalUserJourneyMetrics) GetName() string { |
| if m != nil && m.Name != nil { |
| return *m.Name |
| } |
| return "" |
| } |
| |
| func (m *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase { |
| if m != nil { |
| return m.Metrics |
| } |
| return nil |
| } |
| |
| type CriticalUserJourneysMetrics struct { |
| // A set of metrics from a run of the critical user journey tests. |
| Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CriticalUserJourneysMetrics) Reset() { *m = CriticalUserJourneysMetrics{} } |
| func (m *CriticalUserJourneysMetrics) String() string { return proto.CompactTextString(m) } |
| func (*CriticalUserJourneysMetrics) ProtoMessage() {} |
| func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_6039342a2ba47b72, []int{4} |
| } |
| |
| func (m *CriticalUserJourneysMetrics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CriticalUserJourneysMetrics.Unmarshal(m, b) |
| } |
| func (m *CriticalUserJourneysMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CriticalUserJourneysMetrics.Marshal(b, m, deterministic) |
| } |
| func (m *CriticalUserJourneysMetrics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CriticalUserJourneysMetrics.Merge(m, src) |
| } |
| func (m *CriticalUserJourneysMetrics) XXX_Size() int { |
| return xxx_messageInfo_CriticalUserJourneysMetrics.Size(m) |
| } |
| func (m *CriticalUserJourneysMetrics) XXX_DiscardUnknown() { |
| xxx_messageInfo_CriticalUserJourneysMetrics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CriticalUserJourneysMetrics proto.InternalMessageInfo |
| |
| func (m *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics { |
| if m != nil { |
| return m.Cujs |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterEnum("soong_build_metrics.MetricsBase_BuildVariant", MetricsBase_BuildVariant_name, MetricsBase_BuildVariant_value) |
| proto.RegisterEnum("soong_build_metrics.MetricsBase_Arch", MetricsBase_Arch_name, MetricsBase_Arch_value) |
| proto.RegisterEnum("soong_build_metrics.ModuleTypeInfo_BuildSystem", ModuleTypeInfo_BuildSystem_name, ModuleTypeInfo_BuildSystem_value) |
| proto.RegisterType((*MetricsBase)(nil), "soong_build_metrics.MetricsBase") |
| proto.RegisterType((*PerfInfo)(nil), "soong_build_metrics.PerfInfo") |
| proto.RegisterType((*ModuleTypeInfo)(nil), "soong_build_metrics.ModuleTypeInfo") |
| proto.RegisterType((*CriticalUserJourneyMetrics)(nil), "soong_build_metrics.CriticalUserJourneyMetrics") |
| proto.RegisterType((*CriticalUserJourneysMetrics)(nil), "soong_build_metrics.CriticalUserJourneysMetrics") |
| } |
| |
| func init() { proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72) } |
| |
| var fileDescriptor_6039342a2ba47b72 = []byte{ |
| // 834 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x6f, 0x6b, 0xdb, 0x46, |
| 0x18, 0xaf, 0x62, 0x25, 0xb6, 0x1e, 0xc5, 0xae, 0x7a, 0xc9, 0xa8, 0xba, 0x12, 0x66, 0xc4, 0x3a, |
| 0xf2, 0x62, 0x75, 0x8b, 0x29, 0xa1, 0x98, 0x32, 0x48, 0x1c, 0x53, 0xba, 0x60, 0xbb, 0x28, 0x71, |
| 0x57, 0xb6, 0x17, 0x87, 0x22, 0x9d, 0x1b, 0x75, 0x96, 0x4e, 0xdc, 0x9d, 0xca, 0xfc, 0x21, 0xf6, |
| 0x4d, 0xf6, 0xb5, 0xf6, 0x3d, 0xc6, 0x3d, 0x27, 0x39, 0x0a, 0x78, 0x34, 0xf4, 0xdd, 0xe9, 0xf9, |
| 0xfd, 0xb9, 0xdf, 0x73, 0xd2, 0x3d, 0x82, 0x6e, 0xc6, 0x94, 0x48, 0x63, 0x39, 0x28, 0x04, 0x57, |
| 0x9c, 0x1c, 0x48, 0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