blob: 90d124b47aaf146da7db5f116e26adf9c0075c62 [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
Dan Willemsen4591b642021-05-24 14:24:12 -070018// protoc v3.9.1
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
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000328 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
329 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
330 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000331 // The hostname of the machine.
332 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
333 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700334 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
335 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800336 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
337 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700338 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000339 // The metrics of the experiment config fetcher
340 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400341 // Whether the build exited with a panic or non-zero exit code, includes both
342 // non-zero exits of recorded phases and non-recorded phases of the build.
343 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
344 // The error message due to a non-zero exit _only_ if it did not occur in a
345 // recorded phase of the build.
346 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800347}
348
Dan Willemsen4591b642021-05-24 14:24:12 -0700349// Default values for MetricsBase fields.
350const (
351 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
352 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
353 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
354 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
355)
356
357func (x *MetricsBase) Reset() {
358 *x = MetricsBase{}
359 if protoimpl.UnsafeEnabled {
360 mi := &file_metrics_proto_msgTypes[0]
361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362 ms.StoreMessageInfo(mi)
363 }
364}
365
366func (x *MetricsBase) String() string {
367 return protoimpl.X.MessageStringOf(x)
368}
369
370func (*MetricsBase) ProtoMessage() {}
371
372func (x *MetricsBase) ProtoReflect() protoreflect.Message {
373 mi := &file_metrics_proto_msgTypes[0]
374 if protoimpl.UnsafeEnabled && x != nil {
375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
376 if ms.LoadMessageInfo() == nil {
377 ms.StoreMessageInfo(mi)
378 }
379 return ms
380 }
381 return mi.MessageOf(x)
382}
383
384// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800385func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700386 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800387}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700388
Dan Willemsen4591b642021-05-24 14:24:12 -0700389func (x *MetricsBase) GetBuildDateTimestamp() int64 {
390 if x != nil && x.BuildDateTimestamp != nil {
391 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800392 }
393 return 0
394}
395
Dan Willemsen4591b642021-05-24 14:24:12 -0700396func (x *MetricsBase) GetBuildId() string {
397 if x != nil && x.BuildId != nil {
398 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800399 }
400 return ""
401}
402
Dan Willemsen4591b642021-05-24 14:24:12 -0700403func (x *MetricsBase) GetPlatformVersionCodename() string {
404 if x != nil && x.PlatformVersionCodename != nil {
405 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800406 }
407 return ""
408}
409
Dan Willemsen4591b642021-05-24 14:24:12 -0700410func (x *MetricsBase) GetTargetProduct() string {
411 if x != nil && x.TargetProduct != nil {
412 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800413 }
414 return ""
415}
416
Dan Willemsen4591b642021-05-24 14:24:12 -0700417func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
418 if x != nil && x.TargetBuildVariant != nil {
419 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800420 }
421 return Default_MetricsBase_TargetBuildVariant
422}
423
Dan Willemsen4591b642021-05-24 14:24:12 -0700424func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
425 if x != nil && x.TargetArch != nil {
426 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800427 }
428 return Default_MetricsBase_TargetArch
429}
430
Dan Willemsen4591b642021-05-24 14:24:12 -0700431func (x *MetricsBase) GetTargetArchVariant() string {
432 if x != nil && x.TargetArchVariant != nil {
433 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800434 }
435 return ""
436}
437
Dan Willemsen4591b642021-05-24 14:24:12 -0700438func (x *MetricsBase) GetTargetCpuVariant() string {
439 if x != nil && x.TargetCpuVariant != nil {
440 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800441 }
442 return ""
443}
444
Dan Willemsen4591b642021-05-24 14:24:12 -0700445func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
446 if x != nil && x.HostArch != nil {
447 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800448 }
449 return Default_MetricsBase_HostArch
450}
451
Dan Willemsen4591b642021-05-24 14:24:12 -0700452func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
453 if x != nil && x.Host_2NdArch != nil {
454 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800455 }
456 return Default_MetricsBase_Host_2NdArch
457}
458
Dan Willemsen4591b642021-05-24 14:24:12 -0700459func (x *MetricsBase) GetHostOs() string {
460 if x != nil && x.HostOs != nil {
461 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800462 }
463 return ""
464}
465
Dan Willemsen4591b642021-05-24 14:24:12 -0700466func (x *MetricsBase) GetHostOsExtra() string {
467 if x != nil && x.HostOsExtra != nil {
468 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800469 }
470 return ""
471}
472
Dan Willemsen4591b642021-05-24 14:24:12 -0700473func (x *MetricsBase) GetHostCrossOs() string {
474 if x != nil && x.HostCrossOs != nil {
475 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800476 }
477 return ""
478}
479
Dan Willemsen4591b642021-05-24 14:24:12 -0700480func (x *MetricsBase) GetHostCrossArch() string {
481 if x != nil && x.HostCrossArch != nil {
482 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800483 }
484 return ""
485}
486
Dan Willemsen4591b642021-05-24 14:24:12 -0700487func (x *MetricsBase) GetHostCross_2NdArch() string {
488 if x != nil && x.HostCross_2NdArch != nil {
489 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800490 }
491 return ""
492}
493
Dan Willemsen4591b642021-05-24 14:24:12 -0700494func (x *MetricsBase) GetOutDir() string {
495 if x != nil && x.OutDir != nil {
496 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800497 }
498 return ""
499}
500
Dan Willemsen4591b642021-05-24 14:24:12 -0700501func (x *MetricsBase) GetSetupTools() []*PerfInfo {
502 if x != nil {
503 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800504 }
505 return nil
506}
507
Dan Willemsen4591b642021-05-24 14:24:12 -0700508func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
509 if x != nil {
510 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800511 }
512 return nil
513}
514
Dan Willemsen4591b642021-05-24 14:24:12 -0700515func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
516 if x != nil {
517 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800518 }
519 return nil
520}
521
Dan Willemsen4591b642021-05-24 14:24:12 -0700522func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
523 if x != nil {
524 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800525 }
526 return nil
527}
528
Dan Willemsen4591b642021-05-24 14:24:12 -0700529func (x *MetricsBase) GetTotal() *PerfInfo {
530 if x != nil {
531 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800532 }
533 return nil
534}
535
Dan Willemsen4591b642021-05-24 14:24:12 -0700536func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
537 if x != nil {
538 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800539 }
540 return nil
541}
542
Dan Willemsen4591b642021-05-24 14:24:12 -0700543func (x *MetricsBase) GetBuildConfig() *BuildConfig {
544 if x != nil {
545 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000546 }
547 return nil
548}
549
Dan Willemsen4591b642021-05-24 14:24:12 -0700550func (x *MetricsBase) GetHostname() string {
551 if x != nil && x.Hostname != nil {
552 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000553 }
554 return ""
555}
556
Dan Willemsen4591b642021-05-24 14:24:12 -0700557func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
558 if x != nil {
559 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000560 }
561 return nil
562}
563
Dan Willemsen4591b642021-05-24 14:24:12 -0700564func (x *MetricsBase) GetBuildCommand() string {
565 if x != nil && x.BuildCommand != nil {
566 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700567 }
568 return ""
569}
570
Dan Willemsen4591b642021-05-24 14:24:12 -0700571func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
572 if x != nil {
573 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800574 }
575 return nil
576}
577
David Goldsmith62243a32022-04-08 13:42:04 +0000578func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
579 if x != nil {
580 return x.ExpConfigFetcher
581 }
582 return nil
583}
584
Liz Kammerf2a80c62022-10-21 10:42:35 -0400585func (x *MetricsBase) GetNonZeroExit() bool {
586 if x != nil && x.NonZeroExit != nil {
587 return *x.NonZeroExit
588 }
589 return false
590}
591
592func (x *MetricsBase) GetErrorMessage() string {
593 if x != nil && x.ErrorMessage != nil {
594 return *x.ErrorMessage
595 }
596 return ""
597}
598
Patrice Arruda96850362020-08-11 20:41:11 +0000599type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700600 state protoimpl.MessageState
601 sizeCache protoimpl.SizeCache
602 unknownFields protoimpl.UnknownFields
603
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400604 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
605 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
606 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
607 // Whether the Bazel is acting as the Ninja executor for this build.
608 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
609 // Whether build is occurring in a mixed build mode, where Bazel maintains the
610 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700611 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700612 // These are the targets soong passes to ninja, these targets include special
613 // targets such as droid as well as the regular build targets.
614 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400615 // Whether the user explicitly disabled bazel mixed builds for this build.
616 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 +0000617}
618
Dan Willemsen4591b642021-05-24 14:24:12 -0700619func (x *BuildConfig) Reset() {
620 *x = BuildConfig{}
621 if protoimpl.UnsafeEnabled {
622 mi := &file_metrics_proto_msgTypes[1]
623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
624 ms.StoreMessageInfo(mi)
625 }
626}
627
628func (x *BuildConfig) String() string {
629 return protoimpl.X.MessageStringOf(x)
630}
631
632func (*BuildConfig) ProtoMessage() {}
633
634func (x *BuildConfig) ProtoReflect() protoreflect.Message {
635 mi := &file_metrics_proto_msgTypes[1]
636 if protoimpl.UnsafeEnabled && x != nil {
637 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
638 if ms.LoadMessageInfo() == nil {
639 ms.StoreMessageInfo(mi)
640 }
641 return ms
642 }
643 return mi.MessageOf(x)
644}
645
646// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000647func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700648 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000649}
650
Dan Willemsen4591b642021-05-24 14:24:12 -0700651func (x *BuildConfig) GetUseGoma() bool {
652 if x != nil && x.UseGoma != nil {
653 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000654 }
655 return false
656}
657
Dan Willemsen4591b642021-05-24 14:24:12 -0700658func (x *BuildConfig) GetUseRbe() bool {
659 if x != nil && x.UseRbe != nil {
660 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000661 }
662 return false
663}
664
Dan Willemsen4591b642021-05-24 14:24:12 -0700665func (x *BuildConfig) GetForceUseGoma() bool {
666 if x != nil && x.ForceUseGoma != nil {
667 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000668 }
669 return false
670}
671
Dan Willemsen4591b642021-05-24 14:24:12 -0700672func (x *BuildConfig) GetBazelAsNinja() bool {
673 if x != nil && x.BazelAsNinja != nil {
674 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400675 }
676 return false
677}
678
Dan Willemsen4591b642021-05-24 14:24:12 -0700679func (x *BuildConfig) GetBazelMixedBuild() bool {
680 if x != nil && x.BazelMixedBuild != nil {
681 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400682 }
683 return false
684}
685
Yu Liue737a992021-10-04 13:21:41 -0700686func (x *BuildConfig) GetTargets() []string {
687 if x != nil {
688 return x.Targets
689 }
690 return nil
691}
692
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400693func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
694 if x != nil && x.ForceDisableBazelMixedBuild != nil {
695 return *x.ForceDisableBazelMixedBuild
696 }
697 return false
698}
699
Patrice Arruda3edfd482020-10-13 23:58:41 +0000700type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700701 state protoimpl.MessageState
702 sizeCache protoimpl.SizeCache
703 unknownFields protoimpl.UnknownFields
704
Patrice Arruda3edfd482020-10-13 23:58:41 +0000705 // The total physical memory in bytes.
706 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
707 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700708 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000709}
710
Dan Willemsen4591b642021-05-24 14:24:12 -0700711func (x *SystemResourceInfo) Reset() {
712 *x = SystemResourceInfo{}
713 if protoimpl.UnsafeEnabled {
714 mi := &file_metrics_proto_msgTypes[2]
715 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
716 ms.StoreMessageInfo(mi)
717 }
718}
719
720func (x *SystemResourceInfo) String() string {
721 return protoimpl.X.MessageStringOf(x)
722}
723
724func (*SystemResourceInfo) ProtoMessage() {}
725
726func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
727 mi := &file_metrics_proto_msgTypes[2]
728 if protoimpl.UnsafeEnabled && x != nil {
729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
730 if ms.LoadMessageInfo() == nil {
731 ms.StoreMessageInfo(mi)
732 }
733 return ms
734 }
735 return mi.MessageOf(x)
736}
737
738// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000739func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700740 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000741}
742
Dan Willemsen4591b642021-05-24 14:24:12 -0700743func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
744 if x != nil && x.TotalPhysicalMemory != nil {
745 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000746 }
747 return 0
748}
749
Dan Willemsen4591b642021-05-24 14:24:12 -0700750func (x *SystemResourceInfo) GetAvailableCpus() int32 {
751 if x != nil && x.AvailableCpus != nil {
752 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000753 }
754 return 0
755}
756
Nan Zhang17f27672018-12-12 16:01:49 -0800757type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700758 state protoimpl.MessageState
759 sizeCache protoimpl.SizeCache
760 unknownFields protoimpl.UnknownFields
761
Nan Zhang17f27672018-12-12 16:01:49 -0800762 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700763 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800764 // The name for the running phase/action/part.
765 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
766 // The absolute start time.
767 // The number of nanoseconds elapsed since January 1, 1970 UTC.
768 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
769 // The real running time.
770 // The number of nanoseconds elapsed since start_time.
771 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700772 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700773 //
774 // Deprecated: Do not use.
775 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700776 // The resource information of each executed process.
777 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400778 // Whether the phase of tool running exited with a panic or non-zero exit
779 // code.
780 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
781 // The error message, if any, due to a non-zero exit.
782 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800783}
784
Dan Willemsen4591b642021-05-24 14:24:12 -0700785func (x *PerfInfo) Reset() {
786 *x = PerfInfo{}
787 if protoimpl.UnsafeEnabled {
788 mi := &file_metrics_proto_msgTypes[3]
789 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
790 ms.StoreMessageInfo(mi)
791 }
792}
793
794func (x *PerfInfo) String() string {
795 return protoimpl.X.MessageStringOf(x)
796}
797
798func (*PerfInfo) ProtoMessage() {}
799
800func (x *PerfInfo) ProtoReflect() protoreflect.Message {
801 mi := &file_metrics_proto_msgTypes[3]
802 if protoimpl.UnsafeEnabled && x != nil {
803 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
804 if ms.LoadMessageInfo() == nil {
805 ms.StoreMessageInfo(mi)
806 }
807 return ms
808 }
809 return mi.MessageOf(x)
810}
811
812// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800813func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700814 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800815}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700816
Yu Liu37c3dd32021-09-30 14:46:18 -0700817func (x *PerfInfo) GetDescription() string {
818 if x != nil && x.Description != nil {
819 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800820 }
821 return ""
822}
823
Dan Willemsen4591b642021-05-24 14:24:12 -0700824func (x *PerfInfo) GetName() string {
825 if x != nil && x.Name != nil {
826 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800827 }
828 return ""
829}
830
Dan Willemsen4591b642021-05-24 14:24:12 -0700831func (x *PerfInfo) GetStartTime() uint64 {
832 if x != nil && x.StartTime != nil {
833 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800834 }
835 return 0
836}
837
Dan Willemsen4591b642021-05-24 14:24:12 -0700838func (x *PerfInfo) GetRealTime() uint64 {
839 if x != nil && x.RealTime != nil {
840 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800841 }
842 return 0
843}
844
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700845// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700846func (x *PerfInfo) GetMemoryUse() uint64 {
847 if x != nil && x.MemoryUse != nil {
848 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800849 }
850 return 0
851}
852
Dan Willemsen4591b642021-05-24 14:24:12 -0700853func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
854 if x != nil {
855 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700856 }
857 return nil
858}
859
Liz Kammerf2a80c62022-10-21 10:42:35 -0400860func (x *PerfInfo) GetNonZeroExit() bool {
861 if x != nil && x.NonZeroExit != nil {
862 return *x.NonZeroExit
863 }
864 return false
865}
866
867func (x *PerfInfo) GetErrorMessage() string {
868 if x != nil && x.ErrorMessage != nil {
869 return *x.ErrorMessage
870 }
871 return ""
872}
873
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700874type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700875 state protoimpl.MessageState
876 sizeCache protoimpl.SizeCache
877 unknownFields protoimpl.UnknownFields
878
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700879 // The name of the process for identification.
880 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
881 // The amount of time spent executing in user space in microseconds.
882 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
883 // The amount of time spent executing in kernel mode in microseconds.
884 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
885 // The maximum resident set size memory used in kilobytes.
886 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
887 // The number of minor page faults serviced without any I/O activity.
888 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
889 // The number of major page faults serviced that required I/O activity.
890 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
891 // Total IO input in kilobytes.
892 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
893 // Total IO output in kilobytes.
894 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
895 // The number of voluntary context switches
896 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
897 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700898 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700899}
900
Dan Willemsen4591b642021-05-24 14:24:12 -0700901func (x *ProcessResourceInfo) Reset() {
902 *x = ProcessResourceInfo{}
903 if protoimpl.UnsafeEnabled {
904 mi := &file_metrics_proto_msgTypes[4]
905 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
906 ms.StoreMessageInfo(mi)
907 }
908}
909
910func (x *ProcessResourceInfo) String() string {
911 return protoimpl.X.MessageStringOf(x)
912}
913
914func (*ProcessResourceInfo) ProtoMessage() {}
915
916func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
917 mi := &file_metrics_proto_msgTypes[4]
918 if protoimpl.UnsafeEnabled && x != nil {
919 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
920 if ms.LoadMessageInfo() == nil {
921 ms.StoreMessageInfo(mi)
922 }
923 return ms
924 }
925 return mi.MessageOf(x)
926}
927
928// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700929func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700930 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700931}
932
Dan Willemsen4591b642021-05-24 14:24:12 -0700933func (x *ProcessResourceInfo) GetName() string {
934 if x != nil && x.Name != nil {
935 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700936 }
937 return ""
938}
939
Dan Willemsen4591b642021-05-24 14:24:12 -0700940func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
941 if x != nil && x.UserTimeMicros != nil {
942 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700943 }
944 return 0
945}
946
Dan Willemsen4591b642021-05-24 14:24:12 -0700947func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
948 if x != nil && x.SystemTimeMicros != nil {
949 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700950 }
951 return 0
952}
953
Dan Willemsen4591b642021-05-24 14:24:12 -0700954func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
955 if x != nil && x.MaxRssKb != nil {
956 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700957 }
958 return 0
959}
960
Dan Willemsen4591b642021-05-24 14:24:12 -0700961func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
962 if x != nil && x.MinorPageFaults != nil {
963 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700964 }
965 return 0
966}
967
Dan Willemsen4591b642021-05-24 14:24:12 -0700968func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
969 if x != nil && x.MajorPageFaults != nil {
970 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700971 }
972 return 0
973}
974
Dan Willemsen4591b642021-05-24 14:24:12 -0700975func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
976 if x != nil && x.IoInputKb != nil {
977 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700978 }
979 return 0
980}
981
Dan Willemsen4591b642021-05-24 14:24:12 -0700982func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
983 if x != nil && x.IoOutputKb != nil {
984 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700985 }
986 return 0
987}
988
Dan Willemsen4591b642021-05-24 14:24:12 -0700989func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
990 if x != nil && x.VoluntaryContextSwitches != nil {
991 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700992 }
993 return 0
994}
995
Dan Willemsen4591b642021-05-24 14:24:12 -0700996func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
997 if x != nil && x.InvoluntaryContextSwitches != nil {
998 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700999 }
1000 return 0
1001}
1002
Nan Zhang17f27672018-12-12 16:01:49 -08001003type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001004 state protoimpl.MessageState
1005 sizeCache protoimpl.SizeCache
1006 unknownFields protoimpl.UnknownFields
1007
MarkDacekff851b82022-04-21 18:33:17 +00001008 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001009 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 +00001010 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001011 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1012 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001013 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001014}
1015
Dan Willemsen4591b642021-05-24 14:24:12 -07001016// Default values for ModuleTypeInfo fields.
1017const (
1018 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1019)
1020
1021func (x *ModuleTypeInfo) Reset() {
1022 *x = ModuleTypeInfo{}
1023 if protoimpl.UnsafeEnabled {
1024 mi := &file_metrics_proto_msgTypes[5]
1025 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1026 ms.StoreMessageInfo(mi)
1027 }
1028}
1029
1030func (x *ModuleTypeInfo) String() string {
1031 return protoimpl.X.MessageStringOf(x)
1032}
1033
1034func (*ModuleTypeInfo) ProtoMessage() {}
1035
1036func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1037 mi := &file_metrics_proto_msgTypes[5]
1038 if protoimpl.UnsafeEnabled && x != nil {
1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1040 if ms.LoadMessageInfo() == nil {
1041 ms.StoreMessageInfo(mi)
1042 }
1043 return ms
1044 }
1045 return mi.MessageOf(x)
1046}
1047
1048// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001049func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001050 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001051}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001052
Dan Willemsen4591b642021-05-24 14:24:12 -07001053func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1054 if x != nil && x.BuildSystem != nil {
1055 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001056 }
1057 return Default_ModuleTypeInfo_BuildSystem
1058}
1059
Dan Willemsen4591b642021-05-24 14:24:12 -07001060func (x *ModuleTypeInfo) GetModuleType() string {
1061 if x != nil && x.ModuleType != nil {
1062 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001063 }
1064 return ""
1065}
1066
Dan Willemsen4591b642021-05-24 14:24:12 -07001067func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1068 if x != nil && x.NumOfModules != nil {
1069 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001070 }
1071 return 0
1072}
1073
Colin Crossd0be2102019-11-26 16:16:57 -08001074type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001075 state protoimpl.MessageState
1076 sizeCache protoimpl.SizeCache
1077 unknownFields protoimpl.UnknownFields
1078
Colin Crossd0be2102019-11-26 16:16:57 -08001079 // The name of a critical user journey test.
1080 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1081 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001082 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001083}
1084
Dan Willemsen4591b642021-05-24 14:24:12 -07001085func (x *CriticalUserJourneyMetrics) Reset() {
1086 *x = CriticalUserJourneyMetrics{}
1087 if protoimpl.UnsafeEnabled {
1088 mi := &file_metrics_proto_msgTypes[6]
1089 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1090 ms.StoreMessageInfo(mi)
1091 }
1092}
1093
1094func (x *CriticalUserJourneyMetrics) String() string {
1095 return protoimpl.X.MessageStringOf(x)
1096}
1097
1098func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1099
1100func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1101 mi := &file_metrics_proto_msgTypes[6]
1102 if protoimpl.UnsafeEnabled && x != nil {
1103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1104 if ms.LoadMessageInfo() == nil {
1105 ms.StoreMessageInfo(mi)
1106 }
1107 return ms
1108 }
1109 return mi.MessageOf(x)
1110}
1111
1112// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001113func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001114 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001115}
1116
Dan Willemsen4591b642021-05-24 14:24:12 -07001117func (x *CriticalUserJourneyMetrics) GetName() string {
1118 if x != nil && x.Name != nil {
1119 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001120 }
1121 return ""
1122}
1123
Dan Willemsen4591b642021-05-24 14:24:12 -07001124func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1125 if x != nil {
1126 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001127 }
1128 return nil
1129}
1130
1131type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001132 state protoimpl.MessageState
1133 sizeCache protoimpl.SizeCache
1134 unknownFields protoimpl.UnknownFields
1135
Colin Crossd0be2102019-11-26 16:16:57 -08001136 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001137 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001138}
1139
Dan Willemsen4591b642021-05-24 14:24:12 -07001140func (x *CriticalUserJourneysMetrics) Reset() {
1141 *x = CriticalUserJourneysMetrics{}
1142 if protoimpl.UnsafeEnabled {
1143 mi := &file_metrics_proto_msgTypes[7]
1144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1145 ms.StoreMessageInfo(mi)
1146 }
1147}
1148
1149func (x *CriticalUserJourneysMetrics) String() string {
1150 return protoimpl.X.MessageStringOf(x)
1151}
1152
1153func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1154
1155func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1156 mi := &file_metrics_proto_msgTypes[7]
1157 if protoimpl.UnsafeEnabled && x != nil {
1158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1159 if ms.LoadMessageInfo() == nil {
1160 ms.StoreMessageInfo(mi)
1161 }
1162 return ms
1163 }
1164 return mi.MessageOf(x)
1165}
1166
1167// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001168func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001169 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001170}
1171
Dan Willemsen4591b642021-05-24 14:24:12 -07001172func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1173 if x != nil {
1174 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001175 }
1176 return nil
1177}
1178
Colin Crossb72c9092020-02-10 11:23:49 -08001179type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001180 state protoimpl.MessageState
1181 sizeCache protoimpl.SizeCache
1182 unknownFields protoimpl.UnknownFields
1183
Colin Crossb72c9092020-02-10 11:23:49 -08001184 // The number of modules handled by soong_build.
1185 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1186 // The total number of variants handled by soong_build.
1187 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1188 // The total number of allocations in soong_build.
1189 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1190 // The total size of allocations in soong_build in bytes.
1191 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1192 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001193 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001194 // Runtime metrics for soong_build execution.
1195 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001196 // Mixed Builds information
1197 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001198}
1199
Dan Willemsen4591b642021-05-24 14:24:12 -07001200func (x *SoongBuildMetrics) Reset() {
1201 *x = SoongBuildMetrics{}
1202 if protoimpl.UnsafeEnabled {
1203 mi := &file_metrics_proto_msgTypes[8]
1204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1205 ms.StoreMessageInfo(mi)
1206 }
1207}
1208
1209func (x *SoongBuildMetrics) String() string {
1210 return protoimpl.X.MessageStringOf(x)
1211}
1212
1213func (*SoongBuildMetrics) ProtoMessage() {}
1214
1215func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1216 mi := &file_metrics_proto_msgTypes[8]
1217 if protoimpl.UnsafeEnabled && x != nil {
1218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1219 if ms.LoadMessageInfo() == nil {
1220 ms.StoreMessageInfo(mi)
1221 }
1222 return ms
1223 }
1224 return mi.MessageOf(x)
1225}
1226
1227// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001228func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001229 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001230}
1231
Dan Willemsen4591b642021-05-24 14:24:12 -07001232func (x *SoongBuildMetrics) GetModules() uint32 {
1233 if x != nil && x.Modules != nil {
1234 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001235 }
1236 return 0
1237}
1238
Dan Willemsen4591b642021-05-24 14:24:12 -07001239func (x *SoongBuildMetrics) GetVariants() uint32 {
1240 if x != nil && x.Variants != nil {
1241 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001242 }
1243 return 0
1244}
1245
Dan Willemsen4591b642021-05-24 14:24:12 -07001246func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1247 if x != nil && x.TotalAllocCount != nil {
1248 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001249 }
1250 return 0
1251}
1252
Dan Willemsen4591b642021-05-24 14:24:12 -07001253func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1254 if x != nil && x.TotalAllocSize != nil {
1255 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001256 }
1257 return 0
1258}
1259
Dan Willemsen4591b642021-05-24 14:24:12 -07001260func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1261 if x != nil && x.MaxHeapSize != nil {
1262 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001263 }
1264 return 0
1265}
1266
Chris Parsons715b08f2022-03-22 19:23:40 -04001267func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1268 if x != nil {
1269 return x.Events
1270 }
1271 return nil
1272}
1273
MarkDacekff851b82022-04-21 18:33:17 +00001274func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1275 if x != nil {
1276 return x.MixedBuildsInfo
1277 }
1278 return nil
1279}
1280
David Goldsmith62243a32022-04-08 13:42:04 +00001281type ExpConfigFetcher struct {
1282 state protoimpl.MessageState
1283 sizeCache protoimpl.SizeCache
1284 unknownFields protoimpl.UnknownFields
1285
1286 // The result of the call to expconfigfetcher
1287 // NO_CONFIG - Not part of experiment
1288 // CONFIG - Part of experiment, config copied successfully
1289 // ERROR - expconfigfetcher failed
1290 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1291 // The output config filename
1292 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1293 // Time, in microseconds, taken by the expconfigfetcher
1294 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1295}
1296
1297func (x *ExpConfigFetcher) Reset() {
1298 *x = ExpConfigFetcher{}
1299 if protoimpl.UnsafeEnabled {
1300 mi := &file_metrics_proto_msgTypes[9]
1301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1302 ms.StoreMessageInfo(mi)
1303 }
1304}
1305
1306func (x *ExpConfigFetcher) String() string {
1307 return protoimpl.X.MessageStringOf(x)
1308}
1309
1310func (*ExpConfigFetcher) ProtoMessage() {}
1311
1312func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1313 mi := &file_metrics_proto_msgTypes[9]
1314 if protoimpl.UnsafeEnabled && x != nil {
1315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1316 if ms.LoadMessageInfo() == nil {
1317 ms.StoreMessageInfo(mi)
1318 }
1319 return ms
1320 }
1321 return mi.MessageOf(x)
1322}
1323
1324// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1325func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1326 return file_metrics_proto_rawDescGZIP(), []int{9}
1327}
1328
1329func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1330 if x != nil && x.Status != nil {
1331 return *x.Status
1332 }
1333 return ExpConfigFetcher_NO_CONFIG
1334}
1335
1336func (x *ExpConfigFetcher) GetFilename() string {
1337 if x != nil && x.Filename != nil {
1338 return *x.Filename
1339 }
1340 return ""
1341}
1342
1343func (x *ExpConfigFetcher) GetMicros() uint64 {
1344 if x != nil && x.Micros != nil {
1345 return *x.Micros
1346 }
1347 return 0
1348}
1349
MarkDacekff851b82022-04-21 18:33:17 +00001350type MixedBuildsInfo struct {
1351 state protoimpl.MessageState
1352 sizeCache protoimpl.SizeCache
1353 unknownFields protoimpl.UnknownFields
1354
1355 // Modules that are enabled for Mixed Builds.
1356 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 +00001357 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001358 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1359}
1360
1361func (x *MixedBuildsInfo) Reset() {
1362 *x = MixedBuildsInfo{}
1363 if protoimpl.UnsafeEnabled {
1364 mi := &file_metrics_proto_msgTypes[10]
1365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1366 ms.StoreMessageInfo(mi)
1367 }
1368}
1369
1370func (x *MixedBuildsInfo) String() string {
1371 return protoimpl.X.MessageStringOf(x)
1372}
1373
1374func (*MixedBuildsInfo) ProtoMessage() {}
1375
1376func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1377 mi := &file_metrics_proto_msgTypes[10]
1378 if protoimpl.UnsafeEnabled && x != nil {
1379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1380 if ms.LoadMessageInfo() == nil {
1381 ms.StoreMessageInfo(mi)
1382 }
1383 return ms
1384 }
1385 return mi.MessageOf(x)
1386}
1387
1388// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1389func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1390 return file_metrics_proto_rawDescGZIP(), []int{10}
1391}
1392
1393func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1394 if x != nil {
1395 return x.MixedBuildEnabledModules
1396 }
1397 return nil
1398}
1399
1400func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1401 if x != nil {
1402 return x.MixedBuildDisabledModules
1403 }
1404 return nil
1405}
1406
Dan Willemsen4591b642021-05-24 14:24:12 -07001407var File_metrics_proto protoreflect.FileDescriptor
1408
1409var file_metrics_proto_rawDesc = []byte{
1410 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1411 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
Liz Kammerf2a80c62022-10-21 10:42:35 -04001412 0x72, 0x69, 0x63, 0x73, 0x22, 0xf6, 0x0d, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001413 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1414 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1415 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1416 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1417 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1418 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1419 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1420 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1421 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1422 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1423 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1424 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1425 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1426 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1427 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1428 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1429 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1430 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1431 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1432 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1433 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1434 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1435 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1436 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1437 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1438 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1439 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1440 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1441 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1442 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1443 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1444 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1445 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1446 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1447 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1448 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1449 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1450 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1451 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1452 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1453 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1454 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1455 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1456 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1457 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1458 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1459 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1460 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1461 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1462 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1463 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1464 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1465 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1466 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1467 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1468 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1469 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1470 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1471 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1472 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1473 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1474 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1475 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1476 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1477 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1478 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1479 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1480 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1481 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1482 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
1483 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
1484 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1485 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1486 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
1487 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x11, 0x73,
1488 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1489 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1490 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1491 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69,
1492 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43,
1493 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
1494 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
1495 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f,
1496 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32,
1497 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1498 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f,
1499 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
1500 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d,
1501 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x1a, 0x20,
1502 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1503 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18,
1504 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1505 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66,
David Goldsmith62243a32022-04-08 13:42:04 +00001506 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52, 0x75, 0x6e, 0x73, 0x12,
1507 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x65,
1508 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f,
1509 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1510 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68,
1511 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74,
Liz Kammerf2a80c62022-10-21 10:42:35 -04001512 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f,
1513 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e,
1514 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f,
1515 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52,
1516 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x30, 0x0a,
1517 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a,
1518 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44,
1519 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22,
1520 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
1521 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a,
1522 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10,
1523 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x04, 0x22, 0x99, 0x02,
1524 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a,
1525 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
1526 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f,
1527 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62,
1528 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67,
1529 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65,
1530 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c,
1531 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
1532 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a,
1533 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69,
1534 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d,
1535 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72,
1536 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67,
1537 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73,
1538 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64,
1539 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f,
1540 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d,
1541 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73,
1542 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
1543 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61,
1544 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13,
1545 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d,
1546 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
1547 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61,
1548 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50,
1549 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
1550 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
1551 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
1552 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
1553 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
1554 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
1555 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
1556 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d,
1557 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18,
1558 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17,
1559 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1560 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
1561 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1562 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75,
1563 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
1564 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22,
1565 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18,
1566 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78,
1567 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73,
1568 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72,
1569 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63,
1570 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
1571 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
1572 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1573 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75,
1574 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a,
1575 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63,
1576 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65,
1577 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d,
1578 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
1579 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e,
1580 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05,
1581 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46,
1582 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70,
1583 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
1584 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74,
1585 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62,
1586 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b,
1587 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b,
1588 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75,
1589 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79,
1590 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
1591 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61,
Romain Jobredeauxea098ef2022-10-20 14:24:31 -04001592 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
Liz Kammerf2a80c62022-10-21 10:42:35 -04001593 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79,
1594 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
1595 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e,
1596 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63,
1597 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79,
1598 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1599 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73,
Romain Jobredeauxea098ef2022-10-20 14:24:31 -04001600 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
Liz Kammerf2a80c62022-10-21 10:42:35 -04001601 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66,
1602 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55,
1603 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73,
1604 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79,
1605 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1606 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d,
1607 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75,
1608 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75,
1609 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
1610 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10,
1611 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43,
1612 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e,
1613 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
1614 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a,
1615 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
1616 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1617 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65,
1618 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69,
1619 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
1620 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73,
1621 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1622 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69,
1623 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
1624 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02,
1625 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72,
1626 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01,
1627 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a,
1628 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
1629 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74,
1630 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
1631 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
1632 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61,
1633 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
1634 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12,
1635 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65,
1636 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53,
1637 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20,
1638 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1639 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e,
1640 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69,
1641 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
1642 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1643 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65,
1644 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78,
1645 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a,
1646 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65,
1647 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
1648 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1649 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1650 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
1651 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a,
1652 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1653 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63,
1654 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f,
1655 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
1656 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00,
1657 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
1658 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x53, 0x49,
1659 0x4e, 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d,
1660 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d,
1661 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x65, 0x6e,
1662 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20,
1663 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45,
1664 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a,
1665 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x73,
1666 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20,
1667 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44,
1668 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x28,
1669 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f,
1670 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1671 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001672}
1673
Dan Willemsen4591b642021-05-24 14:24:12 -07001674var (
1675 file_metrics_proto_rawDescOnce sync.Once
1676 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1677)
1678
1679func file_metrics_proto_rawDescGZIP() []byte {
1680 file_metrics_proto_rawDescOnce.Do(func() {
1681 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1682 })
1683 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001684}
Nan Zhang17f27672018-12-12 16:01:49 -08001685
David Goldsmith62243a32022-04-08 13:42:04 +00001686var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
MarkDacekff851b82022-04-21 18:33:17 +00001687var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
Dan Willemsen4591b642021-05-24 14:24:12 -07001688var file_metrics_proto_goTypes = []interface{}{
1689 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1690 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1691 (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem
David Goldsmith62243a32022-04-08 13:42:04 +00001692 (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1693 (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase
1694 (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig
1695 (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo
1696 (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo
1697 (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo
1698 (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo
1699 (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics
1700 (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics
1701 (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics
1702 (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher
MarkDacekff851b82022-04-21 18:33:17 +00001703 (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001704}
1705var file_metrics_proto_depIdxs = []int32{
1706 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1707 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1708 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1709 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
David Goldsmith62243a32022-04-08 13:42:04 +00001710 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
1711 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
1712 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
1713 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
1714 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
1715 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
1716 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
1717 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
1718 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
1719 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
1720 8, // 14: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
1721 2, // 15: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
1722 4, // 16: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
1723 10, // 17: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
1724 7, // 18: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
MarkDacekff851b82022-04-21 18:33:17 +00001725 14, // 19: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
1726 3, // 20: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
1727 21, // [21:21] is the sub-list for method output_type
1728 21, // [21:21] is the sub-list for method input_type
1729 21, // [21:21] is the sub-list for extension type_name
1730 21, // [21:21] is the sub-list for extension extendee
1731 0, // [0:21] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07001732}
1733
1734func init() { file_metrics_proto_init() }
1735func file_metrics_proto_init() {
1736 if File_metrics_proto != nil {
1737 return
1738 }
1739 if !protoimpl.UnsafeEnabled {
1740 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1741 switch v := v.(*MetricsBase); i {
1742 case 0:
1743 return &v.state
1744 case 1:
1745 return &v.sizeCache
1746 case 2:
1747 return &v.unknownFields
1748 default:
1749 return nil
1750 }
1751 }
1752 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1753 switch v := v.(*BuildConfig); i {
1754 case 0:
1755 return &v.state
1756 case 1:
1757 return &v.sizeCache
1758 case 2:
1759 return &v.unknownFields
1760 default:
1761 return nil
1762 }
1763 }
1764 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1765 switch v := v.(*SystemResourceInfo); i {
1766 case 0:
1767 return &v.state
1768 case 1:
1769 return &v.sizeCache
1770 case 2:
1771 return &v.unknownFields
1772 default:
1773 return nil
1774 }
1775 }
1776 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1777 switch v := v.(*PerfInfo); i {
1778 case 0:
1779 return &v.state
1780 case 1:
1781 return &v.sizeCache
1782 case 2:
1783 return &v.unknownFields
1784 default:
1785 return nil
1786 }
1787 }
1788 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1789 switch v := v.(*ProcessResourceInfo); i {
1790 case 0:
1791 return &v.state
1792 case 1:
1793 return &v.sizeCache
1794 case 2:
1795 return &v.unknownFields
1796 default:
1797 return nil
1798 }
1799 }
1800 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1801 switch v := v.(*ModuleTypeInfo); i {
1802 case 0:
1803 return &v.state
1804 case 1:
1805 return &v.sizeCache
1806 case 2:
1807 return &v.unknownFields
1808 default:
1809 return nil
1810 }
1811 }
1812 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1813 switch v := v.(*CriticalUserJourneyMetrics); i {
1814 case 0:
1815 return &v.state
1816 case 1:
1817 return &v.sizeCache
1818 case 2:
1819 return &v.unknownFields
1820 default:
1821 return nil
1822 }
1823 }
1824 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1825 switch v := v.(*CriticalUserJourneysMetrics); i {
1826 case 0:
1827 return &v.state
1828 case 1:
1829 return &v.sizeCache
1830 case 2:
1831 return &v.unknownFields
1832 default:
1833 return nil
1834 }
1835 }
1836 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1837 switch v := v.(*SoongBuildMetrics); i {
1838 case 0:
1839 return &v.state
1840 case 1:
1841 return &v.sizeCache
1842 case 2:
1843 return &v.unknownFields
1844 default:
1845 return nil
1846 }
1847 }
David Goldsmith62243a32022-04-08 13:42:04 +00001848 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1849 switch v := v.(*ExpConfigFetcher); i {
1850 case 0:
1851 return &v.state
1852 case 1:
1853 return &v.sizeCache
1854 case 2:
1855 return &v.unknownFields
1856 default:
1857 return nil
1858 }
1859 }
MarkDacekff851b82022-04-21 18:33:17 +00001860 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1861 switch v := v.(*MixedBuildsInfo); i {
1862 case 0:
1863 return &v.state
1864 case 1:
1865 return &v.sizeCache
1866 case 2:
1867 return &v.unknownFields
1868 default:
1869 return nil
1870 }
1871 }
Dan Willemsen4591b642021-05-24 14:24:12 -07001872 }
1873 type x struct{}
1874 out := protoimpl.TypeBuilder{
1875 File: protoimpl.DescBuilder{
1876 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1877 RawDescriptor: file_metrics_proto_rawDesc,
David Goldsmith62243a32022-04-08 13:42:04 +00001878 NumEnums: 4,
MarkDacekff851b82022-04-21 18:33:17 +00001879 NumMessages: 11,
Dan Willemsen4591b642021-05-24 14:24:12 -07001880 NumExtensions: 0,
1881 NumServices: 0,
1882 },
1883 GoTypes: file_metrics_proto_goTypes,
1884 DependencyIndexes: file_metrics_proto_depIdxs,
1885 EnumInfos: file_metrics_proto_enumTypes,
1886 MessageInfos: file_metrics_proto_msgTypes,
1887 }.Build()
1888 File_metrics_proto = out.File
1889 file_metrics_proto_rawDesc = nil
1890 file_metrics_proto_goTypes = nil
1891 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08001892}