blob: d6f5bf306266772b44bbd4dc5ed1b9513a1caaf8 [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Copyright 2018 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Nan Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
MarkDacekff851b82022-04-21 18:33:17 +000017// protoc-gen-go v1.28.0
Jason Wu41886f22023-01-04 11:29:36 -050018// protoc v3.21.7
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
Nan Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
47 MetricsBase_BuildVariant_name = map[int32]string{
48 0: "USER",
49 1: "USERDEBUG",
50 2: "ENG",
51 }
52 MetricsBase_BuildVariant_value = map[string]int32{
53 "USER": 0,
54 "USERDEBUG": 1,
55 "ENG": 2,
56 }
57)
Nan Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
70 return file_metrics_proto_enumTypes[0].Descriptor()
71}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
74 return &file_metrics_proto_enumTypes[0]
75}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_UNKNOWN MetricsBase_Arch = 0
100 MetricsBase_ARM MetricsBase_Arch = 1
101 MetricsBase_ARM64 MetricsBase_Arch = 2
102 MetricsBase_X86 MetricsBase_Arch = 3
103 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
108 MetricsBase_Arch_name = map[int32]string{
109 0: "UNKNOWN",
110 1: "ARM",
111 2: "ARM64",
112 3: "X86",
113 4: "X86_64",
114 }
115 MetricsBase_Arch_value = map[string]int32{
116 "UNKNOWN": 0,
117 "ARM": 1,
118 "ARM64": 2,
119 "X86": 3,
120 "X86_64": 4,
121 }
122)
Nan Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
135 return file_metrics_proto_enumTypes[1].Descriptor()
136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
139 return &file_metrics_proto_enumTypes[1]
140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700161type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800162
163const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700164 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
165 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
166 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800167)
168
Dan Willemsen4591b642021-05-24 14:24:12 -0700169// Enum value maps for ModuleTypeInfo_BuildSystem.
170var (
171 ModuleTypeInfo_BuildSystem_name = map[int32]string{
172 0: "UNKNOWN",
173 1: "SOONG",
174 2: "MAKE",
175 }
176 ModuleTypeInfo_BuildSystem_value = map[string]int32{
177 "UNKNOWN": 0,
178 "SOONG": 1,
179 "MAKE": 2,
180 }
181)
Nan Zhang17f27672018-12-12 16:01:49 -0800182
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700183func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
184 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800185 *p = x
186 return p
187}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700188
189func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700190 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800191}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700192
Dan Willemsen4591b642021-05-24 14:24:12 -0700193func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
194 return file_metrics_proto_enumTypes[2].Descriptor()
195}
196
197func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
198 return &file_metrics_proto_enumTypes[2]
199}
200
201func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
202 return protoreflect.EnumNumber(x)
203}
204
205// Deprecated: Do not use.
206func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
207 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800208 if err != nil {
209 return err
210 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700211 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800212 return nil
213}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700214
Dan Willemsen4591b642021-05-24 14:24:12 -0700215// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700217 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800218}
219
David Goldsmith62243a32022-04-08 13:42:04 +0000220type ExpConfigFetcher_ConfigStatus int32
221
222const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000223 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
224 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
225 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
226 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000227)
228
229// Enum value maps for ExpConfigFetcher_ConfigStatus.
230var (
231 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
232 0: "NO_CONFIG",
233 1: "CONFIG",
234 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000235 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000236 }
237 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000238 "NO_CONFIG": 0,
239 "CONFIG": 1,
240 "ERROR": 2,
241 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000242 }
243)
244
245func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
246 p := new(ExpConfigFetcher_ConfigStatus)
247 *p = x
248 return p
249}
250
251func (x ExpConfigFetcher_ConfigStatus) String() string {
252 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
253}
254
255func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
256 return file_metrics_proto_enumTypes[3].Descriptor()
257}
258
259func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
260 return &file_metrics_proto_enumTypes[3]
261}
262
263func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
264 return protoreflect.EnumNumber(x)
265}
266
267// Deprecated: Do not use.
268func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
269 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
270 if err != nil {
271 return err
272 }
273 *x = ExpConfigFetcher_ConfigStatus(num)
274 return nil
275}
276
277// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
278func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
279 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
280}
281
Nan Zhang17f27672018-12-12 16:01:49 -0800282type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700283 state protoimpl.MessageState
284 sizeCache protoimpl.SizeCache
285 unknownFields protoimpl.UnknownFields
286
Nan Zhang17f27672018-12-12 16:01:49 -0800287 // Timestamp generated when the build starts.
288 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
289 // It is usually used to specify the branch name [and release candidate].
290 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
291 // The platform version codename, eg. P, Q, REL.
292 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
293 // The target product information, eg. aosp_arm.
294 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
295 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700296 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 -0800297 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700298 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 -0800299 // The target arch variant information, eg. armv7-a-neon.
300 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
301 // The target cpu variant information, eg. generic.
302 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
303 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700304 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 -0800305 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700306 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 -0800307 // The host os information, eg. linux.
308 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
309 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
310 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
311 // The host cross os information, eg. windows.
312 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
313 // The host cross arch information, eg. x86.
314 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
315 // The host cross 2nd arch information, eg. x86_64.
316 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
317 // The directory for generated built artifacts installation, eg. out.
318 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
319 // The metrics for calling various tools (microfactory) before Soong_UI starts.
320 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
321 // The metrics for calling Kati by multiple times.
322 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
323 // The metrics for calling Soong.
324 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
325 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800326 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
327 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500328 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
329 // Deprecated because instead of embedding in a MetricsBase, we keep
330 // SoongBuildMetrics in its own file
331 //
332 // Deprecated: Do not use.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000333 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
334 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000335 // The hostname of the machine.
336 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
337 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700338 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
339 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800340 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
341 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700342 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000343 // The metrics of the experiment config fetcher
344 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400345 // Whether the build exited with a panic or non-zero exit code, includes both
346 // non-zero exits of recorded phases and non-recorded phases of the build.
347 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
348 // The error message due to a non-zero exit _only_ if it did not occur in a
349 // recorded phase of the build.
350 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
MarkDaceka18ba222023-03-07 18:18:19 +0000351 // The Git Manifest for the user's branch.
352 ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"`
353 // The branch on which the build occurred.
354 // Example: refs/heads/master
355 Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900356 // The metric of critical path in build
357 CriticalPathInfo *CriticalPathInfo `protobuf:"bytes,33,opt,name=critical_path_info,json=criticalPathInfo" json:"critical_path_info,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800358}
359
Dan Willemsen4591b642021-05-24 14:24:12 -0700360// Default values for MetricsBase fields.
361const (
362 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
363 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
364 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
365 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
366)
367
368func (x *MetricsBase) Reset() {
369 *x = MetricsBase{}
370 if protoimpl.UnsafeEnabled {
371 mi := &file_metrics_proto_msgTypes[0]
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 ms.StoreMessageInfo(mi)
374 }
375}
376
377func (x *MetricsBase) String() string {
378 return protoimpl.X.MessageStringOf(x)
379}
380
381func (*MetricsBase) ProtoMessage() {}
382
383func (x *MetricsBase) ProtoReflect() protoreflect.Message {
384 mi := &file_metrics_proto_msgTypes[0]
385 if protoimpl.UnsafeEnabled && x != nil {
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 if ms.LoadMessageInfo() == nil {
388 ms.StoreMessageInfo(mi)
389 }
390 return ms
391 }
392 return mi.MessageOf(x)
393}
394
395// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800396func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700397 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800398}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700399
Dan Willemsen4591b642021-05-24 14:24:12 -0700400func (x *MetricsBase) GetBuildDateTimestamp() int64 {
401 if x != nil && x.BuildDateTimestamp != nil {
402 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800403 }
404 return 0
405}
406
Dan Willemsen4591b642021-05-24 14:24:12 -0700407func (x *MetricsBase) GetBuildId() string {
408 if x != nil && x.BuildId != nil {
409 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800410 }
411 return ""
412}
413
Dan Willemsen4591b642021-05-24 14:24:12 -0700414func (x *MetricsBase) GetPlatformVersionCodename() string {
415 if x != nil && x.PlatformVersionCodename != nil {
416 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800417 }
418 return ""
419}
420
Dan Willemsen4591b642021-05-24 14:24:12 -0700421func (x *MetricsBase) GetTargetProduct() string {
422 if x != nil && x.TargetProduct != nil {
423 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800424 }
425 return ""
426}
427
Dan Willemsen4591b642021-05-24 14:24:12 -0700428func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
429 if x != nil && x.TargetBuildVariant != nil {
430 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800431 }
432 return Default_MetricsBase_TargetBuildVariant
433}
434
Dan Willemsen4591b642021-05-24 14:24:12 -0700435func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
436 if x != nil && x.TargetArch != nil {
437 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800438 }
439 return Default_MetricsBase_TargetArch
440}
441
Dan Willemsen4591b642021-05-24 14:24:12 -0700442func (x *MetricsBase) GetTargetArchVariant() string {
443 if x != nil && x.TargetArchVariant != nil {
444 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800445 }
446 return ""
447}
448
Dan Willemsen4591b642021-05-24 14:24:12 -0700449func (x *MetricsBase) GetTargetCpuVariant() string {
450 if x != nil && x.TargetCpuVariant != nil {
451 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800452 }
453 return ""
454}
455
Dan Willemsen4591b642021-05-24 14:24:12 -0700456func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
457 if x != nil && x.HostArch != nil {
458 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800459 }
460 return Default_MetricsBase_HostArch
461}
462
Dan Willemsen4591b642021-05-24 14:24:12 -0700463func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
464 if x != nil && x.Host_2NdArch != nil {
465 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800466 }
467 return Default_MetricsBase_Host_2NdArch
468}
469
Dan Willemsen4591b642021-05-24 14:24:12 -0700470func (x *MetricsBase) GetHostOs() string {
471 if x != nil && x.HostOs != nil {
472 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800473 }
474 return ""
475}
476
Dan Willemsen4591b642021-05-24 14:24:12 -0700477func (x *MetricsBase) GetHostOsExtra() string {
478 if x != nil && x.HostOsExtra != nil {
479 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800480 }
481 return ""
482}
483
Dan Willemsen4591b642021-05-24 14:24:12 -0700484func (x *MetricsBase) GetHostCrossOs() string {
485 if x != nil && x.HostCrossOs != nil {
486 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800487 }
488 return ""
489}
490
Dan Willemsen4591b642021-05-24 14:24:12 -0700491func (x *MetricsBase) GetHostCrossArch() string {
492 if x != nil && x.HostCrossArch != nil {
493 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800494 }
495 return ""
496}
497
Dan Willemsen4591b642021-05-24 14:24:12 -0700498func (x *MetricsBase) GetHostCross_2NdArch() string {
499 if x != nil && x.HostCross_2NdArch != nil {
500 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800501 }
502 return ""
503}
504
Dan Willemsen4591b642021-05-24 14:24:12 -0700505func (x *MetricsBase) GetOutDir() string {
506 if x != nil && x.OutDir != nil {
507 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800508 }
509 return ""
510}
511
Dan Willemsen4591b642021-05-24 14:24:12 -0700512func (x *MetricsBase) GetSetupTools() []*PerfInfo {
513 if x != nil {
514 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800515 }
516 return nil
517}
518
Dan Willemsen4591b642021-05-24 14:24:12 -0700519func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
520 if x != nil {
521 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800522 }
523 return nil
524}
525
Dan Willemsen4591b642021-05-24 14:24:12 -0700526func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
527 if x != nil {
528 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800529 }
530 return nil
531}
532
Dan Willemsen4591b642021-05-24 14:24:12 -0700533func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
534 if x != nil {
535 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800536 }
537 return nil
538}
539
Dan Willemsen4591b642021-05-24 14:24:12 -0700540func (x *MetricsBase) GetTotal() *PerfInfo {
541 if x != nil {
542 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800543 }
544 return nil
545}
546
Jason Wu41886f22023-01-04 11:29:36 -0500547// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700548func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
549 if x != nil {
550 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800551 }
552 return nil
553}
554
Dan Willemsen4591b642021-05-24 14:24:12 -0700555func (x *MetricsBase) GetBuildConfig() *BuildConfig {
556 if x != nil {
557 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000558 }
559 return nil
560}
561
Dan Willemsen4591b642021-05-24 14:24:12 -0700562func (x *MetricsBase) GetHostname() string {
563 if x != nil && x.Hostname != nil {
564 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000565 }
566 return ""
567}
568
Dan Willemsen4591b642021-05-24 14:24:12 -0700569func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
570 if x != nil {
571 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000572 }
573 return nil
574}
575
Dan Willemsen4591b642021-05-24 14:24:12 -0700576func (x *MetricsBase) GetBuildCommand() string {
577 if x != nil && x.BuildCommand != nil {
578 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700579 }
580 return ""
581}
582
Dan Willemsen4591b642021-05-24 14:24:12 -0700583func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
584 if x != nil {
585 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800586 }
587 return nil
588}
589
David Goldsmith62243a32022-04-08 13:42:04 +0000590func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
591 if x != nil {
592 return x.ExpConfigFetcher
593 }
594 return nil
595}
596
Liz Kammerf2a80c62022-10-21 10:42:35 -0400597func (x *MetricsBase) GetNonZeroExit() bool {
598 if x != nil && x.NonZeroExit != nil {
599 return *x.NonZeroExit
600 }
601 return false
602}
603
604func (x *MetricsBase) GetErrorMessage() string {
605 if x != nil && x.ErrorMessage != nil {
606 return *x.ErrorMessage
607 }
608 return ""
609}
610
MarkDaceka18ba222023-03-07 18:18:19 +0000611func (x *MetricsBase) GetManifestUrl() string {
612 if x != nil && x.ManifestUrl != nil {
613 return *x.ManifestUrl
614 }
615 return ""
616}
617
618func (x *MetricsBase) GetBranch() string {
619 if x != nil && x.Branch != nil {
620 return *x.Branch
621 }
622 return ""
623}
624
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900625func (x *MetricsBase) GetCriticalPathInfo() *CriticalPathInfo {
626 if x != nil {
627 return x.CriticalPathInfo
628 }
629 return nil
630}
631
Patrice Arruda96850362020-08-11 20:41:11 +0000632type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700633 state protoimpl.MessageState
634 sizeCache protoimpl.SizeCache
635 unknownFields protoimpl.UnknownFields
636
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400637 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
638 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
639 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
640 // Whether the Bazel is acting as the Ninja executor for this build.
641 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
642 // Whether build is occurring in a mixed build mode, where Bazel maintains the
643 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700644 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700645 // These are the targets soong passes to ninja, these targets include special
646 // targets such as droid as well as the regular build targets.
647 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400648 // Whether the user explicitly disabled bazel mixed builds for this build.
649 ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000650}
651
Dan Willemsen4591b642021-05-24 14:24:12 -0700652func (x *BuildConfig) Reset() {
653 *x = BuildConfig{}
654 if protoimpl.UnsafeEnabled {
655 mi := &file_metrics_proto_msgTypes[1]
656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
657 ms.StoreMessageInfo(mi)
658 }
659}
660
661func (x *BuildConfig) String() string {
662 return protoimpl.X.MessageStringOf(x)
663}
664
665func (*BuildConfig) ProtoMessage() {}
666
667func (x *BuildConfig) ProtoReflect() protoreflect.Message {
668 mi := &file_metrics_proto_msgTypes[1]
669 if protoimpl.UnsafeEnabled && x != nil {
670 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
671 if ms.LoadMessageInfo() == nil {
672 ms.StoreMessageInfo(mi)
673 }
674 return ms
675 }
676 return mi.MessageOf(x)
677}
678
679// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000680func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700681 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000682}
683
Dan Willemsen4591b642021-05-24 14:24:12 -0700684func (x *BuildConfig) GetUseGoma() bool {
685 if x != nil && x.UseGoma != nil {
686 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000687 }
688 return false
689}
690
Dan Willemsen4591b642021-05-24 14:24:12 -0700691func (x *BuildConfig) GetUseRbe() bool {
692 if x != nil && x.UseRbe != nil {
693 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000694 }
695 return false
696}
697
Dan Willemsen4591b642021-05-24 14:24:12 -0700698func (x *BuildConfig) GetForceUseGoma() bool {
699 if x != nil && x.ForceUseGoma != nil {
700 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000701 }
702 return false
703}
704
Dan Willemsen4591b642021-05-24 14:24:12 -0700705func (x *BuildConfig) GetBazelAsNinja() bool {
706 if x != nil && x.BazelAsNinja != nil {
707 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400708 }
709 return false
710}
711
Dan Willemsen4591b642021-05-24 14:24:12 -0700712func (x *BuildConfig) GetBazelMixedBuild() bool {
713 if x != nil && x.BazelMixedBuild != nil {
714 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400715 }
716 return false
717}
718
Yu Liue737a992021-10-04 13:21:41 -0700719func (x *BuildConfig) GetTargets() []string {
720 if x != nil {
721 return x.Targets
722 }
723 return nil
724}
725
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400726func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
727 if x != nil && x.ForceDisableBazelMixedBuild != nil {
728 return *x.ForceDisableBazelMixedBuild
729 }
730 return false
731}
732
Patrice Arruda3edfd482020-10-13 23:58:41 +0000733type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700734 state protoimpl.MessageState
735 sizeCache protoimpl.SizeCache
736 unknownFields protoimpl.UnknownFields
737
Patrice Arruda3edfd482020-10-13 23:58:41 +0000738 // The total physical memory in bytes.
739 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
740 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700741 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000742}
743
Dan Willemsen4591b642021-05-24 14:24:12 -0700744func (x *SystemResourceInfo) Reset() {
745 *x = SystemResourceInfo{}
746 if protoimpl.UnsafeEnabled {
747 mi := &file_metrics_proto_msgTypes[2]
748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
749 ms.StoreMessageInfo(mi)
750 }
751}
752
753func (x *SystemResourceInfo) String() string {
754 return protoimpl.X.MessageStringOf(x)
755}
756
757func (*SystemResourceInfo) ProtoMessage() {}
758
759func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
760 mi := &file_metrics_proto_msgTypes[2]
761 if protoimpl.UnsafeEnabled && x != nil {
762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
763 if ms.LoadMessageInfo() == nil {
764 ms.StoreMessageInfo(mi)
765 }
766 return ms
767 }
768 return mi.MessageOf(x)
769}
770
771// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000772func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700773 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000774}
775
Dan Willemsen4591b642021-05-24 14:24:12 -0700776func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
777 if x != nil && x.TotalPhysicalMemory != nil {
778 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000779 }
780 return 0
781}
782
Dan Willemsen4591b642021-05-24 14:24:12 -0700783func (x *SystemResourceInfo) GetAvailableCpus() int32 {
784 if x != nil && x.AvailableCpus != nil {
785 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000786 }
787 return 0
788}
789
Nan Zhang17f27672018-12-12 16:01:49 -0800790type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700791 state protoimpl.MessageState
792 sizeCache protoimpl.SizeCache
793 unknownFields protoimpl.UnknownFields
794
Nan Zhang17f27672018-12-12 16:01:49 -0800795 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700796 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800797 // The name for the running phase/action/part.
798 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
799 // The absolute start time.
800 // The number of nanoseconds elapsed since January 1, 1970 UTC.
801 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
802 // The real running time.
803 // The number of nanoseconds elapsed since start_time.
804 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700805 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700806 //
807 // Deprecated: Do not use.
808 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700809 // The resource information of each executed process.
810 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400811 // Whether the phase of tool running exited with a panic or non-zero exit
812 // code.
813 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
814 // The error message, if any, due to a non-zero exit.
815 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800816}
817
Dan Willemsen4591b642021-05-24 14:24:12 -0700818func (x *PerfInfo) Reset() {
819 *x = PerfInfo{}
820 if protoimpl.UnsafeEnabled {
821 mi := &file_metrics_proto_msgTypes[3]
822 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
823 ms.StoreMessageInfo(mi)
824 }
825}
826
827func (x *PerfInfo) String() string {
828 return protoimpl.X.MessageStringOf(x)
829}
830
831func (*PerfInfo) ProtoMessage() {}
832
833func (x *PerfInfo) ProtoReflect() protoreflect.Message {
834 mi := &file_metrics_proto_msgTypes[3]
835 if protoimpl.UnsafeEnabled && x != nil {
836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
837 if ms.LoadMessageInfo() == nil {
838 ms.StoreMessageInfo(mi)
839 }
840 return ms
841 }
842 return mi.MessageOf(x)
843}
844
845// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800846func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700847 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800848}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700849
Yu Liu37c3dd32021-09-30 14:46:18 -0700850func (x *PerfInfo) GetDescription() string {
851 if x != nil && x.Description != nil {
852 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800853 }
854 return ""
855}
856
Dan Willemsen4591b642021-05-24 14:24:12 -0700857func (x *PerfInfo) GetName() string {
858 if x != nil && x.Name != nil {
859 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800860 }
861 return ""
862}
863
Dan Willemsen4591b642021-05-24 14:24:12 -0700864func (x *PerfInfo) GetStartTime() uint64 {
865 if x != nil && x.StartTime != nil {
866 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800867 }
868 return 0
869}
870
Dan Willemsen4591b642021-05-24 14:24:12 -0700871func (x *PerfInfo) GetRealTime() uint64 {
872 if x != nil && x.RealTime != nil {
873 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800874 }
875 return 0
876}
877
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700878// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700879func (x *PerfInfo) GetMemoryUse() uint64 {
880 if x != nil && x.MemoryUse != nil {
881 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800882 }
883 return 0
884}
885
Dan Willemsen4591b642021-05-24 14:24:12 -0700886func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
887 if x != nil {
888 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700889 }
890 return nil
891}
892
Liz Kammerf2a80c62022-10-21 10:42:35 -0400893func (x *PerfInfo) GetNonZeroExit() bool {
894 if x != nil && x.NonZeroExit != nil {
895 return *x.NonZeroExit
896 }
897 return false
898}
899
900func (x *PerfInfo) GetErrorMessage() string {
901 if x != nil && x.ErrorMessage != nil {
902 return *x.ErrorMessage
903 }
904 return ""
905}
906
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700907type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700908 state protoimpl.MessageState
909 sizeCache protoimpl.SizeCache
910 unknownFields protoimpl.UnknownFields
911
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700912 // The name of the process for identification.
913 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
914 // The amount of time spent executing in user space in microseconds.
915 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
916 // The amount of time spent executing in kernel mode in microseconds.
917 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
918 // The maximum resident set size memory used in kilobytes.
919 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
920 // The number of minor page faults serviced without any I/O activity.
921 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
922 // The number of major page faults serviced that required I/O activity.
923 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
924 // Total IO input in kilobytes.
925 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
926 // Total IO output in kilobytes.
927 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
928 // The number of voluntary context switches
929 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
930 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700931 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700932}
933
Dan Willemsen4591b642021-05-24 14:24:12 -0700934func (x *ProcessResourceInfo) Reset() {
935 *x = ProcessResourceInfo{}
936 if protoimpl.UnsafeEnabled {
937 mi := &file_metrics_proto_msgTypes[4]
938 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
939 ms.StoreMessageInfo(mi)
940 }
941}
942
943func (x *ProcessResourceInfo) String() string {
944 return protoimpl.X.MessageStringOf(x)
945}
946
947func (*ProcessResourceInfo) ProtoMessage() {}
948
949func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
950 mi := &file_metrics_proto_msgTypes[4]
951 if protoimpl.UnsafeEnabled && x != nil {
952 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
953 if ms.LoadMessageInfo() == nil {
954 ms.StoreMessageInfo(mi)
955 }
956 return ms
957 }
958 return mi.MessageOf(x)
959}
960
961// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700962func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700963 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700964}
965
Dan Willemsen4591b642021-05-24 14:24:12 -0700966func (x *ProcessResourceInfo) GetName() string {
967 if x != nil && x.Name != nil {
968 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700969 }
970 return ""
971}
972
Dan Willemsen4591b642021-05-24 14:24:12 -0700973func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
974 if x != nil && x.UserTimeMicros != nil {
975 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700976 }
977 return 0
978}
979
Dan Willemsen4591b642021-05-24 14:24:12 -0700980func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
981 if x != nil && x.SystemTimeMicros != nil {
982 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700983 }
984 return 0
985}
986
Dan Willemsen4591b642021-05-24 14:24:12 -0700987func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
988 if x != nil && x.MaxRssKb != nil {
989 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700990 }
991 return 0
992}
993
Dan Willemsen4591b642021-05-24 14:24:12 -0700994func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
995 if x != nil && x.MinorPageFaults != nil {
996 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700997 }
998 return 0
999}
1000
Dan Willemsen4591b642021-05-24 14:24:12 -07001001func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
1002 if x != nil && x.MajorPageFaults != nil {
1003 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001004 }
1005 return 0
1006}
1007
Dan Willemsen4591b642021-05-24 14:24:12 -07001008func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
1009 if x != nil && x.IoInputKb != nil {
1010 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001011 }
1012 return 0
1013}
1014
Dan Willemsen4591b642021-05-24 14:24:12 -07001015func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
1016 if x != nil && x.IoOutputKb != nil {
1017 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001018 }
1019 return 0
1020}
1021
Dan Willemsen4591b642021-05-24 14:24:12 -07001022func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
1023 if x != nil && x.VoluntaryContextSwitches != nil {
1024 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001025 }
1026 return 0
1027}
1028
Dan Willemsen4591b642021-05-24 14:24:12 -07001029func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1030 if x != nil && x.InvoluntaryContextSwitches != nil {
1031 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001032 }
1033 return 0
1034}
1035
Nan Zhang17f27672018-12-12 16:01:49 -08001036type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001037 state protoimpl.MessageState
1038 sizeCache protoimpl.SizeCache
1039 unknownFields protoimpl.UnknownFields
1040
MarkDacekff851b82022-04-21 18:33:17 +00001041 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001042 BuildSystem *ModuleTypeInfo_BuildSystem `protobuf:"varint,1,opt,name=build_system,json=buildSystem,enum=soong_build_metrics.ModuleTypeInfo_BuildSystem,def=0" json:"build_system,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001043 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001044 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1045 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001046 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001047}
1048
Dan Willemsen4591b642021-05-24 14:24:12 -07001049// Default values for ModuleTypeInfo fields.
1050const (
1051 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1052)
1053
1054func (x *ModuleTypeInfo) Reset() {
1055 *x = ModuleTypeInfo{}
1056 if protoimpl.UnsafeEnabled {
1057 mi := &file_metrics_proto_msgTypes[5]
1058 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1059 ms.StoreMessageInfo(mi)
1060 }
1061}
1062
1063func (x *ModuleTypeInfo) String() string {
1064 return protoimpl.X.MessageStringOf(x)
1065}
1066
1067func (*ModuleTypeInfo) ProtoMessage() {}
1068
1069func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1070 mi := &file_metrics_proto_msgTypes[5]
1071 if protoimpl.UnsafeEnabled && x != nil {
1072 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1073 if ms.LoadMessageInfo() == nil {
1074 ms.StoreMessageInfo(mi)
1075 }
1076 return ms
1077 }
1078 return mi.MessageOf(x)
1079}
1080
1081// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001082func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001083 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001084}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001085
Dan Willemsen4591b642021-05-24 14:24:12 -07001086func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1087 if x != nil && x.BuildSystem != nil {
1088 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001089 }
1090 return Default_ModuleTypeInfo_BuildSystem
1091}
1092
Dan Willemsen4591b642021-05-24 14:24:12 -07001093func (x *ModuleTypeInfo) GetModuleType() string {
1094 if x != nil && x.ModuleType != nil {
1095 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001096 }
1097 return ""
1098}
1099
Dan Willemsen4591b642021-05-24 14:24:12 -07001100func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1101 if x != nil && x.NumOfModules != nil {
1102 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001103 }
1104 return 0
1105}
1106
Colin Crossd0be2102019-11-26 16:16:57 -08001107type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001108 state protoimpl.MessageState
1109 sizeCache protoimpl.SizeCache
1110 unknownFields protoimpl.UnknownFields
1111
Colin Crossd0be2102019-11-26 16:16:57 -08001112 // The name of a critical user journey test.
1113 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1114 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001115 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001116}
1117
Dan Willemsen4591b642021-05-24 14:24:12 -07001118func (x *CriticalUserJourneyMetrics) Reset() {
1119 *x = CriticalUserJourneyMetrics{}
1120 if protoimpl.UnsafeEnabled {
1121 mi := &file_metrics_proto_msgTypes[6]
1122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1123 ms.StoreMessageInfo(mi)
1124 }
1125}
1126
1127func (x *CriticalUserJourneyMetrics) String() string {
1128 return protoimpl.X.MessageStringOf(x)
1129}
1130
1131func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1132
1133func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1134 mi := &file_metrics_proto_msgTypes[6]
1135 if protoimpl.UnsafeEnabled && x != nil {
1136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1137 if ms.LoadMessageInfo() == nil {
1138 ms.StoreMessageInfo(mi)
1139 }
1140 return ms
1141 }
1142 return mi.MessageOf(x)
1143}
1144
1145// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001146func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001147 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001148}
1149
Dan Willemsen4591b642021-05-24 14:24:12 -07001150func (x *CriticalUserJourneyMetrics) GetName() string {
1151 if x != nil && x.Name != nil {
1152 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001153 }
1154 return ""
1155}
1156
Dan Willemsen4591b642021-05-24 14:24:12 -07001157func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1158 if x != nil {
1159 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001160 }
1161 return nil
1162}
1163
1164type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001165 state protoimpl.MessageState
1166 sizeCache protoimpl.SizeCache
1167 unknownFields protoimpl.UnknownFields
1168
Colin Crossd0be2102019-11-26 16:16:57 -08001169 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001170 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001171}
1172
Dan Willemsen4591b642021-05-24 14:24:12 -07001173func (x *CriticalUserJourneysMetrics) Reset() {
1174 *x = CriticalUserJourneysMetrics{}
1175 if protoimpl.UnsafeEnabled {
1176 mi := &file_metrics_proto_msgTypes[7]
1177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1178 ms.StoreMessageInfo(mi)
1179 }
1180}
1181
1182func (x *CriticalUserJourneysMetrics) String() string {
1183 return protoimpl.X.MessageStringOf(x)
1184}
1185
1186func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1187
1188func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1189 mi := &file_metrics_proto_msgTypes[7]
1190 if protoimpl.UnsafeEnabled && x != nil {
1191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1192 if ms.LoadMessageInfo() == nil {
1193 ms.StoreMessageInfo(mi)
1194 }
1195 return ms
1196 }
1197 return mi.MessageOf(x)
1198}
1199
1200// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001201func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001202 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001203}
1204
Dan Willemsen4591b642021-05-24 14:24:12 -07001205func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1206 if x != nil {
1207 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001208 }
1209 return nil
1210}
1211
Colin Crossb72c9092020-02-10 11:23:49 -08001212type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001213 state protoimpl.MessageState
1214 sizeCache protoimpl.SizeCache
1215 unknownFields protoimpl.UnknownFields
1216
Colin Crossb72c9092020-02-10 11:23:49 -08001217 // The number of modules handled by soong_build.
1218 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1219 // The total number of variants handled by soong_build.
1220 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1221 // The total number of allocations in soong_build.
1222 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1223 // The total size of allocations in soong_build in bytes.
1224 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1225 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001226 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001227 // Runtime metrics for soong_build execution.
1228 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001229 // Mixed Builds information
1230 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001231}
1232
Dan Willemsen4591b642021-05-24 14:24:12 -07001233func (x *SoongBuildMetrics) Reset() {
1234 *x = SoongBuildMetrics{}
1235 if protoimpl.UnsafeEnabled {
1236 mi := &file_metrics_proto_msgTypes[8]
1237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1238 ms.StoreMessageInfo(mi)
1239 }
1240}
1241
1242func (x *SoongBuildMetrics) String() string {
1243 return protoimpl.X.MessageStringOf(x)
1244}
1245
1246func (*SoongBuildMetrics) ProtoMessage() {}
1247
1248func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1249 mi := &file_metrics_proto_msgTypes[8]
1250 if protoimpl.UnsafeEnabled && x != nil {
1251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1252 if ms.LoadMessageInfo() == nil {
1253 ms.StoreMessageInfo(mi)
1254 }
1255 return ms
1256 }
1257 return mi.MessageOf(x)
1258}
1259
1260// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001261func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001262 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001263}
1264
Dan Willemsen4591b642021-05-24 14:24:12 -07001265func (x *SoongBuildMetrics) GetModules() uint32 {
1266 if x != nil && x.Modules != nil {
1267 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001268 }
1269 return 0
1270}
1271
Dan Willemsen4591b642021-05-24 14:24:12 -07001272func (x *SoongBuildMetrics) GetVariants() uint32 {
1273 if x != nil && x.Variants != nil {
1274 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001275 }
1276 return 0
1277}
1278
Dan Willemsen4591b642021-05-24 14:24:12 -07001279func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1280 if x != nil && x.TotalAllocCount != nil {
1281 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001282 }
1283 return 0
1284}
1285
Dan Willemsen4591b642021-05-24 14:24:12 -07001286func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1287 if x != nil && x.TotalAllocSize != nil {
1288 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001289 }
1290 return 0
1291}
1292
Dan Willemsen4591b642021-05-24 14:24:12 -07001293func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1294 if x != nil && x.MaxHeapSize != nil {
1295 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001296 }
1297 return 0
1298}
1299
Chris Parsons715b08f2022-03-22 19:23:40 -04001300func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1301 if x != nil {
1302 return x.Events
1303 }
1304 return nil
1305}
1306
MarkDacekff851b82022-04-21 18:33:17 +00001307func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1308 if x != nil {
1309 return x.MixedBuildsInfo
1310 }
1311 return nil
1312}
1313
David Goldsmith62243a32022-04-08 13:42:04 +00001314type ExpConfigFetcher struct {
1315 state protoimpl.MessageState
1316 sizeCache protoimpl.SizeCache
1317 unknownFields protoimpl.UnknownFields
1318
1319 // The result of the call to expconfigfetcher
1320 // NO_CONFIG - Not part of experiment
1321 // CONFIG - Part of experiment, config copied successfully
1322 // ERROR - expconfigfetcher failed
1323 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1324 // The output config filename
1325 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1326 // Time, in microseconds, taken by the expconfigfetcher
1327 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1328}
1329
1330func (x *ExpConfigFetcher) Reset() {
1331 *x = ExpConfigFetcher{}
1332 if protoimpl.UnsafeEnabled {
1333 mi := &file_metrics_proto_msgTypes[9]
1334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1335 ms.StoreMessageInfo(mi)
1336 }
1337}
1338
1339func (x *ExpConfigFetcher) String() string {
1340 return protoimpl.X.MessageStringOf(x)
1341}
1342
1343func (*ExpConfigFetcher) ProtoMessage() {}
1344
1345func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1346 mi := &file_metrics_proto_msgTypes[9]
1347 if protoimpl.UnsafeEnabled && x != nil {
1348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1349 if ms.LoadMessageInfo() == nil {
1350 ms.StoreMessageInfo(mi)
1351 }
1352 return ms
1353 }
1354 return mi.MessageOf(x)
1355}
1356
1357// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1358func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1359 return file_metrics_proto_rawDescGZIP(), []int{9}
1360}
1361
1362func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1363 if x != nil && x.Status != nil {
1364 return *x.Status
1365 }
1366 return ExpConfigFetcher_NO_CONFIG
1367}
1368
1369func (x *ExpConfigFetcher) GetFilename() string {
1370 if x != nil && x.Filename != nil {
1371 return *x.Filename
1372 }
1373 return ""
1374}
1375
1376func (x *ExpConfigFetcher) GetMicros() uint64 {
1377 if x != nil && x.Micros != nil {
1378 return *x.Micros
1379 }
1380 return 0
1381}
1382
MarkDacekff851b82022-04-21 18:33:17 +00001383type MixedBuildsInfo struct {
1384 state protoimpl.MessageState
1385 sizeCache protoimpl.SizeCache
1386 unknownFields protoimpl.UnknownFields
1387
1388 // Modules that are enabled for Mixed Builds.
1389 MixedBuildEnabledModules []string `protobuf:"bytes,1,rep,name=mixed_build_enabled_modules,json=mixedBuildEnabledModules" json:"mixed_build_enabled_modules,omitempty"`
MarkDacek5b08fe12022-05-11 21:55:53 +00001390 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001391 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1392}
1393
1394func (x *MixedBuildsInfo) Reset() {
1395 *x = MixedBuildsInfo{}
1396 if protoimpl.UnsafeEnabled {
1397 mi := &file_metrics_proto_msgTypes[10]
1398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1399 ms.StoreMessageInfo(mi)
1400 }
1401}
1402
1403func (x *MixedBuildsInfo) String() string {
1404 return protoimpl.X.MessageStringOf(x)
1405}
1406
1407func (*MixedBuildsInfo) ProtoMessage() {}
1408
1409func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1410 mi := &file_metrics_proto_msgTypes[10]
1411 if protoimpl.UnsafeEnabled && x != nil {
1412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1413 if ms.LoadMessageInfo() == nil {
1414 ms.StoreMessageInfo(mi)
1415 }
1416 return ms
1417 }
1418 return mi.MessageOf(x)
1419}
1420
1421// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1422func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1423 return file_metrics_proto_rawDescGZIP(), []int{10}
1424}
1425
1426func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1427 if x != nil {
1428 return x.MixedBuildEnabledModules
1429 }
1430 return nil
1431}
1432
1433func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1434 if x != nil {
1435 return x.MixedBuildDisabledModules
1436 }
1437 return nil
1438}
1439
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001440type CriticalPathInfo struct {
1441 state protoimpl.MessageState
1442 sizeCache protoimpl.SizeCache
1443 unknownFields protoimpl.UnknownFields
1444
1445 // Real time which the build system spent
1446 ElapsedTime *uint64 `protobuf:"varint,1,opt,name=elapsed_time,json=elapsedTime" json:"elapsed_time,omitempty"`
1447 // The sum of execution time of the longest path from leave to the root
1448 CriticalPathTime *uint64 `protobuf:"varint,2,opt,name=critical_path_time,json=criticalPathTime" json:"critical_path_time,omitempty"`
1449 // Detailed job information in a critical path.
1450 CriticalPath []*JobInfo `protobuf:"bytes,4,rep,name=critical_path,json=criticalPath" json:"critical_path,omitempty"`
1451}
1452
1453func (x *CriticalPathInfo) Reset() {
1454 *x = CriticalPathInfo{}
1455 if protoimpl.UnsafeEnabled {
1456 mi := &file_metrics_proto_msgTypes[11]
1457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1458 ms.StoreMessageInfo(mi)
1459 }
1460}
1461
1462func (x *CriticalPathInfo) String() string {
1463 return protoimpl.X.MessageStringOf(x)
1464}
1465
1466func (*CriticalPathInfo) ProtoMessage() {}
1467
1468func (x *CriticalPathInfo) ProtoReflect() protoreflect.Message {
1469 mi := &file_metrics_proto_msgTypes[11]
1470 if protoimpl.UnsafeEnabled && x != nil {
1471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1472 if ms.LoadMessageInfo() == nil {
1473 ms.StoreMessageInfo(mi)
1474 }
1475 return ms
1476 }
1477 return mi.MessageOf(x)
1478}
1479
1480// Deprecated: Use CriticalPathInfo.ProtoReflect.Descriptor instead.
1481func (*CriticalPathInfo) Descriptor() ([]byte, []int) {
1482 return file_metrics_proto_rawDescGZIP(), []int{11}
1483}
1484
1485func (x *CriticalPathInfo) GetElapsedTime() uint64 {
1486 if x != nil && x.ElapsedTime != nil {
1487 return *x.ElapsedTime
1488 }
1489 return 0
1490}
1491
1492func (x *CriticalPathInfo) GetCriticalPathTime() uint64 {
1493 if x != nil && x.CriticalPathTime != nil {
1494 return *x.CriticalPathTime
1495 }
1496 return 0
1497}
1498
1499func (x *CriticalPathInfo) GetCriticalPath() []*JobInfo {
1500 if x != nil {
1501 return x.CriticalPath
1502 }
1503 return nil
1504}
1505
1506type JobInfo struct {
1507 state protoimpl.MessageState
1508 sizeCache protoimpl.SizeCache
1509 unknownFields protoimpl.UnknownFields
1510
1511 // Real time which a job spent
1512 ElapsedTime *uint64 `protobuf:"varint,1,opt,name=elapsed_time,json=elapsedTime" json:"elapsed_time,omitempty"`
1513 // Description of a job
1514 JobDescription *string `protobuf:"bytes,2,opt,name=job_description,json=jobDescription" json:"job_description,omitempty"`
1515}
1516
1517func (x *JobInfo) Reset() {
1518 *x = JobInfo{}
1519 if protoimpl.UnsafeEnabled {
1520 mi := &file_metrics_proto_msgTypes[12]
1521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1522 ms.StoreMessageInfo(mi)
1523 }
1524}
1525
1526func (x *JobInfo) String() string {
1527 return protoimpl.X.MessageStringOf(x)
1528}
1529
1530func (*JobInfo) ProtoMessage() {}
1531
1532func (x *JobInfo) ProtoReflect() protoreflect.Message {
1533 mi := &file_metrics_proto_msgTypes[12]
1534 if protoimpl.UnsafeEnabled && x != nil {
1535 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1536 if ms.LoadMessageInfo() == nil {
1537 ms.StoreMessageInfo(mi)
1538 }
1539 return ms
1540 }
1541 return mi.MessageOf(x)
1542}
1543
1544// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
1545func (*JobInfo) Descriptor() ([]byte, []int) {
1546 return file_metrics_proto_rawDescGZIP(), []int{12}
1547}
1548
1549func (x *JobInfo) GetElapsedTime() uint64 {
1550 if x != nil && x.ElapsedTime != nil {
1551 return *x.ElapsedTime
1552 }
1553 return 0
1554}
1555
1556func (x *JobInfo) GetJobDescription() string {
1557 if x != nil && x.JobDescription != nil {
1558 return *x.JobDescription
1559 }
1560 return ""
1561}
1562
Dan Willemsen4591b642021-05-24 14:24:12 -07001563var File_metrics_proto protoreflect.FileDescriptor
1564
1565var file_metrics_proto_rawDesc = []byte{
1566 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1567 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001568 0x72, 0x69, 0x63, 0x73, 0x22, 0x8a, 0x0f, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001569 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1570 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1571 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1572 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1573 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1574 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1575 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1576 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1577 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1578 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1579 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1580 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1581 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1582 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1583 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1584 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1585 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1586 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1587 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1588 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1589 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1590 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1591 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1592 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1593 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1594 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1595 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1596 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1597 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1598 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1599 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1600 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1601 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1602 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1603 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1604 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1605 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1606 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1607 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1608 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1609 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1610 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1611 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1612 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1613 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1614 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1615 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1616 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1617 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1618 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1619 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1620 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1621 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1622 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1623 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1624 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1625 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1626 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1627 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1628 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1629 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1630 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1631 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1632 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1633 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1634 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1635 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1636 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1637 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1638 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05001639 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07001640 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1641 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1642 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05001643 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
1644 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
1645 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
1646 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
1647 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1648 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
1649 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
1650 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
1651 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1652 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
1653 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1654 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1655 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
1656 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1657 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1658 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1659 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
1660 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1661 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1662 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
1663 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1664 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
1665 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1666 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1667 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1668 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
1669 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
1670 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
1671 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
1672 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
MarkDaceka18ba222023-03-07 18:18:19 +00001673 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,
1674 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
1675 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001676 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x53, 0x0a, 0x12,
1677 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x6e,
1678 0x66, 0x6f, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1679 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43,
1680 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1681 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66,
1682 0x6f, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1683 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55,
1684 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e,
1685 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55,
1686 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10,
1687 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03,
1688 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10,
1689 0x04, 0x22, 0x99, 0x02, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1690 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20,
1691 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07,
1692 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75,
1693 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75,
1694 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66,
1695 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62,
1696 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20,
1697 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a,
1698 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64,
1699 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61,
1700 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a,
1701 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
1702 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65,
1703 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d,
1704 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
1705 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
1706 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x6f, 0x0a,
1707 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
1708 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79,
1709 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01,
1710 0x28, 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61,
1711 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c,
1712 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
1713 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca,
1714 0x02, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64,
1715 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1716 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
1717 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1718 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
1719 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
1720 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
1721 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a,
1722 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
1723 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65,
1724 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65,
1725 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28,
1726 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1727 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52,
1728 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f,
1729 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e,
1730 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65,
1731 0x78, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65,
1732 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
1733 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
1734 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13,
1735 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
1736 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1737 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f,
1738 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
1739 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f,
1740 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1741 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73,
1742 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12,
1743 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20,
1744 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a,
1745 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c,
1746 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50,
1747 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a,
1748 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06,
1749 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46,
1750 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75,
1751 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e,
1752 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70,
1753 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f,
1754 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e,
1755 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69,
1756 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c,
1757 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69,
1758 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e,
1759 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69,
1760 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76,
1761 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53,
1762 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75,
1763 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75,
1764 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
1765 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1766 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70,
1767 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65,
1768 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c,
1769 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
1770 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f,
1771 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f,
1772 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
1773 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f,
1774 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a,
1775 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f,
1776 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22,
1777 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a,
1778 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a,
1779 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1780 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01,
1781 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1782 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1783 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a,
1784 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75,
1785 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04,
1786 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f,
1787 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1788 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75,
1789 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a,
1790 0x73, 0x22, 0xcc, 0x02, 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64,
1791 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
1792 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1793 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
1794 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a,
1795 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75,
1796 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41,
1797 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74,
1798 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20,
1799 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53,
1800 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f,
1801 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48,
1802 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
1803 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f,
1804 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65,
1805 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50,
1806 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69,
1807 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1808 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1809 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1810 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f,
1811 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65,
1812 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
1813 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1814 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43,
1815 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e,
1816 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
1817 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
1818 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a,
1819 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d,
1820 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
1821 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46,
1822 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01,
1823 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d,
1824 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91,
1825 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e,
1826 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1827 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1828 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
1829 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1830 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1831 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1832 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
1833 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
1834 0x65, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50,
1835 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6c, 0x61, 0x70, 0x73,
1836 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65,
1837 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72,
1838 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1839 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c,
1840 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74,
1841 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
1842 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1843 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63,
1844 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x22, 0x55, 0x0a, 0x07, 0x4a,
1845 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65,
1846 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65, 0x6c,
1847 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6a, 0x6f, 0x62,
1848 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
1849 0x28, 0x09, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
1850 0x6f, 0x6e, 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f,
1851 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d,
1852 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001853}
1854
Dan Willemsen4591b642021-05-24 14:24:12 -07001855var (
1856 file_metrics_proto_rawDescOnce sync.Once
1857 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1858)
1859
1860func file_metrics_proto_rawDescGZIP() []byte {
1861 file_metrics_proto_rawDescOnce.Do(func() {
1862 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1863 })
1864 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001865}
Nan Zhang17f27672018-12-12 16:01:49 -08001866
David Goldsmith62243a32022-04-08 13:42:04 +00001867var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001868var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
Dan Willemsen4591b642021-05-24 14:24:12 -07001869var file_metrics_proto_goTypes = []interface{}{
1870 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1871 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1872 (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem
David Goldsmith62243a32022-04-08 13:42:04 +00001873 (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1874 (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase
1875 (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig
1876 (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo
1877 (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo
1878 (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo
1879 (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo
1880 (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics
1881 (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics
1882 (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics
1883 (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher
MarkDacekff851b82022-04-21 18:33:17 +00001884 (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001885 (*CriticalPathInfo)(nil), // 15: soong_build_metrics.CriticalPathInfo
1886 (*JobInfo)(nil), // 16: soong_build_metrics.JobInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001887}
1888var file_metrics_proto_depIdxs = []int32{
1889 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1890 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1891 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1892 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
David Goldsmith62243a32022-04-08 13:42:04 +00001893 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
1894 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
1895 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
1896 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
1897 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
1898 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
1899 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
1900 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
1901 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
1902 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001903 15, // 14: soong_build_metrics.MetricsBase.critical_path_info:type_name -> soong_build_metrics.CriticalPathInfo
1904 8, // 15: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
1905 2, // 16: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
1906 4, // 17: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
1907 10, // 18: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
1908 7, // 19: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
1909 14, // 20: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
1910 3, // 21: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
1911 16, // 22: soong_build_metrics.CriticalPathInfo.critical_path:type_name -> soong_build_metrics.JobInfo
1912 23, // [23:23] is the sub-list for method output_type
1913 23, // [23:23] is the sub-list for method input_type
1914 23, // [23:23] is the sub-list for extension type_name
1915 23, // [23:23] is the sub-list for extension extendee
1916 0, // [0:23] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07001917}
1918
1919func init() { file_metrics_proto_init() }
1920func file_metrics_proto_init() {
1921 if File_metrics_proto != nil {
1922 return
1923 }
1924 if !protoimpl.UnsafeEnabled {
1925 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1926 switch v := v.(*MetricsBase); i {
1927 case 0:
1928 return &v.state
1929 case 1:
1930 return &v.sizeCache
1931 case 2:
1932 return &v.unknownFields
1933 default:
1934 return nil
1935 }
1936 }
1937 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1938 switch v := v.(*BuildConfig); i {
1939 case 0:
1940 return &v.state
1941 case 1:
1942 return &v.sizeCache
1943 case 2:
1944 return &v.unknownFields
1945 default:
1946 return nil
1947 }
1948 }
1949 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1950 switch v := v.(*SystemResourceInfo); i {
1951 case 0:
1952 return &v.state
1953 case 1:
1954 return &v.sizeCache
1955 case 2:
1956 return &v.unknownFields
1957 default:
1958 return nil
1959 }
1960 }
1961 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1962 switch v := v.(*PerfInfo); i {
1963 case 0:
1964 return &v.state
1965 case 1:
1966 return &v.sizeCache
1967 case 2:
1968 return &v.unknownFields
1969 default:
1970 return nil
1971 }
1972 }
1973 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1974 switch v := v.(*ProcessResourceInfo); i {
1975 case 0:
1976 return &v.state
1977 case 1:
1978 return &v.sizeCache
1979 case 2:
1980 return &v.unknownFields
1981 default:
1982 return nil
1983 }
1984 }
1985 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1986 switch v := v.(*ModuleTypeInfo); i {
1987 case 0:
1988 return &v.state
1989 case 1:
1990 return &v.sizeCache
1991 case 2:
1992 return &v.unknownFields
1993 default:
1994 return nil
1995 }
1996 }
1997 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1998 switch v := v.(*CriticalUserJourneyMetrics); i {
1999 case 0:
2000 return &v.state
2001 case 1:
2002 return &v.sizeCache
2003 case 2:
2004 return &v.unknownFields
2005 default:
2006 return nil
2007 }
2008 }
2009 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2010 switch v := v.(*CriticalUserJourneysMetrics); i {
2011 case 0:
2012 return &v.state
2013 case 1:
2014 return &v.sizeCache
2015 case 2:
2016 return &v.unknownFields
2017 default:
2018 return nil
2019 }
2020 }
2021 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2022 switch v := v.(*SoongBuildMetrics); i {
2023 case 0:
2024 return &v.state
2025 case 1:
2026 return &v.sizeCache
2027 case 2:
2028 return &v.unknownFields
2029 default:
2030 return nil
2031 }
2032 }
David Goldsmith62243a32022-04-08 13:42:04 +00002033 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2034 switch v := v.(*ExpConfigFetcher); i {
2035 case 0:
2036 return &v.state
2037 case 1:
2038 return &v.sizeCache
2039 case 2:
2040 return &v.unknownFields
2041 default:
2042 return nil
2043 }
2044 }
MarkDacekff851b82022-04-21 18:33:17 +00002045 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2046 switch v := v.(*MixedBuildsInfo); i {
2047 case 0:
2048 return &v.state
2049 case 1:
2050 return &v.sizeCache
2051 case 2:
2052 return &v.unknownFields
2053 default:
2054 return nil
2055 }
2056 }
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002057 file_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2058 switch v := v.(*CriticalPathInfo); i {
2059 case 0:
2060 return &v.state
2061 case 1:
2062 return &v.sizeCache
2063 case 2:
2064 return &v.unknownFields
2065 default:
2066 return nil
2067 }
2068 }
2069 file_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2070 switch v := v.(*JobInfo); i {
2071 case 0:
2072 return &v.state
2073 case 1:
2074 return &v.sizeCache
2075 case 2:
2076 return &v.unknownFields
2077 default:
2078 return nil
2079 }
2080 }
Dan Willemsen4591b642021-05-24 14:24:12 -07002081 }
2082 type x struct{}
2083 out := protoimpl.TypeBuilder{
2084 File: protoimpl.DescBuilder{
2085 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2086 RawDescriptor: file_metrics_proto_rawDesc,
David Goldsmith62243a32022-04-08 13:42:04 +00002087 NumEnums: 4,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002088 NumMessages: 13,
Dan Willemsen4591b642021-05-24 14:24:12 -07002089 NumExtensions: 0,
2090 NumServices: 0,
2091 },
2092 GoTypes: file_metrics_proto_goTypes,
2093 DependencyIndexes: file_metrics_proto_depIdxs,
2094 EnumInfos: file_metrics_proto_enumTypes,
2095 MessageInfos: file_metrics_proto_msgTypes,
2096 }.Build()
2097 File_metrics_proto = out.File
2098 file_metrics_proto_rawDesc = nil
2099 file_metrics_proto_goTypes = nil
2100 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08002101}