blob: 6e465d5b1f259311eb905c2b92cda9fe31629621 [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
Jeongik Cha0cf44d52023-03-15 00:10:45 +090037type NinjaWeightListSource int32
38
39const (
40 NinjaWeightListSource_NOT_USED NinjaWeightListSource = 0
41 NinjaWeightListSource_NINJA_LOG NinjaWeightListSource = 1
42 NinjaWeightListSource_EVENLY_DISTRIBUTED NinjaWeightListSource = 2
43)
44
45// Enum value maps for NinjaWeightListSource.
46var (
47 NinjaWeightListSource_name = map[int32]string{
48 0: "NOT_USED",
49 1: "NINJA_LOG",
50 2: "EVENLY_DISTRIBUTED",
51 }
52 NinjaWeightListSource_value = map[string]int32{
53 "NOT_USED": 0,
54 "NINJA_LOG": 1,
55 "EVENLY_DISTRIBUTED": 2,
56 }
57)
58
59func (x NinjaWeightListSource) Enum() *NinjaWeightListSource {
60 p := new(NinjaWeightListSource)
61 *p = x
62 return p
63}
64
65func (x NinjaWeightListSource) String() string {
66 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
67}
68
69func (NinjaWeightListSource) Descriptor() protoreflect.EnumDescriptor {
70 return file_metrics_proto_enumTypes[0].Descriptor()
71}
72
73func (NinjaWeightListSource) Type() protoreflect.EnumType {
74 return &file_metrics_proto_enumTypes[0]
75}
76
77func (x NinjaWeightListSource) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *NinjaWeightListSource) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
84 if err != nil {
85 return err
86 }
87 *x = NinjaWeightListSource(num)
88 return nil
89}
90
91// Deprecated: Use NinjaWeightListSource.Descriptor instead.
92func (NinjaWeightListSource) EnumDescriptor() ([]byte, []int) {
93 return file_metrics_proto_rawDescGZIP(), []int{0}
94}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_USER MetricsBase_BuildVariant = 0
100 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
101 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800102)
103
Dan Willemsen4591b642021-05-24 14:24:12 -0700104// Enum value maps for MetricsBase_BuildVariant.
105var (
106 MetricsBase_BuildVariant_name = map[int32]string{
107 0: "USER",
108 1: "USERDEBUG",
109 2: "ENG",
110 }
111 MetricsBase_BuildVariant_value = map[string]int32{
112 "USER": 0,
113 "USERDEBUG": 1,
114 "ENG": 2,
115 }
116)
Nan Zhang17f27672018-12-12 16:01:49 -0800117
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700118func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
119 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -0800120 *p = x
121 return p
122}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700123
124func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700125 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800126}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700127
Dan Willemsen4591b642021-05-24 14:24:12 -0700128func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900129 return file_metrics_proto_enumTypes[1].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700130}
131
132func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900133 return &file_metrics_proto_enumTypes[1]
Dan Willemsen4591b642021-05-24 14:24:12 -0700134}
135
136func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
137 return protoreflect.EnumNumber(x)
138}
139
140// Deprecated: Do not use.
141func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
142 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800143 if err != nil {
144 return err
145 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700146 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800147 return nil
148}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700149
Dan Willemsen4591b642021-05-24 14:24:12 -0700150// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700151func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800153}
154
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -0800156
157const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700158 MetricsBase_UNKNOWN MetricsBase_Arch = 0
159 MetricsBase_ARM MetricsBase_Arch = 1
160 MetricsBase_ARM64 MetricsBase_Arch = 2
161 MetricsBase_X86 MetricsBase_Arch = 3
162 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800163)
164
Dan Willemsen4591b642021-05-24 14:24:12 -0700165// Enum value maps for MetricsBase_Arch.
166var (
167 MetricsBase_Arch_name = map[int32]string{
168 0: "UNKNOWN",
169 1: "ARM",
170 2: "ARM64",
171 3: "X86",
172 4: "X86_64",
173 }
174 MetricsBase_Arch_value = map[string]int32{
175 "UNKNOWN": 0,
176 "ARM": 1,
177 "ARM64": 2,
178 "X86": 3,
179 "X86_64": 4,
180 }
181)
Nan Zhang17f27672018-12-12 16:01:49 -0800182
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700183func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
184 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800185 *p = x
186 return p
187}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700188
189func (x MetricsBase_Arch) 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 (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900194 return file_metrics_proto_enumTypes[2].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700195}
196
197func (MetricsBase_Arch) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900198 return &file_metrics_proto_enumTypes[2]
Dan Willemsen4591b642021-05-24 14:24:12 -0700199}
200
201func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
202 return protoreflect.EnumNumber(x)
203}
204
205// Deprecated: Do not use.
206func (x *MetricsBase_Arch) 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 = MetricsBase_Arch(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 MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700217 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800218}
219
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700220type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800221
222const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700223 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
224 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
225 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800226)
227
Dan Willemsen4591b642021-05-24 14:24:12 -0700228// Enum value maps for ModuleTypeInfo_BuildSystem.
229var (
230 ModuleTypeInfo_BuildSystem_name = map[int32]string{
231 0: "UNKNOWN",
232 1: "SOONG",
233 2: "MAKE",
234 }
235 ModuleTypeInfo_BuildSystem_value = map[string]int32{
236 "UNKNOWN": 0,
237 "SOONG": 1,
238 "MAKE": 2,
239 }
240)
Nan Zhang17f27672018-12-12 16:01:49 -0800241
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700242func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
243 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800244 *p = x
245 return p
246}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700247
248func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700249 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800250}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700251
Dan Willemsen4591b642021-05-24 14:24:12 -0700252func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900253 return file_metrics_proto_enumTypes[3].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700254}
255
256func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900257 return &file_metrics_proto_enumTypes[3]
Dan Willemsen4591b642021-05-24 14:24:12 -0700258}
259
260func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
261 return protoreflect.EnumNumber(x)
262}
263
264// Deprecated: Do not use.
265func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
266 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800267 if err != nil {
268 return err
269 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700270 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800271 return nil
272}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700273
Dan Willemsen4591b642021-05-24 14:24:12 -0700274// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700275func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700276 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800277}
278
David Goldsmith62243a32022-04-08 13:42:04 +0000279type ExpConfigFetcher_ConfigStatus int32
280
281const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000282 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
283 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
284 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
285 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000286)
287
288// Enum value maps for ExpConfigFetcher_ConfigStatus.
289var (
290 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
291 0: "NO_CONFIG",
292 1: "CONFIG",
293 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000294 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000295 }
296 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000297 "NO_CONFIG": 0,
298 "CONFIG": 1,
299 "ERROR": 2,
300 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000301 }
302)
303
304func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
305 p := new(ExpConfigFetcher_ConfigStatus)
306 *p = x
307 return p
308}
309
310func (x ExpConfigFetcher_ConfigStatus) String() string {
311 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
312}
313
314func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900315 return file_metrics_proto_enumTypes[4].Descriptor()
David Goldsmith62243a32022-04-08 13:42:04 +0000316}
317
318func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900319 return &file_metrics_proto_enumTypes[4]
David Goldsmith62243a32022-04-08 13:42:04 +0000320}
321
322func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
323 return protoreflect.EnumNumber(x)
324}
325
326// Deprecated: Do not use.
327func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
328 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
329 if err != nil {
330 return err
331 }
332 *x = ExpConfigFetcher_ConfigStatus(num)
333 return nil
334}
335
336// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
337func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
338 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
339}
340
Nan Zhang17f27672018-12-12 16:01:49 -0800341type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700342 state protoimpl.MessageState
343 sizeCache protoimpl.SizeCache
344 unknownFields protoimpl.UnknownFields
345
Nan Zhang17f27672018-12-12 16:01:49 -0800346 // Timestamp generated when the build starts.
347 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
348 // It is usually used to specify the branch name [and release candidate].
349 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
350 // The platform version codename, eg. P, Q, REL.
351 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
352 // The target product information, eg. aosp_arm.
353 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
354 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700355 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 -0800356 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700357 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 -0800358 // The target arch variant information, eg. armv7-a-neon.
359 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
360 // The target cpu variant information, eg. generic.
361 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
362 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700363 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 -0800364 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700365 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 -0800366 // The host os information, eg. linux.
367 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
368 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
369 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
370 // The host cross os information, eg. windows.
371 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
372 // The host cross arch information, eg. x86.
373 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
374 // The host cross 2nd arch information, eg. x86_64.
375 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
376 // The directory for generated built artifacts installation, eg. out.
377 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
378 // The metrics for calling various tools (microfactory) before Soong_UI starts.
379 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
380 // The metrics for calling Kati by multiple times.
381 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
382 // The metrics for calling Soong.
383 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
384 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800385 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
386 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500387 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
388 // Deprecated because instead of embedding in a MetricsBase, we keep
389 // SoongBuildMetrics in its own file
390 //
391 // Deprecated: Do not use.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000392 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
393 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000394 // The hostname of the machine.
395 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
396 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700397 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
398 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800399 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
400 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700401 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000402 // The metrics of the experiment config fetcher
403 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400404 // Whether the build exited with a panic or non-zero exit code, includes both
405 // non-zero exits of recorded phases and non-recorded phases of the build.
406 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
407 // The error message due to a non-zero exit _only_ if it did not occur in a
408 // recorded phase of the build.
409 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
MarkDaceka18ba222023-03-07 18:18:19 +0000410 // The Git Manifest for the user's branch.
411 ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"`
412 // The branch on which the build occurred.
413 // Example: refs/heads/master
414 Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900415 // The metric of critical path in build
416 CriticalPathInfo *CriticalPathInfo `protobuf:"bytes,33,opt,name=critical_path_info,json=criticalPathInfo" json:"critical_path_info,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800417}
418
Dan Willemsen4591b642021-05-24 14:24:12 -0700419// Default values for MetricsBase fields.
420const (
421 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
422 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
423 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
424 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
425)
426
427func (x *MetricsBase) Reset() {
428 *x = MetricsBase{}
429 if protoimpl.UnsafeEnabled {
430 mi := &file_metrics_proto_msgTypes[0]
431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432 ms.StoreMessageInfo(mi)
433 }
434}
435
436func (x *MetricsBase) String() string {
437 return protoimpl.X.MessageStringOf(x)
438}
439
440func (*MetricsBase) ProtoMessage() {}
441
442func (x *MetricsBase) ProtoReflect() protoreflect.Message {
443 mi := &file_metrics_proto_msgTypes[0]
444 if protoimpl.UnsafeEnabled && x != nil {
445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
446 if ms.LoadMessageInfo() == nil {
447 ms.StoreMessageInfo(mi)
448 }
449 return ms
450 }
451 return mi.MessageOf(x)
452}
453
454// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800455func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700456 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800457}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700458
Dan Willemsen4591b642021-05-24 14:24:12 -0700459func (x *MetricsBase) GetBuildDateTimestamp() int64 {
460 if x != nil && x.BuildDateTimestamp != nil {
461 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800462 }
463 return 0
464}
465
Dan Willemsen4591b642021-05-24 14:24:12 -0700466func (x *MetricsBase) GetBuildId() string {
467 if x != nil && x.BuildId != nil {
468 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800469 }
470 return ""
471}
472
Dan Willemsen4591b642021-05-24 14:24:12 -0700473func (x *MetricsBase) GetPlatformVersionCodename() string {
474 if x != nil && x.PlatformVersionCodename != nil {
475 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800476 }
477 return ""
478}
479
Dan Willemsen4591b642021-05-24 14:24:12 -0700480func (x *MetricsBase) GetTargetProduct() string {
481 if x != nil && x.TargetProduct != nil {
482 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800483 }
484 return ""
485}
486
Dan Willemsen4591b642021-05-24 14:24:12 -0700487func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
488 if x != nil && x.TargetBuildVariant != nil {
489 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800490 }
491 return Default_MetricsBase_TargetBuildVariant
492}
493
Dan Willemsen4591b642021-05-24 14:24:12 -0700494func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
495 if x != nil && x.TargetArch != nil {
496 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800497 }
498 return Default_MetricsBase_TargetArch
499}
500
Dan Willemsen4591b642021-05-24 14:24:12 -0700501func (x *MetricsBase) GetTargetArchVariant() string {
502 if x != nil && x.TargetArchVariant != nil {
503 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800504 }
505 return ""
506}
507
Dan Willemsen4591b642021-05-24 14:24:12 -0700508func (x *MetricsBase) GetTargetCpuVariant() string {
509 if x != nil && x.TargetCpuVariant != nil {
510 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800511 }
512 return ""
513}
514
Dan Willemsen4591b642021-05-24 14:24:12 -0700515func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
516 if x != nil && x.HostArch != nil {
517 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800518 }
519 return Default_MetricsBase_HostArch
520}
521
Dan Willemsen4591b642021-05-24 14:24:12 -0700522func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
523 if x != nil && x.Host_2NdArch != nil {
524 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800525 }
526 return Default_MetricsBase_Host_2NdArch
527}
528
Dan Willemsen4591b642021-05-24 14:24:12 -0700529func (x *MetricsBase) GetHostOs() string {
530 if x != nil && x.HostOs != nil {
531 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800532 }
533 return ""
534}
535
Dan Willemsen4591b642021-05-24 14:24:12 -0700536func (x *MetricsBase) GetHostOsExtra() string {
537 if x != nil && x.HostOsExtra != nil {
538 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800539 }
540 return ""
541}
542
Dan Willemsen4591b642021-05-24 14:24:12 -0700543func (x *MetricsBase) GetHostCrossOs() string {
544 if x != nil && x.HostCrossOs != nil {
545 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800546 }
547 return ""
548}
549
Dan Willemsen4591b642021-05-24 14:24:12 -0700550func (x *MetricsBase) GetHostCrossArch() string {
551 if x != nil && x.HostCrossArch != nil {
552 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800553 }
554 return ""
555}
556
Dan Willemsen4591b642021-05-24 14:24:12 -0700557func (x *MetricsBase) GetHostCross_2NdArch() string {
558 if x != nil && x.HostCross_2NdArch != nil {
559 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800560 }
561 return ""
562}
563
Dan Willemsen4591b642021-05-24 14:24:12 -0700564func (x *MetricsBase) GetOutDir() string {
565 if x != nil && x.OutDir != nil {
566 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800567 }
568 return ""
569}
570
Dan Willemsen4591b642021-05-24 14:24:12 -0700571func (x *MetricsBase) GetSetupTools() []*PerfInfo {
572 if x != nil {
573 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800574 }
575 return nil
576}
577
Dan Willemsen4591b642021-05-24 14:24:12 -0700578func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
579 if x != nil {
580 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800581 }
582 return nil
583}
584
Dan Willemsen4591b642021-05-24 14:24:12 -0700585func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
586 if x != nil {
587 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800588 }
589 return nil
590}
591
Dan Willemsen4591b642021-05-24 14:24:12 -0700592func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
593 if x != nil {
594 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800595 }
596 return nil
597}
598
Dan Willemsen4591b642021-05-24 14:24:12 -0700599func (x *MetricsBase) GetTotal() *PerfInfo {
600 if x != nil {
601 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800602 }
603 return nil
604}
605
Jason Wu41886f22023-01-04 11:29:36 -0500606// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700607func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
608 if x != nil {
609 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800610 }
611 return nil
612}
613
Dan Willemsen4591b642021-05-24 14:24:12 -0700614func (x *MetricsBase) GetBuildConfig() *BuildConfig {
615 if x != nil {
616 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000617 }
618 return nil
619}
620
Dan Willemsen4591b642021-05-24 14:24:12 -0700621func (x *MetricsBase) GetHostname() string {
622 if x != nil && x.Hostname != nil {
623 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000624 }
625 return ""
626}
627
Dan Willemsen4591b642021-05-24 14:24:12 -0700628func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
629 if x != nil {
630 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000631 }
632 return nil
633}
634
Dan Willemsen4591b642021-05-24 14:24:12 -0700635func (x *MetricsBase) GetBuildCommand() string {
636 if x != nil && x.BuildCommand != nil {
637 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700638 }
639 return ""
640}
641
Dan Willemsen4591b642021-05-24 14:24:12 -0700642func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
643 if x != nil {
644 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800645 }
646 return nil
647}
648
David Goldsmith62243a32022-04-08 13:42:04 +0000649func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
650 if x != nil {
651 return x.ExpConfigFetcher
652 }
653 return nil
654}
655
Liz Kammerf2a80c62022-10-21 10:42:35 -0400656func (x *MetricsBase) GetNonZeroExit() bool {
657 if x != nil && x.NonZeroExit != nil {
658 return *x.NonZeroExit
659 }
660 return false
661}
662
663func (x *MetricsBase) GetErrorMessage() string {
664 if x != nil && x.ErrorMessage != nil {
665 return *x.ErrorMessage
666 }
667 return ""
668}
669
MarkDaceka18ba222023-03-07 18:18:19 +0000670func (x *MetricsBase) GetManifestUrl() string {
671 if x != nil && x.ManifestUrl != nil {
672 return *x.ManifestUrl
673 }
674 return ""
675}
676
677func (x *MetricsBase) GetBranch() string {
678 if x != nil && x.Branch != nil {
679 return *x.Branch
680 }
681 return ""
682}
683
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900684func (x *MetricsBase) GetCriticalPathInfo() *CriticalPathInfo {
685 if x != nil {
686 return x.CriticalPathInfo
687 }
688 return nil
689}
690
Patrice Arruda96850362020-08-11 20:41:11 +0000691type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700692 state protoimpl.MessageState
693 sizeCache protoimpl.SizeCache
694 unknownFields protoimpl.UnknownFields
695
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400696 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
697 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
698 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
699 // Whether the Bazel is acting as the Ninja executor for this build.
700 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
701 // Whether build is occurring in a mixed build mode, where Bazel maintains the
702 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700703 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700704 // These are the targets soong passes to ninja, these targets include special
705 // targets such as droid as well as the regular build targets.
706 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400707 // Whether the user explicitly disabled bazel mixed builds for this build.
708 ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"`
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900709 // NOT_USED - ninja doesn't use weight list.
710 // NINJA_LOG - ninja uses weight list based on previous builds by ninja log
711 // EVENLY_DISTRIBUTED - ninja thinks every task has the same weight.
712 NinjaWeightListSource *NinjaWeightListSource `protobuf:"varint,8,opt,name=ninja_weight_list_source,json=ninjaWeightListSource,enum=soong_build_metrics.NinjaWeightListSource,def=0" json:"ninja_weight_list_source,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000713}
714
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900715// Default values for BuildConfig fields.
716const (
717 Default_BuildConfig_NinjaWeightListSource = NinjaWeightListSource_NOT_USED
718)
719
Dan Willemsen4591b642021-05-24 14:24:12 -0700720func (x *BuildConfig) Reset() {
721 *x = BuildConfig{}
722 if protoimpl.UnsafeEnabled {
723 mi := &file_metrics_proto_msgTypes[1]
724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
725 ms.StoreMessageInfo(mi)
726 }
727}
728
729func (x *BuildConfig) String() string {
730 return protoimpl.X.MessageStringOf(x)
731}
732
733func (*BuildConfig) ProtoMessage() {}
734
735func (x *BuildConfig) ProtoReflect() protoreflect.Message {
736 mi := &file_metrics_proto_msgTypes[1]
737 if protoimpl.UnsafeEnabled && x != nil {
738 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
739 if ms.LoadMessageInfo() == nil {
740 ms.StoreMessageInfo(mi)
741 }
742 return ms
743 }
744 return mi.MessageOf(x)
745}
746
747// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000748func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700749 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000750}
751
Dan Willemsen4591b642021-05-24 14:24:12 -0700752func (x *BuildConfig) GetUseGoma() bool {
753 if x != nil && x.UseGoma != nil {
754 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000755 }
756 return false
757}
758
Dan Willemsen4591b642021-05-24 14:24:12 -0700759func (x *BuildConfig) GetUseRbe() bool {
760 if x != nil && x.UseRbe != nil {
761 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000762 }
763 return false
764}
765
Dan Willemsen4591b642021-05-24 14:24:12 -0700766func (x *BuildConfig) GetForceUseGoma() bool {
767 if x != nil && x.ForceUseGoma != nil {
768 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000769 }
770 return false
771}
772
Dan Willemsen4591b642021-05-24 14:24:12 -0700773func (x *BuildConfig) GetBazelAsNinja() bool {
774 if x != nil && x.BazelAsNinja != nil {
775 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400776 }
777 return false
778}
779
Dan Willemsen4591b642021-05-24 14:24:12 -0700780func (x *BuildConfig) GetBazelMixedBuild() bool {
781 if x != nil && x.BazelMixedBuild != nil {
782 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400783 }
784 return false
785}
786
Yu Liue737a992021-10-04 13:21:41 -0700787func (x *BuildConfig) GetTargets() []string {
788 if x != nil {
789 return x.Targets
790 }
791 return nil
792}
793
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400794func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
795 if x != nil && x.ForceDisableBazelMixedBuild != nil {
796 return *x.ForceDisableBazelMixedBuild
797 }
798 return false
799}
800
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900801func (x *BuildConfig) GetNinjaWeightListSource() NinjaWeightListSource {
802 if x != nil && x.NinjaWeightListSource != nil {
803 return *x.NinjaWeightListSource
804 }
805 return Default_BuildConfig_NinjaWeightListSource
806}
807
Patrice Arruda3edfd482020-10-13 23:58:41 +0000808type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700809 state protoimpl.MessageState
810 sizeCache protoimpl.SizeCache
811 unknownFields protoimpl.UnknownFields
812
Patrice Arruda3edfd482020-10-13 23:58:41 +0000813 // The total physical memory in bytes.
814 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
815 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700816 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000817}
818
Dan Willemsen4591b642021-05-24 14:24:12 -0700819func (x *SystemResourceInfo) Reset() {
820 *x = SystemResourceInfo{}
821 if protoimpl.UnsafeEnabled {
822 mi := &file_metrics_proto_msgTypes[2]
823 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
824 ms.StoreMessageInfo(mi)
825 }
826}
827
828func (x *SystemResourceInfo) String() string {
829 return protoimpl.X.MessageStringOf(x)
830}
831
832func (*SystemResourceInfo) ProtoMessage() {}
833
834func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
835 mi := &file_metrics_proto_msgTypes[2]
836 if protoimpl.UnsafeEnabled && x != nil {
837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
838 if ms.LoadMessageInfo() == nil {
839 ms.StoreMessageInfo(mi)
840 }
841 return ms
842 }
843 return mi.MessageOf(x)
844}
845
846// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000847func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700848 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000849}
850
Dan Willemsen4591b642021-05-24 14:24:12 -0700851func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
852 if x != nil && x.TotalPhysicalMemory != nil {
853 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000854 }
855 return 0
856}
857
Dan Willemsen4591b642021-05-24 14:24:12 -0700858func (x *SystemResourceInfo) GetAvailableCpus() int32 {
859 if x != nil && x.AvailableCpus != nil {
860 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000861 }
862 return 0
863}
864
Nan Zhang17f27672018-12-12 16:01:49 -0800865type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700866 state protoimpl.MessageState
867 sizeCache protoimpl.SizeCache
868 unknownFields protoimpl.UnknownFields
869
Nan Zhang17f27672018-12-12 16:01:49 -0800870 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700871 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800872 // The name for the running phase/action/part.
873 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
874 // The absolute start time.
875 // The number of nanoseconds elapsed since January 1, 1970 UTC.
876 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
877 // The real running time.
878 // The number of nanoseconds elapsed since start_time.
879 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700880 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700881 //
882 // Deprecated: Do not use.
883 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700884 // The resource information of each executed process.
885 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400886 // Whether the phase of tool running exited with a panic or non-zero exit
887 // code.
888 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
889 // The error message, if any, due to a non-zero exit.
890 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800891}
892
Dan Willemsen4591b642021-05-24 14:24:12 -0700893func (x *PerfInfo) Reset() {
894 *x = PerfInfo{}
895 if protoimpl.UnsafeEnabled {
896 mi := &file_metrics_proto_msgTypes[3]
897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
898 ms.StoreMessageInfo(mi)
899 }
900}
901
902func (x *PerfInfo) String() string {
903 return protoimpl.X.MessageStringOf(x)
904}
905
906func (*PerfInfo) ProtoMessage() {}
907
908func (x *PerfInfo) ProtoReflect() protoreflect.Message {
909 mi := &file_metrics_proto_msgTypes[3]
910 if protoimpl.UnsafeEnabled && x != nil {
911 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
912 if ms.LoadMessageInfo() == nil {
913 ms.StoreMessageInfo(mi)
914 }
915 return ms
916 }
917 return mi.MessageOf(x)
918}
919
920// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800921func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700922 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800923}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700924
Yu Liu37c3dd32021-09-30 14:46:18 -0700925func (x *PerfInfo) GetDescription() string {
926 if x != nil && x.Description != nil {
927 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800928 }
929 return ""
930}
931
Dan Willemsen4591b642021-05-24 14:24:12 -0700932func (x *PerfInfo) GetName() string {
933 if x != nil && x.Name != nil {
934 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800935 }
936 return ""
937}
938
Dan Willemsen4591b642021-05-24 14:24:12 -0700939func (x *PerfInfo) GetStartTime() uint64 {
940 if x != nil && x.StartTime != nil {
941 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800942 }
943 return 0
944}
945
Dan Willemsen4591b642021-05-24 14:24:12 -0700946func (x *PerfInfo) GetRealTime() uint64 {
947 if x != nil && x.RealTime != nil {
948 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800949 }
950 return 0
951}
952
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700953// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700954func (x *PerfInfo) GetMemoryUse() uint64 {
955 if x != nil && x.MemoryUse != nil {
956 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800957 }
958 return 0
959}
960
Dan Willemsen4591b642021-05-24 14:24:12 -0700961func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
962 if x != nil {
963 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700964 }
965 return nil
966}
967
Liz Kammerf2a80c62022-10-21 10:42:35 -0400968func (x *PerfInfo) GetNonZeroExit() bool {
969 if x != nil && x.NonZeroExit != nil {
970 return *x.NonZeroExit
971 }
972 return false
973}
974
975func (x *PerfInfo) GetErrorMessage() string {
976 if x != nil && x.ErrorMessage != nil {
977 return *x.ErrorMessage
978 }
979 return ""
980}
981
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700982type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700983 state protoimpl.MessageState
984 sizeCache protoimpl.SizeCache
985 unknownFields protoimpl.UnknownFields
986
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700987 // The name of the process for identification.
988 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
989 // The amount of time spent executing in user space in microseconds.
990 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
991 // The amount of time spent executing in kernel mode in microseconds.
992 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
993 // The maximum resident set size memory used in kilobytes.
994 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
995 // The number of minor page faults serviced without any I/O activity.
996 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
997 // The number of major page faults serviced that required I/O activity.
998 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
999 // Total IO input in kilobytes.
1000 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
1001 // Total IO output in kilobytes.
1002 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
1003 // The number of voluntary context switches
1004 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
1005 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -07001006 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001007}
1008
Dan Willemsen4591b642021-05-24 14:24:12 -07001009func (x *ProcessResourceInfo) Reset() {
1010 *x = ProcessResourceInfo{}
1011 if protoimpl.UnsafeEnabled {
1012 mi := &file_metrics_proto_msgTypes[4]
1013 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1014 ms.StoreMessageInfo(mi)
1015 }
1016}
1017
1018func (x *ProcessResourceInfo) String() string {
1019 return protoimpl.X.MessageStringOf(x)
1020}
1021
1022func (*ProcessResourceInfo) ProtoMessage() {}
1023
1024func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
1025 mi := &file_metrics_proto_msgTypes[4]
1026 if protoimpl.UnsafeEnabled && x != nil {
1027 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1028 if ms.LoadMessageInfo() == nil {
1029 ms.StoreMessageInfo(mi)
1030 }
1031 return ms
1032 }
1033 return mi.MessageOf(x)
1034}
1035
1036// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001037func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001038 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001039}
1040
Dan Willemsen4591b642021-05-24 14:24:12 -07001041func (x *ProcessResourceInfo) GetName() string {
1042 if x != nil && x.Name != nil {
1043 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001044 }
1045 return ""
1046}
1047
Dan Willemsen4591b642021-05-24 14:24:12 -07001048func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
1049 if x != nil && x.UserTimeMicros != nil {
1050 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001051 }
1052 return 0
1053}
1054
Dan Willemsen4591b642021-05-24 14:24:12 -07001055func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
1056 if x != nil && x.SystemTimeMicros != nil {
1057 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001058 }
1059 return 0
1060}
1061
Dan Willemsen4591b642021-05-24 14:24:12 -07001062func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
1063 if x != nil && x.MaxRssKb != nil {
1064 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001065 }
1066 return 0
1067}
1068
Dan Willemsen4591b642021-05-24 14:24:12 -07001069func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
1070 if x != nil && x.MinorPageFaults != nil {
1071 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001072 }
1073 return 0
1074}
1075
Dan Willemsen4591b642021-05-24 14:24:12 -07001076func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
1077 if x != nil && x.MajorPageFaults != nil {
1078 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001079 }
1080 return 0
1081}
1082
Dan Willemsen4591b642021-05-24 14:24:12 -07001083func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
1084 if x != nil && x.IoInputKb != nil {
1085 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001086 }
1087 return 0
1088}
1089
Dan Willemsen4591b642021-05-24 14:24:12 -07001090func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
1091 if x != nil && x.IoOutputKb != nil {
1092 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001093 }
1094 return 0
1095}
1096
Dan Willemsen4591b642021-05-24 14:24:12 -07001097func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
1098 if x != nil && x.VoluntaryContextSwitches != nil {
1099 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001100 }
1101 return 0
1102}
1103
Dan Willemsen4591b642021-05-24 14:24:12 -07001104func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1105 if x != nil && x.InvoluntaryContextSwitches != nil {
1106 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001107 }
1108 return 0
1109}
1110
Nan Zhang17f27672018-12-12 16:01:49 -08001111type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001112 state protoimpl.MessageState
1113 sizeCache protoimpl.SizeCache
1114 unknownFields protoimpl.UnknownFields
1115
MarkDacekff851b82022-04-21 18:33:17 +00001116 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001117 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 +00001118 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001119 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1120 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001121 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001122}
1123
Dan Willemsen4591b642021-05-24 14:24:12 -07001124// Default values for ModuleTypeInfo fields.
1125const (
1126 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1127)
1128
1129func (x *ModuleTypeInfo) Reset() {
1130 *x = ModuleTypeInfo{}
1131 if protoimpl.UnsafeEnabled {
1132 mi := &file_metrics_proto_msgTypes[5]
1133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1134 ms.StoreMessageInfo(mi)
1135 }
1136}
1137
1138func (x *ModuleTypeInfo) String() string {
1139 return protoimpl.X.MessageStringOf(x)
1140}
1141
1142func (*ModuleTypeInfo) ProtoMessage() {}
1143
1144func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1145 mi := &file_metrics_proto_msgTypes[5]
1146 if protoimpl.UnsafeEnabled && x != nil {
1147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1148 if ms.LoadMessageInfo() == nil {
1149 ms.StoreMessageInfo(mi)
1150 }
1151 return ms
1152 }
1153 return mi.MessageOf(x)
1154}
1155
1156// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001157func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001158 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001159}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001160
Dan Willemsen4591b642021-05-24 14:24:12 -07001161func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1162 if x != nil && x.BuildSystem != nil {
1163 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001164 }
1165 return Default_ModuleTypeInfo_BuildSystem
1166}
1167
Dan Willemsen4591b642021-05-24 14:24:12 -07001168func (x *ModuleTypeInfo) GetModuleType() string {
1169 if x != nil && x.ModuleType != nil {
1170 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001171 }
1172 return ""
1173}
1174
Dan Willemsen4591b642021-05-24 14:24:12 -07001175func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1176 if x != nil && x.NumOfModules != nil {
1177 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001178 }
1179 return 0
1180}
1181
Colin Crossd0be2102019-11-26 16:16:57 -08001182type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001183 state protoimpl.MessageState
1184 sizeCache protoimpl.SizeCache
1185 unknownFields protoimpl.UnknownFields
1186
Colin Crossd0be2102019-11-26 16:16:57 -08001187 // The name of a critical user journey test.
1188 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1189 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001190 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001191}
1192
Dan Willemsen4591b642021-05-24 14:24:12 -07001193func (x *CriticalUserJourneyMetrics) Reset() {
1194 *x = CriticalUserJourneyMetrics{}
1195 if protoimpl.UnsafeEnabled {
1196 mi := &file_metrics_proto_msgTypes[6]
1197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1198 ms.StoreMessageInfo(mi)
1199 }
1200}
1201
1202func (x *CriticalUserJourneyMetrics) String() string {
1203 return protoimpl.X.MessageStringOf(x)
1204}
1205
1206func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1207
1208func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1209 mi := &file_metrics_proto_msgTypes[6]
1210 if protoimpl.UnsafeEnabled && x != nil {
1211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1212 if ms.LoadMessageInfo() == nil {
1213 ms.StoreMessageInfo(mi)
1214 }
1215 return ms
1216 }
1217 return mi.MessageOf(x)
1218}
1219
1220// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001221func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001222 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001223}
1224
Dan Willemsen4591b642021-05-24 14:24:12 -07001225func (x *CriticalUserJourneyMetrics) GetName() string {
1226 if x != nil && x.Name != nil {
1227 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001228 }
1229 return ""
1230}
1231
Dan Willemsen4591b642021-05-24 14:24:12 -07001232func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1233 if x != nil {
1234 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001235 }
1236 return nil
1237}
1238
1239type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001240 state protoimpl.MessageState
1241 sizeCache protoimpl.SizeCache
1242 unknownFields protoimpl.UnknownFields
1243
Colin Crossd0be2102019-11-26 16:16:57 -08001244 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001245 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001246}
1247
Dan Willemsen4591b642021-05-24 14:24:12 -07001248func (x *CriticalUserJourneysMetrics) Reset() {
1249 *x = CriticalUserJourneysMetrics{}
1250 if protoimpl.UnsafeEnabled {
1251 mi := &file_metrics_proto_msgTypes[7]
1252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1253 ms.StoreMessageInfo(mi)
1254 }
1255}
1256
1257func (x *CriticalUserJourneysMetrics) String() string {
1258 return protoimpl.X.MessageStringOf(x)
1259}
1260
1261func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1262
1263func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1264 mi := &file_metrics_proto_msgTypes[7]
1265 if protoimpl.UnsafeEnabled && x != nil {
1266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1267 if ms.LoadMessageInfo() == nil {
1268 ms.StoreMessageInfo(mi)
1269 }
1270 return ms
1271 }
1272 return mi.MessageOf(x)
1273}
1274
1275// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001276func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001277 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001278}
1279
Dan Willemsen4591b642021-05-24 14:24:12 -07001280func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1281 if x != nil {
1282 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001283 }
1284 return nil
1285}
1286
Colin Crossb72c9092020-02-10 11:23:49 -08001287type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001288 state protoimpl.MessageState
1289 sizeCache protoimpl.SizeCache
1290 unknownFields protoimpl.UnknownFields
1291
Colin Crossb72c9092020-02-10 11:23:49 -08001292 // The number of modules handled by soong_build.
1293 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1294 // The total number of variants handled by soong_build.
1295 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1296 // The total number of allocations in soong_build.
1297 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1298 // The total size of allocations in soong_build in bytes.
1299 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1300 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001301 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001302 // Runtime metrics for soong_build execution.
1303 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001304 // Mixed Builds information
1305 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001306}
1307
Dan Willemsen4591b642021-05-24 14:24:12 -07001308func (x *SoongBuildMetrics) Reset() {
1309 *x = SoongBuildMetrics{}
1310 if protoimpl.UnsafeEnabled {
1311 mi := &file_metrics_proto_msgTypes[8]
1312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1313 ms.StoreMessageInfo(mi)
1314 }
1315}
1316
1317func (x *SoongBuildMetrics) String() string {
1318 return protoimpl.X.MessageStringOf(x)
1319}
1320
1321func (*SoongBuildMetrics) ProtoMessage() {}
1322
1323func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1324 mi := &file_metrics_proto_msgTypes[8]
1325 if protoimpl.UnsafeEnabled && x != nil {
1326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1327 if ms.LoadMessageInfo() == nil {
1328 ms.StoreMessageInfo(mi)
1329 }
1330 return ms
1331 }
1332 return mi.MessageOf(x)
1333}
1334
1335// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001336func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001337 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001338}
1339
Dan Willemsen4591b642021-05-24 14:24:12 -07001340func (x *SoongBuildMetrics) GetModules() uint32 {
1341 if x != nil && x.Modules != nil {
1342 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001343 }
1344 return 0
1345}
1346
Dan Willemsen4591b642021-05-24 14:24:12 -07001347func (x *SoongBuildMetrics) GetVariants() uint32 {
1348 if x != nil && x.Variants != nil {
1349 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001350 }
1351 return 0
1352}
1353
Dan Willemsen4591b642021-05-24 14:24:12 -07001354func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1355 if x != nil && x.TotalAllocCount != nil {
1356 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001357 }
1358 return 0
1359}
1360
Dan Willemsen4591b642021-05-24 14:24:12 -07001361func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1362 if x != nil && x.TotalAllocSize != nil {
1363 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001364 }
1365 return 0
1366}
1367
Dan Willemsen4591b642021-05-24 14:24:12 -07001368func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1369 if x != nil && x.MaxHeapSize != nil {
1370 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001371 }
1372 return 0
1373}
1374
Chris Parsons715b08f2022-03-22 19:23:40 -04001375func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1376 if x != nil {
1377 return x.Events
1378 }
1379 return nil
1380}
1381
MarkDacekff851b82022-04-21 18:33:17 +00001382func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1383 if x != nil {
1384 return x.MixedBuildsInfo
1385 }
1386 return nil
1387}
1388
David Goldsmith62243a32022-04-08 13:42:04 +00001389type ExpConfigFetcher struct {
1390 state protoimpl.MessageState
1391 sizeCache protoimpl.SizeCache
1392 unknownFields protoimpl.UnknownFields
1393
1394 // The result of the call to expconfigfetcher
1395 // NO_CONFIG - Not part of experiment
1396 // CONFIG - Part of experiment, config copied successfully
1397 // ERROR - expconfigfetcher failed
1398 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1399 // The output config filename
1400 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1401 // Time, in microseconds, taken by the expconfigfetcher
1402 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1403}
1404
1405func (x *ExpConfigFetcher) Reset() {
1406 *x = ExpConfigFetcher{}
1407 if protoimpl.UnsafeEnabled {
1408 mi := &file_metrics_proto_msgTypes[9]
1409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1410 ms.StoreMessageInfo(mi)
1411 }
1412}
1413
1414func (x *ExpConfigFetcher) String() string {
1415 return protoimpl.X.MessageStringOf(x)
1416}
1417
1418func (*ExpConfigFetcher) ProtoMessage() {}
1419
1420func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1421 mi := &file_metrics_proto_msgTypes[9]
1422 if protoimpl.UnsafeEnabled && x != nil {
1423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1424 if ms.LoadMessageInfo() == nil {
1425 ms.StoreMessageInfo(mi)
1426 }
1427 return ms
1428 }
1429 return mi.MessageOf(x)
1430}
1431
1432// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1433func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1434 return file_metrics_proto_rawDescGZIP(), []int{9}
1435}
1436
1437func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1438 if x != nil && x.Status != nil {
1439 return *x.Status
1440 }
1441 return ExpConfigFetcher_NO_CONFIG
1442}
1443
1444func (x *ExpConfigFetcher) GetFilename() string {
1445 if x != nil && x.Filename != nil {
1446 return *x.Filename
1447 }
1448 return ""
1449}
1450
1451func (x *ExpConfigFetcher) GetMicros() uint64 {
1452 if x != nil && x.Micros != nil {
1453 return *x.Micros
1454 }
1455 return 0
1456}
1457
MarkDacekff851b82022-04-21 18:33:17 +00001458type MixedBuildsInfo struct {
1459 state protoimpl.MessageState
1460 sizeCache protoimpl.SizeCache
1461 unknownFields protoimpl.UnknownFields
1462
1463 // Modules that are enabled for Mixed Builds.
1464 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 +00001465 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001466 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1467}
1468
1469func (x *MixedBuildsInfo) Reset() {
1470 *x = MixedBuildsInfo{}
1471 if protoimpl.UnsafeEnabled {
1472 mi := &file_metrics_proto_msgTypes[10]
1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1474 ms.StoreMessageInfo(mi)
1475 }
1476}
1477
1478func (x *MixedBuildsInfo) String() string {
1479 return protoimpl.X.MessageStringOf(x)
1480}
1481
1482func (*MixedBuildsInfo) ProtoMessage() {}
1483
1484func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1485 mi := &file_metrics_proto_msgTypes[10]
1486 if protoimpl.UnsafeEnabled && x != nil {
1487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1488 if ms.LoadMessageInfo() == nil {
1489 ms.StoreMessageInfo(mi)
1490 }
1491 return ms
1492 }
1493 return mi.MessageOf(x)
1494}
1495
1496// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1497func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1498 return file_metrics_proto_rawDescGZIP(), []int{10}
1499}
1500
1501func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1502 if x != nil {
1503 return x.MixedBuildEnabledModules
1504 }
1505 return nil
1506}
1507
1508func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1509 if x != nil {
1510 return x.MixedBuildDisabledModules
1511 }
1512 return nil
1513}
1514
Jeongik Chacf833772023-03-15 12:54:14 +09001515// CriticalPathInfo contains critical path nodes's information.
1516// A critical path is a path determining the minimum time needed for the whole build given perfect parallelism.
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001517type CriticalPathInfo struct {
1518 state protoimpl.MessageState
1519 sizeCache protoimpl.SizeCache
1520 unknownFields protoimpl.UnknownFields
1521
Jeongik Cha767ce712023-03-15 23:20:00 +09001522 // Real time which the build system spent in microseconds
1523 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
1524 // The sum of execution time of the longest path from leave to the root in microseconds
1525 CriticalPathTimeMicros *uint64 `protobuf:"varint,2,opt,name=critical_path_time_micros,json=criticalPathTimeMicros" json:"critical_path_time_micros,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001526 // Detailed job information in a critical path.
1527 CriticalPath []*JobInfo `protobuf:"bytes,4,rep,name=critical_path,json=criticalPath" json:"critical_path,omitempty"`
Jeongik Cha4199d472023-03-15 10:47:35 +09001528 // Detailed job information for long running jobs (>30 seconds). These may or may not also be on a critical path.
1529 LongRunningJobs []*JobInfo `protobuf:"bytes,5,rep,name=long_running_jobs,json=longRunningJobs" json:"long_running_jobs,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001530}
1531
1532func (x *CriticalPathInfo) Reset() {
1533 *x = CriticalPathInfo{}
1534 if protoimpl.UnsafeEnabled {
1535 mi := &file_metrics_proto_msgTypes[11]
1536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1537 ms.StoreMessageInfo(mi)
1538 }
1539}
1540
1541func (x *CriticalPathInfo) String() string {
1542 return protoimpl.X.MessageStringOf(x)
1543}
1544
1545func (*CriticalPathInfo) ProtoMessage() {}
1546
1547func (x *CriticalPathInfo) ProtoReflect() protoreflect.Message {
1548 mi := &file_metrics_proto_msgTypes[11]
1549 if protoimpl.UnsafeEnabled && x != nil {
1550 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1551 if ms.LoadMessageInfo() == nil {
1552 ms.StoreMessageInfo(mi)
1553 }
1554 return ms
1555 }
1556 return mi.MessageOf(x)
1557}
1558
1559// Deprecated: Use CriticalPathInfo.ProtoReflect.Descriptor instead.
1560func (*CriticalPathInfo) Descriptor() ([]byte, []int) {
1561 return file_metrics_proto_rawDescGZIP(), []int{11}
1562}
1563
Jeongik Cha767ce712023-03-15 23:20:00 +09001564func (x *CriticalPathInfo) GetElapsedTimeMicros() uint64 {
1565 if x != nil && x.ElapsedTimeMicros != nil {
1566 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001567 }
1568 return 0
1569}
1570
Jeongik Cha767ce712023-03-15 23:20:00 +09001571func (x *CriticalPathInfo) GetCriticalPathTimeMicros() uint64 {
1572 if x != nil && x.CriticalPathTimeMicros != nil {
1573 return *x.CriticalPathTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001574 }
1575 return 0
1576}
1577
1578func (x *CriticalPathInfo) GetCriticalPath() []*JobInfo {
1579 if x != nil {
1580 return x.CriticalPath
1581 }
1582 return nil
1583}
1584
Jeongik Cha4199d472023-03-15 10:47:35 +09001585func (x *CriticalPathInfo) GetLongRunningJobs() []*JobInfo {
1586 if x != nil {
1587 return x.LongRunningJobs
1588 }
1589 return nil
1590}
1591
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001592type JobInfo struct {
1593 state protoimpl.MessageState
1594 sizeCache protoimpl.SizeCache
1595 unknownFields protoimpl.UnknownFields
1596
Jeongik Cha767ce712023-03-15 23:20:00 +09001597 // Real time which a job spent in microseconds
1598 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001599 // Description of a job
1600 JobDescription *string `protobuf:"bytes,2,opt,name=job_description,json=jobDescription" json:"job_description,omitempty"`
1601}
1602
1603func (x *JobInfo) Reset() {
1604 *x = JobInfo{}
1605 if protoimpl.UnsafeEnabled {
1606 mi := &file_metrics_proto_msgTypes[12]
1607 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1608 ms.StoreMessageInfo(mi)
1609 }
1610}
1611
1612func (x *JobInfo) String() string {
1613 return protoimpl.X.MessageStringOf(x)
1614}
1615
1616func (*JobInfo) ProtoMessage() {}
1617
1618func (x *JobInfo) ProtoReflect() protoreflect.Message {
1619 mi := &file_metrics_proto_msgTypes[12]
1620 if protoimpl.UnsafeEnabled && x != nil {
1621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1622 if ms.LoadMessageInfo() == nil {
1623 ms.StoreMessageInfo(mi)
1624 }
1625 return ms
1626 }
1627 return mi.MessageOf(x)
1628}
1629
1630// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
1631func (*JobInfo) Descriptor() ([]byte, []int) {
1632 return file_metrics_proto_rawDescGZIP(), []int{12}
1633}
1634
Jeongik Cha767ce712023-03-15 23:20:00 +09001635func (x *JobInfo) GetElapsedTimeMicros() uint64 {
1636 if x != nil && x.ElapsedTimeMicros != nil {
1637 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001638 }
1639 return 0
1640}
1641
1642func (x *JobInfo) GetJobDescription() string {
1643 if x != nil && x.JobDescription != nil {
1644 return *x.JobDescription
1645 }
1646 return ""
1647}
1648
Dan Willemsen4591b642021-05-24 14:24:12 -07001649var File_metrics_proto protoreflect.FileDescriptor
1650
1651var file_metrics_proto_rawDesc = []byte{
1652 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1653 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001654 0x72, 0x69, 0x63, 0x73, 0x22, 0x8a, 0x0f, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001655 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1656 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1657 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1658 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1659 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1660 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1661 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1662 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1663 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1664 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1665 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1666 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1667 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1668 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1669 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1670 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1671 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1672 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1673 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1674 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1675 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1676 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1677 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1678 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1679 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1680 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1681 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1682 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1683 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1684 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1685 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1686 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1687 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1688 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1689 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1690 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1691 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1692 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1693 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1694 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1695 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1696 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1697 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1698 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1699 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1700 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1701 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1702 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1703 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1704 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1705 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1706 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1707 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1708 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1709 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1710 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1711 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1712 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1713 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1714 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1715 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1716 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1717 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1718 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1719 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1720 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1721 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1722 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1723 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1724 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05001725 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07001726 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1727 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1728 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05001729 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
1730 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
1731 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
1732 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
1733 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1734 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
1735 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
1736 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
1737 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1738 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
1739 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1740 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1741 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
1742 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1743 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1744 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1745 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
1746 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1747 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1748 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
1749 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1750 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
1751 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1752 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1753 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1754 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
1755 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
1756 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
1757 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
1758 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
MarkDaceka18ba222023-03-07 18:18:19 +00001759 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,
1760 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
1761 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001762 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x53, 0x0a, 0x12,
1763 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x6e,
1764 0x66, 0x6f, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1765 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43,
1766 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1767 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66,
1768 0x6f, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1769 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55,
1770 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e,
1771 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55,
1772 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10,
1773 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03,
1774 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001775 0x04, 0x22, 0x88, 0x03, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001776 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20,
1777 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07,
1778 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75,
1779 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75,
1780 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66,
1781 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62,
1782 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20,
1783 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a,
1784 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64,
1785 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61,
1786 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a,
1787 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
1788 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65,
1789 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d,
1790 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
1791 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001792 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x6d, 0x0a,
1793 0x18, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69,
1794 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32,
1795 0x2a, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1796 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68,
1797 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, 0x4e, 0x4f, 0x54,
1798 0x5f, 0x55, 0x53, 0x45, 0x44, 0x52, 0x15, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67,
1799 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x6f, 0x0a, 0x12,
1800 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e,
1801 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73,
1802 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
1803 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c,
1804 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61,
1805 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d,
1806 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02,
1807 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
1808 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1809 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
1810 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1811 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03,
1812 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
1813 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
1814 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a,
1815 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
1816 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12,
1817 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73,
1818 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,
1819 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1820 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65,
1821 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63,
1822 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66,
1823 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78,
1824 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72,
1825 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d,
1826 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72,
1827 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50,
1828 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e,
1829 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1830 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74,
1831 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
1832 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73,
1833 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f,
1834 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79,
1835 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c,
1836 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01,
1837 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11,
1838 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74,
1839 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61,
1840 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f,
1841 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20,
1842 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61,
1843 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74,
1844 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70,
1845 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75,
1846 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75,
1847 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74,
1848 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74,
1849 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75,
1850 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74,
1851 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74,
1852 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74,
1853 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f,
1854 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77,
1855 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
1856 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69,
1857 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1858 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1859 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65,
1860 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1861 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64,
1862 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1863 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64,
1864 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f,
1865 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
1866 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a,
1867 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07,
1868 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f,
1869 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c,
1870 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f,
1871 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04,
1872 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1873 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
1874 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1875 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42,
1876 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b,
1877 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72,
1878 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63,
1879 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001880 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001881 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72,
1882 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73,
1883 0x22, 0xcc, 0x02, 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d,
1884 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1885 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73,
1886 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01,
1887 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11,
1888 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
1889 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c,
1890 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61,
1891 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01,
1892 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69,
1893 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73,
1894 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65,
1895 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73,
1896 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1897 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72,
1898 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a,
1899 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e,
1900 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1901 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d,
1902 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f,
1903 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22,
1904 0xdb, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74,
1905 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
1906 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
1907 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f,
1908 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
1909 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
1910 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
1911 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
1912 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69,
1913 0x63, 0x72, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74,
1914 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49,
1915 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12,
1916 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49,
1917 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91, 0x01,
1918 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66,
1919 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1920 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73,
1921 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69,
1922 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73,
1923 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1924 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73,
1925 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69,
1926 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1927 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x10, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61,
1928 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65,
1929 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x01, 0x20,
1930 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65,
1931 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63,
1932 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63,
1933 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x63, 0x72, 0x69, 0x74, 0x69,
1934 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f,
1935 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61,
1936 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1937 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a,
1938 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c,
1939 0x50, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6e,
1940 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
1941 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1942 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6c,
1943 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x22, 0x62,
1944 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, 0x61,
1945 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73,
1946 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54,
1947 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6a, 0x6f, 0x62,
1948 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
1949 0x28, 0x09, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
1950 0x6f, 0x6e, 0x2a, 0x4c, 0x0a, 0x15, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68,
1951 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e,
1952 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x49, 0x4e,
1953 0x4a, 0x41, 0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e,
1954 0x4c, 0x59, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x44, 0x10, 0x02,
1955 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e,
1956 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74,
1957 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001958}
1959
Dan Willemsen4591b642021-05-24 14:24:12 -07001960var (
1961 file_metrics_proto_rawDescOnce sync.Once
1962 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1963)
1964
1965func file_metrics_proto_rawDescGZIP() []byte {
1966 file_metrics_proto_rawDescOnce.Do(func() {
1967 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1968 })
1969 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001970}
Nan Zhang17f27672018-12-12 16:01:49 -08001971
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001972var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001973var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
Dan Willemsen4591b642021-05-24 14:24:12 -07001974var file_metrics_proto_goTypes = []interface{}{
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001975 (NinjaWeightListSource)(0), // 0: soong_build_metrics.NinjaWeightListSource
1976 (MetricsBase_BuildVariant)(0), // 1: soong_build_metrics.MetricsBase.BuildVariant
1977 (MetricsBase_Arch)(0), // 2: soong_build_metrics.MetricsBase.Arch
1978 (ModuleTypeInfo_BuildSystem)(0), // 3: soong_build_metrics.ModuleTypeInfo.BuildSystem
1979 (ExpConfigFetcher_ConfigStatus)(0), // 4: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1980 (*MetricsBase)(nil), // 5: soong_build_metrics.MetricsBase
1981 (*BuildConfig)(nil), // 6: soong_build_metrics.BuildConfig
1982 (*SystemResourceInfo)(nil), // 7: soong_build_metrics.SystemResourceInfo
1983 (*PerfInfo)(nil), // 8: soong_build_metrics.PerfInfo
1984 (*ProcessResourceInfo)(nil), // 9: soong_build_metrics.ProcessResourceInfo
1985 (*ModuleTypeInfo)(nil), // 10: soong_build_metrics.ModuleTypeInfo
1986 (*CriticalUserJourneyMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneyMetrics
1987 (*CriticalUserJourneysMetrics)(nil), // 12: soong_build_metrics.CriticalUserJourneysMetrics
1988 (*SoongBuildMetrics)(nil), // 13: soong_build_metrics.SoongBuildMetrics
1989 (*ExpConfigFetcher)(nil), // 14: soong_build_metrics.ExpConfigFetcher
1990 (*MixedBuildsInfo)(nil), // 15: soong_build_metrics.MixedBuildsInfo
1991 (*CriticalPathInfo)(nil), // 16: soong_build_metrics.CriticalPathInfo
1992 (*JobInfo)(nil), // 17: soong_build_metrics.JobInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001993}
1994var file_metrics_proto_depIdxs = []int32{
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001995 1, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1996 2, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1997 2, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1998 2, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1999 8, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
2000 8, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
2001 8, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
2002 8, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
2003 8, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
2004 13, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
2005 6, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
2006 7, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
2007 8, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
2008 14, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
2009 16, // 14: soong_build_metrics.MetricsBase.critical_path_info:type_name -> soong_build_metrics.CriticalPathInfo
2010 0, // 15: soong_build_metrics.BuildConfig.ninja_weight_list_source:type_name -> soong_build_metrics.NinjaWeightListSource
2011 9, // 16: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
2012 3, // 17: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
2013 5, // 18: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
2014 11, // 19: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
2015 8, // 20: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
2016 15, // 21: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
2017 4, // 22: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
2018 17, // 23: soong_build_metrics.CriticalPathInfo.critical_path:type_name -> soong_build_metrics.JobInfo
2019 17, // 24: soong_build_metrics.CriticalPathInfo.long_running_jobs:type_name -> soong_build_metrics.JobInfo
2020 25, // [25:25] is the sub-list for method output_type
2021 25, // [25:25] is the sub-list for method input_type
2022 25, // [25:25] is the sub-list for extension type_name
2023 25, // [25:25] is the sub-list for extension extendee
2024 0, // [0:25] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07002025}
2026
2027func init() { file_metrics_proto_init() }
2028func file_metrics_proto_init() {
2029 if File_metrics_proto != nil {
2030 return
2031 }
2032 if !protoimpl.UnsafeEnabled {
2033 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2034 switch v := v.(*MetricsBase); 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 }
2045 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2046 switch v := v.(*BuildConfig); 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 }
2057 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2058 switch v := v.(*SystemResourceInfo); 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[3].Exporter = func(v interface{}, i int) interface{} {
2070 switch v := v.(*PerfInfo); 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 }
2081 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2082 switch v := v.(*ProcessResourceInfo); i {
2083 case 0:
2084 return &v.state
2085 case 1:
2086 return &v.sizeCache
2087 case 2:
2088 return &v.unknownFields
2089 default:
2090 return nil
2091 }
2092 }
2093 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2094 switch v := v.(*ModuleTypeInfo); i {
2095 case 0:
2096 return &v.state
2097 case 1:
2098 return &v.sizeCache
2099 case 2:
2100 return &v.unknownFields
2101 default:
2102 return nil
2103 }
2104 }
2105 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2106 switch v := v.(*CriticalUserJourneyMetrics); i {
2107 case 0:
2108 return &v.state
2109 case 1:
2110 return &v.sizeCache
2111 case 2:
2112 return &v.unknownFields
2113 default:
2114 return nil
2115 }
2116 }
2117 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2118 switch v := v.(*CriticalUserJourneysMetrics); i {
2119 case 0:
2120 return &v.state
2121 case 1:
2122 return &v.sizeCache
2123 case 2:
2124 return &v.unknownFields
2125 default:
2126 return nil
2127 }
2128 }
2129 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2130 switch v := v.(*SoongBuildMetrics); i {
2131 case 0:
2132 return &v.state
2133 case 1:
2134 return &v.sizeCache
2135 case 2:
2136 return &v.unknownFields
2137 default:
2138 return nil
2139 }
2140 }
David Goldsmith62243a32022-04-08 13:42:04 +00002141 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2142 switch v := v.(*ExpConfigFetcher); i {
2143 case 0:
2144 return &v.state
2145 case 1:
2146 return &v.sizeCache
2147 case 2:
2148 return &v.unknownFields
2149 default:
2150 return nil
2151 }
2152 }
MarkDacekff851b82022-04-21 18:33:17 +00002153 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2154 switch v := v.(*MixedBuildsInfo); i {
2155 case 0:
2156 return &v.state
2157 case 1:
2158 return &v.sizeCache
2159 case 2:
2160 return &v.unknownFields
2161 default:
2162 return nil
2163 }
2164 }
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002165 file_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2166 switch v := v.(*CriticalPathInfo); i {
2167 case 0:
2168 return &v.state
2169 case 1:
2170 return &v.sizeCache
2171 case 2:
2172 return &v.unknownFields
2173 default:
2174 return nil
2175 }
2176 }
2177 file_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2178 switch v := v.(*JobInfo); i {
2179 case 0:
2180 return &v.state
2181 case 1:
2182 return &v.sizeCache
2183 case 2:
2184 return &v.unknownFields
2185 default:
2186 return nil
2187 }
2188 }
Dan Willemsen4591b642021-05-24 14:24:12 -07002189 }
2190 type x struct{}
2191 out := protoimpl.TypeBuilder{
2192 File: protoimpl.DescBuilder{
2193 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2194 RawDescriptor: file_metrics_proto_rawDesc,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002195 NumEnums: 5,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002196 NumMessages: 13,
Dan Willemsen4591b642021-05-24 14:24:12 -07002197 NumExtensions: 0,
2198 NumServices: 0,
2199 },
2200 GoTypes: file_metrics_proto_goTypes,
2201 DependencyIndexes: file_metrics_proto_depIdxs,
2202 EnumInfos: file_metrics_proto_enumTypes,
2203 MessageInfos: file_metrics_proto_msgTypes,
2204 }.Build()
2205 File_metrics_proto = out.File
2206 file_metrics_proto_rawDesc = nil
2207 file_metrics_proto_goTypes = nil
2208 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08002209}