blob: 05b23d7bd30613cf3da4ff18f7644cea8b704d8a [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Copyright 2018 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Nan Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
Jeongik Chae114e602023-03-19 00:12:39 +090017// protoc-gen-go v1.30.0
Jason Wu2520f5e2023-05-30 19:45:36 -040018// protoc v3.21.12
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
Nan Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
47 MetricsBase_BuildVariant_name = map[int32]string{
48 0: "USER",
49 1: "USERDEBUG",
50 2: "ENG",
51 }
52 MetricsBase_BuildVariant_value = map[string]int32{
53 "USER": 0,
54 "USERDEBUG": 1,
55 "ENG": 2,
56 }
57)
Nan Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha8d63d562023-03-17 03:52:13 +090070 return file_metrics_proto_enumTypes[0].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -070071}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
Jeongik Cha8d63d562023-03-17 03:52:13 +090074 return &file_metrics_proto_enumTypes[0]
Dan Willemsen4591b642021-05-24 14:24:12 -070075}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_UNKNOWN MetricsBase_Arch = 0
100 MetricsBase_ARM MetricsBase_Arch = 1
101 MetricsBase_ARM64 MetricsBase_Arch = 2
102 MetricsBase_X86 MetricsBase_Arch = 3
103 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
108 MetricsBase_Arch_name = map[int32]string{
109 0: "UNKNOWN",
110 1: "ARM",
111 2: "ARM64",
112 3: "X86",
113 4: "X86_64",
114 }
115 MetricsBase_Arch_value = map[string]int32{
116 "UNKNOWN": 0,
117 "ARM": 1,
118 "ARM64": 2,
119 "X86": 3,
120 "X86_64": 4,
121 }
122)
Nan Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha8d63d562023-03-17 03:52:13 +0900135 return file_metrics_proto_enumTypes[1].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
Jeongik Cha8d63d562023-03-17 03:52:13 +0900139 return &file_metrics_proto_enumTypes[1]
Dan Willemsen4591b642021-05-24 14:24:12 -0700140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Jeongik Cha8d63d562023-03-17 03:52:13 +0900161type BuildConfig_NinjaWeightListSource int32
162
163const (
164 BuildConfig_NOT_USED BuildConfig_NinjaWeightListSource = 0
165 BuildConfig_NINJA_LOG BuildConfig_NinjaWeightListSource = 1
166 BuildConfig_EVENLY_DISTRIBUTED BuildConfig_NinjaWeightListSource = 2
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900167 BuildConfig_EXTERNAL_FILE BuildConfig_NinjaWeightListSource = 3
Jeongik Chae114e602023-03-19 00:12:39 +0900168 BuildConfig_HINT_FROM_SOONG BuildConfig_NinjaWeightListSource = 4
Jeongik Cha8d63d562023-03-17 03:52:13 +0900169)
170
171// Enum value maps for BuildConfig_NinjaWeightListSource.
172var (
173 BuildConfig_NinjaWeightListSource_name = map[int32]string{
174 0: "NOT_USED",
175 1: "NINJA_LOG",
176 2: "EVENLY_DISTRIBUTED",
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900177 3: "EXTERNAL_FILE",
Jeongik Chae114e602023-03-19 00:12:39 +0900178 4: "HINT_FROM_SOONG",
Jeongik Cha8d63d562023-03-17 03:52:13 +0900179 }
180 BuildConfig_NinjaWeightListSource_value = map[string]int32{
181 "NOT_USED": 0,
182 "NINJA_LOG": 1,
183 "EVENLY_DISTRIBUTED": 2,
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900184 "EXTERNAL_FILE": 3,
Jeongik Chae114e602023-03-19 00:12:39 +0900185 "HINT_FROM_SOONG": 4,
Jeongik Cha8d63d562023-03-17 03:52:13 +0900186 }
187)
188
189func (x BuildConfig_NinjaWeightListSource) Enum() *BuildConfig_NinjaWeightListSource {
190 p := new(BuildConfig_NinjaWeightListSource)
191 *p = x
192 return p
193}
194
195func (x BuildConfig_NinjaWeightListSource) String() string {
196 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
197}
198
199func (BuildConfig_NinjaWeightListSource) Descriptor() protoreflect.EnumDescriptor {
200 return file_metrics_proto_enumTypes[2].Descriptor()
201}
202
203func (BuildConfig_NinjaWeightListSource) Type() protoreflect.EnumType {
204 return &file_metrics_proto_enumTypes[2]
205}
206
207func (x BuildConfig_NinjaWeightListSource) Number() protoreflect.EnumNumber {
208 return protoreflect.EnumNumber(x)
209}
210
211// Deprecated: Do not use.
212func (x *BuildConfig_NinjaWeightListSource) UnmarshalJSON(b []byte) error {
213 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
214 if err != nil {
215 return err
216 }
217 *x = BuildConfig_NinjaWeightListSource(num)
218 return nil
219}
220
221// Deprecated: Use BuildConfig_NinjaWeightListSource.Descriptor instead.
222func (BuildConfig_NinjaWeightListSource) EnumDescriptor() ([]byte, []int) {
223 return file_metrics_proto_rawDescGZIP(), []int{1, 0}
224}
225
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700226type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800227
228const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700229 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
230 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
231 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800232)
233
Dan Willemsen4591b642021-05-24 14:24:12 -0700234// Enum value maps for ModuleTypeInfo_BuildSystem.
235var (
236 ModuleTypeInfo_BuildSystem_name = map[int32]string{
237 0: "UNKNOWN",
238 1: "SOONG",
239 2: "MAKE",
240 }
241 ModuleTypeInfo_BuildSystem_value = map[string]int32{
242 "UNKNOWN": 0,
243 "SOONG": 1,
244 "MAKE": 2,
245 }
246)
Nan Zhang17f27672018-12-12 16:01:49 -0800247
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700248func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
249 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800250 *p = x
251 return p
252}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700253
254func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700255 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800256}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700257
Dan Willemsen4591b642021-05-24 14:24:12 -0700258func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900259 return file_metrics_proto_enumTypes[3].Descriptor()
Dan Willemsen4591b642021-05-24 14:24:12 -0700260}
261
262func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900263 return &file_metrics_proto_enumTypes[3]
Dan Willemsen4591b642021-05-24 14:24:12 -0700264}
265
266func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
267 return protoreflect.EnumNumber(x)
268}
269
270// Deprecated: Do not use.
271func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
272 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800273 if err != nil {
274 return err
275 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700276 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800277 return nil
278}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700279
Dan Willemsen4591b642021-05-24 14:24:12 -0700280// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700281func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -0700282 return file_metrics_proto_rawDescGZIP(), []int{8, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800283}
284
David Goldsmith62243a32022-04-08 13:42:04 +0000285type ExpConfigFetcher_ConfigStatus int32
286
287const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000288 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
289 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
290 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
291 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000292)
293
294// Enum value maps for ExpConfigFetcher_ConfigStatus.
295var (
296 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
297 0: "NO_CONFIG",
298 1: "CONFIG",
299 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000300 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000301 }
302 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000303 "NO_CONFIG": 0,
304 "CONFIG": 1,
305 "ERROR": 2,
306 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000307 }
308)
309
310func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
311 p := new(ExpConfigFetcher_ConfigStatus)
312 *p = x
313 return p
314}
315
316func (x ExpConfigFetcher_ConfigStatus) String() string {
317 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
318}
319
320func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900321 return file_metrics_proto_enumTypes[4].Descriptor()
David Goldsmith62243a32022-04-08 13:42:04 +0000322}
323
324func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900325 return &file_metrics_proto_enumTypes[4]
David Goldsmith62243a32022-04-08 13:42:04 +0000326}
327
328func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
329 return protoreflect.EnumNumber(x)
330}
331
332// Deprecated: Do not use.
333func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
334 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
335 if err != nil {
336 return err
337 }
338 *x = ExpConfigFetcher_ConfigStatus(num)
339 return nil
340}
341
342// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
343func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -0700344 return file_metrics_proto_rawDescGZIP(), []int{12, 0}
David Goldsmith62243a32022-04-08 13:42:04 +0000345}
346
Nan Zhang17f27672018-12-12 16:01:49 -0800347type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700348 state protoimpl.MessageState
349 sizeCache protoimpl.SizeCache
350 unknownFields protoimpl.UnknownFields
351
Nan Zhang17f27672018-12-12 16:01:49 -0800352 // Timestamp generated when the build starts.
353 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
354 // It is usually used to specify the branch name [and release candidate].
355 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
356 // The platform version codename, eg. P, Q, REL.
357 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
358 // The target product information, eg. aosp_arm.
359 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
360 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700361 TargetBuildVariant *MetricsBase_BuildVariant `protobuf:"varint,5,opt,name=target_build_variant,json=targetBuildVariant,enum=soong_build_metrics.MetricsBase_BuildVariant,def=2" json:"target_build_variant,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800362 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700363 TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800364 // The target arch variant information, eg. armv7-a-neon.
365 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
366 // The target cpu variant information, eg. generic.
367 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
368 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700369 HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800370 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700371 Host_2NdArch *MetricsBase_Arch `protobuf:"varint,10,opt,name=host_2nd_arch,json=host2ndArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_2nd_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800372 // The host os information, eg. linux.
373 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
374 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
375 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
376 // The host cross os information, eg. windows.
377 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
378 // The host cross arch information, eg. x86.
379 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
380 // The host cross 2nd arch information, eg. x86_64.
381 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
382 // The directory for generated built artifacts installation, eg. out.
383 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
384 // The metrics for calling various tools (microfactory) before Soong_UI starts.
385 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
386 // The metrics for calling Kati by multiple times.
387 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
388 // The metrics for calling Soong.
389 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
390 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800391 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
392 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500393 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
394 // Deprecated because instead of embedding in a MetricsBase, we keep
395 // SoongBuildMetrics in its own file
396 //
Jeongik Chae114e602023-03-19 00:12:39 +0900397 // Deprecated: Marked as deprecated in metrics.proto.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000398 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
399 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000400 // The hostname of the machine.
401 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
402 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700403 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
404 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800405 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
406 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700407 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000408 // The metrics of the experiment config fetcher
409 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400410 // Whether the build exited with a panic or non-zero exit code, includes both
411 // non-zero exits of recorded phases and non-recorded phases of the build.
412 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
413 // The error message due to a non-zero exit _only_ if it did not occur in a
414 // recorded phase of the build.
415 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
MarkDaceka18ba222023-03-07 18:18:19 +0000416 // The Git Manifest for the user's branch.
417 ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"`
418 // The branch on which the build occurred.
419 // Example: refs/heads/master
420 Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900421 // The metric of critical path in build
422 CriticalPathInfo *CriticalPathInfo `protobuf:"bytes,33,opt,name=critical_path_info,json=criticalPathInfo" json:"critical_path_info,omitempty"`
Jason Wu2520f5e2023-05-30 19:45:36 -0400423 // Environment variables that have changed value since the previous build,
424 // which were responsible for retriggering build analysis.
425 // Note that not all changed environment variables result in analysis retriggering.
426 // If there was no previous build, this list will be empty.
427 ChangedEnvironmentVariable []string `protobuf:"bytes,34,rep,name=changed_environment_variable,json=changedEnvironmentVariable" json:"changed_environment_variable,omitempty"`
Luca Farsi8ba1fb02024-10-18 14:35:19 -0700428 // Metrics related to optimized builds.
429 OptimizedBuildMetrics *OptimizedBuildMetrics `protobuf:"bytes,35,opt,name=optimized_build_metrics,json=optimizedBuildMetrics" json:"optimized_build_metrics,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800430}
431
Dan Willemsen4591b642021-05-24 14:24:12 -0700432// Default values for MetricsBase fields.
433const (
434 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
435 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
436 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
437 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
438)
439
440func (x *MetricsBase) Reset() {
441 *x = MetricsBase{}
442 if protoimpl.UnsafeEnabled {
443 mi := &file_metrics_proto_msgTypes[0]
444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445 ms.StoreMessageInfo(mi)
446 }
447}
448
449func (x *MetricsBase) String() string {
450 return protoimpl.X.MessageStringOf(x)
451}
452
453func (*MetricsBase) ProtoMessage() {}
454
455func (x *MetricsBase) ProtoReflect() protoreflect.Message {
456 mi := &file_metrics_proto_msgTypes[0]
457 if protoimpl.UnsafeEnabled && x != nil {
458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
459 if ms.LoadMessageInfo() == nil {
460 ms.StoreMessageInfo(mi)
461 }
462 return ms
463 }
464 return mi.MessageOf(x)
465}
466
467// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800468func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700469 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800470}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700471
Dan Willemsen4591b642021-05-24 14:24:12 -0700472func (x *MetricsBase) GetBuildDateTimestamp() int64 {
473 if x != nil && x.BuildDateTimestamp != nil {
474 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800475 }
476 return 0
477}
478
Dan Willemsen4591b642021-05-24 14:24:12 -0700479func (x *MetricsBase) GetBuildId() string {
480 if x != nil && x.BuildId != nil {
481 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800482 }
483 return ""
484}
485
Dan Willemsen4591b642021-05-24 14:24:12 -0700486func (x *MetricsBase) GetPlatformVersionCodename() string {
487 if x != nil && x.PlatformVersionCodename != nil {
488 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800489 }
490 return ""
491}
492
Dan Willemsen4591b642021-05-24 14:24:12 -0700493func (x *MetricsBase) GetTargetProduct() string {
494 if x != nil && x.TargetProduct != nil {
495 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800496 }
497 return ""
498}
499
Dan Willemsen4591b642021-05-24 14:24:12 -0700500func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
501 if x != nil && x.TargetBuildVariant != nil {
502 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800503 }
504 return Default_MetricsBase_TargetBuildVariant
505}
506
Dan Willemsen4591b642021-05-24 14:24:12 -0700507func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
508 if x != nil && x.TargetArch != nil {
509 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800510 }
511 return Default_MetricsBase_TargetArch
512}
513
Dan Willemsen4591b642021-05-24 14:24:12 -0700514func (x *MetricsBase) GetTargetArchVariant() string {
515 if x != nil && x.TargetArchVariant != nil {
516 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800517 }
518 return ""
519}
520
Dan Willemsen4591b642021-05-24 14:24:12 -0700521func (x *MetricsBase) GetTargetCpuVariant() string {
522 if x != nil && x.TargetCpuVariant != nil {
523 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800524 }
525 return ""
526}
527
Dan Willemsen4591b642021-05-24 14:24:12 -0700528func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
529 if x != nil && x.HostArch != nil {
530 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800531 }
532 return Default_MetricsBase_HostArch
533}
534
Dan Willemsen4591b642021-05-24 14:24:12 -0700535func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
536 if x != nil && x.Host_2NdArch != nil {
537 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800538 }
539 return Default_MetricsBase_Host_2NdArch
540}
541
Dan Willemsen4591b642021-05-24 14:24:12 -0700542func (x *MetricsBase) GetHostOs() string {
543 if x != nil && x.HostOs != nil {
544 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800545 }
546 return ""
547}
548
Dan Willemsen4591b642021-05-24 14:24:12 -0700549func (x *MetricsBase) GetHostOsExtra() string {
550 if x != nil && x.HostOsExtra != nil {
551 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800552 }
553 return ""
554}
555
Dan Willemsen4591b642021-05-24 14:24:12 -0700556func (x *MetricsBase) GetHostCrossOs() string {
557 if x != nil && x.HostCrossOs != nil {
558 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800559 }
560 return ""
561}
562
Dan Willemsen4591b642021-05-24 14:24:12 -0700563func (x *MetricsBase) GetHostCrossArch() string {
564 if x != nil && x.HostCrossArch != nil {
565 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800566 }
567 return ""
568}
569
Dan Willemsen4591b642021-05-24 14:24:12 -0700570func (x *MetricsBase) GetHostCross_2NdArch() string {
571 if x != nil && x.HostCross_2NdArch != nil {
572 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800573 }
574 return ""
575}
576
Dan Willemsen4591b642021-05-24 14:24:12 -0700577func (x *MetricsBase) GetOutDir() string {
578 if x != nil && x.OutDir != nil {
579 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800580 }
581 return ""
582}
583
Dan Willemsen4591b642021-05-24 14:24:12 -0700584func (x *MetricsBase) GetSetupTools() []*PerfInfo {
585 if x != nil {
586 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800587 }
588 return nil
589}
590
Dan Willemsen4591b642021-05-24 14:24:12 -0700591func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
592 if x != nil {
593 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800594 }
595 return nil
596}
597
Dan Willemsen4591b642021-05-24 14:24:12 -0700598func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
599 if x != nil {
600 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800601 }
602 return nil
603}
604
Dan Willemsen4591b642021-05-24 14:24:12 -0700605func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
606 if x != nil {
607 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800608 }
609 return nil
610}
611
Dan Willemsen4591b642021-05-24 14:24:12 -0700612func (x *MetricsBase) GetTotal() *PerfInfo {
613 if x != nil {
614 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800615 }
616 return nil
617}
618
Jeongik Chae114e602023-03-19 00:12:39 +0900619// Deprecated: Marked as deprecated in metrics.proto.
Dan Willemsen4591b642021-05-24 14:24:12 -0700620func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
621 if x != nil {
622 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800623 }
624 return nil
625}
626
Dan Willemsen4591b642021-05-24 14:24:12 -0700627func (x *MetricsBase) GetBuildConfig() *BuildConfig {
628 if x != nil {
629 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000630 }
631 return nil
632}
633
Dan Willemsen4591b642021-05-24 14:24:12 -0700634func (x *MetricsBase) GetHostname() string {
635 if x != nil && x.Hostname != nil {
636 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000637 }
638 return ""
639}
640
Dan Willemsen4591b642021-05-24 14:24:12 -0700641func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
642 if x != nil {
643 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000644 }
645 return nil
646}
647
Dan Willemsen4591b642021-05-24 14:24:12 -0700648func (x *MetricsBase) GetBuildCommand() string {
649 if x != nil && x.BuildCommand != nil {
650 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700651 }
652 return ""
653}
654
Dan Willemsen4591b642021-05-24 14:24:12 -0700655func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
656 if x != nil {
657 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800658 }
659 return nil
660}
661
David Goldsmith62243a32022-04-08 13:42:04 +0000662func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
663 if x != nil {
664 return x.ExpConfigFetcher
665 }
666 return nil
667}
668
Liz Kammerf2a80c62022-10-21 10:42:35 -0400669func (x *MetricsBase) GetNonZeroExit() bool {
670 if x != nil && x.NonZeroExit != nil {
671 return *x.NonZeroExit
672 }
673 return false
674}
675
676func (x *MetricsBase) GetErrorMessage() string {
677 if x != nil && x.ErrorMessage != nil {
678 return *x.ErrorMessage
679 }
680 return ""
681}
682
MarkDaceka18ba222023-03-07 18:18:19 +0000683func (x *MetricsBase) GetManifestUrl() string {
684 if x != nil && x.ManifestUrl != nil {
685 return *x.ManifestUrl
686 }
687 return ""
688}
689
690func (x *MetricsBase) GetBranch() string {
691 if x != nil && x.Branch != nil {
692 return *x.Branch
693 }
694 return ""
695}
696
Jeongik Cha28c1fe52023-03-07 15:19:44 +0900697func (x *MetricsBase) GetCriticalPathInfo() *CriticalPathInfo {
698 if x != nil {
699 return x.CriticalPathInfo
700 }
701 return nil
702}
703
Jason Wu2520f5e2023-05-30 19:45:36 -0400704func (x *MetricsBase) GetChangedEnvironmentVariable() []string {
705 if x != nil {
706 return x.ChangedEnvironmentVariable
707 }
708 return nil
709}
710
Luca Farsi8ba1fb02024-10-18 14:35:19 -0700711func (x *MetricsBase) GetOptimizedBuildMetrics() *OptimizedBuildMetrics {
712 if x != nil {
713 return x.OptimizedBuildMetrics
714 }
715 return nil
716}
717
Patrice Arruda96850362020-08-11 20:41:11 +0000718type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700719 state protoimpl.MessageState
720 sizeCache protoimpl.SizeCache
721 unknownFields protoimpl.UnknownFields
722
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400723 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
724 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
725 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
726 // Whether the Bazel is acting as the Ninja executor for this build.
727 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
728 // Whether build is occurring in a mixed build mode, where Bazel maintains the
729 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700730 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700731 // These are the targets soong passes to ninja, these targets include special
732 // targets such as droid as well as the regular build targets.
733 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400734 // Whether the user explicitly disabled bazel mixed builds for this build.
735 ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"`
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900736 // NOT_USED - ninja doesn't use weight list.
737 // NINJA_LOG - ninja uses weight list based on previous builds by ninja log
738 // EVENLY_DISTRIBUTED - ninja thinks every task has the same weight.
Jeongik Cha518f3ea2023-03-19 00:12:39 +0900739 // EXTERNAL_FILE - ninja uses an external custom weight list
Jeongik Chae114e602023-03-19 00:12:39 +0900740 // HINT_FROM_SOONG - ninja uses a prioritized module list from Soong
Jeongik Cha8d63d562023-03-17 03:52:13 +0900741 NinjaWeightListSource *BuildConfig_NinjaWeightListSource `protobuf:"varint,8,opt,name=ninja_weight_list_source,json=ninjaWeightListSource,enum=soong_build_metrics.BuildConfig_NinjaWeightListSource,def=0" json:"ninja_weight_list_source,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000742}
743
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900744// Default values for BuildConfig fields.
745const (
Jeongik Cha8d63d562023-03-17 03:52:13 +0900746 Default_BuildConfig_NinjaWeightListSource = BuildConfig_NOT_USED
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900747)
748
Dan Willemsen4591b642021-05-24 14:24:12 -0700749func (x *BuildConfig) Reset() {
750 *x = BuildConfig{}
751 if protoimpl.UnsafeEnabled {
752 mi := &file_metrics_proto_msgTypes[1]
753 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
754 ms.StoreMessageInfo(mi)
755 }
756}
757
758func (x *BuildConfig) String() string {
759 return protoimpl.X.MessageStringOf(x)
760}
761
762func (*BuildConfig) ProtoMessage() {}
763
764func (x *BuildConfig) ProtoReflect() protoreflect.Message {
765 mi := &file_metrics_proto_msgTypes[1]
766 if protoimpl.UnsafeEnabled && x != nil {
767 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
768 if ms.LoadMessageInfo() == nil {
769 ms.StoreMessageInfo(mi)
770 }
771 return ms
772 }
773 return mi.MessageOf(x)
774}
775
776// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000777func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700778 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000779}
780
Dan Willemsen4591b642021-05-24 14:24:12 -0700781func (x *BuildConfig) GetUseGoma() bool {
782 if x != nil && x.UseGoma != nil {
783 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000784 }
785 return false
786}
787
Dan Willemsen4591b642021-05-24 14:24:12 -0700788func (x *BuildConfig) GetUseRbe() bool {
789 if x != nil && x.UseRbe != nil {
790 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000791 }
792 return false
793}
794
Dan Willemsen4591b642021-05-24 14:24:12 -0700795func (x *BuildConfig) GetForceUseGoma() bool {
796 if x != nil && x.ForceUseGoma != nil {
797 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000798 }
799 return false
800}
801
Dan Willemsen4591b642021-05-24 14:24:12 -0700802func (x *BuildConfig) GetBazelAsNinja() bool {
803 if x != nil && x.BazelAsNinja != nil {
804 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400805 }
806 return false
807}
808
Dan Willemsen4591b642021-05-24 14:24:12 -0700809func (x *BuildConfig) GetBazelMixedBuild() bool {
810 if x != nil && x.BazelMixedBuild != nil {
811 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400812 }
813 return false
814}
815
Yu Liue737a992021-10-04 13:21:41 -0700816func (x *BuildConfig) GetTargets() []string {
817 if x != nil {
818 return x.Targets
819 }
820 return nil
821}
822
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400823func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
824 if x != nil && x.ForceDisableBazelMixedBuild != nil {
825 return *x.ForceDisableBazelMixedBuild
826 }
827 return false
828}
829
Jeongik Cha8d63d562023-03-17 03:52:13 +0900830func (x *BuildConfig) GetNinjaWeightListSource() BuildConfig_NinjaWeightListSource {
Jeongik Cha0cf44d52023-03-15 00:10:45 +0900831 if x != nil && x.NinjaWeightListSource != nil {
832 return *x.NinjaWeightListSource
833 }
834 return Default_BuildConfig_NinjaWeightListSource
835}
836
Patrice Arruda3edfd482020-10-13 23:58:41 +0000837type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700838 state protoimpl.MessageState
839 sizeCache protoimpl.SizeCache
840 unknownFields protoimpl.UnknownFields
841
Patrice Arruda3edfd482020-10-13 23:58:41 +0000842 // The total physical memory in bytes.
843 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
844 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700845 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000846}
847
Dan Willemsen4591b642021-05-24 14:24:12 -0700848func (x *SystemResourceInfo) Reset() {
849 *x = SystemResourceInfo{}
850 if protoimpl.UnsafeEnabled {
851 mi := &file_metrics_proto_msgTypes[2]
852 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
853 ms.StoreMessageInfo(mi)
854 }
855}
856
857func (x *SystemResourceInfo) String() string {
858 return protoimpl.X.MessageStringOf(x)
859}
860
861func (*SystemResourceInfo) ProtoMessage() {}
862
863func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
864 mi := &file_metrics_proto_msgTypes[2]
865 if protoimpl.UnsafeEnabled && x != nil {
866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
867 if ms.LoadMessageInfo() == nil {
868 ms.StoreMessageInfo(mi)
869 }
870 return ms
871 }
872 return mi.MessageOf(x)
873}
874
875// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000876func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700877 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000878}
879
Dan Willemsen4591b642021-05-24 14:24:12 -0700880func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
881 if x != nil && x.TotalPhysicalMemory != nil {
882 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000883 }
884 return 0
885}
886
Dan Willemsen4591b642021-05-24 14:24:12 -0700887func (x *SystemResourceInfo) GetAvailableCpus() int32 {
888 if x != nil && x.AvailableCpus != nil {
889 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000890 }
891 return 0
892}
893
Nan Zhang17f27672018-12-12 16:01:49 -0800894type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700895 state protoimpl.MessageState
896 sizeCache protoimpl.SizeCache
897 unknownFields protoimpl.UnknownFields
898
Nan Zhang17f27672018-12-12 16:01:49 -0800899 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700900 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800901 // The name for the running phase/action/part.
902 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
903 // The absolute start time.
904 // The number of nanoseconds elapsed since January 1, 1970 UTC.
905 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
906 // The real running time.
907 // The number of nanoseconds elapsed since start_time.
908 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700909 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700910 //
Jeongik Chae114e602023-03-19 00:12:39 +0900911 // Deprecated: Marked as deprecated in metrics.proto.
Dan Willemsen4591b642021-05-24 14:24:12 -0700912 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700913 // The resource information of each executed process.
914 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400915 // Whether the phase of tool running exited with a panic or non-zero exit
916 // code.
917 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
918 // The error message, if any, due to a non-zero exit.
919 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800920}
921
Dan Willemsen4591b642021-05-24 14:24:12 -0700922func (x *PerfInfo) Reset() {
923 *x = PerfInfo{}
924 if protoimpl.UnsafeEnabled {
925 mi := &file_metrics_proto_msgTypes[3]
926 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
927 ms.StoreMessageInfo(mi)
928 }
929}
930
931func (x *PerfInfo) String() string {
932 return protoimpl.X.MessageStringOf(x)
933}
934
935func (*PerfInfo) ProtoMessage() {}
936
937func (x *PerfInfo) ProtoReflect() protoreflect.Message {
938 mi := &file_metrics_proto_msgTypes[3]
939 if protoimpl.UnsafeEnabled && x != nil {
940 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
941 if ms.LoadMessageInfo() == nil {
942 ms.StoreMessageInfo(mi)
943 }
944 return ms
945 }
946 return mi.MessageOf(x)
947}
948
949// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800950func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700951 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800952}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700953
Yu Liu37c3dd32021-09-30 14:46:18 -0700954func (x *PerfInfo) GetDescription() string {
955 if x != nil && x.Description != nil {
956 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800957 }
958 return ""
959}
960
Dan Willemsen4591b642021-05-24 14:24:12 -0700961func (x *PerfInfo) GetName() string {
962 if x != nil && x.Name != nil {
963 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800964 }
965 return ""
966}
967
Dan Willemsen4591b642021-05-24 14:24:12 -0700968func (x *PerfInfo) GetStartTime() uint64 {
969 if x != nil && x.StartTime != nil {
970 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800971 }
972 return 0
973}
974
Dan Willemsen4591b642021-05-24 14:24:12 -0700975func (x *PerfInfo) GetRealTime() uint64 {
976 if x != nil && x.RealTime != nil {
977 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800978 }
979 return 0
980}
981
Jeongik Chae114e602023-03-19 00:12:39 +0900982// Deprecated: Marked as deprecated in metrics.proto.
Dan Willemsen4591b642021-05-24 14:24:12 -0700983func (x *PerfInfo) GetMemoryUse() uint64 {
984 if x != nil && x.MemoryUse != nil {
985 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800986 }
987 return 0
988}
989
Dan Willemsen4591b642021-05-24 14:24:12 -0700990func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
991 if x != nil {
992 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700993 }
994 return nil
995}
996
Liz Kammerf2a80c62022-10-21 10:42:35 -0400997func (x *PerfInfo) GetNonZeroExit() bool {
998 if x != nil && x.NonZeroExit != nil {
999 return *x.NonZeroExit
1000 }
1001 return false
1002}
1003
1004func (x *PerfInfo) GetErrorMessage() string {
1005 if x != nil && x.ErrorMessage != nil {
1006 return *x.ErrorMessage
1007 }
1008 return ""
1009}
1010
Colin Cross46b0c752023-10-27 14:56:12 -07001011type PerfCounters struct {
1012 state protoimpl.MessageState
1013 sizeCache protoimpl.SizeCache
1014 unknownFields protoimpl.UnknownFields
1015
1016 // The timestamp of these counters in nanoseconds.
1017 Time *uint64 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
1018 // A list of counter names and values.
1019 Groups []*PerfCounterGroup `protobuf:"bytes,2,rep,name=groups" json:"groups,omitempty"`
1020}
1021
1022func (x *PerfCounters) Reset() {
1023 *x = PerfCounters{}
1024 if protoimpl.UnsafeEnabled {
1025 mi := &file_metrics_proto_msgTypes[4]
1026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1027 ms.StoreMessageInfo(mi)
1028 }
1029}
1030
1031func (x *PerfCounters) String() string {
1032 return protoimpl.X.MessageStringOf(x)
1033}
1034
1035func (*PerfCounters) ProtoMessage() {}
1036
1037func (x *PerfCounters) ProtoReflect() protoreflect.Message {
1038 mi := &file_metrics_proto_msgTypes[4]
1039 if protoimpl.UnsafeEnabled && x != nil {
1040 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1041 if ms.LoadMessageInfo() == nil {
1042 ms.StoreMessageInfo(mi)
1043 }
1044 return ms
1045 }
1046 return mi.MessageOf(x)
1047}
1048
1049// Deprecated: Use PerfCounters.ProtoReflect.Descriptor instead.
1050func (*PerfCounters) Descriptor() ([]byte, []int) {
1051 return file_metrics_proto_rawDescGZIP(), []int{4}
1052}
1053
1054func (x *PerfCounters) GetTime() uint64 {
1055 if x != nil && x.Time != nil {
1056 return *x.Time
1057 }
1058 return 0
1059}
1060
1061func (x *PerfCounters) GetGroups() []*PerfCounterGroup {
1062 if x != nil {
1063 return x.Groups
1064 }
1065 return nil
1066}
1067
1068type PerfCounterGroup struct {
1069 state protoimpl.MessageState
1070 sizeCache protoimpl.SizeCache
1071 unknownFields protoimpl.UnknownFields
1072
1073 // The name of this counter group (e.g. "cpu" or "memory")
1074 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1075 // The counters in this group
1076 Counters []*PerfCounter `protobuf:"bytes,2,rep,name=counters" json:"counters,omitempty"`
1077}
1078
1079func (x *PerfCounterGroup) Reset() {
1080 *x = PerfCounterGroup{}
1081 if protoimpl.UnsafeEnabled {
1082 mi := &file_metrics_proto_msgTypes[5]
1083 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1084 ms.StoreMessageInfo(mi)
1085 }
1086}
1087
1088func (x *PerfCounterGroup) String() string {
1089 return protoimpl.X.MessageStringOf(x)
1090}
1091
1092func (*PerfCounterGroup) ProtoMessage() {}
1093
1094func (x *PerfCounterGroup) ProtoReflect() protoreflect.Message {
1095 mi := &file_metrics_proto_msgTypes[5]
1096 if protoimpl.UnsafeEnabled && x != nil {
1097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1098 if ms.LoadMessageInfo() == nil {
1099 ms.StoreMessageInfo(mi)
1100 }
1101 return ms
1102 }
1103 return mi.MessageOf(x)
1104}
1105
1106// Deprecated: Use PerfCounterGroup.ProtoReflect.Descriptor instead.
1107func (*PerfCounterGroup) Descriptor() ([]byte, []int) {
1108 return file_metrics_proto_rawDescGZIP(), []int{5}
1109}
1110
1111func (x *PerfCounterGroup) GetName() string {
1112 if x != nil && x.Name != nil {
1113 return *x.Name
1114 }
1115 return ""
1116}
1117
1118func (x *PerfCounterGroup) GetCounters() []*PerfCounter {
1119 if x != nil {
1120 return x.Counters
1121 }
1122 return nil
1123}
1124
1125type PerfCounter struct {
1126 state protoimpl.MessageState
1127 sizeCache protoimpl.SizeCache
1128 unknownFields protoimpl.UnknownFields
1129
1130 // The name of this counter.
1131 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1132 // The value of this counter.
1133 Value *int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
1134}
1135
1136func (x *PerfCounter) Reset() {
1137 *x = PerfCounter{}
1138 if protoimpl.UnsafeEnabled {
1139 mi := &file_metrics_proto_msgTypes[6]
1140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1141 ms.StoreMessageInfo(mi)
1142 }
1143}
1144
1145func (x *PerfCounter) String() string {
1146 return protoimpl.X.MessageStringOf(x)
1147}
1148
1149func (*PerfCounter) ProtoMessage() {}
1150
1151func (x *PerfCounter) ProtoReflect() protoreflect.Message {
1152 mi := &file_metrics_proto_msgTypes[6]
1153 if protoimpl.UnsafeEnabled && x != nil {
1154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1155 if ms.LoadMessageInfo() == nil {
1156 ms.StoreMessageInfo(mi)
1157 }
1158 return ms
1159 }
1160 return mi.MessageOf(x)
1161}
1162
1163// Deprecated: Use PerfCounter.ProtoReflect.Descriptor instead.
1164func (*PerfCounter) Descriptor() ([]byte, []int) {
1165 return file_metrics_proto_rawDescGZIP(), []int{6}
1166}
1167
1168func (x *PerfCounter) GetName() string {
1169 if x != nil && x.Name != nil {
1170 return *x.Name
1171 }
1172 return ""
1173}
1174
1175func (x *PerfCounter) GetValue() int64 {
1176 if x != nil && x.Value != nil {
1177 return *x.Value
1178 }
1179 return 0
1180}
1181
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001182type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001183 state protoimpl.MessageState
1184 sizeCache protoimpl.SizeCache
1185 unknownFields protoimpl.UnknownFields
1186
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001187 // The name of the process for identification.
1188 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1189 // The amount of time spent executing in user space in microseconds.
1190 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
1191 // The amount of time spent executing in kernel mode in microseconds.
1192 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
1193 // The maximum resident set size memory used in kilobytes.
1194 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
1195 // The number of minor page faults serviced without any I/O activity.
1196 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
1197 // The number of major page faults serviced that required I/O activity.
1198 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
1199 // Total IO input in kilobytes.
1200 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
1201 // Total IO output in kilobytes.
1202 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
1203 // The number of voluntary context switches
1204 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
1205 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -07001206 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001207}
1208
Dan Willemsen4591b642021-05-24 14:24:12 -07001209func (x *ProcessResourceInfo) Reset() {
1210 *x = ProcessResourceInfo{}
1211 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001212 mi := &file_metrics_proto_msgTypes[7]
Dan Willemsen4591b642021-05-24 14:24:12 -07001213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1214 ms.StoreMessageInfo(mi)
1215 }
1216}
1217
1218func (x *ProcessResourceInfo) String() string {
1219 return protoimpl.X.MessageStringOf(x)
1220}
1221
1222func (*ProcessResourceInfo) ProtoMessage() {}
1223
1224func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001225 mi := &file_metrics_proto_msgTypes[7]
Dan Willemsen4591b642021-05-24 14:24:12 -07001226 if protoimpl.UnsafeEnabled && x != nil {
1227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1228 if ms.LoadMessageInfo() == nil {
1229 ms.StoreMessageInfo(mi)
1230 }
1231 return ms
1232 }
1233 return mi.MessageOf(x)
1234}
1235
1236// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001237func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001238 return file_metrics_proto_rawDescGZIP(), []int{7}
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001239}
1240
Dan Willemsen4591b642021-05-24 14:24:12 -07001241func (x *ProcessResourceInfo) GetName() string {
1242 if x != nil && x.Name != nil {
1243 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001244 }
1245 return ""
1246}
1247
Dan Willemsen4591b642021-05-24 14:24:12 -07001248func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
1249 if x != nil && x.UserTimeMicros != nil {
1250 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001251 }
1252 return 0
1253}
1254
Dan Willemsen4591b642021-05-24 14:24:12 -07001255func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
1256 if x != nil && x.SystemTimeMicros != nil {
1257 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001258 }
1259 return 0
1260}
1261
Dan Willemsen4591b642021-05-24 14:24:12 -07001262func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
1263 if x != nil && x.MaxRssKb != nil {
1264 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001265 }
1266 return 0
1267}
1268
Dan Willemsen4591b642021-05-24 14:24:12 -07001269func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
1270 if x != nil && x.MinorPageFaults != nil {
1271 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001272 }
1273 return 0
1274}
1275
Dan Willemsen4591b642021-05-24 14:24:12 -07001276func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
1277 if x != nil && x.MajorPageFaults != nil {
1278 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001279 }
1280 return 0
1281}
1282
Dan Willemsen4591b642021-05-24 14:24:12 -07001283func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
1284 if x != nil && x.IoInputKb != nil {
1285 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001286 }
1287 return 0
1288}
1289
Dan Willemsen4591b642021-05-24 14:24:12 -07001290func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
1291 if x != nil && x.IoOutputKb != nil {
1292 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001293 }
1294 return 0
1295}
1296
Dan Willemsen4591b642021-05-24 14:24:12 -07001297func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
1298 if x != nil && x.VoluntaryContextSwitches != nil {
1299 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001300 }
1301 return 0
1302}
1303
Dan Willemsen4591b642021-05-24 14:24:12 -07001304func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1305 if x != nil && x.InvoluntaryContextSwitches != nil {
1306 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001307 }
1308 return 0
1309}
1310
Nan Zhang17f27672018-12-12 16:01:49 -08001311type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001312 state protoimpl.MessageState
1313 sizeCache protoimpl.SizeCache
1314 unknownFields protoimpl.UnknownFields
1315
MarkDacekff851b82022-04-21 18:33:17 +00001316 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001317 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 +00001318 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001319 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1320 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001321 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001322}
1323
Dan Willemsen4591b642021-05-24 14:24:12 -07001324// Default values for ModuleTypeInfo fields.
1325const (
1326 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1327)
1328
1329func (x *ModuleTypeInfo) Reset() {
1330 *x = ModuleTypeInfo{}
1331 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001332 mi := &file_metrics_proto_msgTypes[8]
Dan Willemsen4591b642021-05-24 14:24:12 -07001333 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1334 ms.StoreMessageInfo(mi)
1335 }
1336}
1337
1338func (x *ModuleTypeInfo) String() string {
1339 return protoimpl.X.MessageStringOf(x)
1340}
1341
1342func (*ModuleTypeInfo) ProtoMessage() {}
1343
1344func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001345 mi := &file_metrics_proto_msgTypes[8]
Dan Willemsen4591b642021-05-24 14:24:12 -07001346 if protoimpl.UnsafeEnabled && x != nil {
1347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1348 if ms.LoadMessageInfo() == nil {
1349 ms.StoreMessageInfo(mi)
1350 }
1351 return ms
1352 }
1353 return mi.MessageOf(x)
1354}
1355
1356// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001357func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001358 return file_metrics_proto_rawDescGZIP(), []int{8}
Nan Zhang17f27672018-12-12 16:01:49 -08001359}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001360
Dan Willemsen4591b642021-05-24 14:24:12 -07001361func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1362 if x != nil && x.BuildSystem != nil {
1363 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001364 }
1365 return Default_ModuleTypeInfo_BuildSystem
1366}
1367
Dan Willemsen4591b642021-05-24 14:24:12 -07001368func (x *ModuleTypeInfo) GetModuleType() string {
1369 if x != nil && x.ModuleType != nil {
1370 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001371 }
1372 return ""
1373}
1374
Dan Willemsen4591b642021-05-24 14:24:12 -07001375func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1376 if x != nil && x.NumOfModules != nil {
1377 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001378 }
1379 return 0
1380}
1381
Colin Crossd0be2102019-11-26 16:16:57 -08001382type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001383 state protoimpl.MessageState
1384 sizeCache protoimpl.SizeCache
1385 unknownFields protoimpl.UnknownFields
1386
Colin Crossd0be2102019-11-26 16:16:57 -08001387 // The name of a critical user journey test.
1388 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1389 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001390 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001391}
1392
Dan Willemsen4591b642021-05-24 14:24:12 -07001393func (x *CriticalUserJourneyMetrics) Reset() {
1394 *x = CriticalUserJourneyMetrics{}
1395 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001396 mi := &file_metrics_proto_msgTypes[9]
Dan Willemsen4591b642021-05-24 14:24:12 -07001397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1398 ms.StoreMessageInfo(mi)
1399 }
1400}
1401
1402func (x *CriticalUserJourneyMetrics) String() string {
1403 return protoimpl.X.MessageStringOf(x)
1404}
1405
1406func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1407
1408func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001409 mi := &file_metrics_proto_msgTypes[9]
Dan Willemsen4591b642021-05-24 14:24:12 -07001410 if protoimpl.UnsafeEnabled && x != nil {
1411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1412 if ms.LoadMessageInfo() == nil {
1413 ms.StoreMessageInfo(mi)
1414 }
1415 return ms
1416 }
1417 return mi.MessageOf(x)
1418}
1419
1420// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001421func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001422 return file_metrics_proto_rawDescGZIP(), []int{9}
Colin Crossd0be2102019-11-26 16:16:57 -08001423}
1424
Dan Willemsen4591b642021-05-24 14:24:12 -07001425func (x *CriticalUserJourneyMetrics) GetName() string {
1426 if x != nil && x.Name != nil {
1427 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001428 }
1429 return ""
1430}
1431
Dan Willemsen4591b642021-05-24 14:24:12 -07001432func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1433 if x != nil {
1434 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001435 }
1436 return nil
1437}
1438
1439type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001440 state protoimpl.MessageState
1441 sizeCache protoimpl.SizeCache
1442 unknownFields protoimpl.UnknownFields
1443
Colin Crossd0be2102019-11-26 16:16:57 -08001444 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001445 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001446}
1447
Dan Willemsen4591b642021-05-24 14:24:12 -07001448func (x *CriticalUserJourneysMetrics) Reset() {
1449 *x = CriticalUserJourneysMetrics{}
1450 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001451 mi := &file_metrics_proto_msgTypes[10]
Dan Willemsen4591b642021-05-24 14:24:12 -07001452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1453 ms.StoreMessageInfo(mi)
1454 }
1455}
1456
1457func (x *CriticalUserJourneysMetrics) String() string {
1458 return protoimpl.X.MessageStringOf(x)
1459}
1460
1461func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1462
1463func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001464 mi := &file_metrics_proto_msgTypes[10]
Dan Willemsen4591b642021-05-24 14:24:12 -07001465 if protoimpl.UnsafeEnabled && x != nil {
1466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1467 if ms.LoadMessageInfo() == nil {
1468 ms.StoreMessageInfo(mi)
1469 }
1470 return ms
1471 }
1472 return mi.MessageOf(x)
1473}
1474
1475// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001476func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001477 return file_metrics_proto_rawDescGZIP(), []int{10}
Colin Crossd0be2102019-11-26 16:16:57 -08001478}
1479
Dan Willemsen4591b642021-05-24 14:24:12 -07001480func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1481 if x != nil {
1482 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001483 }
1484 return nil
1485}
1486
Colin Crossb72c9092020-02-10 11:23:49 -08001487type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001488 state protoimpl.MessageState
1489 sizeCache protoimpl.SizeCache
1490 unknownFields protoimpl.UnknownFields
1491
Colin Crossb72c9092020-02-10 11:23:49 -08001492 // The number of modules handled by soong_build.
1493 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1494 // The total number of variants handled by soong_build.
1495 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1496 // The total number of allocations in soong_build.
1497 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1498 // The total size of allocations in soong_build in bytes.
1499 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1500 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001501 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001502 // Runtime metrics for soong_build execution.
1503 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001504 // Mixed Builds information
1505 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Cross46b0c752023-10-27 14:56:12 -07001506 // Performance during for soong_build execution.
1507 PerfCounters []*PerfCounters `protobuf:"bytes,8,rep,name=perf_counters,json=perfCounters" json:"perf_counters,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001508}
1509
Dan Willemsen4591b642021-05-24 14:24:12 -07001510func (x *SoongBuildMetrics) Reset() {
1511 *x = SoongBuildMetrics{}
1512 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001513 mi := &file_metrics_proto_msgTypes[11]
Dan Willemsen4591b642021-05-24 14:24:12 -07001514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1515 ms.StoreMessageInfo(mi)
1516 }
1517}
1518
1519func (x *SoongBuildMetrics) String() string {
1520 return protoimpl.X.MessageStringOf(x)
1521}
1522
1523func (*SoongBuildMetrics) ProtoMessage() {}
1524
1525func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001526 mi := &file_metrics_proto_msgTypes[11]
Dan Willemsen4591b642021-05-24 14:24:12 -07001527 if protoimpl.UnsafeEnabled && x != nil {
1528 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1529 if ms.LoadMessageInfo() == nil {
1530 ms.StoreMessageInfo(mi)
1531 }
1532 return ms
1533 }
1534 return mi.MessageOf(x)
1535}
1536
1537// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001538func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001539 return file_metrics_proto_rawDescGZIP(), []int{11}
Colin Crossb72c9092020-02-10 11:23:49 -08001540}
1541
Dan Willemsen4591b642021-05-24 14:24:12 -07001542func (x *SoongBuildMetrics) GetModules() uint32 {
1543 if x != nil && x.Modules != nil {
1544 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001545 }
1546 return 0
1547}
1548
Dan Willemsen4591b642021-05-24 14:24:12 -07001549func (x *SoongBuildMetrics) GetVariants() uint32 {
1550 if x != nil && x.Variants != nil {
1551 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001552 }
1553 return 0
1554}
1555
Dan Willemsen4591b642021-05-24 14:24:12 -07001556func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1557 if x != nil && x.TotalAllocCount != nil {
1558 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001559 }
1560 return 0
1561}
1562
Dan Willemsen4591b642021-05-24 14:24:12 -07001563func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1564 if x != nil && x.TotalAllocSize != nil {
1565 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001566 }
1567 return 0
1568}
1569
Dan Willemsen4591b642021-05-24 14:24:12 -07001570func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1571 if x != nil && x.MaxHeapSize != nil {
1572 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001573 }
1574 return 0
1575}
1576
Chris Parsons715b08f2022-03-22 19:23:40 -04001577func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1578 if x != nil {
1579 return x.Events
1580 }
1581 return nil
1582}
1583
MarkDacekff851b82022-04-21 18:33:17 +00001584func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1585 if x != nil {
1586 return x.MixedBuildsInfo
1587 }
1588 return nil
1589}
1590
Colin Cross46b0c752023-10-27 14:56:12 -07001591func (x *SoongBuildMetrics) GetPerfCounters() []*PerfCounters {
1592 if x != nil {
1593 return x.PerfCounters
1594 }
1595 return nil
1596}
1597
David Goldsmith62243a32022-04-08 13:42:04 +00001598type ExpConfigFetcher struct {
1599 state protoimpl.MessageState
1600 sizeCache protoimpl.SizeCache
1601 unknownFields protoimpl.UnknownFields
1602
1603 // The result of the call to expconfigfetcher
1604 // NO_CONFIG - Not part of experiment
1605 // CONFIG - Part of experiment, config copied successfully
1606 // ERROR - expconfigfetcher failed
1607 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1608 // The output config filename
1609 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1610 // Time, in microseconds, taken by the expconfigfetcher
1611 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1612}
1613
1614func (x *ExpConfigFetcher) Reset() {
1615 *x = ExpConfigFetcher{}
1616 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001617 mi := &file_metrics_proto_msgTypes[12]
David Goldsmith62243a32022-04-08 13:42:04 +00001618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1619 ms.StoreMessageInfo(mi)
1620 }
1621}
1622
1623func (x *ExpConfigFetcher) String() string {
1624 return protoimpl.X.MessageStringOf(x)
1625}
1626
1627func (*ExpConfigFetcher) ProtoMessage() {}
1628
1629func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001630 mi := &file_metrics_proto_msgTypes[12]
David Goldsmith62243a32022-04-08 13:42:04 +00001631 if protoimpl.UnsafeEnabled && x != nil {
1632 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1633 if ms.LoadMessageInfo() == nil {
1634 ms.StoreMessageInfo(mi)
1635 }
1636 return ms
1637 }
1638 return mi.MessageOf(x)
1639}
1640
1641// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1642func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001643 return file_metrics_proto_rawDescGZIP(), []int{12}
David Goldsmith62243a32022-04-08 13:42:04 +00001644}
1645
1646func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1647 if x != nil && x.Status != nil {
1648 return *x.Status
1649 }
1650 return ExpConfigFetcher_NO_CONFIG
1651}
1652
1653func (x *ExpConfigFetcher) GetFilename() string {
1654 if x != nil && x.Filename != nil {
1655 return *x.Filename
1656 }
1657 return ""
1658}
1659
1660func (x *ExpConfigFetcher) GetMicros() uint64 {
1661 if x != nil && x.Micros != nil {
1662 return *x.Micros
1663 }
1664 return 0
1665}
1666
MarkDacekff851b82022-04-21 18:33:17 +00001667type MixedBuildsInfo struct {
1668 state protoimpl.MessageState
1669 sizeCache protoimpl.SizeCache
1670 unknownFields protoimpl.UnknownFields
1671
1672 // Modules that are enabled for Mixed Builds.
1673 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 +00001674 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001675 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1676}
1677
1678func (x *MixedBuildsInfo) Reset() {
1679 *x = MixedBuildsInfo{}
1680 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001681 mi := &file_metrics_proto_msgTypes[13]
MarkDacekff851b82022-04-21 18:33:17 +00001682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1683 ms.StoreMessageInfo(mi)
1684 }
1685}
1686
1687func (x *MixedBuildsInfo) String() string {
1688 return protoimpl.X.MessageStringOf(x)
1689}
1690
1691func (*MixedBuildsInfo) ProtoMessage() {}
1692
1693func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001694 mi := &file_metrics_proto_msgTypes[13]
MarkDacekff851b82022-04-21 18:33:17 +00001695 if protoimpl.UnsafeEnabled && x != nil {
1696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1697 if ms.LoadMessageInfo() == nil {
1698 ms.StoreMessageInfo(mi)
1699 }
1700 return ms
1701 }
1702 return mi.MessageOf(x)
1703}
1704
1705// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1706func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001707 return file_metrics_proto_rawDescGZIP(), []int{13}
MarkDacekff851b82022-04-21 18:33:17 +00001708}
1709
1710func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1711 if x != nil {
1712 return x.MixedBuildEnabledModules
1713 }
1714 return nil
1715}
1716
1717func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1718 if x != nil {
1719 return x.MixedBuildDisabledModules
1720 }
1721 return nil
1722}
1723
Jeongik Chacf833772023-03-15 12:54:14 +09001724// CriticalPathInfo contains critical path nodes's information.
1725// 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 +09001726type CriticalPathInfo struct {
1727 state protoimpl.MessageState
1728 sizeCache protoimpl.SizeCache
1729 unknownFields protoimpl.UnknownFields
1730
Jeongik Cha767ce712023-03-15 23:20:00 +09001731 // Real time which the build system spent in microseconds
1732 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
1733 // The sum of execution time of the longest path from leave to the root in microseconds
1734 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 +09001735 // Detailed job information in a critical path.
1736 CriticalPath []*JobInfo `protobuf:"bytes,4,rep,name=critical_path,json=criticalPath" json:"critical_path,omitempty"`
Jeongik Cha4199d472023-03-15 10:47:35 +09001737 // Detailed job information for long running jobs (>30 seconds). These may or may not also be on a critical path.
1738 LongRunningJobs []*JobInfo `protobuf:"bytes,5,rep,name=long_running_jobs,json=longRunningJobs" json:"long_running_jobs,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001739}
1740
1741func (x *CriticalPathInfo) Reset() {
1742 *x = CriticalPathInfo{}
1743 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001744 mi := &file_metrics_proto_msgTypes[14]
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1746 ms.StoreMessageInfo(mi)
1747 }
1748}
1749
1750func (x *CriticalPathInfo) String() string {
1751 return protoimpl.X.MessageStringOf(x)
1752}
1753
1754func (*CriticalPathInfo) ProtoMessage() {}
1755
1756func (x *CriticalPathInfo) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001757 mi := &file_metrics_proto_msgTypes[14]
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001758 if protoimpl.UnsafeEnabled && x != nil {
1759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1760 if ms.LoadMessageInfo() == nil {
1761 ms.StoreMessageInfo(mi)
1762 }
1763 return ms
1764 }
1765 return mi.MessageOf(x)
1766}
1767
1768// Deprecated: Use CriticalPathInfo.ProtoReflect.Descriptor instead.
1769func (*CriticalPathInfo) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001770 return file_metrics_proto_rawDescGZIP(), []int{14}
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001771}
1772
Jeongik Cha767ce712023-03-15 23:20:00 +09001773func (x *CriticalPathInfo) GetElapsedTimeMicros() uint64 {
1774 if x != nil && x.ElapsedTimeMicros != nil {
1775 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001776 }
1777 return 0
1778}
1779
Jeongik Cha767ce712023-03-15 23:20:00 +09001780func (x *CriticalPathInfo) GetCriticalPathTimeMicros() uint64 {
1781 if x != nil && x.CriticalPathTimeMicros != nil {
1782 return *x.CriticalPathTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001783 }
1784 return 0
1785}
1786
1787func (x *CriticalPathInfo) GetCriticalPath() []*JobInfo {
1788 if x != nil {
1789 return x.CriticalPath
1790 }
1791 return nil
1792}
1793
Jeongik Cha4199d472023-03-15 10:47:35 +09001794func (x *CriticalPathInfo) GetLongRunningJobs() []*JobInfo {
1795 if x != nil {
1796 return x.LongRunningJobs
1797 }
1798 return nil
1799}
1800
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001801type JobInfo struct {
1802 state protoimpl.MessageState
1803 sizeCache protoimpl.SizeCache
1804 unknownFields protoimpl.UnknownFields
1805
Jeongik Cha767ce712023-03-15 23:20:00 +09001806 // Real time which a job spent in microseconds
1807 ElapsedTimeMicros *uint64 `protobuf:"varint,1,opt,name=elapsed_time_micros,json=elapsedTimeMicros" json:"elapsed_time_micros,omitempty"`
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001808 // Description of a job
1809 JobDescription *string `protobuf:"bytes,2,opt,name=job_description,json=jobDescription" json:"job_description,omitempty"`
1810}
1811
1812func (x *JobInfo) Reset() {
1813 *x = JobInfo{}
1814 if protoimpl.UnsafeEnabled {
Colin Cross46b0c752023-10-27 14:56:12 -07001815 mi := &file_metrics_proto_msgTypes[15]
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001816 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1817 ms.StoreMessageInfo(mi)
1818 }
1819}
1820
1821func (x *JobInfo) String() string {
1822 return protoimpl.X.MessageStringOf(x)
1823}
1824
1825func (*JobInfo) ProtoMessage() {}
1826
1827func (x *JobInfo) ProtoReflect() protoreflect.Message {
Colin Cross46b0c752023-10-27 14:56:12 -07001828 mi := &file_metrics_proto_msgTypes[15]
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001829 if protoimpl.UnsafeEnabled && x != nil {
1830 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1831 if ms.LoadMessageInfo() == nil {
1832 ms.StoreMessageInfo(mi)
1833 }
1834 return ms
1835 }
1836 return mi.MessageOf(x)
1837}
1838
1839// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
1840func (*JobInfo) Descriptor() ([]byte, []int) {
Colin Cross46b0c752023-10-27 14:56:12 -07001841 return file_metrics_proto_rawDescGZIP(), []int{15}
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001842}
1843
Jeongik Cha767ce712023-03-15 23:20:00 +09001844func (x *JobInfo) GetElapsedTimeMicros() uint64 {
1845 if x != nil && x.ElapsedTimeMicros != nil {
1846 return *x.ElapsedTimeMicros
Jeongik Cha28c1fe52023-03-07 15:19:44 +09001847 }
1848 return 0
1849}
1850
1851func (x *JobInfo) GetJobDescription() string {
1852 if x != nil && x.JobDescription != nil {
1853 return *x.JobDescription
1854 }
1855 return ""
1856}
1857
Luca Farsi8ba1fb02024-10-18 14:35:19 -07001858type OptimizedBuildMetrics struct {
1859 state protoimpl.MessageState
1860 sizeCache protoimpl.SizeCache
1861 unknownFields protoimpl.UnknownFields
1862
1863 // The total time spent analyzing what/how to optimize everything.
1864 AnalysisPerf *PerfInfo `protobuf:"bytes,1,opt,name=analysis_perf,json=analysisPerf" json:"analysis_perf,omitempty"`
1865 // The total time spent packaging artifacts.
1866 PackagingPerf *PerfInfo `protobuf:"bytes,2,opt,name=packaging_perf,json=packagingPerf" json:"packaging_perf,omitempty"`
1867 // Information for a single target (e.g. general-tests).
1868 TargetResult []*OptimizedBuildMetrics_TargetOptimizationResult `protobuf:"bytes,3,rep,name=target_result,json=targetResult" json:"target_result,omitempty"`
1869}
1870
1871func (x *OptimizedBuildMetrics) Reset() {
1872 *x = OptimizedBuildMetrics{}
1873 if protoimpl.UnsafeEnabled {
1874 mi := &file_metrics_proto_msgTypes[16]
1875 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1876 ms.StoreMessageInfo(mi)
1877 }
1878}
1879
1880func (x *OptimizedBuildMetrics) String() string {
1881 return protoimpl.X.MessageStringOf(x)
1882}
1883
1884func (*OptimizedBuildMetrics) ProtoMessage() {}
1885
1886func (x *OptimizedBuildMetrics) ProtoReflect() protoreflect.Message {
1887 mi := &file_metrics_proto_msgTypes[16]
1888 if protoimpl.UnsafeEnabled && x != nil {
1889 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1890 if ms.LoadMessageInfo() == nil {
1891 ms.StoreMessageInfo(mi)
1892 }
1893 return ms
1894 }
1895 return mi.MessageOf(x)
1896}
1897
1898// Deprecated: Use OptimizedBuildMetrics.ProtoReflect.Descriptor instead.
1899func (*OptimizedBuildMetrics) Descriptor() ([]byte, []int) {
1900 return file_metrics_proto_rawDescGZIP(), []int{16}
1901}
1902
1903func (x *OptimizedBuildMetrics) GetAnalysisPerf() *PerfInfo {
1904 if x != nil {
1905 return x.AnalysisPerf
1906 }
1907 return nil
1908}
1909
1910func (x *OptimizedBuildMetrics) GetPackagingPerf() *PerfInfo {
1911 if x != nil {
1912 return x.PackagingPerf
1913 }
1914 return nil
1915}
1916
1917func (x *OptimizedBuildMetrics) GetTargetResult() []*OptimizedBuildMetrics_TargetOptimizationResult {
1918 if x != nil {
1919 return x.TargetResult
1920 }
1921 return nil
1922}
1923
1924type OptimizedBuildMetrics_TargetOptimizationResult struct {
1925 state protoimpl.MessageState
1926 sizeCache protoimpl.SizeCache
1927 unknownFields protoimpl.UnknownFields
1928
1929 // Target name (e.g. general-tests).
1930 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1931 // Whether or not this target was optimized.
1932 Optimized *bool `protobuf:"varint,2,opt,name=optimized" json:"optimized,omitempty"`
1933 // Reasoning for why the target wasn't optimized if it wasn't
1934 OptimizationRationale *string `protobuf:"bytes,3,opt,name=optimization_rationale,json=optimizationRationale" json:"optimization_rationale,omitempty"`
1935 // Time spent packaging this specific target (if it was optimized).
1936 PackagingPerf *PerfInfo `protobuf:"bytes,4,opt,name=packaging_perf,json=packagingPerf" json:"packaging_perf,omitempty"`
1937 // Information for each different artifact produced by this target (if it
1938 // was optimized).
1939 OutputArtifact []*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact `protobuf:"bytes,5,rep,name=output_artifact,json=outputArtifact" json:"output_artifact,omitempty"`
1940}
1941
1942func (x *OptimizedBuildMetrics_TargetOptimizationResult) Reset() {
1943 *x = OptimizedBuildMetrics_TargetOptimizationResult{}
1944 if protoimpl.UnsafeEnabled {
1945 mi := &file_metrics_proto_msgTypes[17]
1946 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1947 ms.StoreMessageInfo(mi)
1948 }
1949}
1950
1951func (x *OptimizedBuildMetrics_TargetOptimizationResult) String() string {
1952 return protoimpl.X.MessageStringOf(x)
1953}
1954
1955func (*OptimizedBuildMetrics_TargetOptimizationResult) ProtoMessage() {}
1956
1957func (x *OptimizedBuildMetrics_TargetOptimizationResult) ProtoReflect() protoreflect.Message {
1958 mi := &file_metrics_proto_msgTypes[17]
1959 if protoimpl.UnsafeEnabled && x != nil {
1960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1961 if ms.LoadMessageInfo() == nil {
1962 ms.StoreMessageInfo(mi)
1963 }
1964 return ms
1965 }
1966 return mi.MessageOf(x)
1967}
1968
1969// Deprecated: Use OptimizedBuildMetrics_TargetOptimizationResult.ProtoReflect.Descriptor instead.
1970func (*OptimizedBuildMetrics_TargetOptimizationResult) Descriptor() ([]byte, []int) {
1971 return file_metrics_proto_rawDescGZIP(), []int{16, 0}
1972}
1973
1974func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetName() string {
1975 if x != nil && x.Name != nil {
1976 return *x.Name
1977 }
1978 return ""
1979}
1980
1981func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetOptimized() bool {
1982 if x != nil && x.Optimized != nil {
1983 return *x.Optimized
1984 }
1985 return false
1986}
1987
1988func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetOptimizationRationale() string {
1989 if x != nil && x.OptimizationRationale != nil {
1990 return *x.OptimizationRationale
1991 }
1992 return ""
1993}
1994
1995func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetPackagingPerf() *PerfInfo {
1996 if x != nil {
1997 return x.PackagingPerf
1998 }
1999 return nil
2000}
2001
2002func (x *OptimizedBuildMetrics_TargetOptimizationResult) GetOutputArtifact() []*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact {
2003 if x != nil {
2004 return x.OutputArtifact
2005 }
2006 return nil
2007}
2008
2009type OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact struct {
2010 state protoimpl.MessageState
2011 sizeCache protoimpl.SizeCache
2012 unknownFields protoimpl.UnknownFields
2013
2014 // Artifact file name (e.g. general-tests.zip)
2015 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
2016 // Size of the file.
2017 Size *int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
2018 // Lists of modules packaged into this artifact.
2019 IncludedModules []string `protobuf:"bytes,3,rep,name=included_modules,json=includedModules" json:"included_modules,omitempty"`
2020}
2021
2022func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) Reset() {
2023 *x = OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact{}
2024 if protoimpl.UnsafeEnabled {
2025 mi := &file_metrics_proto_msgTypes[18]
2026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2027 ms.StoreMessageInfo(mi)
2028 }
2029}
2030
2031func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) String() string {
2032 return protoimpl.X.MessageStringOf(x)
2033}
2034
2035func (*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) ProtoMessage() {}
2036
2037func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) ProtoReflect() protoreflect.Message {
2038 mi := &file_metrics_proto_msgTypes[18]
2039 if protoimpl.UnsafeEnabled && x != nil {
2040 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2041 if ms.LoadMessageInfo() == nil {
2042 ms.StoreMessageInfo(mi)
2043 }
2044 return ms
2045 }
2046 return mi.MessageOf(x)
2047}
2048
2049// Deprecated: Use OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact.ProtoReflect.Descriptor instead.
2050func (*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) Descriptor() ([]byte, []int) {
2051 return file_metrics_proto_rawDescGZIP(), []int{16, 0, 0}
2052}
2053
2054func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) GetName() string {
2055 if x != nil && x.Name != nil {
2056 return *x.Name
2057 }
2058 return ""
2059}
2060
2061func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) GetSize() int64 {
2062 if x != nil && x.Size != nil {
2063 return *x.Size
2064 }
2065 return 0
2066}
2067
2068func (x *OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact) GetIncludedModules() []string {
2069 if x != nil {
2070 return x.IncludedModules
2071 }
2072 return nil
2073}
2074
Dan Willemsen4591b642021-05-24 14:24:12 -07002075var File_metrics_proto protoreflect.FileDescriptor
2076
2077var file_metrics_proto_rawDesc = []byte{
2078 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
2079 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002080 0x72, 0x69, 0x63, 0x73, 0x22, 0xb0, 0x10, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07002081 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
2082 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
2083 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
2084 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
2085 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
2086 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
2087 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
2088 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
2089 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
2090 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
2091 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
2092 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
2093 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
2094 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
2095 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
2096 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
2097 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
2098 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
2099 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
2100 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
2101 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
2102 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
2103 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
2104 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
2105 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
2106 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
2107 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
2108 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
2109 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
2110 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
2111 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
2112 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
2113 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
2114 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
2115 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
2116 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
2117 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
2118 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
2119 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
2120 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
2121 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
2122 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
2123 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
2124 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
2125 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
2126 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
2127 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
2128 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
2129 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
2130 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
2131 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
2132 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
2133 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
2134 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
2135 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
2136 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
2137 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
2138 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
2139 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
2140 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
2141 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
2142 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
2143 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
2144 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
2145 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
2146 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
2147 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
2148 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
2149 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
2150 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05002151 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07002152 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
2153 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
2154 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05002155 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
2156 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
2157 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
2158 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
2159 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
2160 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
2161 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
2162 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
2163 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
2164 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
2165 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
2166 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
2167 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
2168 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
2169 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
2170 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
2171 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
2172 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
2173 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
2174 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
2175 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
2176 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
2177 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
2178 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
2179 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
2180 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
2181 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
2182 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
2183 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
2184 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
MarkDaceka18ba222023-03-07 18:18:19 +00002185 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,
2186 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
2187 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20,
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002188 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x53, 0x0a, 0x12,
2189 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x6e,
2190 0x66, 0x6f, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
2191 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43,
2192 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52,
2193 0x10, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66,
Jason Wu2520f5e2023-05-30 19:45:36 -04002194 0x6f, 0x12, 0x40, 0x0a, 0x1c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x76,
2195 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c,
2196 0x65, 0x18, 0x22, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,
2197 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61,
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002198 0x62, 0x6c, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64,
2199 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x23,
2200 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
2201 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d,
2202 0x69, 0x7a, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
2203 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64,
2204 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64,
2205 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10,
2206 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01,
2207 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63,
2208 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07,
2209 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34,
2210 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58,
2211 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x04, 0x22, 0x8a, 0x04, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c,
2212 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67,
2213 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f,
2214 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20,
2215 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66,
2216 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20,
2217 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d,
2218 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69,
2219 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c,
2220 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c,
2221 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01,
2222 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
2223 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06,
2224 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a,
2225 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62,
2226 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
2227 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73,
2228 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
2229 0x69, 0x6c, 0x64, 0x12, 0x79, 0x0a, 0x18, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x77, 0x65, 0x69,
2230 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
2231 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
2232 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c,
2233 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69,
2234 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, 0x4e,
2235 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x44, 0x52, 0x15, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65,
2236 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x74,
2237 0x0a, 0x15, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x73,
2238 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x55,
2239 0x53, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x49, 0x4e, 0x4a, 0x41, 0x5f, 0x4c,
2240 0x4f, 0x47, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x4c, 0x59, 0x5f, 0x44,
2241 0x49, 0x53, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d,
2242 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12,
2243 0x13, 0x0a, 0x0f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x53, 0x4f, 0x4f,
2244 0x4e, 0x47, 0x10, 0x04, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65,
2245 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f,
2246 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d,
2247 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c,
2248 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25,
2249 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73,
2250 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c,
2251 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e,
2252 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
2253 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
2254 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
2255 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72,
2256 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74,
2257 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f,
2258 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c,
2259 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75,
2260 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65,
2261 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65,
2262 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e,
2263 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
2264 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50,
2265 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e,
2266 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73,
2267 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e,
2268 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
2269 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a,
2270 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08,
2271 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61,
2272 0x67, 0x65, 0x22, 0x61, 0x0a, 0x0c, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65,
2273 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
2274 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73,
2275 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
2276 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72,
2277 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67,
2278 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x64, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75,
2279 0x6e, 0x74, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
2280 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a,
2281 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
2282 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
2283 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65,
2284 0x72, 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x37, 0x0a, 0x0b, 0x50,
2285 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
2286 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14,
2287 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76,
2288 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
2289 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04,
2290 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2291 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69,
2292 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72,
2293 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79,
2294 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73,
2295 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69,
2296 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f,
2297 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61,
2298 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f,
2299 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
2300 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c,
2301 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65,
2302 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d,
2303 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e,
2304 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20,
2305 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20,
2306 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08,
2307 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62,
2308 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f,
2309 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09,
2310 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43,
2311 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40,
2312 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f,
2313 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a,
2314 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72,
2315 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73,
2316 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49,
2317 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73,
2318 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
2319 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
2320 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42,
2321 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
2322 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
2323 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
2324 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70,
2325 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75,
2326 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66,
2327 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64,
2328 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
2329 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08,
2330 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74,
2331 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d,
2332 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
2333 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65,
2334 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f,
Colin Cross46b0c752023-10-27 14:56:12 -07002335 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002336 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d,
2337 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63,
2338 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65,
2339 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20,
2340 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
2341 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63,
2342 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74,
2343 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0x94, 0x03, 0x0a, 0x11, 0x53,
2344 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
2345 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
2346 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61,
2347 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61,
2348 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
2349 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
2350 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75,
2351 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f,
2352 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f,
2353 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d,
2354 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20,
2355 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65,
2356 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,
2357 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
2358 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
2359 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64,
2360 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01,
2361 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
2362 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
2363 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42,
2364 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x46, 0x0a, 0x0d, 0x70, 0x65, 0x72,
2365 0x66, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
2366 0x32, 0x21, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
2367 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74,
2368 0x65, 0x72, 0x73, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72,
2369 0x73, 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
2370 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
2371 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
2372 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70,
2373 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f,
2374 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
2375 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
2376 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16,
2377 0x0a, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
2378 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2379 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e,
2380 0x46, 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10,
2381 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d,
2382 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22,
2383 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49,
2384 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69,
2385 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
2386 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42,
2387 0x75, 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
2388 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c,
2389 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
2390 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42,
2391 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75,
2392 0x6c, 0x65, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x10, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c,
2393 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, 0x61, 0x70,
2394 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18,
2395 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x54, 0x69,
2396 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x72, 0x69, 0x74,
2397 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d,
2398 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x63, 0x72, 0x69,
2399 0x74, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63,
2400 0x72, 0x6f, 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f,
2401 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f,
2402 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
2403 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63,
2404 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x72,
2405 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
2406 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
2407 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52,
2408 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x73,
2409 0x22, 0x62, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x65,
2410 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72,
2411 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65,
2412 0x64, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6a,
2413 0x6f, 0x62, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
2414 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
2415 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x05, 0x0a, 0x15, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a,
2416 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x42,
2417 0x0a, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x66, 0x18,
2418 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
2419 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66,
2420 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x50, 0x65,
2421 0x72, 0x66, 0x12, 0x44, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
2422 0x70, 0x65, 0x72, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f,
2423 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
2424 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61,
2425 0x67, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x66, 0x12, 0x68, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67,
2426 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
2427 0x43, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
2428 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x42,
2429 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67,
2430 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
2431 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75,
2432 0x6c, 0x74, 0x1a, 0xab, 0x03, 0x0a, 0x18, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4f, 0x70, 0x74,
2433 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
2434 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
2435 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64,
2436 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65,
2437 0x64, 0x12, 0x35, 0x0a, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
2438 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
2439 0x09, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2440 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b,
2441 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
2442 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
2443 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
2444 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x66, 0x12, 0x7b,
2445 0x0a, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
2446 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f,
2447 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4f, 0x70,
2448 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72,
2449 0x69, 0x63, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69,
2450 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4f, 0x75, 0x74,
2451 0x70, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0e, 0x6f, 0x75, 0x74,
2452 0x70, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x1a, 0x63, 0x0a, 0x0e, 0x4f,
2453 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a,
2454 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
2455 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
2456 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65,
2457 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
2458 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73,
Colin Cross46b0c752023-10-27 14:56:12 -07002459 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e,
2460 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74,
2461 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08002462}
2463
Dan Willemsen4591b642021-05-24 14:24:12 -07002464var (
2465 file_metrics_proto_rawDescOnce sync.Once
2466 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
2467)
2468
2469func file_metrics_proto_rawDescGZIP() []byte {
2470 file_metrics_proto_rawDescOnce.Do(func() {
2471 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
2472 })
2473 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00002474}
Nan Zhang17f27672018-12-12 16:01:49 -08002475
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002476var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002477var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
Dan Willemsen4591b642021-05-24 14:24:12 -07002478var file_metrics_proto_goTypes = []interface{}{
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002479 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
2480 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
2481 (BuildConfig_NinjaWeightListSource)(0), // 2: soong_build_metrics.BuildConfig.NinjaWeightListSource
2482 (ModuleTypeInfo_BuildSystem)(0), // 3: soong_build_metrics.ModuleTypeInfo.BuildSystem
2483 (ExpConfigFetcher_ConfigStatus)(0), // 4: soong_build_metrics.ExpConfigFetcher.ConfigStatus
2484 (*MetricsBase)(nil), // 5: soong_build_metrics.MetricsBase
2485 (*BuildConfig)(nil), // 6: soong_build_metrics.BuildConfig
2486 (*SystemResourceInfo)(nil), // 7: soong_build_metrics.SystemResourceInfo
2487 (*PerfInfo)(nil), // 8: soong_build_metrics.PerfInfo
2488 (*PerfCounters)(nil), // 9: soong_build_metrics.PerfCounters
2489 (*PerfCounterGroup)(nil), // 10: soong_build_metrics.PerfCounterGroup
2490 (*PerfCounter)(nil), // 11: soong_build_metrics.PerfCounter
2491 (*ProcessResourceInfo)(nil), // 12: soong_build_metrics.ProcessResourceInfo
2492 (*ModuleTypeInfo)(nil), // 13: soong_build_metrics.ModuleTypeInfo
2493 (*CriticalUserJourneyMetrics)(nil), // 14: soong_build_metrics.CriticalUserJourneyMetrics
2494 (*CriticalUserJourneysMetrics)(nil), // 15: soong_build_metrics.CriticalUserJourneysMetrics
2495 (*SoongBuildMetrics)(nil), // 16: soong_build_metrics.SoongBuildMetrics
2496 (*ExpConfigFetcher)(nil), // 17: soong_build_metrics.ExpConfigFetcher
2497 (*MixedBuildsInfo)(nil), // 18: soong_build_metrics.MixedBuildsInfo
2498 (*CriticalPathInfo)(nil), // 19: soong_build_metrics.CriticalPathInfo
2499 (*JobInfo)(nil), // 20: soong_build_metrics.JobInfo
2500 (*OptimizedBuildMetrics)(nil), // 21: soong_build_metrics.OptimizedBuildMetrics
2501 (*OptimizedBuildMetrics_TargetOptimizationResult)(nil), // 22: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult
2502 (*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact)(nil), // 23: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.OutputArtifact
Dan Willemsen4591b642021-05-24 14:24:12 -07002503}
2504var file_metrics_proto_depIdxs = []int32{
Jeongik Cha8d63d562023-03-17 03:52:13 +09002505 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
2506 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
2507 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
2508 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002509 8, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
2510 8, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
2511 8, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
2512 8, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
2513 8, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
Colin Cross46b0c752023-10-27 14:56:12 -07002514 16, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002515 6, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
2516 7, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
2517 8, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
Colin Cross46b0c752023-10-27 14:56:12 -07002518 17, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
2519 19, // 14: soong_build_metrics.MetricsBase.critical_path_info:type_name -> soong_build_metrics.CriticalPathInfo
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002520 21, // 15: soong_build_metrics.MetricsBase.optimized_build_metrics:type_name -> soong_build_metrics.OptimizedBuildMetrics
2521 2, // 16: soong_build_metrics.BuildConfig.ninja_weight_list_source:type_name -> soong_build_metrics.BuildConfig.NinjaWeightListSource
2522 12, // 17: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
2523 10, // 18: soong_build_metrics.PerfCounters.groups:type_name -> soong_build_metrics.PerfCounterGroup
2524 11, // 19: soong_build_metrics.PerfCounterGroup.counters:type_name -> soong_build_metrics.PerfCounter
2525 3, // 20: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
2526 5, // 21: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
2527 14, // 22: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
2528 8, // 23: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
2529 18, // 24: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
2530 9, // 25: soong_build_metrics.SoongBuildMetrics.perf_counters:type_name -> soong_build_metrics.PerfCounters
2531 4, // 26: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
2532 20, // 27: soong_build_metrics.CriticalPathInfo.critical_path:type_name -> soong_build_metrics.JobInfo
2533 20, // 28: soong_build_metrics.CriticalPathInfo.long_running_jobs:type_name -> soong_build_metrics.JobInfo
2534 8, // 29: soong_build_metrics.OptimizedBuildMetrics.analysis_perf:type_name -> soong_build_metrics.PerfInfo
2535 8, // 30: soong_build_metrics.OptimizedBuildMetrics.packaging_perf:type_name -> soong_build_metrics.PerfInfo
2536 22, // 31: soong_build_metrics.OptimizedBuildMetrics.target_result:type_name -> soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult
2537 8, // 32: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.packaging_perf:type_name -> soong_build_metrics.PerfInfo
2538 23, // 33: soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.output_artifact:type_name -> soong_build_metrics.OptimizedBuildMetrics.TargetOptimizationResult.OutputArtifact
2539 34, // [34:34] is the sub-list for method output_type
2540 34, // [34:34] is the sub-list for method input_type
2541 34, // [34:34] is the sub-list for extension type_name
2542 34, // [34:34] is the sub-list for extension extendee
2543 0, // [0:34] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07002544}
2545
2546func init() { file_metrics_proto_init() }
2547func file_metrics_proto_init() {
2548 if File_metrics_proto != nil {
2549 return
2550 }
2551 if !protoimpl.UnsafeEnabled {
2552 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2553 switch v := v.(*MetricsBase); i {
2554 case 0:
2555 return &v.state
2556 case 1:
2557 return &v.sizeCache
2558 case 2:
2559 return &v.unknownFields
2560 default:
2561 return nil
2562 }
2563 }
2564 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2565 switch v := v.(*BuildConfig); i {
2566 case 0:
2567 return &v.state
2568 case 1:
2569 return &v.sizeCache
2570 case 2:
2571 return &v.unknownFields
2572 default:
2573 return nil
2574 }
2575 }
2576 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2577 switch v := v.(*SystemResourceInfo); i {
2578 case 0:
2579 return &v.state
2580 case 1:
2581 return &v.sizeCache
2582 case 2:
2583 return &v.unknownFields
2584 default:
2585 return nil
2586 }
2587 }
2588 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2589 switch v := v.(*PerfInfo); i {
2590 case 0:
2591 return &v.state
2592 case 1:
2593 return &v.sizeCache
2594 case 2:
2595 return &v.unknownFields
2596 default:
2597 return nil
2598 }
2599 }
2600 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002601 switch v := v.(*PerfCounters); i {
Dan Willemsen4591b642021-05-24 14:24:12 -07002602 case 0:
2603 return &v.state
2604 case 1:
2605 return &v.sizeCache
2606 case 2:
2607 return &v.unknownFields
2608 default:
2609 return nil
2610 }
2611 }
2612 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002613 switch v := v.(*PerfCounterGroup); i {
Dan Willemsen4591b642021-05-24 14:24:12 -07002614 case 0:
2615 return &v.state
2616 case 1:
2617 return &v.sizeCache
2618 case 2:
2619 return &v.unknownFields
2620 default:
2621 return nil
2622 }
2623 }
2624 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002625 switch v := v.(*PerfCounter); i {
Dan Willemsen4591b642021-05-24 14:24:12 -07002626 case 0:
2627 return &v.state
2628 case 1:
2629 return &v.sizeCache
2630 case 2:
2631 return &v.unknownFields
2632 default:
2633 return nil
2634 }
2635 }
2636 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002637 switch v := v.(*ProcessResourceInfo); i {
Dan Willemsen4591b642021-05-24 14:24:12 -07002638 case 0:
2639 return &v.state
2640 case 1:
2641 return &v.sizeCache
2642 case 2:
2643 return &v.unknownFields
2644 default:
2645 return nil
2646 }
2647 }
2648 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002649 switch v := v.(*ModuleTypeInfo); i {
Dan Willemsen4591b642021-05-24 14:24:12 -07002650 case 0:
2651 return &v.state
2652 case 1:
2653 return &v.sizeCache
2654 case 2:
2655 return &v.unknownFields
2656 default:
2657 return nil
2658 }
2659 }
David Goldsmith62243a32022-04-08 13:42:04 +00002660 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002661 switch v := v.(*CriticalUserJourneyMetrics); i {
David Goldsmith62243a32022-04-08 13:42:04 +00002662 case 0:
2663 return &v.state
2664 case 1:
2665 return &v.sizeCache
2666 case 2:
2667 return &v.unknownFields
2668 default:
2669 return nil
2670 }
2671 }
MarkDacekff851b82022-04-21 18:33:17 +00002672 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002673 switch v := v.(*CriticalUserJourneysMetrics); i {
MarkDacekff851b82022-04-21 18:33:17 +00002674 case 0:
2675 return &v.state
2676 case 1:
2677 return &v.sizeCache
2678 case 2:
2679 return &v.unknownFields
2680 default:
2681 return nil
2682 }
2683 }
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002684 file_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002685 switch v := v.(*SoongBuildMetrics); i {
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002686 case 0:
2687 return &v.state
2688 case 1:
2689 return &v.sizeCache
2690 case 2:
2691 return &v.unknownFields
2692 default:
2693 return nil
2694 }
2695 }
2696 file_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
Colin Cross46b0c752023-10-27 14:56:12 -07002697 switch v := v.(*ExpConfigFetcher); i {
2698 case 0:
2699 return &v.state
2700 case 1:
2701 return &v.sizeCache
2702 case 2:
2703 return &v.unknownFields
2704 default:
2705 return nil
2706 }
2707 }
2708 file_metrics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2709 switch v := v.(*MixedBuildsInfo); i {
2710 case 0:
2711 return &v.state
2712 case 1:
2713 return &v.sizeCache
2714 case 2:
2715 return &v.unknownFields
2716 default:
2717 return nil
2718 }
2719 }
2720 file_metrics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2721 switch v := v.(*CriticalPathInfo); i {
2722 case 0:
2723 return &v.state
2724 case 1:
2725 return &v.sizeCache
2726 case 2:
2727 return &v.unknownFields
2728 default:
2729 return nil
2730 }
2731 }
2732 file_metrics_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
Jeongik Cha28c1fe52023-03-07 15:19:44 +09002733 switch v := v.(*JobInfo); i {
2734 case 0:
2735 return &v.state
2736 case 1:
2737 return &v.sizeCache
2738 case 2:
2739 return &v.unknownFields
2740 default:
2741 return nil
2742 }
2743 }
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002744 file_metrics_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2745 switch v := v.(*OptimizedBuildMetrics); i {
2746 case 0:
2747 return &v.state
2748 case 1:
2749 return &v.sizeCache
2750 case 2:
2751 return &v.unknownFields
2752 default:
2753 return nil
2754 }
2755 }
2756 file_metrics_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2757 switch v := v.(*OptimizedBuildMetrics_TargetOptimizationResult); i {
2758 case 0:
2759 return &v.state
2760 case 1:
2761 return &v.sizeCache
2762 case 2:
2763 return &v.unknownFields
2764 default:
2765 return nil
2766 }
2767 }
2768 file_metrics_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2769 switch v := v.(*OptimizedBuildMetrics_TargetOptimizationResult_OutputArtifact); i {
2770 case 0:
2771 return &v.state
2772 case 1:
2773 return &v.sizeCache
2774 case 2:
2775 return &v.unknownFields
2776 default:
2777 return nil
2778 }
2779 }
Dan Willemsen4591b642021-05-24 14:24:12 -07002780 }
2781 type x struct{}
2782 out := protoimpl.TypeBuilder{
2783 File: protoimpl.DescBuilder{
2784 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2785 RawDescriptor: file_metrics_proto_rawDesc,
Jeongik Cha0cf44d52023-03-15 00:10:45 +09002786 NumEnums: 5,
Luca Farsi8ba1fb02024-10-18 14:35:19 -07002787 NumMessages: 19,
Dan Willemsen4591b642021-05-24 14:24:12 -07002788 NumExtensions: 0,
2789 NumServices: 0,
2790 },
2791 GoTypes: file_metrics_proto_goTypes,
2792 DependencyIndexes: file_metrics_proto_depIdxs,
2793 EnumInfos: file_metrics_proto_enumTypes,
2794 MessageInfos: file_metrics_proto_msgTypes,
2795 }.Build()
2796 File_metrics_proto = out.File
2797 file_metrics_proto_rawDesc = nil
2798 file_metrics_proto_goTypes = nil
2799 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08002800}