blob: f3e677a29a05461c88bdaf6bfc42d11fbce010fc [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:
Jeongik Chae114e602023-03-19 00:12:39 +090017// protoc-gen-go v1.30.0
Jason Wu2520f5e2023-05-30 19:45:36 -040018// protoc v3.21.12
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 Chae114e602023-03-19 00:12:39 +0900168 BuildConfig_HINT_FROM_SOONG BuildConfig_NinjaWeightListSource = 4
Jeongik Cha8d63d562023-03-17 03:52:13 +0900169)
170
171// Enum value maps for BuildConfig_NinjaWeightListSource.
172var (
173 BuildConfig_NinjaWeightListSource_name = map[int32]string{
174 0: "NOT_USED",
175 1: "NINJA_LOG",
176 2: "EVENLY_DISTRIBUTED",
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900177 3: "EXTERNAL_FILE",
Jeongik Chae114e602023-03-19 00:12:39 +0900178 4: "HINT_FROM_SOONG",
Jeongik Cha8d63d562023-03-17 03:52:13 +0900179 }
180 BuildConfig_NinjaWeightListSource_value = map[string]int32{
181 "NOT_USED": 0,
182 "NINJA_LOG": 1,
183 "EVENLY_DISTRIBUTED": 2,
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900184 "EXTERNAL_FILE": 3,
Jeongik Chae114e602023-03-19 00:12:39 +0900185 "HINT_FROM_SOONG": 4,
Jeongik Cha8d63d562023-03-17 03:52:13 +0900186 }
187)
188
189func (x BuildConfig_NinjaWeightListSource) Enum() *BuildConfig_NinjaWeightListSource {
190 p := new(BuildConfig_NinjaWeightListSource)
191 *p = x
192 return p
193}
194
195func (x BuildConfig_NinjaWeightListSource) String() string {
196 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
197}
198
199func (BuildConfig_NinjaWeightListSource) Descriptor() protoreflect.EnumDescriptor {
200 return file_metrics_proto_enumTypes[2].Descriptor()
201}
202
203func (BuildConfig_NinjaWeightListSource) Type() protoreflect.EnumType {
204 return &file_metrics_proto_enumTypes[2]
205}
206
207func (x BuildConfig_NinjaWeightListSource) Number() protoreflect.EnumNumber {
208 return protoreflect.EnumNumber(x)
209}
210
211// Deprecated: Do not use.
212func (x *BuildConfig_NinjaWeightListSource) UnmarshalJSON(b []byte) error {
213 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
214 if err != nil {
215 return err
216 }
217 *x = BuildConfig_NinjaWeightListSource(num)
218 return nil
219}
220
221// Deprecated: Use BuildConfig_NinjaWeightListSource.Descriptor instead.
222func (BuildConfig_NinjaWeightListSource) EnumDescriptor() ([]byte, []int) {
223 return file_metrics_proto_rawDescGZIP(), []int{1, 0}
224}
225
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700226type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800227
228const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700229 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
230 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
231 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800232)
233
Dan Willemsen4591b642021-05-24 14:24:12 -0700234// Enum value maps for ModuleTypeInfo_BuildSystem.
235var (
236 ModuleTypeInfo_BuildSystem_name = map[int32]string{
237 0: "UNKNOWN",
238 1: "SOONG",
239 2: "MAKE",
240 }
241 ModuleTypeInfo_BuildSystem_value = map[string]int32{
242 "UNKNOWN": 0,
243 "SOONG": 1,
244 "MAKE": 2,
245 }
246)
Nan Zhang17f27672018-12-12 16:01:49 -0800247
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700248func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
249 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800250 *p = x
251 return p
252}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700253
254func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700255 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800256}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700257
Dan Willemsen4591b642021-05-24 14:24:12 -0700258func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900259 return file_metrics_proto_enumTypes[3].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700260}
261
262func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900263 return &file_metrics_proto_enumTypes[3]
Dan Willemsen4591b642021-05-24 14:24:12 -0700264}
265
266func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
267 return protoreflect.EnumNumber(x)
268}
269
270// Deprecated: Do not use.
271func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
272 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800273 if err != nil {
274 return err
275 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700276 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800277 return nil
278}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700279
Dan Willemsen4591b642021-05-24 14:24:12 -0700280// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700281func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700282 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800283}
284
David Goldsmith62243a32022-04-08 13:42:04 +0000285type ExpConfigFetcher_ConfigStatus int32
286
287const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000288 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
289 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
290 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
291 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000292)
293
294// Enum value maps for ExpConfigFetcher_ConfigStatus.
295var (
296 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
297 0: "NO_CONFIG",
298 1: "CONFIG",
299 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000300 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000301 }
302 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000303 "NO_CONFIG": 0,
304 "CONFIG": 1,
305 "ERROR": 2,
306 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000307 }
308)
309
310func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
311 p := new(ExpConfigFetcher_ConfigStatus)
312 *p = x
313 return p
314}
315
316func (x ExpConfigFetcher_ConfigStatus) String() string {
317 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
318}
319
320func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900321 return file_metrics_proto_enumTypes[4].Descriptor()
David Goldsmith62243a32022-04-08 13:42:04 +0000322}
323
324func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900325 return &file_metrics_proto_enumTypes[4]
David Goldsmith62243a32022-04-08 13:42:04 +0000326}
327
328func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
329 return protoreflect.EnumNumber(x)
330}
331
332// Deprecated: Do not use.
333func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
334 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
335 if err != nil {
336 return err
337 }
338 *x = ExpConfigFetcher_ConfigStatus(num)
339 return nil
340}
341
342// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
343func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
344 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
345}
346
Nan Zhang17f27672018-12-12 16:01:49 -0800347type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700348 state protoimpl.MessageState
349 sizeCache protoimpl.SizeCache
350 unknownFields protoimpl.UnknownFields
351
Nan Zhang17f27672018-12-12 16:01:49 -0800352 // Timestamp generated when the build starts.
353 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
354 // It is usually used to specify the branch name [and release candidate].
355 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
356 // The platform version codename, eg. P, Q, REL.
357 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
358 // The target product information, eg. aosp_arm.
359 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
360 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700361 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 -0800362 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700363 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 -0800364 // The target arch variant information, eg. armv7-a-neon.
365 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
366 // The target cpu variant information, eg. generic.
367 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
368 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700369 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 -0800370 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700371 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 -0800372 // The host os information, eg. linux.
373 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
374 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
375 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
376 // The host cross os information, eg. windows.
377 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
378 // The host cross arch information, eg. x86.
379 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
380 // The host cross 2nd arch information, eg. x86_64.
381 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
382 // The directory for generated built artifacts installation, eg. out.
383 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
384 // The metrics for calling various tools (microfactory) before Soong_UI starts.
385 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
386 // The metrics for calling Kati by multiple times.
387 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
388 // The metrics for calling Soong.
389 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
390 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800391 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
392 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500393 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
394 // Deprecated because instead of embedding in a MetricsBase, we keep
395 // SoongBuildMetrics in its own file
396 //
Jeongik Chae114e602023-03-19 00:12:39 +0900397 // Deprecated: Marked as deprecated in metrics.proto.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000398 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
399 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000400 // The hostname of the machine.
401 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
402 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700403 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
404 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800405 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
406 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700407 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000408 // The metrics of the experiment config fetcher
409 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400410 // Whether the build exited with a panic or non-zero exit code, includes both
411 // non-zero exits of recorded phases and non-recorded phases of the build.
412 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
413 // The error message due to a non-zero exit _only_ if it did not occur in a
414 // recorded phase of the build.
415 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
MarkDaceka18ba222023-03-07 18:18:19 +0000416 // The Git Manifest for the user's branch.
417 ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"`
418 // The branch on which the build occurred.
419 // Example: refs/heads/master
420 Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900421 // The metric of critical path in build
422 CriticalPathInfo *CriticalPathInfo `protobuf:"bytes,33,opt,name=critical_path_info,json=criticalPathInfo" json:"critical_path_info,omitempty"`
Jason Wu2520f5e2023-05-30 19:45:36 -0400423 // Environment variables that have changed value since the previous build,
424 // which were responsible for retriggering build analysis.
425 // Note that not all changed environment variables result in analysis retriggering.
426 // If there was no previous build, this list will be empty.
427 ChangedEnvironmentVariable []string `protobuf:"bytes,34,rep,name=changed_environment_variable,json=changedEnvironmentVariable" json:"changed_environment_variable,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800428}
429
Dan Willemsen4591b642021-05-24 14:24:12 -0700430// Default values for MetricsBase fields.
431const (
432 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
433 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
434 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
435 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
436)
437
438func (x *MetricsBase) Reset() {
439 *x = MetricsBase{}
440 if protoimpl.UnsafeEnabled {
441 mi := &file_metrics_proto_msgTypes[0]
442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443 ms.StoreMessageInfo(mi)
444 }
445}
446
447func (x *MetricsBase) String() string {
448 return protoimpl.X.MessageStringOf(x)
449}
450
451func (*MetricsBase) ProtoMessage() {}
452
453func (x *MetricsBase) ProtoReflect() protoreflect.Message {
454 mi := &file_metrics_proto_msgTypes[0]
455 if protoimpl.UnsafeEnabled && x != nil {
456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
457 if ms.LoadMessageInfo() == nil {
458 ms.StoreMessageInfo(mi)
459 }
460 return ms
461 }
462 return mi.MessageOf(x)
463}
464
465// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800466func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700467 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800468}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700469
Dan Willemsen4591b642021-05-24 14:24:12 -0700470func (x *MetricsBase) GetBuildDateTimestamp() int64 {
471 if x != nil && x.BuildDateTimestamp != nil {
472 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800473 }
474 return 0
475}
476
Dan Willemsen4591b642021-05-24 14:24:12 -0700477func (x *MetricsBase) GetBuildId() string {
478 if x != nil && x.BuildId != nil {
479 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800480 }
481 return ""
482}
483
Dan Willemsen4591b642021-05-24 14:24:12 -0700484func (x *MetricsBase) GetPlatformVersionCodename() string {
485 if x != nil && x.PlatformVersionCodename != nil {
486 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800487 }
488 return ""
489}
490
Dan Willemsen4591b642021-05-24 14:24:12 -0700491func (x *MetricsBase) GetTargetProduct() string {
492 if x != nil && x.TargetProduct != nil {
493 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800494 }
495 return ""
496}
497
Dan Willemsen4591b642021-05-24 14:24:12 -0700498func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
499 if x != nil && x.TargetBuildVariant != nil {
500 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800501 }
502 return Default_MetricsBase_TargetBuildVariant
503}
504
Dan Willemsen4591b642021-05-24 14:24:12 -0700505func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
506 if x != nil && x.TargetArch != nil {
507 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800508 }
509 return Default_MetricsBase_TargetArch
510}
511
Dan Willemsen4591b642021-05-24 14:24:12 -0700512func (x *MetricsBase) GetTargetArchVariant() string {
513 if x != nil && x.TargetArchVariant != nil {
514 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800515 }
516 return ""
517}
518
Dan Willemsen4591b642021-05-24 14:24:12 -0700519func (x *MetricsBase) GetTargetCpuVariant() string {
520 if x != nil && x.TargetCpuVariant != nil {
521 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800522 }
523 return ""
524}
525
Dan Willemsen4591b642021-05-24 14:24:12 -0700526func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
527 if x != nil && x.HostArch != nil {
528 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800529 }
530 return Default_MetricsBase_HostArch
531}
532
Dan Willemsen4591b642021-05-24 14:24:12 -0700533func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
534 if x != nil && x.Host_2NdArch != nil {
535 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800536 }
537 return Default_MetricsBase_Host_2NdArch
538}
539
Dan Willemsen4591b642021-05-24 14:24:12 -0700540func (x *MetricsBase) GetHostOs() string {
541 if x != nil && x.HostOs != nil {
542 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800543 }
544 return ""
545}
546
Dan Willemsen4591b642021-05-24 14:24:12 -0700547func (x *MetricsBase) GetHostOsExtra() string {
548 if x != nil && x.HostOsExtra != nil {
549 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800550 }
551 return ""
552}
553
Dan Willemsen4591b642021-05-24 14:24:12 -0700554func (x *MetricsBase) GetHostCrossOs() string {
555 if x != nil && x.HostCrossOs != nil {
556 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800557 }
558 return ""
559}
560
Dan Willemsen4591b642021-05-24 14:24:12 -0700561func (x *MetricsBase) GetHostCrossArch() string {
562 if x != nil && x.HostCrossArch != nil {
563 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800564 }
565 return ""
566}
567
Dan Willemsen4591b642021-05-24 14:24:12 -0700568func (x *MetricsBase) GetHostCross_2NdArch() string {
569 if x != nil && x.HostCross_2NdArch != nil {
570 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800571 }
572 return ""
573}
574
Dan Willemsen4591b642021-05-24 14:24:12 -0700575func (x *MetricsBase) GetOutDir() string {
576 if x != nil && x.OutDir != nil {
577 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800578 }
579 return ""
580}
581
Dan Willemsen4591b642021-05-24 14:24:12 -0700582func (x *MetricsBase) GetSetupTools() []*PerfInfo {
583 if x != nil {
584 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800585 }
586 return nil
587}
588
Dan Willemsen4591b642021-05-24 14:24:12 -0700589func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
590 if x != nil {
591 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800592 }
593 return nil
594}
595
Dan Willemsen4591b642021-05-24 14:24:12 -0700596func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
597 if x != nil {
598 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800599 }
600 return nil
601}
602
Dan Willemsen4591b642021-05-24 14:24:12 -0700603func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
604 if x != nil {
605 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800606 }
607 return nil
608}
609
Dan Willemsen4591b642021-05-24 14:24:12 -0700610func (x *MetricsBase) GetTotal() *PerfInfo {
611 if x != nil {
612 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800613 }
614 return nil
615}
616
Jeongik Chae114e602023-03-19 00:12:39 +0900617// Deprecated: Marked as deprecated in metrics.proto.
Dan Willemsen4591b642021-05-24 14:24:12 -0700618func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
619 if x != nil {
620 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800621 }
622 return nil
623}
624
Dan Willemsen4591b642021-05-24 14:24:12 -0700625func (x *MetricsBase) GetBuildConfig() *BuildConfig {
626 if x != nil {
627 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000628 }
629 return nil
630}
631
Dan Willemsen4591b642021-05-24 14:24:12 -0700632func (x *MetricsBase) GetHostname() string {
633 if x != nil && x.Hostname != nil {
634 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000635 }
636 return ""
637}
638
Dan Willemsen4591b642021-05-24 14:24:12 -0700639func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
640 if x != nil {
641 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000642 }
643 return nil
644}
645
Dan Willemsen4591b642021-05-24 14:24:12 -0700646func (x *MetricsBase) GetBuildCommand() string {
647 if x != nil && x.BuildCommand != nil {
648 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700649 }
650 return ""
651}
652
Dan Willemsen4591b642021-05-24 14:24:12 -0700653func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
654 if x != nil {
655 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800656 }
657 return nil
658}
659
David Goldsmith62243a32022-04-08 13:42:04 +0000660func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
661 if x != nil {
662 return x.ExpConfigFetcher
663 }
664 return nil
665}
666
Liz Kammerf2a80c62022-10-21 10:42:35 -0400667func (x *MetricsBase) GetNonZeroExit() bool {
668 if x != nil && x.NonZeroExit != nil {
669 return *x.NonZeroExit
670 }
671 return false
672}
673
674func (x *MetricsBase) GetErrorMessage() string {
675 if x != nil && x.ErrorMessage != nil {
676 return *x.ErrorMessage
677 }
678 return ""
679}
680
MarkDaceka18ba222023-03-07 18:18:19 +0000681func (x *MetricsBase) GetManifestUrl() string {
682 if x != nil && x.ManifestUrl != nil {
683 return *x.ManifestUrl
684 }
685 return ""
686}
687
688func (x *MetricsBase) GetBranch() string {
689 if x != nil && x.Branch != nil {
690 return *x.Branch
691 }
692 return ""
693}
694
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900695func (x *MetricsBase) GetCriticalPathInfo() *CriticalPathInfo {
696 if x != nil {
697 return x.CriticalPathInfo
698 }
699 return nil
700}
701
Jason Wu2520f5e2023-05-30 19:45:36 -0400702func (x *MetricsBase) GetChangedEnvironmentVariable() []string {
703 if x != nil {
704 return x.ChangedEnvironmentVariable
705 }
706 return nil
707}
708
Patrice Arruda96850362020-08-11 20:41:11 +0000709type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700710 state protoimpl.MessageState
711 sizeCache protoimpl.SizeCache
712 unknownFields protoimpl.UnknownFields
713
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400714 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
715 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
716 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
717 // Whether the Bazel is acting as the Ninja executor for this build.
718 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
719 // Whether build is occurring in a mixed build mode, where Bazel maintains the
720 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700721 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700722 // These are the targets soong passes to ninja, these targets include special
723 // targets such as droid as well as the regular build targets.
724 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400725 // Whether the user explicitly disabled bazel mixed builds for this build.
726 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 +0900727 // NOT_USED - ninja doesn't use weight list.
728 // NINJA_LOG - ninja uses weight list based on previous builds by ninja log
729 // EVENLY_DISTRIBUTED - ninja thinks every task has the same weight.
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900730 // EXTERNAL_FILE - ninja uses an external custom weight list
Jeongik Chae114e602023-03-19 00:12:39 +0900731 // HINT_FROM_SOONG - ninja uses a prioritized module list from Soong
Jeongik Cha8d63d562023-03-17 03:52:13 +0900732 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 +0000733}
734
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900735// Default values for BuildConfig fields.
736const (
Jeongik Cha8d63d562023-03-17 03:52:13 +0900737 Default_BuildConfig_NinjaWeightListSource = BuildConfig_NOT_USED
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900738)
739
Dan Willemsen4591b642021-05-24 14:24:12 -0700740func (x *BuildConfig) Reset() {
741 *x = BuildConfig{}
742 if protoimpl.UnsafeEnabled {
743 mi := &file_metrics_proto_msgTypes[1]
744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
745 ms.StoreMessageInfo(mi)
746 }
747}
748
749func (x *BuildConfig) String() string {
750 return protoimpl.X.MessageStringOf(x)
751}
752
753func (*BuildConfig) ProtoMessage() {}
754
755func (x *BuildConfig) ProtoReflect() protoreflect.Message {
756 mi := &file_metrics_proto_msgTypes[1]
757 if protoimpl.UnsafeEnabled && x != nil {
758 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
759 if ms.LoadMessageInfo() == nil {
760 ms.StoreMessageInfo(mi)
761 }
762 return ms
763 }
764 return mi.MessageOf(x)
765}
766
767// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000768func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700769 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000770}
771
Dan Willemsen4591b642021-05-24 14:24:12 -0700772func (x *BuildConfig) GetUseGoma() bool {
773 if x != nil && x.UseGoma != nil {
774 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000775 }
776 return false
777}
778
Dan Willemsen4591b642021-05-24 14:24:12 -0700779func (x *BuildConfig) GetUseRbe() bool {
780 if x != nil && x.UseRbe != nil {
781 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000782 }
783 return false
784}
785
Dan Willemsen4591b642021-05-24 14:24:12 -0700786func (x *BuildConfig) GetForceUseGoma() bool {
787 if x != nil && x.ForceUseGoma != nil {
788 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000789 }
790 return false
791}
792
Dan Willemsen4591b642021-05-24 14:24:12 -0700793func (x *BuildConfig) GetBazelAsNinja() bool {
794 if x != nil && x.BazelAsNinja != nil {
795 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400796 }
797 return false
798}
799
Dan Willemsen4591b642021-05-24 14:24:12 -0700800func (x *BuildConfig) GetBazelMixedBuild() bool {
801 if x != nil && x.BazelMixedBuild != nil {
802 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400803 }
804 return false
805}
806
Yu Liue737a992021-10-04 13:21:41 -0700807func (x *BuildConfig) GetTargets() []string {
808 if x != nil {
809 return x.Targets
810 }
811 return nil
812}
813
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400814func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
815 if x != nil && x.ForceDisableBazelMixedBuild != nil {
816 return *x.ForceDisableBazelMixedBuild
817 }
818 return false
819}
820
Jeongik Cha8d63d562023-03-17 03:52:13 +0900821func (x *BuildConfig) GetNinjaWeightListSource() BuildConfig_NinjaWeightListSource {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900822 if x != nil && x.NinjaWeightListSource != nil {
823 return *x.NinjaWeightListSource
824 }
825 return Default_BuildConfig_NinjaWeightListSource
826}
827
Patrice Arruda3edfd482020-10-13 23:58:41 +0000828type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700829 state protoimpl.MessageState
830 sizeCache protoimpl.SizeCache
831 unknownFields protoimpl.UnknownFields
832
Patrice Arruda3edfd482020-10-13 23:58:41 +0000833 // The total physical memory in bytes.
834 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
835 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700836 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000837}
838
Dan Willemsen4591b642021-05-24 14:24:12 -0700839func (x *SystemResourceInfo) Reset() {
840 *x = SystemResourceInfo{}
841 if protoimpl.UnsafeEnabled {
842 mi := &file_metrics_proto_msgTypes[2]
843 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
844 ms.StoreMessageInfo(mi)
845 }
846}
847
848func (x *SystemResourceInfo) String() string {
849 return protoimpl.X.MessageStringOf(x)
850}
851
852func (*SystemResourceInfo) ProtoMessage() {}
853
854func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
855 mi := &file_metrics_proto_msgTypes[2]
856 if protoimpl.UnsafeEnabled && x != nil {
857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
858 if ms.LoadMessageInfo() == nil {
859 ms.StoreMessageInfo(mi)
860 }
861 return ms
862 }
863 return mi.MessageOf(x)
864}
865
866// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000867func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700868 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000869}
870
Dan Willemsen4591b642021-05-24 14:24:12 -0700871func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
872 if x != nil && x.TotalPhysicalMemory != nil {
873 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000874 }
875 return 0
876}
877
Dan Willemsen4591b642021-05-24 14:24:12 -0700878func (x *SystemResourceInfo) GetAvailableCpus() int32 {
879 if x != nil && x.AvailableCpus != nil {
880 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000881 }
882 return 0
883}
884
Nan Zhang17f27672018-12-12 16:01:49 -0800885type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700886 state protoimpl.MessageState
887 sizeCache protoimpl.SizeCache
888 unknownFields protoimpl.UnknownFields
889
Nan Zhang17f27672018-12-12 16:01:49 -0800890 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700891 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800892 // The name for the running phase/action/part.
893 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
894 // The absolute start time.
895 // The number of nanoseconds elapsed since January 1, 1970 UTC.
896 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
897 // The real running time.
898 // The number of nanoseconds elapsed since start_time.
899 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700900 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700901 //
Jeongik Chae114e602023-03-19 00:12:39 +0900902 // Deprecated: Marked as deprecated in metrics.proto.
Dan Willemsen4591b642021-05-24 14:24:12 -0700903 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700904 // The resource information of each executed process.
905 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400906 // Whether the phase of tool running exited with a panic or non-zero exit
907 // code.
908 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
909 // The error message, if any, due to a non-zero exit.
910 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800911}
912
Dan Willemsen4591b642021-05-24 14:24:12 -0700913func (x *PerfInfo) Reset() {
914 *x = PerfInfo{}
915 if protoimpl.UnsafeEnabled {
916 mi := &file_metrics_proto_msgTypes[3]
917 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
918 ms.StoreMessageInfo(mi)
919 }
920}
921
922func (x *PerfInfo) String() string {
923 return protoimpl.X.MessageStringOf(x)
924}
925
926func (*PerfInfo) ProtoMessage() {}
927
928func (x *PerfInfo) ProtoReflect() protoreflect.Message {
929 mi := &file_metrics_proto_msgTypes[3]
930 if protoimpl.UnsafeEnabled && x != nil {
931 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
932 if ms.LoadMessageInfo() == nil {
933 ms.StoreMessageInfo(mi)
934 }
935 return ms
936 }
937 return mi.MessageOf(x)
938}
939
940// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800941func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700942 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800943}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700944
Yu Liu37c3dd32021-09-30 14:46:18 -0700945func (x *PerfInfo) GetDescription() string {
946 if x != nil && x.Description != nil {
947 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800948 }
949 return ""
950}
951
Dan Willemsen4591b642021-05-24 14:24:12 -0700952func (x *PerfInfo) GetName() string {
953 if x != nil && x.Name != nil {
954 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800955 }
956 return ""
957}
958
Dan Willemsen4591b642021-05-24 14:24:12 -0700959func (x *PerfInfo) GetStartTime() uint64 {
960 if x != nil && x.StartTime != nil {
961 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800962 }
963 return 0
964}
965
Dan Willemsen4591b642021-05-24 14:24:12 -0700966func (x *PerfInfo) GetRealTime() uint64 {
967 if x != nil && x.RealTime != nil {
968 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800969 }
970 return 0
971}
972
Jeongik Chae114e602023-03-19 00:12:39 +0900973// Deprecated: Marked as deprecated in metrics.proto.
Dan Willemsen4591b642021-05-24 14:24:12 -0700974func (x *PerfInfo) GetMemoryUse() uint64 {
975 if x != nil && x.MemoryUse != nil {
976 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800977 }
978 return 0
979}
980
Dan Willemsen4591b642021-05-24 14:24:12 -0700981func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
982 if x != nil {
983 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700984 }
985 return nil
986}
987
Liz Kammerf2a80c62022-10-21 10:42:35 -0400988func (x *PerfInfo) GetNonZeroExit() bool {
989 if x != nil && x.NonZeroExit != nil {
990 return *x.NonZeroExit
991 }
992 return false
993}
994
995func (x *PerfInfo) GetErrorMessage() string {
996 if x != nil && x.ErrorMessage != nil {
997 return *x.ErrorMessage
998 }
999 return ""
1000}
1001
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001002type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001003 state protoimpl.MessageState
1004 sizeCache protoimpl.SizeCache
1005 unknownFields protoimpl.UnknownFields
1006
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001007 // The name of the process for identification.
1008 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1009 // The amount of time spent executing in user space in microseconds.
1010 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
1011 // The amount of time spent executing in kernel mode in microseconds.
1012 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
1013 // The maximum resident set size memory used in kilobytes.
1014 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
1015 // The number of minor page faults serviced without any I/O activity.
1016 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
1017 // The number of major page faults serviced that required I/O activity.
1018 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
1019 // Total IO input in kilobytes.
1020 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
1021 // Total IO output in kilobytes.
1022 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
1023 // The number of voluntary context switches
1024 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
1025 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -07001026 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001027}
1028
Dan Willemsen4591b642021-05-24 14:24:12 -07001029func (x *ProcessResourceInfo) Reset() {
1030 *x = ProcessResourceInfo{}
1031 if protoimpl.UnsafeEnabled {
1032 mi := &file_metrics_proto_msgTypes[4]
1033 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1034 ms.StoreMessageInfo(mi)
1035 }
1036}
1037
1038func (x *ProcessResourceInfo) String() string {
1039 return protoimpl.X.MessageStringOf(x)
1040}
1041
1042func (*ProcessResourceInfo) ProtoMessage() {}
1043
1044func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
1045 mi := &file_metrics_proto_msgTypes[4]
1046 if protoimpl.UnsafeEnabled && x != nil {
1047 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1048 if ms.LoadMessageInfo() == nil {
1049 ms.StoreMessageInfo(mi)
1050 }
1051 return ms
1052 }
1053 return mi.MessageOf(x)
1054}
1055
1056// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001057func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001058 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001059}
1060
Dan Willemsen4591b642021-05-24 14:24:12 -07001061func (x *ProcessResourceInfo) GetName() string {
1062 if x != nil && x.Name != nil {
1063 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001064 }
1065 return ""
1066}
1067
Dan Willemsen4591b642021-05-24 14:24:12 -07001068func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
1069 if x != nil && x.UserTimeMicros != nil {
1070 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001071 }
1072 return 0
1073}
1074
Dan Willemsen4591b642021-05-24 14:24:12 -07001075func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
1076 if x != nil && x.SystemTimeMicros != nil {
1077 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001078 }
1079 return 0
1080}
1081
Dan Willemsen4591b642021-05-24 14:24:12 -07001082func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
1083 if x != nil && x.MaxRssKb != nil {
1084 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001085 }
1086 return 0
1087}
1088
Dan Willemsen4591b642021-05-24 14:24:12 -07001089func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
1090 if x != nil && x.MinorPageFaults != nil {
1091 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001092 }
1093 return 0
1094}
1095
Dan Willemsen4591b642021-05-24 14:24:12 -07001096func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
1097 if x != nil && x.MajorPageFaults != nil {
1098 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001099 }
1100 return 0
1101}
1102
Dan Willemsen4591b642021-05-24 14:24:12 -07001103func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
1104 if x != nil && x.IoInputKb != nil {
1105 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001106 }
1107 return 0
1108}
1109
Dan Willemsen4591b642021-05-24 14:24:12 -07001110func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
1111 if x != nil && x.IoOutputKb != nil {
1112 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001113 }
1114 return 0
1115}
1116
Dan Willemsen4591b642021-05-24 14:24:12 -07001117func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
1118 if x != nil && x.VoluntaryContextSwitches != nil {
1119 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001120 }
1121 return 0
1122}
1123
Dan Willemsen4591b642021-05-24 14:24:12 -07001124func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1125 if x != nil && x.InvoluntaryContextSwitches != nil {
1126 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001127 }
1128 return 0
1129}
1130
Nan Zhang17f27672018-12-12 16:01:49 -08001131type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001132 state protoimpl.MessageState
1133 sizeCache protoimpl.SizeCache
1134 unknownFields protoimpl.UnknownFields
1135
MarkDacekff851b82022-04-21 18:33:17 +00001136 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001137 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 +00001138 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001139 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1140 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001141 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001142}
1143
Dan Willemsen4591b642021-05-24 14:24:12 -07001144// Default values for ModuleTypeInfo fields.
1145const (
1146 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1147)
1148
1149func (x *ModuleTypeInfo) Reset() {
1150 *x = ModuleTypeInfo{}
1151 if protoimpl.UnsafeEnabled {
1152 mi := &file_metrics_proto_msgTypes[5]
1153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1154 ms.StoreMessageInfo(mi)
1155 }
1156}
1157
1158func (x *ModuleTypeInfo) String() string {
1159 return protoimpl.X.MessageStringOf(x)
1160}
1161
1162func (*ModuleTypeInfo) ProtoMessage() {}
1163
1164func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1165 mi := &file_metrics_proto_msgTypes[5]
1166 if protoimpl.UnsafeEnabled && x != nil {
1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1168 if ms.LoadMessageInfo() == nil {
1169 ms.StoreMessageInfo(mi)
1170 }
1171 return ms
1172 }
1173 return mi.MessageOf(x)
1174}
1175
1176// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001177func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001178 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001179}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001180
Dan Willemsen4591b642021-05-24 14:24:12 -07001181func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1182 if x != nil && x.BuildSystem != nil {
1183 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001184 }
1185 return Default_ModuleTypeInfo_BuildSystem
1186}
1187
Dan Willemsen4591b642021-05-24 14:24:12 -07001188func (x *ModuleTypeInfo) GetModuleType() string {
1189 if x != nil && x.ModuleType != nil {
1190 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001191 }
1192 return ""
1193}
1194
Dan Willemsen4591b642021-05-24 14:24:12 -07001195func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1196 if x != nil && x.NumOfModules != nil {
1197 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001198 }
1199 return 0
1200}
1201
Colin Crossd0be2102019-11-26 16:16:57 -08001202type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001203 state protoimpl.MessageState
1204 sizeCache protoimpl.SizeCache
1205 unknownFields protoimpl.UnknownFields
1206
Colin Crossd0be2102019-11-26 16:16:57 -08001207 // The name of a critical user journey test.
1208 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1209 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001210 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001211}
1212
Dan Willemsen4591b642021-05-24 14:24:12 -07001213func (x *CriticalUserJourneyMetrics) Reset() {
1214 *x = CriticalUserJourneyMetrics{}
1215 if protoimpl.UnsafeEnabled {
1216 mi := &file_metrics_proto_msgTypes[6]
1217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1218 ms.StoreMessageInfo(mi)
1219 }
1220}
1221
1222func (x *CriticalUserJourneyMetrics) String() string {
1223 return protoimpl.X.MessageStringOf(x)
1224}
1225
1226func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1227
1228func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1229 mi := &file_metrics_proto_msgTypes[6]
1230 if protoimpl.UnsafeEnabled && x != nil {
1231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1232 if ms.LoadMessageInfo() == nil {
1233 ms.StoreMessageInfo(mi)
1234 }
1235 return ms
1236 }
1237 return mi.MessageOf(x)
1238}
1239
1240// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001241func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001242 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001243}
1244
Dan Willemsen4591b642021-05-24 14:24:12 -07001245func (x *CriticalUserJourneyMetrics) GetName() string {
1246 if x != nil && x.Name != nil {
1247 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001248 }
1249 return ""
1250}
1251
Dan Willemsen4591b642021-05-24 14:24:12 -07001252func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1253 if x != nil {
1254 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001255 }
1256 return nil
1257}
1258
1259type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001260 state protoimpl.MessageState
1261 sizeCache protoimpl.SizeCache
1262 unknownFields protoimpl.UnknownFields
1263
Colin Crossd0be2102019-11-26 16:16:57 -08001264 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001265 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001266}
1267
Dan Willemsen4591b642021-05-24 14:24:12 -07001268func (x *CriticalUserJourneysMetrics) Reset() {
1269 *x = CriticalUserJourneysMetrics{}
1270 if protoimpl.UnsafeEnabled {
1271 mi := &file_metrics_proto_msgTypes[7]
1272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1273 ms.StoreMessageInfo(mi)
1274 }
1275}
1276
1277func (x *CriticalUserJourneysMetrics) String() string {
1278 return protoimpl.X.MessageStringOf(x)
1279}
1280
1281func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1282
1283func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1284 mi := &file_metrics_proto_msgTypes[7]
1285 if protoimpl.UnsafeEnabled && x != nil {
1286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1287 if ms.LoadMessageInfo() == nil {
1288 ms.StoreMessageInfo(mi)
1289 }
1290 return ms
1291 }
1292 return mi.MessageOf(x)
1293}
1294
1295// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001296func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001297 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001298}
1299
Dan Willemsen4591b642021-05-24 14:24:12 -07001300func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1301 if x != nil {
1302 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001303 }
1304 return nil
1305}
1306
Colin Crossb72c9092020-02-10 11:23:49 -08001307type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001308 state protoimpl.MessageState
1309 sizeCache protoimpl.SizeCache
1310 unknownFields protoimpl.UnknownFields
1311
Colin Crossb72c9092020-02-10 11:23:49 -08001312 // The number of modules handled by soong_build.
1313 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1314 // The total number of variants handled by soong_build.
1315 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1316 // The total number of allocations in soong_build.
1317 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1318 // The total size of allocations in soong_build in bytes.
1319 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1320 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001321 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001322 // Runtime metrics for soong_build execution.
1323 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001324 // Mixed Builds information
1325 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001326}
1327
Dan Willemsen4591b642021-05-24 14:24:12 -07001328func (x *SoongBuildMetrics) Reset() {
1329 *x = SoongBuildMetrics{}
1330 if protoimpl.UnsafeEnabled {
1331 mi := &file_metrics_proto_msgTypes[8]
1332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1333 ms.StoreMessageInfo(mi)
1334 }
1335}
1336
1337func (x *SoongBuildMetrics) String() string {
1338 return protoimpl.X.MessageStringOf(x)
1339}
1340
1341func (*SoongBuildMetrics) ProtoMessage() {}
1342
1343func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1344 mi := &file_metrics_proto_msgTypes[8]
1345 if protoimpl.UnsafeEnabled && x != nil {
1346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1347 if ms.LoadMessageInfo() == nil {
1348 ms.StoreMessageInfo(mi)
1349 }
1350 return ms
1351 }
1352 return mi.MessageOf(x)
1353}
1354
1355// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001356func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001357 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001358}
1359
Dan Willemsen4591b642021-05-24 14:24:12 -07001360func (x *SoongBuildMetrics) GetModules() uint32 {
1361 if x != nil && x.Modules != nil {
1362 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001363 }
1364 return 0
1365}
1366
Dan Willemsen4591b642021-05-24 14:24:12 -07001367func (x *SoongBuildMetrics) GetVariants() uint32 {
1368 if x != nil && x.Variants != nil {
1369 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001370 }
1371 return 0
1372}
1373
Dan Willemsen4591b642021-05-24 14:24:12 -07001374func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1375 if x != nil && x.TotalAllocCount != nil {
1376 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001377 }
1378 return 0
1379}
1380
Dan Willemsen4591b642021-05-24 14:24:12 -07001381func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1382 if x != nil && x.TotalAllocSize != nil {
1383 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001384 }
1385 return 0
1386}
1387
Dan Willemsen4591b642021-05-24 14:24:12 -07001388func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1389 if x != nil && x.MaxHeapSize != nil {
1390 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001391 }
1392 return 0
1393}
1394
Chris Parsons715b08f2022-03-22 19:23:40 -04001395func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1396 if x != nil {
1397 return x.Events
1398 }
1399 return nil
1400}
1401
MarkDacekff851b82022-04-21 18:33:17 +00001402func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1403 if x != nil {
1404 return x.MixedBuildsInfo
1405 }
1406 return nil
1407}
1408
David Goldsmith62243a32022-04-08 13:42:04 +00001409type ExpConfigFetcher struct {
1410 state protoimpl.MessageState
1411 sizeCache protoimpl.SizeCache
1412 unknownFields protoimpl.UnknownFields
1413
1414 // The result of the call to expconfigfetcher
1415 // NO_CONFIG - Not part of experiment
1416 // CONFIG - Part of experiment, config copied successfully
1417 // ERROR - expconfigfetcher failed
1418 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1419 // The output config filename
1420 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1421 // Time, in microseconds, taken by the expconfigfetcher
1422 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1423}
1424
1425func (x *ExpConfigFetcher) Reset() {
1426 *x = ExpConfigFetcher{}
1427 if protoimpl.UnsafeEnabled {
1428 mi := &file_metrics_proto_msgTypes[9]
1429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1430 ms.StoreMessageInfo(mi)
1431 }
1432}
1433
1434func (x *ExpConfigFetcher) String() string {
1435 return protoimpl.X.MessageStringOf(x)
1436}
1437
1438func (*ExpConfigFetcher) ProtoMessage() {}
1439
1440func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1441 mi := &file_metrics_proto_msgTypes[9]
1442 if protoimpl.UnsafeEnabled && x != nil {
1443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1444 if ms.LoadMessageInfo() == nil {
1445 ms.StoreMessageInfo(mi)
1446 }
1447 return ms
1448 }
1449 return mi.MessageOf(x)
1450}
1451
1452// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1453func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1454 return file_metrics_proto_rawDescGZIP(), []int{9}
1455}
1456
1457func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1458 if x != nil && x.Status != nil {
1459 return *x.Status
1460 }
1461 return ExpConfigFetcher_NO_CONFIG
1462}
1463
1464func (x *ExpConfigFetcher) GetFilename() string {
1465 if x != nil && x.Filename != nil {
1466 return *x.Filename
1467 }
1468 return ""
1469}
1470
1471func (x *ExpConfigFetcher) GetMicros() uint64 {
1472 if x != nil && x.Micros != nil {
1473 return *x.Micros
1474 }
1475 return 0
1476}
1477
MarkDacekff851b82022-04-21 18:33:17 +00001478type MixedBuildsInfo struct {
1479 state protoimpl.MessageState
1480 sizeCache protoimpl.SizeCache
1481 unknownFields protoimpl.UnknownFields
1482
1483 // Modules that are enabled for Mixed Builds.
1484 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 +00001485 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001486 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1487}
1488
1489func (x *MixedBuildsInfo) Reset() {
1490 *x = MixedBuildsInfo{}
1491 if protoimpl.UnsafeEnabled {
1492 mi := &file_metrics_proto_msgTypes[10]
1493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1494 ms.StoreMessageInfo(mi)
1495 }
1496}
1497
1498func (x *MixedBuildsInfo) String() string {
1499 return protoimpl.X.MessageStringOf(x)
1500}
1501
1502func (*MixedBuildsInfo) ProtoMessage() {}
1503
1504func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1505 mi := &file_metrics_proto_msgTypes[10]
1506 if protoimpl.UnsafeEnabled && x != nil {
1507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1508 if ms.LoadMessageInfo() == nil {
1509 ms.StoreMessageInfo(mi)
1510 }
1511 return ms
1512 }
1513 return mi.MessageOf(x)
1514}
1515
1516// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1517func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1518 return file_metrics_proto_rawDescGZIP(), []int{10}
1519}
1520
1521func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1522 if x != nil {
1523 return x.MixedBuildEnabledModules
1524 }
1525 return nil
1526}
1527
1528func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1529 if x != nil {
1530 return x.MixedBuildDisabledModules
1531 }
1532 return nil
1533}
1534
Jeongik Chacf833772023-03-15 12:54:14 +09001535// CriticalPathInfo contains critical path nodes's information.
1536// 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 +09001537type CriticalPathInfo struct {
1538 state protoimpl.MessageState
1539 sizeCache protoimpl.SizeCache
1540 unknownFields protoimpl.UnknownFields
1541
Jeongik Cha767ce712023-03-15 23:20:00 +09001542 // Real time which the build system spent in microseconds
1543 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
1544 // The sum of execution time of the longest path from leave to the root in microseconds
1545 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 +09001546 // Detailed job information in a critical path.
1547 CriticalPath []*JobInfo `protobuf:"bytes,4,rep,name=critical_path,json=criticalPath" json:"critical_path,omitempty"`
Jeongik Cha4199d472023-03-15 10:47:35 +09001548 // Detailed job information for long running jobs (>30 seconds). These may or may not also be on a critical path.
1549 LongRunningJobs []*JobInfo `protobuf:"bytes,5,rep,name=long_running_jobs,json=longRunningJobs" json:"long_running_jobs,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001550}
1551
1552func (x *CriticalPathInfo) Reset() {
1553 *x = CriticalPathInfo{}
1554 if protoimpl.UnsafeEnabled {
1555 mi := &file_metrics_proto_msgTypes[11]
1556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1557 ms.StoreMessageInfo(mi)
1558 }
1559}
1560
1561func (x *CriticalPathInfo) String() string {
1562 return protoimpl.X.MessageStringOf(x)
1563}
1564
1565func (*CriticalPathInfo) ProtoMessage() {}
1566
1567func (x *CriticalPathInfo) ProtoReflect() protoreflect.Message {
1568 mi := &file_metrics_proto_msgTypes[11]
1569 if protoimpl.UnsafeEnabled && x != nil {
1570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1571 if ms.LoadMessageInfo() == nil {
1572 ms.StoreMessageInfo(mi)
1573 }
1574 return ms
1575 }
1576 return mi.MessageOf(x)
1577}
1578
1579// Deprecated: Use CriticalPathInfo.ProtoReflect.Descriptor instead.
1580func (*CriticalPathInfo) Descriptor() ([]byte, []int) {
1581 return file_metrics_proto_rawDescGZIP(), []int{11}
1582}
1583
Jeongik Cha767ce712023-03-15 23:20:00 +09001584func (x *CriticalPathInfo) GetElapsedTimeMicros() uint64 {
1585 if x != nil && x.ElapsedTimeMicros != nil {
1586 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001587 }
1588 return 0
1589}
1590
Jeongik Cha767ce712023-03-15 23:20:00 +09001591func (x *CriticalPathInfo) GetCriticalPathTimeMicros() uint64 {
1592 if x != nil && x.CriticalPathTimeMicros != nil {
1593 return *x.CriticalPathTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001594 }
1595 return 0
1596}
1597
1598func (x *CriticalPathInfo) GetCriticalPath() []*JobInfo {
1599 if x != nil {
1600 return x.CriticalPath
1601 }
1602 return nil
1603}
1604
Jeongik Cha4199d472023-03-15 10:47:35 +09001605func (x *CriticalPathInfo) GetLongRunningJobs() []*JobInfo {
1606 if x != nil {
1607 return x.LongRunningJobs
1608 }
1609 return nil
1610}
1611
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001612type JobInfo struct {
1613 state protoimpl.MessageState
1614 sizeCache protoimpl.SizeCache
1615 unknownFields protoimpl.UnknownFields
1616
Jeongik Cha767ce712023-03-15 23:20:00 +09001617 // Real time which a job spent in microseconds
1618 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001619 // Description of a job
1620 JobDescription *string `protobuf:"bytes,2,opt,name=job_description,json=jobDescription" json:"job_description,omitempty"`
1621}
1622
1623func (x *JobInfo) Reset() {
1624 *x = JobInfo{}
1625 if protoimpl.UnsafeEnabled {
1626 mi := &file_metrics_proto_msgTypes[12]
1627 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1628 ms.StoreMessageInfo(mi)
1629 }
1630}
1631
1632func (x *JobInfo) String() string {
1633 return protoimpl.X.MessageStringOf(x)
1634}
1635
1636func (*JobInfo) ProtoMessage() {}
1637
1638func (x *JobInfo) ProtoReflect() protoreflect.Message {
1639 mi := &file_metrics_proto_msgTypes[12]
1640 if protoimpl.UnsafeEnabled && x != nil {
1641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1642 if ms.LoadMessageInfo() == nil {
1643 ms.StoreMessageInfo(mi)
1644 }
1645 return ms
1646 }
1647 return mi.MessageOf(x)
1648}
1649
1650// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
1651func (*JobInfo) Descriptor() ([]byte, []int) {
1652 return file_metrics_proto_rawDescGZIP(), []int{12}
1653}
1654
Jeongik Cha767ce712023-03-15 23:20:00 +09001655func (x *JobInfo) GetElapsedTimeMicros() uint64 {
1656 if x != nil && x.ElapsedTimeMicros != nil {
1657 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001658 }
1659 return 0
1660}
1661
1662func (x *JobInfo) GetJobDescription() string {
1663 if x != nil && x.JobDescription != nil {
1664 return *x.JobDescription
1665 }
1666 return ""
1667}
1668
Dan Willemsen4591b642021-05-24 14:24:12 -07001669var File_metrics_proto protoreflect.FileDescriptor
1670
1671var file_metrics_proto_rawDesc = []byte{
1672 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1673 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Jason Wu2520f5e2023-05-30 19:45:36 -04001674 0x72, 0x69, 0x63, 0x73, 0x22, 0xcc, 0x0f, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001675 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1676 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1677 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1678 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1679 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1680 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1681 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1682 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1683 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1684 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1685 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1686 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1687 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1688 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1689 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1690 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1691 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1692 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1693 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1694 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1695 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1696 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1697 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1698 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1699 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1700 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1701 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1702 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1703 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1704 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1705 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1706 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1707 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1708 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1709 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1710 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1711 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1712 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1713 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1714 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1715 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1716 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1717 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1718 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1719 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1720 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1721 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1722 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1723 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1724 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1725 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1726 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1727 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1728 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1729 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1730 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1731 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1732 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1733 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1734 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1735 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1736 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1737 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1738 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1739 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1740 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1741 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1742 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1743 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1744 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05001745 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07001746 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1747 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1748 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05001749 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
1750 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
1751 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
1752 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
1753 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1754 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
1755 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
1756 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
1757 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1758 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
1759 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1760 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1761 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
1762 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1763 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1764 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1765 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
1766 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1767 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1768 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
1769 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1770 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
1771 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1772 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1773 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1774 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
1775 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
1776 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
1777 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
1778 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
MarkDaceka18ba222023-03-07 18:18:19 +00001779 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,
1780 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
1781 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001782 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x53, 0x0a, 0x12,
1783 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x6e,
1784 0x66, 0x6f, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1785 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43,
1786 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1787 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66,
Jason Wu2520f5e2023-05-30 19:45:36 -04001788 0x6f, 0x12, 0x40, 0x0a, 0x1c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x76,
1789 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c,
1790 0x65, 0x18, 0x22, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,
1791 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61,
1792 0x62, 0x6c, 0x65, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69,
1793 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a,
1794 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03,
1795 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a,
1796 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52,
1797 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07,
1798 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36,
1799 0x34, 0x10, 0x04, 0x22, 0x8a, 0x04, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e,
1800 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18,
1801 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17,
1802 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
1803 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65,
1804 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
1805 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a,
1806 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18,
1807 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69,
1808 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78,
1809 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
1810 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12,
1811 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
1812 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72,
1813 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c,
1814 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01,
1815 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
1816 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12,
1817 0x79, 0x0a, 0x18, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f,
1818 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
1819 0x0e, 0x32, 0x36, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1820 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e,
1821 0x66, 0x69, 0x67, 0x2e, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c,
1822 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x55,
1823 0x53, 0x45, 0x44, 0x52, 0x15, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74,
1824 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x74, 0x0a, 0x15, 0x4e, 0x69,
1825 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75,
1826 0x72, 0x63, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x44, 0x10,
1827 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x49, 0x4e, 0x4a, 0x41, 0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x01,
1828 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x4c, 0x59, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x52,
1829 0x49, 0x42, 0x55, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x58, 0x54, 0x45,
1830 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x48,
1831 0x49, 0x4e, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x04,
1832 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
1833 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
1834 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18,
1835 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73,
1836 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76,
1837 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
1838 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75,
1839 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20,
1840 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
1841 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1842 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1843 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69,
1844 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
1845 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1846 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65,
1847 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05,
1848 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
1849 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73,
1850 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06,
1851 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
1852 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65,
1853 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15,
1854 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1855 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72,
1856 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f,
1857 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72,
1858 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
1859 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9,
1860 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
1861 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
1862 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73,
1863 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02,
1864 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69,
1865 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74,
1866 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
1867 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72,
1868 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62,
1869 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62,
1870 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66,
1871 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e,
1872 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11,
1873 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74,
1874 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61,
1875 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69,
1876 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69,
1877 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f,
1878 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
1879 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f,
1880 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f,
1881 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18,
Jeongik Chae114e602023-03-19 00:12:39 +09001882 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
Jason Wu2520f5e2023-05-30 19:45:36 -04001883 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f,
1884 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f,
1885 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a,
1886 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
1887 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d,
1888 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a,
1889 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20,
1890 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1891 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1892 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79,
1893 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62,
1894 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f,
1895 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1896 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e,
1897 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20,
1898 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1899 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1900 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a,
1901 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45,
1902 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73,
1903 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1904 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1905 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1906 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1907 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72,
1908 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1909 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72,
1910 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12,
1911 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
1912 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1913 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72,
1914 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04,
1915 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02, 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75,
1916 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f,
1917 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64,
1918 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73,
1919 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73,
1920 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f,
1921 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74,
1922 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10,
1923 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65,
1924 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c,
1925 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65,
1926 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d,
1927 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76,
1928 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f,
Jeongik Chae114e602023-03-19 00:12:39 +09001929 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Jason Wu2520f5e2023-05-30 19:45:36 -04001930 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
1931 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1932 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73,
1933 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1934 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e,
1935 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49,
1936 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1937 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
1938 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1939 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45,
1940 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e,
1941 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
1942 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
1943 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
1944 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
1945 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66,
1946 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43,
1947 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49,
1948 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11,
1949 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10,
1950 0x03, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64,
1951 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62,
1952 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64,
1953 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65,
1954 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64,
1955 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75,
1956 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64,
1957 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65,
1958 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f,
1959 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x10, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63,
1960 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c,
1961 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f,
1962 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64,
1963 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x72,
1964 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1965 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x63,
1966 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d,
1967 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61,
1968 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73,
1969 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1970 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x72, 0x69, 0x74,
1971 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67,
1972 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20,
1973 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1974 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66,
1975 0x6f, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f,
1976 0x62, 0x73, 0x22, 0x62, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a,
1977 0x13, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69,
1978 0x63, 0x72, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70,
1979 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x27, 0x0a,
1980 0x0f, 0x6a, 0x6f, 0x62, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1981 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72,
1982 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69,
1983 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1984 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001985}
1986
Dan Willemsen4591b642021-05-24 14:24:12 -07001987var (
1988 file_metrics_proto_rawDescOnce sync.Once
1989 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1990)
1991
1992func file_metrics_proto_rawDescGZIP() []byte {
1993 file_metrics_proto_rawDescOnce.Do(func() {
1994 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1995 })
1996 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001997}
Nan Zhang17f27672018-12-12 16:01:49 -08001998
Jeongik Cha0cf44d52023-03-15 00:10:45 +09001999var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002000var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
Dan Willemsen4591b642021-05-24 14:24:12 -07002001var file_metrics_proto_goTypes = []interface{}{
Jeongik Cha8d63d562023-03-17 03:52:13 +09002002 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
2003 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
2004 (BuildConfig_NinjaWeightListSource)(0), // 2: soong_build_metrics.BuildConfig.NinjaWeightListSource
2005 (ModuleTypeInfo_BuildSystem)(0), // 3: soong_build_metrics.ModuleTypeInfo.BuildSystem
2006 (ExpConfigFetcher_ConfigStatus)(0), // 4: soong_build_metrics.ExpConfigFetcher.ConfigStatus
2007 (*MetricsBase)(nil), // 5: soong_build_metrics.MetricsBase
2008 (*BuildConfig)(nil), // 6: soong_build_metrics.BuildConfig
2009 (*SystemResourceInfo)(nil), // 7: soong_build_metrics.SystemResourceInfo
2010 (*PerfInfo)(nil), // 8: soong_build_metrics.PerfInfo
2011 (*ProcessResourceInfo)(nil), // 9: soong_build_metrics.ProcessResourceInfo
2012 (*ModuleTypeInfo)(nil), // 10: soong_build_metrics.ModuleTypeInfo
2013 (*CriticalUserJourneyMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneyMetrics
2014 (*CriticalUserJourneysMetrics)(nil), // 12: soong_build_metrics.CriticalUserJourneysMetrics
2015 (*SoongBuildMetrics)(nil), // 13: soong_build_metrics.SoongBuildMetrics
2016 (*ExpConfigFetcher)(nil), // 14: soong_build_metrics.ExpConfigFetcher
2017 (*MixedBuildsInfo)(nil), // 15: soong_build_metrics.MixedBuildsInfo
2018 (*CriticalPathInfo)(nil), // 16: soong_build_metrics.CriticalPathInfo
2019 (*JobInfo)(nil), // 17: soong_build_metrics.JobInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07002020}
2021var file_metrics_proto_depIdxs = []int32{
Jeongik Cha8d63d562023-03-17 03:52:13 +09002022 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
2023 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
2024 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
2025 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002026 8, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
2027 8, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
2028 8, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
2029 8, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
2030 8, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
2031 13, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
2032 6, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
2033 7, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
2034 8, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
2035 14, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
2036 16, // 14: soong_build_metrics.MetricsBase.critical_path_info:type_name -> soong_build_metrics.CriticalPathInfo
Jeongik Cha8d63d562023-03-17 03:52:13 +09002037 2, // 15: soong_build_metrics.BuildConfig.ninja_weight_list_source:type_name -> soong_build_metrics.BuildConfig.NinjaWeightListSource
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002038 9, // 16: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
2039 3, // 17: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
2040 5, // 18: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
2041 11, // 19: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
2042 8, // 20: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
2043 15, // 21: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
2044 4, // 22: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
2045 17, // 23: soong_build_metrics.CriticalPathInfo.critical_path:type_name -> soong_build_metrics.JobInfo
2046 17, // 24: soong_build_metrics.CriticalPathInfo.long_running_jobs:type_name -> soong_build_metrics.JobInfo
2047 25, // [25:25] is the sub-list for method output_type
2048 25, // [25:25] is the sub-list for method input_type
2049 25, // [25:25] is the sub-list for extension type_name
2050 25, // [25:25] is the sub-list for extension extendee
2051 0, // [0:25] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07002052}
2053
2054func init() { file_metrics_proto_init() }
2055func file_metrics_proto_init() {
2056 if File_metrics_proto != nil {
2057 return
2058 }
2059 if !protoimpl.UnsafeEnabled {
2060 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2061 switch v := v.(*MetricsBase); i {
2062 case 0:
2063 return &v.state
2064 case 1:
2065 return &v.sizeCache
2066 case 2:
2067 return &v.unknownFields
2068 default:
2069 return nil
2070 }
2071 }
2072 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2073 switch v := v.(*BuildConfig); i {
2074 case 0:
2075 return &v.state
2076 case 1:
2077 return &v.sizeCache
2078 case 2:
2079 return &v.unknownFields
2080 default:
2081 return nil
2082 }
2083 }
2084 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2085 switch v := v.(*SystemResourceInfo); i {
2086 case 0:
2087 return &v.state
2088 case 1:
2089 return &v.sizeCache
2090 case 2:
2091 return &v.unknownFields
2092 default:
2093 return nil
2094 }
2095 }
2096 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2097 switch v := v.(*PerfInfo); i {
2098 case 0:
2099 return &v.state
2100 case 1:
2101 return &v.sizeCache
2102 case 2:
2103 return &v.unknownFields
2104 default:
2105 return nil
2106 }
2107 }
2108 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2109 switch v := v.(*ProcessResourceInfo); i {
2110 case 0:
2111 return &v.state
2112 case 1:
2113 return &v.sizeCache
2114 case 2:
2115 return &v.unknownFields
2116 default:
2117 return nil
2118 }
2119 }
2120 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2121 switch v := v.(*ModuleTypeInfo); i {
2122 case 0:
2123 return &v.state
2124 case 1:
2125 return &v.sizeCache
2126 case 2:
2127 return &v.unknownFields
2128 default:
2129 return nil
2130 }
2131 }
2132 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2133 switch v := v.(*CriticalUserJourneyMetrics); i {
2134 case 0:
2135 return &v.state
2136 case 1:
2137 return &v.sizeCache
2138 case 2:
2139 return &v.unknownFields
2140 default:
2141 return nil
2142 }
2143 }
2144 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2145 switch v := v.(*CriticalUserJourneysMetrics); i {
2146 case 0:
2147 return &v.state
2148 case 1:
2149 return &v.sizeCache
2150 case 2:
2151 return &v.unknownFields
2152 default:
2153 return nil
2154 }
2155 }
2156 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2157 switch v := v.(*SoongBuildMetrics); i {
2158 case 0:
2159 return &v.state
2160 case 1:
2161 return &v.sizeCache
2162 case 2:
2163 return &v.unknownFields
2164 default:
2165 return nil
2166 }
2167 }
David Goldsmith62243a32022-04-08 13:42:04 +00002168 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2169 switch v := v.(*ExpConfigFetcher); i {
2170 case 0:
2171 return &v.state
2172 case 1:
2173 return &v.sizeCache
2174 case 2:
2175 return &v.unknownFields
2176 default:
2177 return nil
2178 }
2179 }
MarkDacekff851b82022-04-21 18:33:17 +00002180 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2181 switch v := v.(*MixedBuildsInfo); i {
2182 case 0:
2183 return &v.state
2184 case 1:
2185 return &v.sizeCache
2186 case 2:
2187 return &v.unknownFields
2188 default:
2189 return nil
2190 }
2191 }
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002192 file_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2193 switch v := v.(*CriticalPathInfo); i {
2194 case 0:
2195 return &v.state
2196 case 1:
2197 return &v.sizeCache
2198 case 2:
2199 return &v.unknownFields
2200 default:
2201 return nil
2202 }
2203 }
2204 file_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2205 switch v := v.(*JobInfo); i {
2206 case 0:
2207 return &v.state
2208 case 1:
2209 return &v.sizeCache
2210 case 2:
2211 return &v.unknownFields
2212 default:
2213 return nil
2214 }
2215 }
Dan Willemsen4591b642021-05-24 14:24:12 -07002216 }
2217 type x struct{}
2218 out := protoimpl.TypeBuilder{
2219 File: protoimpl.DescBuilder{
2220 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2221 RawDescriptor: file_metrics_proto_rawDesc,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002222 NumEnums: 5,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002223 NumMessages: 13,
Dan Willemsen4591b642021-05-24 14:24:12 -07002224 NumExtensions: 0,
2225 NumServices: 0,
2226 },
2227 GoTypes: file_metrics_proto_goTypes,
2228 DependencyIndexes: file_metrics_proto_depIdxs,
2229 EnumInfos: file_metrics_proto_enumTypes,
2230 MessageInfos: file_metrics_proto_msgTypes,
2231 }.Build()
2232 File_metrics_proto = out.File
2233 file_metrics_proto_rawDesc = nil
2234 file_metrics_proto_goTypes = nil
2235 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08002236}