blob: eb8fdc47f16209403c1ea3871389dd5fd335edeb [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Copyright 2018 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Nan Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
MarkDacekff851b82022-04-21 18:33:17 +000017// protoc-gen-go v1.28.0
Jason Wu41886f22023-01-04 11:29:36 -050018// protoc v3.21.7
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
Nan Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
47 MetricsBase_BuildVariant_name = map[int32]string{
48 0: "USER",
49 1: "USERDEBUG",
50 2: "ENG",
51 }
52 MetricsBase_BuildVariant_value = map[string]int32{
53 "USER": 0,
54 "USERDEBUG": 1,
55 "ENG": 2,
56 }
57)
Nan Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
70 return file_metrics_proto_enumTypes[0].Descriptor()
71}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
74 return &file_metrics_proto_enumTypes[0]
75}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_UNKNOWN MetricsBase_Arch = 0
100 MetricsBase_ARM MetricsBase_Arch = 1
101 MetricsBase_ARM64 MetricsBase_Arch = 2
102 MetricsBase_X86 MetricsBase_Arch = 3
103 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
108 MetricsBase_Arch_name = map[int32]string{
109 0: "UNKNOWN",
110 1: "ARM",
111 2: "ARM64",
112 3: "X86",
113 4: "X86_64",
114 }
115 MetricsBase_Arch_value = map[string]int32{
116 "UNKNOWN": 0,
117 "ARM": 1,
118 "ARM64": 2,
119 "X86": 3,
120 "X86_64": 4,
121 }
122)
Nan Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
135 return file_metrics_proto_enumTypes[1].Descriptor()
136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
139 return &file_metrics_proto_enumTypes[1]
140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700161type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800162
163const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700164 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
165 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
166 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800167)
168
Dan Willemsen4591b642021-05-24 14:24:12 -0700169// Enum value maps for ModuleTypeInfo_BuildSystem.
170var (
171 ModuleTypeInfo_BuildSystem_name = map[int32]string{
172 0: "UNKNOWN",
173 1: "SOONG",
174 2: "MAKE",
175 }
176 ModuleTypeInfo_BuildSystem_value = map[string]int32{
177 "UNKNOWN": 0,
178 "SOONG": 1,
179 "MAKE": 2,
180 }
181)
Nan Zhang17f27672018-12-12 16:01:49 -0800182
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700183func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
184 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800185 *p = x
186 return p
187}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700188
189func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700190 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800191}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700192
Dan Willemsen4591b642021-05-24 14:24:12 -0700193func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
194 return file_metrics_proto_enumTypes[2].Descriptor()
195}
196
197func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
198 return &file_metrics_proto_enumTypes[2]
199}
200
201func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
202 return protoreflect.EnumNumber(x)
203}
204
205// Deprecated: Do not use.
206func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
207 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800208 if err != nil {
209 return err
210 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700211 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800212 return nil
213}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700214
Dan Willemsen4591b642021-05-24 14:24:12 -0700215// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700217 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800218}
219
David Goldsmith62243a32022-04-08 13:42:04 +0000220type ExpConfigFetcher_ConfigStatus int32
221
222const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000223 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
224 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
225 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
226 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000227)
228
229// Enum value maps for ExpConfigFetcher_ConfigStatus.
230var (
231 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
232 0: "NO_CONFIG",
233 1: "CONFIG",
234 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000235 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000236 }
237 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000238 "NO_CONFIG": 0,
239 "CONFIG": 1,
240 "ERROR": 2,
241 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000242 }
243)
244
245func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
246 p := new(ExpConfigFetcher_ConfigStatus)
247 *p = x
248 return p
249}
250
251func (x ExpConfigFetcher_ConfigStatus) String() string {
252 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
253}
254
255func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
256 return file_metrics_proto_enumTypes[3].Descriptor()
257}
258
259func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
260 return &file_metrics_proto_enumTypes[3]
261}
262
263func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
264 return protoreflect.EnumNumber(x)
265}
266
267// Deprecated: Do not use.
268func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
269 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
270 if err != nil {
271 return err
272 }
273 *x = ExpConfigFetcher_ConfigStatus(num)
274 return nil
275}
276
277// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
278func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
279 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
280}
281
Nan Zhang17f27672018-12-12 16:01:49 -0800282type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700283 state protoimpl.MessageState
284 sizeCache protoimpl.SizeCache
285 unknownFields protoimpl.UnknownFields
286
Nan Zhang17f27672018-12-12 16:01:49 -0800287 // Timestamp generated when the build starts.
288 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
289 // It is usually used to specify the branch name [and release candidate].
290 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
291 // The platform version codename, eg. P, Q, REL.
292 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
293 // The target product information, eg. aosp_arm.
294 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
295 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700296 TargetBuildVariant *MetricsBase_BuildVariant `protobuf:"varint,5,opt,name=target_build_variant,json=targetBuildVariant,enum=soong_build_metrics.MetricsBase_BuildVariant,def=2" json:"target_build_variant,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800297 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700298 TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800299 // The target arch variant information, eg. armv7-a-neon.
300 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
301 // The target cpu variant information, eg. generic.
302 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
303 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700304 HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800305 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700306 Host_2NdArch *MetricsBase_Arch `protobuf:"varint,10,opt,name=host_2nd_arch,json=host2ndArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_2nd_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800307 // The host os information, eg. linux.
308 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
309 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
310 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
311 // The host cross os information, eg. windows.
312 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
313 // The host cross arch information, eg. x86.
314 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
315 // The host cross 2nd arch information, eg. x86_64.
316 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
317 // The directory for generated built artifacts installation, eg. out.
318 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
319 // The metrics for calling various tools (microfactory) before Soong_UI starts.
320 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
321 // The metrics for calling Kati by multiple times.
322 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
323 // The metrics for calling Soong.
324 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
325 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800326 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
327 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500328 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
329 // Deprecated because instead of embedding in a MetricsBase, we keep
330 // SoongBuildMetrics in its own file
331 //
332 // Deprecated: Do not use.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000333 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
334 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000335 // The hostname of the machine.
336 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
337 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700338 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
339 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800340 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
341 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700342 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000343 // The metrics of the experiment config fetcher
344 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400345 // Whether the build exited with a panic or non-zero exit code, includes both
346 // non-zero exits of recorded phases and non-recorded phases of the build.
347 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
348 // The error message due to a non-zero exit _only_ if it did not occur in a
349 // recorded phase of the build.
350 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800351}
352
Dan Willemsen4591b642021-05-24 14:24:12 -0700353// Default values for MetricsBase fields.
354const (
355 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
356 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
357 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
358 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
359)
360
361func (x *MetricsBase) Reset() {
362 *x = MetricsBase{}
363 if protoimpl.UnsafeEnabled {
364 mi := &file_metrics_proto_msgTypes[0]
365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366 ms.StoreMessageInfo(mi)
367 }
368}
369
370func (x *MetricsBase) String() string {
371 return protoimpl.X.MessageStringOf(x)
372}
373
374func (*MetricsBase) ProtoMessage() {}
375
376func (x *MetricsBase) ProtoReflect() protoreflect.Message {
377 mi := &file_metrics_proto_msgTypes[0]
378 if protoimpl.UnsafeEnabled && x != nil {
379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380 if ms.LoadMessageInfo() == nil {
381 ms.StoreMessageInfo(mi)
382 }
383 return ms
384 }
385 return mi.MessageOf(x)
386}
387
388// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800389func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700390 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800391}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700392
Dan Willemsen4591b642021-05-24 14:24:12 -0700393func (x *MetricsBase) GetBuildDateTimestamp() int64 {
394 if x != nil && x.BuildDateTimestamp != nil {
395 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800396 }
397 return 0
398}
399
Dan Willemsen4591b642021-05-24 14:24:12 -0700400func (x *MetricsBase) GetBuildId() string {
401 if x != nil && x.BuildId != nil {
402 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800403 }
404 return ""
405}
406
Dan Willemsen4591b642021-05-24 14:24:12 -0700407func (x *MetricsBase) GetPlatformVersionCodename() string {
408 if x != nil && x.PlatformVersionCodename != nil {
409 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800410 }
411 return ""
412}
413
Dan Willemsen4591b642021-05-24 14:24:12 -0700414func (x *MetricsBase) GetTargetProduct() string {
415 if x != nil && x.TargetProduct != nil {
416 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800417 }
418 return ""
419}
420
Dan Willemsen4591b642021-05-24 14:24:12 -0700421func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
422 if x != nil && x.TargetBuildVariant != nil {
423 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800424 }
425 return Default_MetricsBase_TargetBuildVariant
426}
427
Dan Willemsen4591b642021-05-24 14:24:12 -0700428func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
429 if x != nil && x.TargetArch != nil {
430 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800431 }
432 return Default_MetricsBase_TargetArch
433}
434
Dan Willemsen4591b642021-05-24 14:24:12 -0700435func (x *MetricsBase) GetTargetArchVariant() string {
436 if x != nil && x.TargetArchVariant != nil {
437 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800438 }
439 return ""
440}
441
Dan Willemsen4591b642021-05-24 14:24:12 -0700442func (x *MetricsBase) GetTargetCpuVariant() string {
443 if x != nil && x.TargetCpuVariant != nil {
444 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800445 }
446 return ""
447}
448
Dan Willemsen4591b642021-05-24 14:24:12 -0700449func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
450 if x != nil && x.HostArch != nil {
451 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800452 }
453 return Default_MetricsBase_HostArch
454}
455
Dan Willemsen4591b642021-05-24 14:24:12 -0700456func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
457 if x != nil && x.Host_2NdArch != nil {
458 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800459 }
460 return Default_MetricsBase_Host_2NdArch
461}
462
Dan Willemsen4591b642021-05-24 14:24:12 -0700463func (x *MetricsBase) GetHostOs() string {
464 if x != nil && x.HostOs != nil {
465 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800466 }
467 return ""
468}
469
Dan Willemsen4591b642021-05-24 14:24:12 -0700470func (x *MetricsBase) GetHostOsExtra() string {
471 if x != nil && x.HostOsExtra != nil {
472 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800473 }
474 return ""
475}
476
Dan Willemsen4591b642021-05-24 14:24:12 -0700477func (x *MetricsBase) GetHostCrossOs() string {
478 if x != nil && x.HostCrossOs != nil {
479 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800480 }
481 return ""
482}
483
Dan Willemsen4591b642021-05-24 14:24:12 -0700484func (x *MetricsBase) GetHostCrossArch() string {
485 if x != nil && x.HostCrossArch != nil {
486 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800487 }
488 return ""
489}
490
Dan Willemsen4591b642021-05-24 14:24:12 -0700491func (x *MetricsBase) GetHostCross_2NdArch() string {
492 if x != nil && x.HostCross_2NdArch != nil {
493 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800494 }
495 return ""
496}
497
Dan Willemsen4591b642021-05-24 14:24:12 -0700498func (x *MetricsBase) GetOutDir() string {
499 if x != nil && x.OutDir != nil {
500 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800501 }
502 return ""
503}
504
Dan Willemsen4591b642021-05-24 14:24:12 -0700505func (x *MetricsBase) GetSetupTools() []*PerfInfo {
506 if x != nil {
507 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800508 }
509 return nil
510}
511
Dan Willemsen4591b642021-05-24 14:24:12 -0700512func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
513 if x != nil {
514 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800515 }
516 return nil
517}
518
Dan Willemsen4591b642021-05-24 14:24:12 -0700519func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
520 if x != nil {
521 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800522 }
523 return nil
524}
525
Dan Willemsen4591b642021-05-24 14:24:12 -0700526func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
527 if x != nil {
528 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800529 }
530 return nil
531}
532
Dan Willemsen4591b642021-05-24 14:24:12 -0700533func (x *MetricsBase) GetTotal() *PerfInfo {
534 if x != nil {
535 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800536 }
537 return nil
538}
539
Jason Wu41886f22023-01-04 11:29:36 -0500540// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700541func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
542 if x != nil {
543 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800544 }
545 return nil
546}
547
Dan Willemsen4591b642021-05-24 14:24:12 -0700548func (x *MetricsBase) GetBuildConfig() *BuildConfig {
549 if x != nil {
550 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000551 }
552 return nil
553}
554
Dan Willemsen4591b642021-05-24 14:24:12 -0700555func (x *MetricsBase) GetHostname() string {
556 if x != nil && x.Hostname != nil {
557 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000558 }
559 return ""
560}
561
Dan Willemsen4591b642021-05-24 14:24:12 -0700562func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
563 if x != nil {
564 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000565 }
566 return nil
567}
568
Dan Willemsen4591b642021-05-24 14:24:12 -0700569func (x *MetricsBase) GetBuildCommand() string {
570 if x != nil && x.BuildCommand != nil {
571 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700572 }
573 return ""
574}
575
Dan Willemsen4591b642021-05-24 14:24:12 -0700576func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
577 if x != nil {
578 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800579 }
580 return nil
581}
582
David Goldsmith62243a32022-04-08 13:42:04 +0000583func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
584 if x != nil {
585 return x.ExpConfigFetcher
586 }
587 return nil
588}
589
Liz Kammerf2a80c62022-10-21 10:42:35 -0400590func (x *MetricsBase) GetNonZeroExit() bool {
591 if x != nil && x.NonZeroExit != nil {
592 return *x.NonZeroExit
593 }
594 return false
595}
596
597func (x *MetricsBase) GetErrorMessage() string {
598 if x != nil && x.ErrorMessage != nil {
599 return *x.ErrorMessage
600 }
601 return ""
602}
603
Patrice Arruda96850362020-08-11 20:41:11 +0000604type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700605 state protoimpl.MessageState
606 sizeCache protoimpl.SizeCache
607 unknownFields protoimpl.UnknownFields
608
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400609 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
610 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
611 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
612 // Whether the Bazel is acting as the Ninja executor for this build.
613 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
614 // Whether build is occurring in a mixed build mode, where Bazel maintains the
615 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700616 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700617 // These are the targets soong passes to ninja, these targets include special
618 // targets such as droid as well as the regular build targets.
619 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400620 // Whether the user explicitly disabled bazel mixed builds for this build.
621 ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000622}
623
Dan Willemsen4591b642021-05-24 14:24:12 -0700624func (x *BuildConfig) Reset() {
625 *x = BuildConfig{}
626 if protoimpl.UnsafeEnabled {
627 mi := &file_metrics_proto_msgTypes[1]
628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
629 ms.StoreMessageInfo(mi)
630 }
631}
632
633func (x *BuildConfig) String() string {
634 return protoimpl.X.MessageStringOf(x)
635}
636
637func (*BuildConfig) ProtoMessage() {}
638
639func (x *BuildConfig) ProtoReflect() protoreflect.Message {
640 mi := &file_metrics_proto_msgTypes[1]
641 if protoimpl.UnsafeEnabled && x != nil {
642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
643 if ms.LoadMessageInfo() == nil {
644 ms.StoreMessageInfo(mi)
645 }
646 return ms
647 }
648 return mi.MessageOf(x)
649}
650
651// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000652func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700653 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000654}
655
Dan Willemsen4591b642021-05-24 14:24:12 -0700656func (x *BuildConfig) GetUseGoma() bool {
657 if x != nil && x.UseGoma != nil {
658 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000659 }
660 return false
661}
662
Dan Willemsen4591b642021-05-24 14:24:12 -0700663func (x *BuildConfig) GetUseRbe() bool {
664 if x != nil && x.UseRbe != nil {
665 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000666 }
667 return false
668}
669
Dan Willemsen4591b642021-05-24 14:24:12 -0700670func (x *BuildConfig) GetForceUseGoma() bool {
671 if x != nil && x.ForceUseGoma != nil {
672 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000673 }
674 return false
675}
676
Dan Willemsen4591b642021-05-24 14:24:12 -0700677func (x *BuildConfig) GetBazelAsNinja() bool {
678 if x != nil && x.BazelAsNinja != nil {
679 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400680 }
681 return false
682}
683
Dan Willemsen4591b642021-05-24 14:24:12 -0700684func (x *BuildConfig) GetBazelMixedBuild() bool {
685 if x != nil && x.BazelMixedBuild != nil {
686 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400687 }
688 return false
689}
690
Yu Liue737a992021-10-04 13:21:41 -0700691func (x *BuildConfig) GetTargets() []string {
692 if x != nil {
693 return x.Targets
694 }
695 return nil
696}
697
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400698func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
699 if x != nil && x.ForceDisableBazelMixedBuild != nil {
700 return *x.ForceDisableBazelMixedBuild
701 }
702 return false
703}
704
Patrice Arruda3edfd482020-10-13 23:58:41 +0000705type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700706 state protoimpl.MessageState
707 sizeCache protoimpl.SizeCache
708 unknownFields protoimpl.UnknownFields
709
Patrice Arruda3edfd482020-10-13 23:58:41 +0000710 // The total physical memory in bytes.
711 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
712 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700713 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000714}
715
Dan Willemsen4591b642021-05-24 14:24:12 -0700716func (x *SystemResourceInfo) Reset() {
717 *x = SystemResourceInfo{}
718 if protoimpl.UnsafeEnabled {
719 mi := &file_metrics_proto_msgTypes[2]
720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
721 ms.StoreMessageInfo(mi)
722 }
723}
724
725func (x *SystemResourceInfo) String() string {
726 return protoimpl.X.MessageStringOf(x)
727}
728
729func (*SystemResourceInfo) ProtoMessage() {}
730
731func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
732 mi := &file_metrics_proto_msgTypes[2]
733 if protoimpl.UnsafeEnabled && x != nil {
734 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
735 if ms.LoadMessageInfo() == nil {
736 ms.StoreMessageInfo(mi)
737 }
738 return ms
739 }
740 return mi.MessageOf(x)
741}
742
743// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000744func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700745 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000746}
747
Dan Willemsen4591b642021-05-24 14:24:12 -0700748func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
749 if x != nil && x.TotalPhysicalMemory != nil {
750 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000751 }
752 return 0
753}
754
Dan Willemsen4591b642021-05-24 14:24:12 -0700755func (x *SystemResourceInfo) GetAvailableCpus() int32 {
756 if x != nil && x.AvailableCpus != nil {
757 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000758 }
759 return 0
760}
761
Nan Zhang17f27672018-12-12 16:01:49 -0800762type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700763 state protoimpl.MessageState
764 sizeCache protoimpl.SizeCache
765 unknownFields protoimpl.UnknownFields
766
Nan Zhang17f27672018-12-12 16:01:49 -0800767 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700768 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800769 // The name for the running phase/action/part.
770 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
771 // The absolute start time.
772 // The number of nanoseconds elapsed since January 1, 1970 UTC.
773 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
774 // The real running time.
775 // The number of nanoseconds elapsed since start_time.
776 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700777 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700778 //
779 // Deprecated: Do not use.
780 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700781 // The resource information of each executed process.
782 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400783 // Whether the phase of tool running exited with a panic or non-zero exit
784 // code.
785 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
786 // The error message, if any, due to a non-zero exit.
787 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800788}
789
Dan Willemsen4591b642021-05-24 14:24:12 -0700790func (x *PerfInfo) Reset() {
791 *x = PerfInfo{}
792 if protoimpl.UnsafeEnabled {
793 mi := &file_metrics_proto_msgTypes[3]
794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
795 ms.StoreMessageInfo(mi)
796 }
797}
798
799func (x *PerfInfo) String() string {
800 return protoimpl.X.MessageStringOf(x)
801}
802
803func (*PerfInfo) ProtoMessage() {}
804
805func (x *PerfInfo) ProtoReflect() protoreflect.Message {
806 mi := &file_metrics_proto_msgTypes[3]
807 if protoimpl.UnsafeEnabled && x != nil {
808 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
809 if ms.LoadMessageInfo() == nil {
810 ms.StoreMessageInfo(mi)
811 }
812 return ms
813 }
814 return mi.MessageOf(x)
815}
816
817// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800818func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700819 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800820}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700821
Yu Liu37c3dd32021-09-30 14:46:18 -0700822func (x *PerfInfo) GetDescription() string {
823 if x != nil && x.Description != nil {
824 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800825 }
826 return ""
827}
828
Dan Willemsen4591b642021-05-24 14:24:12 -0700829func (x *PerfInfo) GetName() string {
830 if x != nil && x.Name != nil {
831 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800832 }
833 return ""
834}
835
Dan Willemsen4591b642021-05-24 14:24:12 -0700836func (x *PerfInfo) GetStartTime() uint64 {
837 if x != nil && x.StartTime != nil {
838 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800839 }
840 return 0
841}
842
Dan Willemsen4591b642021-05-24 14:24:12 -0700843func (x *PerfInfo) GetRealTime() uint64 {
844 if x != nil && x.RealTime != nil {
845 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800846 }
847 return 0
848}
849
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700850// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700851func (x *PerfInfo) GetMemoryUse() uint64 {
852 if x != nil && x.MemoryUse != nil {
853 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800854 }
855 return 0
856}
857
Dan Willemsen4591b642021-05-24 14:24:12 -0700858func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
859 if x != nil {
860 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700861 }
862 return nil
863}
864
Liz Kammerf2a80c62022-10-21 10:42:35 -0400865func (x *PerfInfo) GetNonZeroExit() bool {
866 if x != nil && x.NonZeroExit != nil {
867 return *x.NonZeroExit
868 }
869 return false
870}
871
872func (x *PerfInfo) GetErrorMessage() string {
873 if x != nil && x.ErrorMessage != nil {
874 return *x.ErrorMessage
875 }
876 return ""
877}
878
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700879type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700880 state protoimpl.MessageState
881 sizeCache protoimpl.SizeCache
882 unknownFields protoimpl.UnknownFields
883
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700884 // The name of the process for identification.
885 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
886 // The amount of time spent executing in user space in microseconds.
887 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
888 // The amount of time spent executing in kernel mode in microseconds.
889 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
890 // The maximum resident set size memory used in kilobytes.
891 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
892 // The number of minor page faults serviced without any I/O activity.
893 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
894 // The number of major page faults serviced that required I/O activity.
895 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
896 // Total IO input in kilobytes.
897 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
898 // Total IO output in kilobytes.
899 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
900 // The number of voluntary context switches
901 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
902 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700903 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700904}
905
Dan Willemsen4591b642021-05-24 14:24:12 -0700906func (x *ProcessResourceInfo) Reset() {
907 *x = ProcessResourceInfo{}
908 if protoimpl.UnsafeEnabled {
909 mi := &file_metrics_proto_msgTypes[4]
910 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
911 ms.StoreMessageInfo(mi)
912 }
913}
914
915func (x *ProcessResourceInfo) String() string {
916 return protoimpl.X.MessageStringOf(x)
917}
918
919func (*ProcessResourceInfo) ProtoMessage() {}
920
921func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
922 mi := &file_metrics_proto_msgTypes[4]
923 if protoimpl.UnsafeEnabled && x != nil {
924 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
925 if ms.LoadMessageInfo() == nil {
926 ms.StoreMessageInfo(mi)
927 }
928 return ms
929 }
930 return mi.MessageOf(x)
931}
932
933// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700934func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700935 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700936}
937
Dan Willemsen4591b642021-05-24 14:24:12 -0700938func (x *ProcessResourceInfo) GetName() string {
939 if x != nil && x.Name != nil {
940 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700941 }
942 return ""
943}
944
Dan Willemsen4591b642021-05-24 14:24:12 -0700945func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
946 if x != nil && x.UserTimeMicros != nil {
947 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700948 }
949 return 0
950}
951
Dan Willemsen4591b642021-05-24 14:24:12 -0700952func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
953 if x != nil && x.SystemTimeMicros != nil {
954 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700955 }
956 return 0
957}
958
Dan Willemsen4591b642021-05-24 14:24:12 -0700959func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
960 if x != nil && x.MaxRssKb != nil {
961 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700962 }
963 return 0
964}
965
Dan Willemsen4591b642021-05-24 14:24:12 -0700966func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
967 if x != nil && x.MinorPageFaults != nil {
968 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700969 }
970 return 0
971}
972
Dan Willemsen4591b642021-05-24 14:24:12 -0700973func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
974 if x != nil && x.MajorPageFaults != nil {
975 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700976 }
977 return 0
978}
979
Dan Willemsen4591b642021-05-24 14:24:12 -0700980func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
981 if x != nil && x.IoInputKb != nil {
982 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700983 }
984 return 0
985}
986
Dan Willemsen4591b642021-05-24 14:24:12 -0700987func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
988 if x != nil && x.IoOutputKb != nil {
989 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700990 }
991 return 0
992}
993
Dan Willemsen4591b642021-05-24 14:24:12 -0700994func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
995 if x != nil && x.VoluntaryContextSwitches != nil {
996 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700997 }
998 return 0
999}
1000
Dan Willemsen4591b642021-05-24 14:24:12 -07001001func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1002 if x != nil && x.InvoluntaryContextSwitches != nil {
1003 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001004 }
1005 return 0
1006}
1007
Nan Zhang17f27672018-12-12 16:01:49 -08001008type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001009 state protoimpl.MessageState
1010 sizeCache protoimpl.SizeCache
1011 unknownFields protoimpl.UnknownFields
1012
MarkDacekff851b82022-04-21 18:33:17 +00001013 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001014 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 +00001015 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001016 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1017 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001018 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001019}
1020
Dan Willemsen4591b642021-05-24 14:24:12 -07001021// Default values for ModuleTypeInfo fields.
1022const (
1023 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1024)
1025
1026func (x *ModuleTypeInfo) Reset() {
1027 *x = ModuleTypeInfo{}
1028 if protoimpl.UnsafeEnabled {
1029 mi := &file_metrics_proto_msgTypes[5]
1030 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1031 ms.StoreMessageInfo(mi)
1032 }
1033}
1034
1035func (x *ModuleTypeInfo) String() string {
1036 return protoimpl.X.MessageStringOf(x)
1037}
1038
1039func (*ModuleTypeInfo) ProtoMessage() {}
1040
1041func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1042 mi := &file_metrics_proto_msgTypes[5]
1043 if protoimpl.UnsafeEnabled && x != nil {
1044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1045 if ms.LoadMessageInfo() == nil {
1046 ms.StoreMessageInfo(mi)
1047 }
1048 return ms
1049 }
1050 return mi.MessageOf(x)
1051}
1052
1053// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001054func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001055 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001056}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001057
Dan Willemsen4591b642021-05-24 14:24:12 -07001058func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1059 if x != nil && x.BuildSystem != nil {
1060 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001061 }
1062 return Default_ModuleTypeInfo_BuildSystem
1063}
1064
Dan Willemsen4591b642021-05-24 14:24:12 -07001065func (x *ModuleTypeInfo) GetModuleType() string {
1066 if x != nil && x.ModuleType != nil {
1067 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001068 }
1069 return ""
1070}
1071
Dan Willemsen4591b642021-05-24 14:24:12 -07001072func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1073 if x != nil && x.NumOfModules != nil {
1074 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001075 }
1076 return 0
1077}
1078
Colin Crossd0be2102019-11-26 16:16:57 -08001079type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001080 state protoimpl.MessageState
1081 sizeCache protoimpl.SizeCache
1082 unknownFields protoimpl.UnknownFields
1083
Colin Crossd0be2102019-11-26 16:16:57 -08001084 // The name of a critical user journey test.
1085 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1086 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001087 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001088}
1089
Dan Willemsen4591b642021-05-24 14:24:12 -07001090func (x *CriticalUserJourneyMetrics) Reset() {
1091 *x = CriticalUserJourneyMetrics{}
1092 if protoimpl.UnsafeEnabled {
1093 mi := &file_metrics_proto_msgTypes[6]
1094 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1095 ms.StoreMessageInfo(mi)
1096 }
1097}
1098
1099func (x *CriticalUserJourneyMetrics) String() string {
1100 return protoimpl.X.MessageStringOf(x)
1101}
1102
1103func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1104
1105func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1106 mi := &file_metrics_proto_msgTypes[6]
1107 if protoimpl.UnsafeEnabled && x != nil {
1108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1109 if ms.LoadMessageInfo() == nil {
1110 ms.StoreMessageInfo(mi)
1111 }
1112 return ms
1113 }
1114 return mi.MessageOf(x)
1115}
1116
1117// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001118func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001119 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001120}
1121
Dan Willemsen4591b642021-05-24 14:24:12 -07001122func (x *CriticalUserJourneyMetrics) GetName() string {
1123 if x != nil && x.Name != nil {
1124 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001125 }
1126 return ""
1127}
1128
Dan Willemsen4591b642021-05-24 14:24:12 -07001129func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1130 if x != nil {
1131 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001132 }
1133 return nil
1134}
1135
1136type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001137 state protoimpl.MessageState
1138 sizeCache protoimpl.SizeCache
1139 unknownFields protoimpl.UnknownFields
1140
Colin Crossd0be2102019-11-26 16:16:57 -08001141 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001142 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001143}
1144
Dan Willemsen4591b642021-05-24 14:24:12 -07001145func (x *CriticalUserJourneysMetrics) Reset() {
1146 *x = CriticalUserJourneysMetrics{}
1147 if protoimpl.UnsafeEnabled {
1148 mi := &file_metrics_proto_msgTypes[7]
1149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1150 ms.StoreMessageInfo(mi)
1151 }
1152}
1153
1154func (x *CriticalUserJourneysMetrics) String() string {
1155 return protoimpl.X.MessageStringOf(x)
1156}
1157
1158func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1159
1160func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1161 mi := &file_metrics_proto_msgTypes[7]
1162 if protoimpl.UnsafeEnabled && x != nil {
1163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1164 if ms.LoadMessageInfo() == nil {
1165 ms.StoreMessageInfo(mi)
1166 }
1167 return ms
1168 }
1169 return mi.MessageOf(x)
1170}
1171
1172// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001173func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001174 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001175}
1176
Dan Willemsen4591b642021-05-24 14:24:12 -07001177func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1178 if x != nil {
1179 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001180 }
1181 return nil
1182}
1183
Colin Crossb72c9092020-02-10 11:23:49 -08001184type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001185 state protoimpl.MessageState
1186 sizeCache protoimpl.SizeCache
1187 unknownFields protoimpl.UnknownFields
1188
Colin Crossb72c9092020-02-10 11:23:49 -08001189 // The number of modules handled by soong_build.
1190 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1191 // The total number of variants handled by soong_build.
1192 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1193 // The total number of allocations in soong_build.
1194 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1195 // The total size of allocations in soong_build in bytes.
1196 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1197 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001198 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001199 // Runtime metrics for soong_build execution.
1200 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001201 // Mixed Builds information
1202 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001203}
1204
Dan Willemsen4591b642021-05-24 14:24:12 -07001205func (x *SoongBuildMetrics) Reset() {
1206 *x = SoongBuildMetrics{}
1207 if protoimpl.UnsafeEnabled {
1208 mi := &file_metrics_proto_msgTypes[8]
1209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1210 ms.StoreMessageInfo(mi)
1211 }
1212}
1213
1214func (x *SoongBuildMetrics) String() string {
1215 return protoimpl.X.MessageStringOf(x)
1216}
1217
1218func (*SoongBuildMetrics) ProtoMessage() {}
1219
1220func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1221 mi := &file_metrics_proto_msgTypes[8]
1222 if protoimpl.UnsafeEnabled && x != nil {
1223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1224 if ms.LoadMessageInfo() == nil {
1225 ms.StoreMessageInfo(mi)
1226 }
1227 return ms
1228 }
1229 return mi.MessageOf(x)
1230}
1231
1232// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001233func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001234 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001235}
1236
Dan Willemsen4591b642021-05-24 14:24:12 -07001237func (x *SoongBuildMetrics) GetModules() uint32 {
1238 if x != nil && x.Modules != nil {
1239 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001240 }
1241 return 0
1242}
1243
Dan Willemsen4591b642021-05-24 14:24:12 -07001244func (x *SoongBuildMetrics) GetVariants() uint32 {
1245 if x != nil && x.Variants != nil {
1246 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001247 }
1248 return 0
1249}
1250
Dan Willemsen4591b642021-05-24 14:24:12 -07001251func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1252 if x != nil && x.TotalAllocCount != nil {
1253 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001254 }
1255 return 0
1256}
1257
Dan Willemsen4591b642021-05-24 14:24:12 -07001258func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1259 if x != nil && x.TotalAllocSize != nil {
1260 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001261 }
1262 return 0
1263}
1264
Dan Willemsen4591b642021-05-24 14:24:12 -07001265func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1266 if x != nil && x.MaxHeapSize != nil {
1267 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001268 }
1269 return 0
1270}
1271
Chris Parsons715b08f2022-03-22 19:23:40 -04001272func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1273 if x != nil {
1274 return x.Events
1275 }
1276 return nil
1277}
1278
MarkDacekff851b82022-04-21 18:33:17 +00001279func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1280 if x != nil {
1281 return x.MixedBuildsInfo
1282 }
1283 return nil
1284}
1285
David Goldsmith62243a32022-04-08 13:42:04 +00001286type ExpConfigFetcher struct {
1287 state protoimpl.MessageState
1288 sizeCache protoimpl.SizeCache
1289 unknownFields protoimpl.UnknownFields
1290
1291 // The result of the call to expconfigfetcher
1292 // NO_CONFIG - Not part of experiment
1293 // CONFIG - Part of experiment, config copied successfully
1294 // ERROR - expconfigfetcher failed
1295 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1296 // The output config filename
1297 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1298 // Time, in microseconds, taken by the expconfigfetcher
1299 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1300}
1301
1302func (x *ExpConfigFetcher) Reset() {
1303 *x = ExpConfigFetcher{}
1304 if protoimpl.UnsafeEnabled {
1305 mi := &file_metrics_proto_msgTypes[9]
1306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1307 ms.StoreMessageInfo(mi)
1308 }
1309}
1310
1311func (x *ExpConfigFetcher) String() string {
1312 return protoimpl.X.MessageStringOf(x)
1313}
1314
1315func (*ExpConfigFetcher) ProtoMessage() {}
1316
1317func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1318 mi := &file_metrics_proto_msgTypes[9]
1319 if protoimpl.UnsafeEnabled && x != nil {
1320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1321 if ms.LoadMessageInfo() == nil {
1322 ms.StoreMessageInfo(mi)
1323 }
1324 return ms
1325 }
1326 return mi.MessageOf(x)
1327}
1328
1329// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1330func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1331 return file_metrics_proto_rawDescGZIP(), []int{9}
1332}
1333
1334func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1335 if x != nil && x.Status != nil {
1336 return *x.Status
1337 }
1338 return ExpConfigFetcher_NO_CONFIG
1339}
1340
1341func (x *ExpConfigFetcher) GetFilename() string {
1342 if x != nil && x.Filename != nil {
1343 return *x.Filename
1344 }
1345 return ""
1346}
1347
1348func (x *ExpConfigFetcher) GetMicros() uint64 {
1349 if x != nil && x.Micros != nil {
1350 return *x.Micros
1351 }
1352 return 0
1353}
1354
MarkDacekff851b82022-04-21 18:33:17 +00001355type MixedBuildsInfo struct {
1356 state protoimpl.MessageState
1357 sizeCache protoimpl.SizeCache
1358 unknownFields protoimpl.UnknownFields
1359
1360 // Modules that are enabled for Mixed Builds.
1361 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 +00001362 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001363 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1364}
1365
1366func (x *MixedBuildsInfo) Reset() {
1367 *x = MixedBuildsInfo{}
1368 if protoimpl.UnsafeEnabled {
1369 mi := &file_metrics_proto_msgTypes[10]
1370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1371 ms.StoreMessageInfo(mi)
1372 }
1373}
1374
1375func (x *MixedBuildsInfo) String() string {
1376 return protoimpl.X.MessageStringOf(x)
1377}
1378
1379func (*MixedBuildsInfo) ProtoMessage() {}
1380
1381func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1382 mi := &file_metrics_proto_msgTypes[10]
1383 if protoimpl.UnsafeEnabled && x != nil {
1384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1385 if ms.LoadMessageInfo() == nil {
1386 ms.StoreMessageInfo(mi)
1387 }
1388 return ms
1389 }
1390 return mi.MessageOf(x)
1391}
1392
1393// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1394func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1395 return file_metrics_proto_rawDescGZIP(), []int{10}
1396}
1397
1398func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1399 if x != nil {
1400 return x.MixedBuildEnabledModules
1401 }
1402 return nil
1403}
1404
1405func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1406 if x != nil {
1407 return x.MixedBuildDisabledModules
1408 }
1409 return nil
1410}
1411
Dan Willemsen4591b642021-05-24 14:24:12 -07001412var File_metrics_proto protoreflect.FileDescriptor
1413
1414var file_metrics_proto_rawDesc = []byte{
1415 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1416 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Jason Wu41886f22023-01-04 11:29:36 -05001417 0x72, 0x69, 0x63, 0x73, 0x22, 0xfa, 0x0d, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001418 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1419 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1420 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1421 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1422 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1423 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1424 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1425 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1426 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1427 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1428 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1429 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1430 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1431 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1432 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1433 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1434 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1435 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1436 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1437 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1438 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1439 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1440 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1441 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1442 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1443 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1444 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1445 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1446 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1447 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1448 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1449 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1450 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1451 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1452 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1453 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1454 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1455 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1456 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1457 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1458 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1459 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1460 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1461 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1462 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1463 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1464 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1465 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1466 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1467 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1468 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1469 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1470 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1471 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1472 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1473 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1474 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1475 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1476 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1477 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1478 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1479 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1480 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1481 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1482 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1483 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1484 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1485 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1486 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1487 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05001488 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07001489 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1490 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1491 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05001492 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
1493 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
1494 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
1495 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
1496 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1497 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
1498 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
1499 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
1500 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1501 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
1502 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1503 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1504 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
1505 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1506 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1507 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1508 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
1509 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1510 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1511 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
1512 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1513 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
1514 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1515 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1516 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1517 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
1518 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
1519 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
1520 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
1521 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1522 0x65, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1523 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55,
1524 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e,
1525 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55,
1526 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10,
1527 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03,
1528 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10,
1529 0x04, 0x22, 0x99, 0x02, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1530 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20,
1531 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07,
1532 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75,
1533 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75,
1534 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66,
1535 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62,
1536 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20,
1537 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a,
1538 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64,
1539 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61,
1540 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a,
1541 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
1542 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65,
1543 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d,
1544 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
1545 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
1546 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x6f, 0x0a,
1547 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
1548 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79,
1549 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01,
1550 0x28, 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61,
1551 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c,
1552 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
1553 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca,
1554 0x02, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64,
1555 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1556 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
1557 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1558 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
1559 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
1560 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
1561 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a,
1562 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
1563 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65,
1564 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65,
1565 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28,
1566 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1567 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52,
1568 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f,
1569 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e,
1570 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65,
1571 0x78, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65,
1572 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
1573 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
1574 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13,
1575 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
1576 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1577 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f,
1578 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
1579 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f,
1580 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1581 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73,
1582 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12,
1583 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20,
1584 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a,
1585 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c,
1586 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50,
1587 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a,
1588 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06,
1589 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46,
1590 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75,
1591 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e,
1592 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70,
1593 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f,
1594 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e,
1595 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69,
1596 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c,
1597 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69,
1598 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e,
1599 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69,
1600 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76,
1601 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53,
1602 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75,
1603 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75,
1604 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
1605 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1606 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70,
1607 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65,
1608 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c,
1609 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
1610 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f,
1611 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f,
1612 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
1613 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f,
1614 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a,
1615 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f,
1616 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22,
1617 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a,
1618 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a,
1619 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1620 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01,
1621 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1622 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1623 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a,
1624 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75,
1625 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04,
1626 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f,
1627 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1628 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75,
1629 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a,
1630 0x73, 0x22, 0xcc, 0x02, 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64,
1631 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
1632 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1633 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
1634 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a,
1635 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75,
1636 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41,
1637 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74,
1638 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20,
1639 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53,
1640 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f,
1641 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48,
1642 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
1643 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f,
1644 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65,
1645 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50,
1646 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69,
1647 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1648 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1649 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1650 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f,
1651 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65,
1652 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
1653 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1654 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43,
1655 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e,
1656 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
1657 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
1658 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a,
1659 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d,
1660 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
1661 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46,
1662 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01,
1663 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d,
1664 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91,
1665 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e,
1666 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1667 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1668 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
1669 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1670 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1671 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1672 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75,
1673 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
1674 0x65, 0x73, 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f,
1675 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d,
1676 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001677}
1678
Dan Willemsen4591b642021-05-24 14:24:12 -07001679var (
1680 file_metrics_proto_rawDescOnce sync.Once
1681 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1682)
1683
1684func file_metrics_proto_rawDescGZIP() []byte {
1685 file_metrics_proto_rawDescOnce.Do(func() {
1686 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1687 })
1688 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001689}
Nan Zhang17f27672018-12-12 16:01:49 -08001690
David Goldsmith62243a32022-04-08 13:42:04 +00001691var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
MarkDacekff851b82022-04-21 18:33:17 +00001692var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
Dan Willemsen4591b642021-05-24 14:24:12 -07001693var file_metrics_proto_goTypes = []interface{}{
1694 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1695 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1696 (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem
David Goldsmith62243a32022-04-08 13:42:04 +00001697 (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1698 (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase
1699 (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig
1700 (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo
1701 (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo
1702 (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo
1703 (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo
1704 (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics
1705 (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics
1706 (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics
1707 (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher
MarkDacekff851b82022-04-21 18:33:17 +00001708 (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001709}
1710var file_metrics_proto_depIdxs = []int32{
1711 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1712 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1713 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1714 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
David Goldsmith62243a32022-04-08 13:42:04 +00001715 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
1716 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
1717 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
1718 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
1719 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
1720 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
1721 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
1722 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
1723 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
1724 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
1725 8, // 14: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
1726 2, // 15: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
1727 4, // 16: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
1728 10, // 17: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
1729 7, // 18: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
MarkDacekff851b82022-04-21 18:33:17 +00001730 14, // 19: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
1731 3, // 20: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
1732 21, // [21:21] is the sub-list for method output_type
1733 21, // [21:21] is the sub-list for method input_type
1734 21, // [21:21] is the sub-list for extension type_name
1735 21, // [21:21] is the sub-list for extension extendee
1736 0, // [0:21] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07001737}
1738
1739func init() { file_metrics_proto_init() }
1740func file_metrics_proto_init() {
1741 if File_metrics_proto != nil {
1742 return
1743 }
1744 if !protoimpl.UnsafeEnabled {
1745 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1746 switch v := v.(*MetricsBase); i {
1747 case 0:
1748 return &v.state
1749 case 1:
1750 return &v.sizeCache
1751 case 2:
1752 return &v.unknownFields
1753 default:
1754 return nil
1755 }
1756 }
1757 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1758 switch v := v.(*BuildConfig); i {
1759 case 0:
1760 return &v.state
1761 case 1:
1762 return &v.sizeCache
1763 case 2:
1764 return &v.unknownFields
1765 default:
1766 return nil
1767 }
1768 }
1769 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1770 switch v := v.(*SystemResourceInfo); i {
1771 case 0:
1772 return &v.state
1773 case 1:
1774 return &v.sizeCache
1775 case 2:
1776 return &v.unknownFields
1777 default:
1778 return nil
1779 }
1780 }
1781 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1782 switch v := v.(*PerfInfo); i {
1783 case 0:
1784 return &v.state
1785 case 1:
1786 return &v.sizeCache
1787 case 2:
1788 return &v.unknownFields
1789 default:
1790 return nil
1791 }
1792 }
1793 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1794 switch v := v.(*ProcessResourceInfo); i {
1795 case 0:
1796 return &v.state
1797 case 1:
1798 return &v.sizeCache
1799 case 2:
1800 return &v.unknownFields
1801 default:
1802 return nil
1803 }
1804 }
1805 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1806 switch v := v.(*ModuleTypeInfo); i {
1807 case 0:
1808 return &v.state
1809 case 1:
1810 return &v.sizeCache
1811 case 2:
1812 return &v.unknownFields
1813 default:
1814 return nil
1815 }
1816 }
1817 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1818 switch v := v.(*CriticalUserJourneyMetrics); i {
1819 case 0:
1820 return &v.state
1821 case 1:
1822 return &v.sizeCache
1823 case 2:
1824 return &v.unknownFields
1825 default:
1826 return nil
1827 }
1828 }
1829 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1830 switch v := v.(*CriticalUserJourneysMetrics); i {
1831 case 0:
1832 return &v.state
1833 case 1:
1834 return &v.sizeCache
1835 case 2:
1836 return &v.unknownFields
1837 default:
1838 return nil
1839 }
1840 }
1841 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1842 switch v := v.(*SoongBuildMetrics); i {
1843 case 0:
1844 return &v.state
1845 case 1:
1846 return &v.sizeCache
1847 case 2:
1848 return &v.unknownFields
1849 default:
1850 return nil
1851 }
1852 }
David Goldsmith62243a32022-04-08 13:42:04 +00001853 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1854 switch v := v.(*ExpConfigFetcher); i {
1855 case 0:
1856 return &v.state
1857 case 1:
1858 return &v.sizeCache
1859 case 2:
1860 return &v.unknownFields
1861 default:
1862 return nil
1863 }
1864 }
MarkDacekff851b82022-04-21 18:33:17 +00001865 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1866 switch v := v.(*MixedBuildsInfo); i {
1867 case 0:
1868 return &v.state
1869 case 1:
1870 return &v.sizeCache
1871 case 2:
1872 return &v.unknownFields
1873 default:
1874 return nil
1875 }
1876 }
Dan Willemsen4591b642021-05-24 14:24:12 -07001877 }
1878 type x struct{}
1879 out := protoimpl.TypeBuilder{
1880 File: protoimpl.DescBuilder{
1881 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1882 RawDescriptor: file_metrics_proto_rawDesc,
David Goldsmith62243a32022-04-08 13:42:04 +00001883 NumEnums: 4,
MarkDacekff851b82022-04-21 18:33:17 +00001884 NumMessages: 11,
Dan Willemsen4591b642021-05-24 14:24:12 -07001885 NumExtensions: 0,
1886 NumServices: 0,
1887 },
1888 GoTypes: file_metrics_proto_goTypes,
1889 DependencyIndexes: file_metrics_proto_depIdxs,
1890 EnumInfos: file_metrics_proto_enumTypes,
1891 MessageInfos: file_metrics_proto_msgTypes,
1892 }.Build()
1893 File_metrics_proto = out.File
1894 file_metrics_proto_rawDesc = nil
1895 file_metrics_proto_goTypes = nil
1896 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08001897}