blob: f869b7235fd8e567b09305a1a7d7e664b94c423c [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Copyright 2018 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Nan Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
MarkDacekff851b82022-04-21 18:33:17 +000017// protoc-gen-go v1.28.0
Jason Wu41886f22023-01-04 11:29:36 -050018// protoc v3.21.7
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
Nan Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
47 MetricsBase_BuildVariant_name = map[int32]string{
48 0: "USER",
49 1: "USERDEBUG",
50 2: "ENG",
51 }
52 MetricsBase_BuildVariant_value = map[string]int32{
53 "USER": 0,
54 "USERDEBUG": 1,
55 "ENG": 2,
56 }
57)
Nan Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha8d63d562023-03-17 03:52:13 +090070 return file_metrics_proto_enumTypes[0].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -070071}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
Jeongik Cha8d63d562023-03-17 03:52:13 +090074 return &file_metrics_proto_enumTypes[0]
Dan Willemsen4591b642021-05-24 14:24:12 -070075}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_UNKNOWN MetricsBase_Arch = 0
100 MetricsBase_ARM MetricsBase_Arch = 1
101 MetricsBase_ARM64 MetricsBase_Arch = 2
102 MetricsBase_X86 MetricsBase_Arch = 3
103 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
108 MetricsBase_Arch_name = map[int32]string{
109 0: "UNKNOWN",
110 1: "ARM",
111 2: "ARM64",
112 3: "X86",
113 4: "X86_64",
114 }
115 MetricsBase_Arch_value = map[string]int32{
116 "UNKNOWN": 0,
117 "ARM": 1,
118 "ARM64": 2,
119 "X86": 3,
120 "X86_64": 4,
121 }
122)
Nan Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha8d63d562023-03-17 03:52:13 +0900135 return file_metrics_proto_enumTypes[1].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
Jeongik Cha8d63d562023-03-17 03:52:13 +0900139 return &file_metrics_proto_enumTypes[1]
Dan Willemsen4591b642021-05-24 14:24:12 -0700140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Jeongik Cha8d63d562023-03-17 03:52:13 +0900161type BuildConfig_NinjaWeightListSource int32
162
163const (
164 BuildConfig_NOT_USED BuildConfig_NinjaWeightListSource = 0
165 BuildConfig_NINJA_LOG BuildConfig_NinjaWeightListSource = 1
166 BuildConfig_EVENLY_DISTRIBUTED BuildConfig_NinjaWeightListSource = 2
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900167 BuildConfig_EXTERNAL_FILE BuildConfig_NinjaWeightListSource = 3
Jeongik Cha8d63d562023-03-17 03:52:13 +0900168)
169
170// Enum value maps for BuildConfig_NinjaWeightListSource.
171var (
172 BuildConfig_NinjaWeightListSource_name = map[int32]string{
173 0: "NOT_USED",
174 1: "NINJA_LOG",
175 2: "EVENLY_DISTRIBUTED",
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900176 3: "EXTERNAL_FILE",
Jeongik Cha8d63d562023-03-17 03:52:13 +0900177 }
178 BuildConfig_NinjaWeightListSource_value = map[string]int32{
179 "NOT_USED": 0,
180 "NINJA_LOG": 1,
181 "EVENLY_DISTRIBUTED": 2,
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900182 "EXTERNAL_FILE": 3,
Jeongik Cha8d63d562023-03-17 03:52:13 +0900183 }
184)
185
186func (x BuildConfig_NinjaWeightListSource) Enum() *BuildConfig_NinjaWeightListSource {
187 p := new(BuildConfig_NinjaWeightListSource)
188 *p = x
189 return p
190}
191
192func (x BuildConfig_NinjaWeightListSource) String() string {
193 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
194}
195
196func (BuildConfig_NinjaWeightListSource) Descriptor() protoreflect.EnumDescriptor {
197 return file_metrics_proto_enumTypes[2].Descriptor()
198}
199
200func (BuildConfig_NinjaWeightListSource) Type() protoreflect.EnumType {
201 return &file_metrics_proto_enumTypes[2]
202}
203
204func (x BuildConfig_NinjaWeightListSource) Number() protoreflect.EnumNumber {
205 return protoreflect.EnumNumber(x)
206}
207
208// Deprecated: Do not use.
209func (x *BuildConfig_NinjaWeightListSource) UnmarshalJSON(b []byte) error {
210 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
211 if err != nil {
212 return err
213 }
214 *x = BuildConfig_NinjaWeightListSource(num)
215 return nil
216}
217
218// Deprecated: Use BuildConfig_NinjaWeightListSource.Descriptor instead.
219func (BuildConfig_NinjaWeightListSource) EnumDescriptor() ([]byte, []int) {
220 return file_metrics_proto_rawDescGZIP(), []int{1, 0}
221}
222
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700223type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800224
225const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700226 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
227 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
228 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800229)
230
Dan Willemsen4591b642021-05-24 14:24:12 -0700231// Enum value maps for ModuleTypeInfo_BuildSystem.
232var (
233 ModuleTypeInfo_BuildSystem_name = map[int32]string{
234 0: "UNKNOWN",
235 1: "SOONG",
236 2: "MAKE",
237 }
238 ModuleTypeInfo_BuildSystem_value = map[string]int32{
239 "UNKNOWN": 0,
240 "SOONG": 1,
241 "MAKE": 2,
242 }
243)
Nan Zhang17f27672018-12-12 16:01:49 -0800244
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700245func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
246 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800247 *p = x
248 return p
249}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700250
251func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700252 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800253}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700254
Dan Willemsen4591b642021-05-24 14:24:12 -0700255func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900256 return file_metrics_proto_enumTypes[3].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700257}
258
259func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900260 return &file_metrics_proto_enumTypes[3]
Dan Willemsen4591b642021-05-24 14:24:12 -0700261}
262
263func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
264 return protoreflect.EnumNumber(x)
265}
266
267// Deprecated: Do not use.
268func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
269 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800270 if err != nil {
271 return err
272 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700273 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800274 return nil
275}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700276
Dan Willemsen4591b642021-05-24 14:24:12 -0700277// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700278func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700279 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800280}
281
David Goldsmith62243a32022-04-08 13:42:04 +0000282type ExpConfigFetcher_ConfigStatus int32
283
284const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000285 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
286 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
287 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
288 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000289)
290
291// Enum value maps for ExpConfigFetcher_ConfigStatus.
292var (
293 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
294 0: "NO_CONFIG",
295 1: "CONFIG",
296 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000297 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000298 }
299 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000300 "NO_CONFIG": 0,
301 "CONFIG": 1,
302 "ERROR": 2,
303 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000304 }
305)
306
307func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
308 p := new(ExpConfigFetcher_ConfigStatus)
309 *p = x
310 return p
311}
312
313func (x ExpConfigFetcher_ConfigStatus) String() string {
314 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
315}
316
317func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900318 return file_metrics_proto_enumTypes[4].Descriptor()
David Goldsmith62243a32022-04-08 13:42:04 +0000319}
320
321func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900322 return &file_metrics_proto_enumTypes[4]
David Goldsmith62243a32022-04-08 13:42:04 +0000323}
324
325func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
326 return protoreflect.EnumNumber(x)
327}
328
329// Deprecated: Do not use.
330func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
331 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
332 if err != nil {
333 return err
334 }
335 *x = ExpConfigFetcher_ConfigStatus(num)
336 return nil
337}
338
339// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
340func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
341 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
342}
343
Nan Zhang17f27672018-12-12 16:01:49 -0800344type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700345 state protoimpl.MessageState
346 sizeCache protoimpl.SizeCache
347 unknownFields protoimpl.UnknownFields
348
Nan Zhang17f27672018-12-12 16:01:49 -0800349 // Timestamp generated when the build starts.
350 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
351 // It is usually used to specify the branch name [and release candidate].
352 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
353 // The platform version codename, eg. P, Q, REL.
354 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
355 // The target product information, eg. aosp_arm.
356 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
357 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700358 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 -0800359 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700360 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 -0800361 // The target arch variant information, eg. armv7-a-neon.
362 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
363 // The target cpu variant information, eg. generic.
364 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
365 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700366 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 -0800367 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700368 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 -0800369 // The host os information, eg. linux.
370 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
371 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
372 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
373 // The host cross os information, eg. windows.
374 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
375 // The host cross arch information, eg. x86.
376 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
377 // The host cross 2nd arch information, eg. x86_64.
378 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
379 // The directory for generated built artifacts installation, eg. out.
380 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
381 // The metrics for calling various tools (microfactory) before Soong_UI starts.
382 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
383 // The metrics for calling Kati by multiple times.
384 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
385 // The metrics for calling Soong.
386 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
387 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800388 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
389 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500390 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
391 // Deprecated because instead of embedding in a MetricsBase, we keep
392 // SoongBuildMetrics in its own file
393 //
394 // Deprecated: Do not use.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000395 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
396 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000397 // The hostname of the machine.
398 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
399 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700400 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
401 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800402 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
403 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700404 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000405 // The metrics of the experiment config fetcher
406 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400407 // Whether the build exited with a panic or non-zero exit code, includes both
408 // non-zero exits of recorded phases and non-recorded phases of the build.
409 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
410 // The error message due to a non-zero exit _only_ if it did not occur in a
411 // recorded phase of the build.
412 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
MarkDaceka18ba222023-03-07 18:18:19 +0000413 // The Git Manifest for the user's branch.
414 ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"`
415 // The branch on which the build occurred.
416 // Example: refs/heads/master
417 Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900418 // The metric of critical path in build
419 CriticalPathInfo *CriticalPathInfo `protobuf:"bytes,33,opt,name=critical_path_info,json=criticalPathInfo" json:"critical_path_info,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800420}
421
Dan Willemsen4591b642021-05-24 14:24:12 -0700422// Default values for MetricsBase fields.
423const (
424 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
425 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
426 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
427 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
428)
429
430func (x *MetricsBase) Reset() {
431 *x = MetricsBase{}
432 if protoimpl.UnsafeEnabled {
433 mi := &file_metrics_proto_msgTypes[0]
434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
435 ms.StoreMessageInfo(mi)
436 }
437}
438
439func (x *MetricsBase) String() string {
440 return protoimpl.X.MessageStringOf(x)
441}
442
443func (*MetricsBase) ProtoMessage() {}
444
445func (x *MetricsBase) ProtoReflect() protoreflect.Message {
446 mi := &file_metrics_proto_msgTypes[0]
447 if protoimpl.UnsafeEnabled && x != nil {
448 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
449 if ms.LoadMessageInfo() == nil {
450 ms.StoreMessageInfo(mi)
451 }
452 return ms
453 }
454 return mi.MessageOf(x)
455}
456
457// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800458func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700459 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800460}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700461
Dan Willemsen4591b642021-05-24 14:24:12 -0700462func (x *MetricsBase) GetBuildDateTimestamp() int64 {
463 if x != nil && x.BuildDateTimestamp != nil {
464 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800465 }
466 return 0
467}
468
Dan Willemsen4591b642021-05-24 14:24:12 -0700469func (x *MetricsBase) GetBuildId() string {
470 if x != nil && x.BuildId != nil {
471 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800472 }
473 return ""
474}
475
Dan Willemsen4591b642021-05-24 14:24:12 -0700476func (x *MetricsBase) GetPlatformVersionCodename() string {
477 if x != nil && x.PlatformVersionCodename != nil {
478 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800479 }
480 return ""
481}
482
Dan Willemsen4591b642021-05-24 14:24:12 -0700483func (x *MetricsBase) GetTargetProduct() string {
484 if x != nil && x.TargetProduct != nil {
485 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800486 }
487 return ""
488}
489
Dan Willemsen4591b642021-05-24 14:24:12 -0700490func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
491 if x != nil && x.TargetBuildVariant != nil {
492 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800493 }
494 return Default_MetricsBase_TargetBuildVariant
495}
496
Dan Willemsen4591b642021-05-24 14:24:12 -0700497func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
498 if x != nil && x.TargetArch != nil {
499 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800500 }
501 return Default_MetricsBase_TargetArch
502}
503
Dan Willemsen4591b642021-05-24 14:24:12 -0700504func (x *MetricsBase) GetTargetArchVariant() string {
505 if x != nil && x.TargetArchVariant != nil {
506 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800507 }
508 return ""
509}
510
Dan Willemsen4591b642021-05-24 14:24:12 -0700511func (x *MetricsBase) GetTargetCpuVariant() string {
512 if x != nil && x.TargetCpuVariant != nil {
513 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800514 }
515 return ""
516}
517
Dan Willemsen4591b642021-05-24 14:24:12 -0700518func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
519 if x != nil && x.HostArch != nil {
520 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800521 }
522 return Default_MetricsBase_HostArch
523}
524
Dan Willemsen4591b642021-05-24 14:24:12 -0700525func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
526 if x != nil && x.Host_2NdArch != nil {
527 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800528 }
529 return Default_MetricsBase_Host_2NdArch
530}
531
Dan Willemsen4591b642021-05-24 14:24:12 -0700532func (x *MetricsBase) GetHostOs() string {
533 if x != nil && x.HostOs != nil {
534 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800535 }
536 return ""
537}
538
Dan Willemsen4591b642021-05-24 14:24:12 -0700539func (x *MetricsBase) GetHostOsExtra() string {
540 if x != nil && x.HostOsExtra != nil {
541 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800542 }
543 return ""
544}
545
Dan Willemsen4591b642021-05-24 14:24:12 -0700546func (x *MetricsBase) GetHostCrossOs() string {
547 if x != nil && x.HostCrossOs != nil {
548 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800549 }
550 return ""
551}
552
Dan Willemsen4591b642021-05-24 14:24:12 -0700553func (x *MetricsBase) GetHostCrossArch() string {
554 if x != nil && x.HostCrossArch != nil {
555 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800556 }
557 return ""
558}
559
Dan Willemsen4591b642021-05-24 14:24:12 -0700560func (x *MetricsBase) GetHostCross_2NdArch() string {
561 if x != nil && x.HostCross_2NdArch != nil {
562 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800563 }
564 return ""
565}
566
Dan Willemsen4591b642021-05-24 14:24:12 -0700567func (x *MetricsBase) GetOutDir() string {
568 if x != nil && x.OutDir != nil {
569 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800570 }
571 return ""
572}
573
Dan Willemsen4591b642021-05-24 14:24:12 -0700574func (x *MetricsBase) GetSetupTools() []*PerfInfo {
575 if x != nil {
576 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800577 }
578 return nil
579}
580
Dan Willemsen4591b642021-05-24 14:24:12 -0700581func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
582 if x != nil {
583 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800584 }
585 return nil
586}
587
Dan Willemsen4591b642021-05-24 14:24:12 -0700588func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
589 if x != nil {
590 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800591 }
592 return nil
593}
594
Dan Willemsen4591b642021-05-24 14:24:12 -0700595func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
596 if x != nil {
597 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800598 }
599 return nil
600}
601
Dan Willemsen4591b642021-05-24 14:24:12 -0700602func (x *MetricsBase) GetTotal() *PerfInfo {
603 if x != nil {
604 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800605 }
606 return nil
607}
608
Jason Wu41886f22023-01-04 11:29:36 -0500609// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700610func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
611 if x != nil {
612 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800613 }
614 return nil
615}
616
Dan Willemsen4591b642021-05-24 14:24:12 -0700617func (x *MetricsBase) GetBuildConfig() *BuildConfig {
618 if x != nil {
619 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000620 }
621 return nil
622}
623
Dan Willemsen4591b642021-05-24 14:24:12 -0700624func (x *MetricsBase) GetHostname() string {
625 if x != nil && x.Hostname != nil {
626 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000627 }
628 return ""
629}
630
Dan Willemsen4591b642021-05-24 14:24:12 -0700631func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
632 if x != nil {
633 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000634 }
635 return nil
636}
637
Dan Willemsen4591b642021-05-24 14:24:12 -0700638func (x *MetricsBase) GetBuildCommand() string {
639 if x != nil && x.BuildCommand != nil {
640 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700641 }
642 return ""
643}
644
Dan Willemsen4591b642021-05-24 14:24:12 -0700645func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
646 if x != nil {
647 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800648 }
649 return nil
650}
651
David Goldsmith62243a32022-04-08 13:42:04 +0000652func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
653 if x != nil {
654 return x.ExpConfigFetcher
655 }
656 return nil
657}
658
Liz Kammerf2a80c62022-10-21 10:42:35 -0400659func (x *MetricsBase) GetNonZeroExit() bool {
660 if x != nil && x.NonZeroExit != nil {
661 return *x.NonZeroExit
662 }
663 return false
664}
665
666func (x *MetricsBase) GetErrorMessage() string {
667 if x != nil && x.ErrorMessage != nil {
668 return *x.ErrorMessage
669 }
670 return ""
671}
672
MarkDaceka18ba222023-03-07 18:18:19 +0000673func (x *MetricsBase) GetManifestUrl() string {
674 if x != nil && x.ManifestUrl != nil {
675 return *x.ManifestUrl
676 }
677 return ""
678}
679
680func (x *MetricsBase) GetBranch() string {
681 if x != nil && x.Branch != nil {
682 return *x.Branch
683 }
684 return ""
685}
686
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900687func (x *MetricsBase) GetCriticalPathInfo() *CriticalPathInfo {
688 if x != nil {
689 return x.CriticalPathInfo
690 }
691 return nil
692}
693
Patrice Arruda96850362020-08-11 20:41:11 +0000694type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700695 state protoimpl.MessageState
696 sizeCache protoimpl.SizeCache
697 unknownFields protoimpl.UnknownFields
698
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400699 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
700 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
701 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
702 // Whether the Bazel is acting as the Ninja executor for this build.
703 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
704 // Whether build is occurring in a mixed build mode, where Bazel maintains the
705 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700706 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700707 // These are the targets soong passes to ninja, these targets include special
708 // targets such as droid as well as the regular build targets.
709 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400710 // Whether the user explicitly disabled bazel mixed builds for this build.
711 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 +0900712 // NOT_USED - ninja doesn't use weight list.
713 // NINJA_LOG - ninja uses weight list based on previous builds by ninja log
714 // EVENLY_DISTRIBUTED - ninja thinks every task has the same weight.
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900715 // EXTERNAL_FILE - ninja uses an external custom weight list
Jeongik Cha8d63d562023-03-17 03:52:13 +0900716 NinjaWeightListSource *BuildConfig_NinjaWeightListSource `protobuf:"varint,8,opt,name=ninja_weight_list_source,json=ninjaWeightListSource,enum=soong_build_metrics.BuildConfig_NinjaWeightListSource,def=0" json:"ninja_weight_list_source,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000717}
718
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900719// Default values for BuildConfig fields.
720const (
Jeongik Cha8d63d562023-03-17 03:52:13 +0900721 Default_BuildConfig_NinjaWeightListSource = BuildConfig_NOT_USED
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900722)
723
Dan Willemsen4591b642021-05-24 14:24:12 -0700724func (x *BuildConfig) Reset() {
725 *x = BuildConfig{}
726 if protoimpl.UnsafeEnabled {
727 mi := &file_metrics_proto_msgTypes[1]
728 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
729 ms.StoreMessageInfo(mi)
730 }
731}
732
733func (x *BuildConfig) String() string {
734 return protoimpl.X.MessageStringOf(x)
735}
736
737func (*BuildConfig) ProtoMessage() {}
738
739func (x *BuildConfig) ProtoReflect() protoreflect.Message {
740 mi := &file_metrics_proto_msgTypes[1]
741 if protoimpl.UnsafeEnabled && x != nil {
742 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
743 if ms.LoadMessageInfo() == nil {
744 ms.StoreMessageInfo(mi)
745 }
746 return ms
747 }
748 return mi.MessageOf(x)
749}
750
751// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000752func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700753 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000754}
755
Dan Willemsen4591b642021-05-24 14:24:12 -0700756func (x *BuildConfig) GetUseGoma() bool {
757 if x != nil && x.UseGoma != nil {
758 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000759 }
760 return false
761}
762
Dan Willemsen4591b642021-05-24 14:24:12 -0700763func (x *BuildConfig) GetUseRbe() bool {
764 if x != nil && x.UseRbe != nil {
765 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000766 }
767 return false
768}
769
Dan Willemsen4591b642021-05-24 14:24:12 -0700770func (x *BuildConfig) GetForceUseGoma() bool {
771 if x != nil && x.ForceUseGoma != nil {
772 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000773 }
774 return false
775}
776
Dan Willemsen4591b642021-05-24 14:24:12 -0700777func (x *BuildConfig) GetBazelAsNinja() bool {
778 if x != nil && x.BazelAsNinja != nil {
779 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400780 }
781 return false
782}
783
Dan Willemsen4591b642021-05-24 14:24:12 -0700784func (x *BuildConfig) GetBazelMixedBuild() bool {
785 if x != nil && x.BazelMixedBuild != nil {
786 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400787 }
788 return false
789}
790
Yu Liue737a992021-10-04 13:21:41 -0700791func (x *BuildConfig) GetTargets() []string {
792 if x != nil {
793 return x.Targets
794 }
795 return nil
796}
797
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400798func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
799 if x != nil && x.ForceDisableBazelMixedBuild != nil {
800 return *x.ForceDisableBazelMixedBuild
801 }
802 return false
803}
804
Jeongik Cha8d63d562023-03-17 03:52:13 +0900805func (x *BuildConfig) GetNinjaWeightListSource() BuildConfig_NinjaWeightListSource {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900806 if x != nil && x.NinjaWeightListSource != nil {
807 return *x.NinjaWeightListSource
808 }
809 return Default_BuildConfig_NinjaWeightListSource
810}
811
Patrice Arruda3edfd482020-10-13 23:58:41 +0000812type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700813 state protoimpl.MessageState
814 sizeCache protoimpl.SizeCache
815 unknownFields protoimpl.UnknownFields
816
Patrice Arruda3edfd482020-10-13 23:58:41 +0000817 // The total physical memory in bytes.
818 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
819 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700820 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000821}
822
Dan Willemsen4591b642021-05-24 14:24:12 -0700823func (x *SystemResourceInfo) Reset() {
824 *x = SystemResourceInfo{}
825 if protoimpl.UnsafeEnabled {
826 mi := &file_metrics_proto_msgTypes[2]
827 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
828 ms.StoreMessageInfo(mi)
829 }
830}
831
832func (x *SystemResourceInfo) String() string {
833 return protoimpl.X.MessageStringOf(x)
834}
835
836func (*SystemResourceInfo) ProtoMessage() {}
837
838func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
839 mi := &file_metrics_proto_msgTypes[2]
840 if protoimpl.UnsafeEnabled && x != nil {
841 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
842 if ms.LoadMessageInfo() == nil {
843 ms.StoreMessageInfo(mi)
844 }
845 return ms
846 }
847 return mi.MessageOf(x)
848}
849
850// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000851func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700852 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000853}
854
Dan Willemsen4591b642021-05-24 14:24:12 -0700855func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
856 if x != nil && x.TotalPhysicalMemory != nil {
857 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000858 }
859 return 0
860}
861
Dan Willemsen4591b642021-05-24 14:24:12 -0700862func (x *SystemResourceInfo) GetAvailableCpus() int32 {
863 if x != nil && x.AvailableCpus != nil {
864 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000865 }
866 return 0
867}
868
Nan Zhang17f27672018-12-12 16:01:49 -0800869type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700870 state protoimpl.MessageState
871 sizeCache protoimpl.SizeCache
872 unknownFields protoimpl.UnknownFields
873
Nan Zhang17f27672018-12-12 16:01:49 -0800874 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700875 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800876 // The name for the running phase/action/part.
877 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
878 // The absolute start time.
879 // The number of nanoseconds elapsed since January 1, 1970 UTC.
880 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
881 // The real running time.
882 // The number of nanoseconds elapsed since start_time.
883 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700884 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700885 //
886 // Deprecated: Do not use.
887 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700888 // The resource information of each executed process.
889 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400890 // Whether the phase of tool running exited with a panic or non-zero exit
891 // code.
892 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
893 // The error message, if any, due to a non-zero exit.
894 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800895}
896
Dan Willemsen4591b642021-05-24 14:24:12 -0700897func (x *PerfInfo) Reset() {
898 *x = PerfInfo{}
899 if protoimpl.UnsafeEnabled {
900 mi := &file_metrics_proto_msgTypes[3]
901 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
902 ms.StoreMessageInfo(mi)
903 }
904}
905
906func (x *PerfInfo) String() string {
907 return protoimpl.X.MessageStringOf(x)
908}
909
910func (*PerfInfo) ProtoMessage() {}
911
912func (x *PerfInfo) ProtoReflect() protoreflect.Message {
913 mi := &file_metrics_proto_msgTypes[3]
914 if protoimpl.UnsafeEnabled && x != nil {
915 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
916 if ms.LoadMessageInfo() == nil {
917 ms.StoreMessageInfo(mi)
918 }
919 return ms
920 }
921 return mi.MessageOf(x)
922}
923
924// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800925func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700926 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800927}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700928
Yu Liu37c3dd32021-09-30 14:46:18 -0700929func (x *PerfInfo) GetDescription() string {
930 if x != nil && x.Description != nil {
931 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800932 }
933 return ""
934}
935
Dan Willemsen4591b642021-05-24 14:24:12 -0700936func (x *PerfInfo) GetName() string {
937 if x != nil && x.Name != nil {
938 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800939 }
940 return ""
941}
942
Dan Willemsen4591b642021-05-24 14:24:12 -0700943func (x *PerfInfo) GetStartTime() uint64 {
944 if x != nil && x.StartTime != nil {
945 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800946 }
947 return 0
948}
949
Dan Willemsen4591b642021-05-24 14:24:12 -0700950func (x *PerfInfo) GetRealTime() uint64 {
951 if x != nil && x.RealTime != nil {
952 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800953 }
954 return 0
955}
956
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700957// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700958func (x *PerfInfo) GetMemoryUse() uint64 {
959 if x != nil && x.MemoryUse != nil {
960 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800961 }
962 return 0
963}
964
Dan Willemsen4591b642021-05-24 14:24:12 -0700965func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
966 if x != nil {
967 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700968 }
969 return nil
970}
971
Liz Kammerf2a80c62022-10-21 10:42:35 -0400972func (x *PerfInfo) GetNonZeroExit() bool {
973 if x != nil && x.NonZeroExit != nil {
974 return *x.NonZeroExit
975 }
976 return false
977}
978
979func (x *PerfInfo) GetErrorMessage() string {
980 if x != nil && x.ErrorMessage != nil {
981 return *x.ErrorMessage
982 }
983 return ""
984}
985
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700986type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700987 state protoimpl.MessageState
988 sizeCache protoimpl.SizeCache
989 unknownFields protoimpl.UnknownFields
990
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700991 // The name of the process for identification.
992 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
993 // The amount of time spent executing in user space in microseconds.
994 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
995 // The amount of time spent executing in kernel mode in microseconds.
996 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
997 // The maximum resident set size memory used in kilobytes.
998 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
999 // The number of minor page faults serviced without any I/O activity.
1000 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
1001 // The number of major page faults serviced that required I/O activity.
1002 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
1003 // Total IO input in kilobytes.
1004 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
1005 // Total IO output in kilobytes.
1006 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
1007 // The number of voluntary context switches
1008 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
1009 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -07001010 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001011}
1012
Dan Willemsen4591b642021-05-24 14:24:12 -07001013func (x *ProcessResourceInfo) Reset() {
1014 *x = ProcessResourceInfo{}
1015 if protoimpl.UnsafeEnabled {
1016 mi := &file_metrics_proto_msgTypes[4]
1017 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1018 ms.StoreMessageInfo(mi)
1019 }
1020}
1021
1022func (x *ProcessResourceInfo) String() string {
1023 return protoimpl.X.MessageStringOf(x)
1024}
1025
1026func (*ProcessResourceInfo) ProtoMessage() {}
1027
1028func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
1029 mi := &file_metrics_proto_msgTypes[4]
1030 if protoimpl.UnsafeEnabled && x != nil {
1031 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1032 if ms.LoadMessageInfo() == nil {
1033 ms.StoreMessageInfo(mi)
1034 }
1035 return ms
1036 }
1037 return mi.MessageOf(x)
1038}
1039
1040// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001041func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001042 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001043}
1044
Dan Willemsen4591b642021-05-24 14:24:12 -07001045func (x *ProcessResourceInfo) GetName() string {
1046 if x != nil && x.Name != nil {
1047 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001048 }
1049 return ""
1050}
1051
Dan Willemsen4591b642021-05-24 14:24:12 -07001052func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
1053 if x != nil && x.UserTimeMicros != nil {
1054 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001055 }
1056 return 0
1057}
1058
Dan Willemsen4591b642021-05-24 14:24:12 -07001059func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
1060 if x != nil && x.SystemTimeMicros != nil {
1061 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001062 }
1063 return 0
1064}
1065
Dan Willemsen4591b642021-05-24 14:24:12 -07001066func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
1067 if x != nil && x.MaxRssKb != nil {
1068 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001069 }
1070 return 0
1071}
1072
Dan Willemsen4591b642021-05-24 14:24:12 -07001073func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
1074 if x != nil && x.MinorPageFaults != nil {
1075 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001076 }
1077 return 0
1078}
1079
Dan Willemsen4591b642021-05-24 14:24:12 -07001080func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
1081 if x != nil && x.MajorPageFaults != nil {
1082 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001083 }
1084 return 0
1085}
1086
Dan Willemsen4591b642021-05-24 14:24:12 -07001087func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
1088 if x != nil && x.IoInputKb != nil {
1089 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001090 }
1091 return 0
1092}
1093
Dan Willemsen4591b642021-05-24 14:24:12 -07001094func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
1095 if x != nil && x.IoOutputKb != nil {
1096 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001097 }
1098 return 0
1099}
1100
Dan Willemsen4591b642021-05-24 14:24:12 -07001101func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
1102 if x != nil && x.VoluntaryContextSwitches != nil {
1103 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001104 }
1105 return 0
1106}
1107
Dan Willemsen4591b642021-05-24 14:24:12 -07001108func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1109 if x != nil && x.InvoluntaryContextSwitches != nil {
1110 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001111 }
1112 return 0
1113}
1114
Nan Zhang17f27672018-12-12 16:01:49 -08001115type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001116 state protoimpl.MessageState
1117 sizeCache protoimpl.SizeCache
1118 unknownFields protoimpl.UnknownFields
1119
MarkDacekff851b82022-04-21 18:33:17 +00001120 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001121 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 +00001122 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001123 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1124 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001125 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001126}
1127
Dan Willemsen4591b642021-05-24 14:24:12 -07001128// Default values for ModuleTypeInfo fields.
1129const (
1130 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1131)
1132
1133func (x *ModuleTypeInfo) Reset() {
1134 *x = ModuleTypeInfo{}
1135 if protoimpl.UnsafeEnabled {
1136 mi := &file_metrics_proto_msgTypes[5]
1137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1138 ms.StoreMessageInfo(mi)
1139 }
1140}
1141
1142func (x *ModuleTypeInfo) String() string {
1143 return protoimpl.X.MessageStringOf(x)
1144}
1145
1146func (*ModuleTypeInfo) ProtoMessage() {}
1147
1148func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1149 mi := &file_metrics_proto_msgTypes[5]
1150 if protoimpl.UnsafeEnabled && x != nil {
1151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1152 if ms.LoadMessageInfo() == nil {
1153 ms.StoreMessageInfo(mi)
1154 }
1155 return ms
1156 }
1157 return mi.MessageOf(x)
1158}
1159
1160// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001161func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001162 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001163}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001164
Dan Willemsen4591b642021-05-24 14:24:12 -07001165func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1166 if x != nil && x.BuildSystem != nil {
1167 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001168 }
1169 return Default_ModuleTypeInfo_BuildSystem
1170}
1171
Dan Willemsen4591b642021-05-24 14:24:12 -07001172func (x *ModuleTypeInfo) GetModuleType() string {
1173 if x != nil && x.ModuleType != nil {
1174 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001175 }
1176 return ""
1177}
1178
Dan Willemsen4591b642021-05-24 14:24:12 -07001179func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1180 if x != nil && x.NumOfModules != nil {
1181 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001182 }
1183 return 0
1184}
1185
Colin Crossd0be2102019-11-26 16:16:57 -08001186type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001187 state protoimpl.MessageState
1188 sizeCache protoimpl.SizeCache
1189 unknownFields protoimpl.UnknownFields
1190
Colin Crossd0be2102019-11-26 16:16:57 -08001191 // The name of a critical user journey test.
1192 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1193 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001194 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001195}
1196
Dan Willemsen4591b642021-05-24 14:24:12 -07001197func (x *CriticalUserJourneyMetrics) Reset() {
1198 *x = CriticalUserJourneyMetrics{}
1199 if protoimpl.UnsafeEnabled {
1200 mi := &file_metrics_proto_msgTypes[6]
1201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1202 ms.StoreMessageInfo(mi)
1203 }
1204}
1205
1206func (x *CriticalUserJourneyMetrics) String() string {
1207 return protoimpl.X.MessageStringOf(x)
1208}
1209
1210func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1211
1212func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1213 mi := &file_metrics_proto_msgTypes[6]
1214 if protoimpl.UnsafeEnabled && x != nil {
1215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1216 if ms.LoadMessageInfo() == nil {
1217 ms.StoreMessageInfo(mi)
1218 }
1219 return ms
1220 }
1221 return mi.MessageOf(x)
1222}
1223
1224// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001225func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001226 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001227}
1228
Dan Willemsen4591b642021-05-24 14:24:12 -07001229func (x *CriticalUserJourneyMetrics) GetName() string {
1230 if x != nil && x.Name != nil {
1231 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001232 }
1233 return ""
1234}
1235
Dan Willemsen4591b642021-05-24 14:24:12 -07001236func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1237 if x != nil {
1238 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001239 }
1240 return nil
1241}
1242
1243type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001244 state protoimpl.MessageState
1245 sizeCache protoimpl.SizeCache
1246 unknownFields protoimpl.UnknownFields
1247
Colin Crossd0be2102019-11-26 16:16:57 -08001248 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001249 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001250}
1251
Dan Willemsen4591b642021-05-24 14:24:12 -07001252func (x *CriticalUserJourneysMetrics) Reset() {
1253 *x = CriticalUserJourneysMetrics{}
1254 if protoimpl.UnsafeEnabled {
1255 mi := &file_metrics_proto_msgTypes[7]
1256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1257 ms.StoreMessageInfo(mi)
1258 }
1259}
1260
1261func (x *CriticalUserJourneysMetrics) String() string {
1262 return protoimpl.X.MessageStringOf(x)
1263}
1264
1265func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1266
1267func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1268 mi := &file_metrics_proto_msgTypes[7]
1269 if protoimpl.UnsafeEnabled && x != nil {
1270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1271 if ms.LoadMessageInfo() == nil {
1272 ms.StoreMessageInfo(mi)
1273 }
1274 return ms
1275 }
1276 return mi.MessageOf(x)
1277}
1278
1279// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001280func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001281 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001282}
1283
Dan Willemsen4591b642021-05-24 14:24:12 -07001284func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1285 if x != nil {
1286 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001287 }
1288 return nil
1289}
1290
Colin Crossb72c9092020-02-10 11:23:49 -08001291type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001292 state protoimpl.MessageState
1293 sizeCache protoimpl.SizeCache
1294 unknownFields protoimpl.UnknownFields
1295
Colin Crossb72c9092020-02-10 11:23:49 -08001296 // The number of modules handled by soong_build.
1297 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1298 // The total number of variants handled by soong_build.
1299 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1300 // The total number of allocations in soong_build.
1301 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1302 // The total size of allocations in soong_build in bytes.
1303 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1304 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001305 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001306 // Runtime metrics for soong_build execution.
1307 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001308 // Mixed Builds information
1309 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001310}
1311
Dan Willemsen4591b642021-05-24 14:24:12 -07001312func (x *SoongBuildMetrics) Reset() {
1313 *x = SoongBuildMetrics{}
1314 if protoimpl.UnsafeEnabled {
1315 mi := &file_metrics_proto_msgTypes[8]
1316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1317 ms.StoreMessageInfo(mi)
1318 }
1319}
1320
1321func (x *SoongBuildMetrics) String() string {
1322 return protoimpl.X.MessageStringOf(x)
1323}
1324
1325func (*SoongBuildMetrics) ProtoMessage() {}
1326
1327func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1328 mi := &file_metrics_proto_msgTypes[8]
1329 if protoimpl.UnsafeEnabled && x != nil {
1330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1331 if ms.LoadMessageInfo() == nil {
1332 ms.StoreMessageInfo(mi)
1333 }
1334 return ms
1335 }
1336 return mi.MessageOf(x)
1337}
1338
1339// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001340func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001341 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001342}
1343
Dan Willemsen4591b642021-05-24 14:24:12 -07001344func (x *SoongBuildMetrics) GetModules() uint32 {
1345 if x != nil && x.Modules != nil {
1346 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001347 }
1348 return 0
1349}
1350
Dan Willemsen4591b642021-05-24 14:24:12 -07001351func (x *SoongBuildMetrics) GetVariants() uint32 {
1352 if x != nil && x.Variants != nil {
1353 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001354 }
1355 return 0
1356}
1357
Dan Willemsen4591b642021-05-24 14:24:12 -07001358func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1359 if x != nil && x.TotalAllocCount != nil {
1360 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001361 }
1362 return 0
1363}
1364
Dan Willemsen4591b642021-05-24 14:24:12 -07001365func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1366 if x != nil && x.TotalAllocSize != nil {
1367 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001368 }
1369 return 0
1370}
1371
Dan Willemsen4591b642021-05-24 14:24:12 -07001372func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1373 if x != nil && x.MaxHeapSize != nil {
1374 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001375 }
1376 return 0
1377}
1378
Chris Parsons715b08f2022-03-22 19:23:40 -04001379func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1380 if x != nil {
1381 return x.Events
1382 }
1383 return nil
1384}
1385
MarkDacekff851b82022-04-21 18:33:17 +00001386func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1387 if x != nil {
1388 return x.MixedBuildsInfo
1389 }
1390 return nil
1391}
1392
David Goldsmith62243a32022-04-08 13:42:04 +00001393type ExpConfigFetcher struct {
1394 state protoimpl.MessageState
1395 sizeCache protoimpl.SizeCache
1396 unknownFields protoimpl.UnknownFields
1397
1398 // The result of the call to expconfigfetcher
1399 // NO_CONFIG - Not part of experiment
1400 // CONFIG - Part of experiment, config copied successfully
1401 // ERROR - expconfigfetcher failed
1402 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1403 // The output config filename
1404 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1405 // Time, in microseconds, taken by the expconfigfetcher
1406 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1407}
1408
1409func (x *ExpConfigFetcher) Reset() {
1410 *x = ExpConfigFetcher{}
1411 if protoimpl.UnsafeEnabled {
1412 mi := &file_metrics_proto_msgTypes[9]
1413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1414 ms.StoreMessageInfo(mi)
1415 }
1416}
1417
1418func (x *ExpConfigFetcher) String() string {
1419 return protoimpl.X.MessageStringOf(x)
1420}
1421
1422func (*ExpConfigFetcher) ProtoMessage() {}
1423
1424func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1425 mi := &file_metrics_proto_msgTypes[9]
1426 if protoimpl.UnsafeEnabled && x != nil {
1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1428 if ms.LoadMessageInfo() == nil {
1429 ms.StoreMessageInfo(mi)
1430 }
1431 return ms
1432 }
1433 return mi.MessageOf(x)
1434}
1435
1436// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1437func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1438 return file_metrics_proto_rawDescGZIP(), []int{9}
1439}
1440
1441func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1442 if x != nil && x.Status != nil {
1443 return *x.Status
1444 }
1445 return ExpConfigFetcher_NO_CONFIG
1446}
1447
1448func (x *ExpConfigFetcher) GetFilename() string {
1449 if x != nil && x.Filename != nil {
1450 return *x.Filename
1451 }
1452 return ""
1453}
1454
1455func (x *ExpConfigFetcher) GetMicros() uint64 {
1456 if x != nil && x.Micros != nil {
1457 return *x.Micros
1458 }
1459 return 0
1460}
1461
MarkDacekff851b82022-04-21 18:33:17 +00001462type MixedBuildsInfo struct {
1463 state protoimpl.MessageState
1464 sizeCache protoimpl.SizeCache
1465 unknownFields protoimpl.UnknownFields
1466
1467 // Modules that are enabled for Mixed Builds.
1468 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 +00001469 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001470 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1471}
1472
1473func (x *MixedBuildsInfo) Reset() {
1474 *x = MixedBuildsInfo{}
1475 if protoimpl.UnsafeEnabled {
1476 mi := &file_metrics_proto_msgTypes[10]
1477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1478 ms.StoreMessageInfo(mi)
1479 }
1480}
1481
1482func (x *MixedBuildsInfo) String() string {
1483 return protoimpl.X.MessageStringOf(x)
1484}
1485
1486func (*MixedBuildsInfo) ProtoMessage() {}
1487
1488func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1489 mi := &file_metrics_proto_msgTypes[10]
1490 if protoimpl.UnsafeEnabled && x != nil {
1491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1492 if ms.LoadMessageInfo() == nil {
1493 ms.StoreMessageInfo(mi)
1494 }
1495 return ms
1496 }
1497 return mi.MessageOf(x)
1498}
1499
1500// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1501func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1502 return file_metrics_proto_rawDescGZIP(), []int{10}
1503}
1504
1505func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1506 if x != nil {
1507 return x.MixedBuildEnabledModules
1508 }
1509 return nil
1510}
1511
1512func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1513 if x != nil {
1514 return x.MixedBuildDisabledModules
1515 }
1516 return nil
1517}
1518
Jeongik Chacf833772023-03-15 12:54:14 +09001519// CriticalPathInfo contains critical path nodes's information.
1520// 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 +09001521type CriticalPathInfo struct {
1522 state protoimpl.MessageState
1523 sizeCache protoimpl.SizeCache
1524 unknownFields protoimpl.UnknownFields
1525
Jeongik Cha767ce712023-03-15 23:20:00 +09001526 // Real time which the build system spent in microseconds
1527 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
1528 // The sum of execution time of the longest path from leave to the root in microseconds
1529 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 +09001530 // Detailed job information in a critical path.
1531 CriticalPath []*JobInfo `protobuf:"bytes,4,rep,name=critical_path,json=criticalPath" json:"critical_path,omitempty"`
Jeongik Cha4199d472023-03-15 10:47:35 +09001532 // Detailed job information for long running jobs (>30 seconds). These may or may not also be on a critical path.
1533 LongRunningJobs []*JobInfo `protobuf:"bytes,5,rep,name=long_running_jobs,json=longRunningJobs" json:"long_running_jobs,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001534}
1535
1536func (x *CriticalPathInfo) Reset() {
1537 *x = CriticalPathInfo{}
1538 if protoimpl.UnsafeEnabled {
1539 mi := &file_metrics_proto_msgTypes[11]
1540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1541 ms.StoreMessageInfo(mi)
1542 }
1543}
1544
1545func (x *CriticalPathInfo) String() string {
1546 return protoimpl.X.MessageStringOf(x)
1547}
1548
1549func (*CriticalPathInfo) ProtoMessage() {}
1550
1551func (x *CriticalPathInfo) ProtoReflect() protoreflect.Message {
1552 mi := &file_metrics_proto_msgTypes[11]
1553 if protoimpl.UnsafeEnabled && x != nil {
1554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1555 if ms.LoadMessageInfo() == nil {
1556 ms.StoreMessageInfo(mi)
1557 }
1558 return ms
1559 }
1560 return mi.MessageOf(x)
1561}
1562
1563// Deprecated: Use CriticalPathInfo.ProtoReflect.Descriptor instead.
1564func (*CriticalPathInfo) Descriptor() ([]byte, []int) {
1565 return file_metrics_proto_rawDescGZIP(), []int{11}
1566}
1567
Jeongik Cha767ce712023-03-15 23:20:00 +09001568func (x *CriticalPathInfo) GetElapsedTimeMicros() uint64 {
1569 if x != nil && x.ElapsedTimeMicros != nil {
1570 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001571 }
1572 return 0
1573}
1574
Jeongik Cha767ce712023-03-15 23:20:00 +09001575func (x *CriticalPathInfo) GetCriticalPathTimeMicros() uint64 {
1576 if x != nil && x.CriticalPathTimeMicros != nil {
1577 return *x.CriticalPathTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001578 }
1579 return 0
1580}
1581
1582func (x *CriticalPathInfo) GetCriticalPath() []*JobInfo {
1583 if x != nil {
1584 return x.CriticalPath
1585 }
1586 return nil
1587}
1588
Jeongik Cha4199d472023-03-15 10:47:35 +09001589func (x *CriticalPathInfo) GetLongRunningJobs() []*JobInfo {
1590 if x != nil {
1591 return x.LongRunningJobs
1592 }
1593 return nil
1594}
1595
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001596type JobInfo struct {
1597 state protoimpl.MessageState
1598 sizeCache protoimpl.SizeCache
1599 unknownFields protoimpl.UnknownFields
1600
Jeongik Cha767ce712023-03-15 23:20:00 +09001601 // Real time which a job spent in microseconds
1602 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001603 // Description of a job
1604 JobDescription *string `protobuf:"bytes,2,opt,name=job_description,json=jobDescription" json:"job_description,omitempty"`
1605}
1606
1607func (x *JobInfo) Reset() {
1608 *x = JobInfo{}
1609 if protoimpl.UnsafeEnabled {
1610 mi := &file_metrics_proto_msgTypes[12]
1611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1612 ms.StoreMessageInfo(mi)
1613 }
1614}
1615
1616func (x *JobInfo) String() string {
1617 return protoimpl.X.MessageStringOf(x)
1618}
1619
1620func (*JobInfo) ProtoMessage() {}
1621
1622func (x *JobInfo) ProtoReflect() protoreflect.Message {
1623 mi := &file_metrics_proto_msgTypes[12]
1624 if protoimpl.UnsafeEnabled && x != nil {
1625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1626 if ms.LoadMessageInfo() == nil {
1627 ms.StoreMessageInfo(mi)
1628 }
1629 return ms
1630 }
1631 return mi.MessageOf(x)
1632}
1633
1634// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
1635func (*JobInfo) Descriptor() ([]byte, []int) {
1636 return file_metrics_proto_rawDescGZIP(), []int{12}
1637}
1638
Jeongik Cha767ce712023-03-15 23:20:00 +09001639func (x *JobInfo) GetElapsedTimeMicros() uint64 {
1640 if x != nil && x.ElapsedTimeMicros != nil {
1641 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001642 }
1643 return 0
1644}
1645
1646func (x *JobInfo) GetJobDescription() string {
1647 if x != nil && x.JobDescription != nil {
1648 return *x.JobDescription
1649 }
1650 return ""
1651}
1652
Dan Willemsen4591b642021-05-24 14:24:12 -07001653var File_metrics_proto protoreflect.FileDescriptor
1654
1655var file_metrics_proto_rawDesc = []byte{
1656 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1657 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001658 0x72, 0x69, 0x63, 0x73, 0x22, 0x8a, 0x0f, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001659 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1660 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1661 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1662 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1663 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1664 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1665 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1666 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1667 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1668 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1669 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1670 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1671 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1672 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1673 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1674 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1675 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1676 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1677 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1678 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1679 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1680 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1681 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1682 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1683 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1684 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1685 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1686 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1687 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1688 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1689 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1690 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1691 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1692 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1693 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1694 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1695 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1696 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1697 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1698 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1699 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1700 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1701 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1702 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1703 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1704 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1705 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1706 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1707 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1708 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1709 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1710 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1711 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1712 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1713 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1714 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1715 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1716 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1717 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1718 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1719 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1720 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1721 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1722 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1723 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1724 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1725 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1726 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1727 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1728 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05001729 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07001730 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1731 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1732 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05001733 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
1734 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
1735 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
1736 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
1737 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1738 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
1739 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
1740 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
1741 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1742 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
1743 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1744 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1745 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
1746 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1747 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1748 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1749 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
1750 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1751 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1752 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
1753 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1754 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
1755 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1756 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1757 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1758 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
1759 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
1760 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
1761 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
1762 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
MarkDaceka18ba222023-03-07 18:18:19 +00001763 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,
1764 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
1765 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001766 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x53, 0x0a, 0x12,
1767 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x6e,
1768 0x66, 0x6f, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1769 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43,
1770 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1771 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66,
1772 0x6f, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1773 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55,
1774 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e,
1775 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55,
1776 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10,
1777 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03,
1778 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10,
Jeongik Cha518f3ea2023-03-19 00:12:39 +09001779 0x04, 0x22, 0xf5, 0x03, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001780 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20,
1781 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07,
1782 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75,
1783 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75,
1784 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66,
1785 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62,
1786 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20,
1787 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a,
1788 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64,
1789 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61,
1790 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a,
1791 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
1792 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65,
1793 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d,
1794 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
1795 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
Jeongik Cha8d63d562023-03-17 03:52:13 +09001796 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x79, 0x0a,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001797 0x18, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69,
1798 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32,
Jeongik Cha8d63d562023-03-17 03:52:13 +09001799 0x36, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1800 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1801 0x67, 0x2e, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73,
1802 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45,
1803 0x44, 0x52, 0x15, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69,
Jeongik Cha518f3ea2023-03-19 00:12:39 +09001804 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x4e, 0x69, 0x6e, 0x6a,
Jeongik Cha8d63d562023-03-17 03:52:13 +09001805 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63,
1806 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x44, 0x10, 0x00, 0x12,
1807 0x0d, 0x0a, 0x09, 0x4e, 0x49, 0x4e, 0x4a, 0x41, 0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x01, 0x12, 0x16,
1808 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x4c, 0x59, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x52, 0x49, 0x42,
Jeongik Cha518f3ea2023-03-19 00:12:39 +09001809 0x55, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e,
1810 0x41, 0x4c, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73,
1811 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
1812 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61,
1813 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13,
1814 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d,
1815 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
1816 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61,
1817 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50,
1818 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
1819 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
1820 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
1821 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
1822 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
1823 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
1824 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
1825 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d,
1826 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18,
1827 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17,
1828 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1829 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
1830 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1831 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75,
1832 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
1833 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22,
1834 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18,
1835 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78,
1836 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73,
1837 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72,
1838 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63,
1839 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
1840 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
1841 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1842 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75,
1843 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a,
1844 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63,
1845 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65,
1846 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d,
1847 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
1848 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e,
1849 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05,
1850 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46,
1851 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70,
1852 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
1853 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74,
1854 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62,
1855 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b,
1856 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b,
1857 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75,
1858 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79,
1859 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
1860 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61,
1861 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
1862 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79,
1863 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
1864 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e,
1865 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63,
1866 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79,
1867 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1868 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73,
1869 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1870 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66,
1871 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55,
1872 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73,
1873 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79,
1874 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1875 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d,
1876 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75,
1877 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75,
1878 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
1879 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10,
1880 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43,
1881 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e,
1882 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
1883 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a,
1884 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
Jeongik Cha8d63d562023-03-17 03:52:13 +09001885 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Jeongik Cha518f3ea2023-03-19 00:12:39 +09001886 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65,
1887 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69,
1888 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
1889 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73,
1890 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1891 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69,
1892 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
1893 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02,
1894 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72,
1895 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01,
1896 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a,
1897 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
1898 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74,
1899 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
1900 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
1901 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61,
1902 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
1903 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12,
1904 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65,
1905 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53,
1906 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20,
1907 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1908 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e,
1909 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69,
1910 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
1911 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1912 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65,
1913 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78,
1914 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a,
1915 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65,
1916 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
1917 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1918 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1919 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
1920 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a,
1921 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1922 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63,
1923 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f,
1924 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
1925 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00,
1926 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
1927 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x53, 0x49,
1928 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d,
1929 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d,
1930 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x65, 0x6e,
1931 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20,
1932 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45,
1933 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a,
1934 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x73,
1935 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20,
1936 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44,
1937 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x8a,
1938 0x02, 0x0a, 0x10, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49,
Jeongik Cha8d63d562023-03-17 03:52:13 +09001939 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74,
1940 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
1941 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63,
Jeongik Cha518f3ea2023-03-19 00:12:39 +09001942 0x72, 0x6f, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f,
1943 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73,
1944 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c,
1945 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x41,
1946 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
1947 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1948 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49,
1949 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74,
1950 0x68, 0x12, 0x48, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e,
1951 0x67, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73,
1952 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1953 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67,
1954 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x22, 0x62, 0x0a, 0x07, 0x4a,
1955 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65,
1956 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x01, 0x20,
1957 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65,
1958 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6a, 0x6f, 0x62, 0x5f, 0x64, 0x65,
1959 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1960 0x0e, 0x6a, 0x6f, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42,
1961 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1962 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72,
1963 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001964}
1965
Dan Willemsen4591b642021-05-24 14:24:12 -07001966var (
1967 file_metrics_proto_rawDescOnce sync.Once
1968 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1969)
1970
1971func file_metrics_proto_rawDescGZIP() []byte {
1972 file_metrics_proto_rawDescOnce.Do(func() {
1973 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1974 })
1975 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001976}
Nan Zhang17f27672018-12-12 16:01:49 -08001977
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001978var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001979var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
Dan Willemsen4591b642021-05-24 14:24:12 -07001980var file_metrics_proto_goTypes = []interface{}{
Jeongik Cha8d63d562023-03-17 03:52:13 +09001981 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1982 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1983 (BuildConfig_NinjaWeightListSource)(0), // 2: soong_build_metrics.BuildConfig.NinjaWeightListSource
1984 (ModuleTypeInfo_BuildSystem)(0), // 3: soong_build_metrics.ModuleTypeInfo.BuildSystem
1985 (ExpConfigFetcher_ConfigStatus)(0), // 4: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1986 (*MetricsBase)(nil), // 5: soong_build_metrics.MetricsBase
1987 (*BuildConfig)(nil), // 6: soong_build_metrics.BuildConfig
1988 (*SystemResourceInfo)(nil), // 7: soong_build_metrics.SystemResourceInfo
1989 (*PerfInfo)(nil), // 8: soong_build_metrics.PerfInfo
1990 (*ProcessResourceInfo)(nil), // 9: soong_build_metrics.ProcessResourceInfo
1991 (*ModuleTypeInfo)(nil), // 10: soong_build_metrics.ModuleTypeInfo
1992 (*CriticalUserJourneyMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneyMetrics
1993 (*CriticalUserJourneysMetrics)(nil), // 12: soong_build_metrics.CriticalUserJourneysMetrics
1994 (*SoongBuildMetrics)(nil), // 13: soong_build_metrics.SoongBuildMetrics
1995 (*ExpConfigFetcher)(nil), // 14: soong_build_metrics.ExpConfigFetcher
1996 (*MixedBuildsInfo)(nil), // 15: soong_build_metrics.MixedBuildsInfo
1997 (*CriticalPathInfo)(nil), // 16: soong_build_metrics.CriticalPathInfo
1998 (*JobInfo)(nil), // 17: soong_build_metrics.JobInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001999}
2000var file_metrics_proto_depIdxs = []int32{
Jeongik Cha8d63d562023-03-17 03:52:13 +09002001 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
2002 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
2003 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
2004 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002005 8, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
2006 8, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
2007 8, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
2008 8, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
2009 8, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
2010 13, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
2011 6, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
2012 7, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
2013 8, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
2014 14, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
2015 16, // 14: soong_build_metrics.MetricsBase.critical_path_info:type_name -> soong_build_metrics.CriticalPathInfo
Jeongik Cha8d63d562023-03-17 03:52:13 +09002016 2, // 15: soong_build_metrics.BuildConfig.ninja_weight_list_source:type_name -> soong_build_metrics.BuildConfig.NinjaWeightListSource
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002017 9, // 16: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
2018 3, // 17: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
2019 5, // 18: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
2020 11, // 19: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
2021 8, // 20: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
2022 15, // 21: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
2023 4, // 22: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
2024 17, // 23: soong_build_metrics.CriticalPathInfo.critical_path:type_name -> soong_build_metrics.JobInfo
2025 17, // 24: soong_build_metrics.CriticalPathInfo.long_running_jobs:type_name -> soong_build_metrics.JobInfo
2026 25, // [25:25] is the sub-list for method output_type
2027 25, // [25:25] is the sub-list for method input_type
2028 25, // [25:25] is the sub-list for extension type_name
2029 25, // [25:25] is the sub-list for extension extendee
2030 0, // [0:25] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07002031}
2032
2033func init() { file_metrics_proto_init() }
2034func file_metrics_proto_init() {
2035 if File_metrics_proto != nil {
2036 return
2037 }
2038 if !protoimpl.UnsafeEnabled {
2039 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2040 switch v := v.(*MetricsBase); i {
2041 case 0:
2042 return &v.state
2043 case 1:
2044 return &v.sizeCache
2045 case 2:
2046 return &v.unknownFields
2047 default:
2048 return nil
2049 }
2050 }
2051 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2052 switch v := v.(*BuildConfig); i {
2053 case 0:
2054 return &v.state
2055 case 1:
2056 return &v.sizeCache
2057 case 2:
2058 return &v.unknownFields
2059 default:
2060 return nil
2061 }
2062 }
2063 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2064 switch v := v.(*SystemResourceInfo); i {
2065 case 0:
2066 return &v.state
2067 case 1:
2068 return &v.sizeCache
2069 case 2:
2070 return &v.unknownFields
2071 default:
2072 return nil
2073 }
2074 }
2075 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2076 switch v := v.(*PerfInfo); i {
2077 case 0:
2078 return &v.state
2079 case 1:
2080 return &v.sizeCache
2081 case 2:
2082 return &v.unknownFields
2083 default:
2084 return nil
2085 }
2086 }
2087 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2088 switch v := v.(*ProcessResourceInfo); i {
2089 case 0:
2090 return &v.state
2091 case 1:
2092 return &v.sizeCache
2093 case 2:
2094 return &v.unknownFields
2095 default:
2096 return nil
2097 }
2098 }
2099 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2100 switch v := v.(*ModuleTypeInfo); i {
2101 case 0:
2102 return &v.state
2103 case 1:
2104 return &v.sizeCache
2105 case 2:
2106 return &v.unknownFields
2107 default:
2108 return nil
2109 }
2110 }
2111 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2112 switch v := v.(*CriticalUserJourneyMetrics); i {
2113 case 0:
2114 return &v.state
2115 case 1:
2116 return &v.sizeCache
2117 case 2:
2118 return &v.unknownFields
2119 default:
2120 return nil
2121 }
2122 }
2123 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2124 switch v := v.(*CriticalUserJourneysMetrics); i {
2125 case 0:
2126 return &v.state
2127 case 1:
2128 return &v.sizeCache
2129 case 2:
2130 return &v.unknownFields
2131 default:
2132 return nil
2133 }
2134 }
2135 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2136 switch v := v.(*SoongBuildMetrics); i {
2137 case 0:
2138 return &v.state
2139 case 1:
2140 return &v.sizeCache
2141 case 2:
2142 return &v.unknownFields
2143 default:
2144 return nil
2145 }
2146 }
David Goldsmith62243a32022-04-08 13:42:04 +00002147 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2148 switch v := v.(*ExpConfigFetcher); i {
2149 case 0:
2150 return &v.state
2151 case 1:
2152 return &v.sizeCache
2153 case 2:
2154 return &v.unknownFields
2155 default:
2156 return nil
2157 }
2158 }
MarkDacekff851b82022-04-21 18:33:17 +00002159 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2160 switch v := v.(*MixedBuildsInfo); i {
2161 case 0:
2162 return &v.state
2163 case 1:
2164 return &v.sizeCache
2165 case 2:
2166 return &v.unknownFields
2167 default:
2168 return nil
2169 }
2170 }
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002171 file_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2172 switch v := v.(*CriticalPathInfo); i {
2173 case 0:
2174 return &v.state
2175 case 1:
2176 return &v.sizeCache
2177 case 2:
2178 return &v.unknownFields
2179 default:
2180 return nil
2181 }
2182 }
2183 file_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2184 switch v := v.(*JobInfo); i {
2185 case 0:
2186 return &v.state
2187 case 1:
2188 return &v.sizeCache
2189 case 2:
2190 return &v.unknownFields
2191 default:
2192 return nil
2193 }
2194 }
Dan Willemsen4591b642021-05-24 14:24:12 -07002195 }
2196 type x struct{}
2197 out := protoimpl.TypeBuilder{
2198 File: protoimpl.DescBuilder{
2199 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2200 RawDescriptor: file_metrics_proto_rawDesc,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002201 NumEnums: 5,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002202 NumMessages: 13,
Dan Willemsen4591b642021-05-24 14:24:12 -07002203 NumExtensions: 0,
2204 NumServices: 0,
2205 },
2206 GoTypes: file_metrics_proto_goTypes,
2207 DependencyIndexes: file_metrics_proto_depIdxs,
2208 EnumInfos: file_metrics_proto_enumTypes,
2209 MessageInfos: file_metrics_proto_msgTypes,
2210 }.Build()
2211 File_metrics_proto = out.File
2212 file_metrics_proto_rawDesc = nil
2213 file_metrics_proto_goTypes = nil
2214 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08002215}