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