blob: 9f9b863ba6fa3aad4847429d7434eda27b4895bf [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 (
223 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
224 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
225 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
226)
227
228// Enum value maps for ExpConfigFetcher_ConfigStatus.
229var (
230 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
231 0: "NO_CONFIG",
232 1: "CONFIG",
233 2: "ERROR",
234 }
235 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
236 "NO_CONFIG": 0,
237 "CONFIG": 1,
238 "ERROR": 2,
239 }
240)
241
242func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
243 p := new(ExpConfigFetcher_ConfigStatus)
244 *p = x
245 return p
246}
247
248func (x ExpConfigFetcher_ConfigStatus) String() string {
249 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
250}
251
252func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
253 return file_metrics_proto_enumTypes[3].Descriptor()
254}
255
256func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
257 return &file_metrics_proto_enumTypes[3]
258}
259
260func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
261 return protoreflect.EnumNumber(x)
262}
263
264// Deprecated: Do not use.
265func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
266 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
267 if err != nil {
268 return err
269 }
270 *x = ExpConfigFetcher_ConfigStatus(num)
271 return nil
272}
273
274// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
275func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
276 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
277}
278
Nan Zhang17f27672018-12-12 16:01:49 -0800279type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700280 state protoimpl.MessageState
281 sizeCache protoimpl.SizeCache
282 unknownFields protoimpl.UnknownFields
283
Nan Zhang17f27672018-12-12 16:01:49 -0800284 // Timestamp generated when the build starts.
285 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
286 // It is usually used to specify the branch name [and release candidate].
287 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
288 // The platform version codename, eg. P, Q, REL.
289 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
290 // The target product information, eg. aosp_arm.
291 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
292 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700293 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 -0800294 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700295 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 -0800296 // The target arch variant information, eg. armv7-a-neon.
297 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
298 // The target cpu variant information, eg. generic.
299 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
300 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700301 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 -0800302 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700303 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 -0800304 // The host os information, eg. linux.
305 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
306 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
307 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
308 // The host cross os information, eg. windows.
309 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
310 // The host cross arch information, eg. x86.
311 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
312 // The host cross 2nd arch information, eg. x86_64.
313 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
314 // The directory for generated built artifacts installation, eg. out.
315 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
316 // The metrics for calling various tools (microfactory) before Soong_UI starts.
317 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
318 // The metrics for calling Kati by multiple times.
319 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
320 // The metrics for calling Soong.
321 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
322 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800323 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
324 // The metrics for the whole build
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000325 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
326 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
327 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000328 // The hostname of the machine.
329 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
330 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700331 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
332 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800333 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
334 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700335 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000336 // The metrics of the experiment config fetcher
337 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800338}
339
Dan Willemsen4591b642021-05-24 14:24:12 -0700340// Default values for MetricsBase fields.
341const (
342 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
343 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
344 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
345 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
346)
347
348func (x *MetricsBase) Reset() {
349 *x = MetricsBase{}
350 if protoimpl.UnsafeEnabled {
351 mi := &file_metrics_proto_msgTypes[0]
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 ms.StoreMessageInfo(mi)
354 }
355}
356
357func (x *MetricsBase) String() string {
358 return protoimpl.X.MessageStringOf(x)
359}
360
361func (*MetricsBase) ProtoMessage() {}
362
363func (x *MetricsBase) ProtoReflect() protoreflect.Message {
364 mi := &file_metrics_proto_msgTypes[0]
365 if protoimpl.UnsafeEnabled && x != nil {
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 if ms.LoadMessageInfo() == nil {
368 ms.StoreMessageInfo(mi)
369 }
370 return ms
371 }
372 return mi.MessageOf(x)
373}
374
375// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800376func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700377 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800378}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700379
Dan Willemsen4591b642021-05-24 14:24:12 -0700380func (x *MetricsBase) GetBuildDateTimestamp() int64 {
381 if x != nil && x.BuildDateTimestamp != nil {
382 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800383 }
384 return 0
385}
386
Dan Willemsen4591b642021-05-24 14:24:12 -0700387func (x *MetricsBase) GetBuildId() string {
388 if x != nil && x.BuildId != nil {
389 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800390 }
391 return ""
392}
393
Dan Willemsen4591b642021-05-24 14:24:12 -0700394func (x *MetricsBase) GetPlatformVersionCodename() string {
395 if x != nil && x.PlatformVersionCodename != nil {
396 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800397 }
398 return ""
399}
400
Dan Willemsen4591b642021-05-24 14:24:12 -0700401func (x *MetricsBase) GetTargetProduct() string {
402 if x != nil && x.TargetProduct != nil {
403 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800404 }
405 return ""
406}
407
Dan Willemsen4591b642021-05-24 14:24:12 -0700408func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
409 if x != nil && x.TargetBuildVariant != nil {
410 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800411 }
412 return Default_MetricsBase_TargetBuildVariant
413}
414
Dan Willemsen4591b642021-05-24 14:24:12 -0700415func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
416 if x != nil && x.TargetArch != nil {
417 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800418 }
419 return Default_MetricsBase_TargetArch
420}
421
Dan Willemsen4591b642021-05-24 14:24:12 -0700422func (x *MetricsBase) GetTargetArchVariant() string {
423 if x != nil && x.TargetArchVariant != nil {
424 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800425 }
426 return ""
427}
428
Dan Willemsen4591b642021-05-24 14:24:12 -0700429func (x *MetricsBase) GetTargetCpuVariant() string {
430 if x != nil && x.TargetCpuVariant != nil {
431 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800432 }
433 return ""
434}
435
Dan Willemsen4591b642021-05-24 14:24:12 -0700436func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
437 if x != nil && x.HostArch != nil {
438 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800439 }
440 return Default_MetricsBase_HostArch
441}
442
Dan Willemsen4591b642021-05-24 14:24:12 -0700443func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
444 if x != nil && x.Host_2NdArch != nil {
445 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800446 }
447 return Default_MetricsBase_Host_2NdArch
448}
449
Dan Willemsen4591b642021-05-24 14:24:12 -0700450func (x *MetricsBase) GetHostOs() string {
451 if x != nil && x.HostOs != nil {
452 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800453 }
454 return ""
455}
456
Dan Willemsen4591b642021-05-24 14:24:12 -0700457func (x *MetricsBase) GetHostOsExtra() string {
458 if x != nil && x.HostOsExtra != nil {
459 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800460 }
461 return ""
462}
463
Dan Willemsen4591b642021-05-24 14:24:12 -0700464func (x *MetricsBase) GetHostCrossOs() string {
465 if x != nil && x.HostCrossOs != nil {
466 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800467 }
468 return ""
469}
470
Dan Willemsen4591b642021-05-24 14:24:12 -0700471func (x *MetricsBase) GetHostCrossArch() string {
472 if x != nil && x.HostCrossArch != nil {
473 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800474 }
475 return ""
476}
477
Dan Willemsen4591b642021-05-24 14:24:12 -0700478func (x *MetricsBase) GetHostCross_2NdArch() string {
479 if x != nil && x.HostCross_2NdArch != nil {
480 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800481 }
482 return ""
483}
484
Dan Willemsen4591b642021-05-24 14:24:12 -0700485func (x *MetricsBase) GetOutDir() string {
486 if x != nil && x.OutDir != nil {
487 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800488 }
489 return ""
490}
491
Dan Willemsen4591b642021-05-24 14:24:12 -0700492func (x *MetricsBase) GetSetupTools() []*PerfInfo {
493 if x != nil {
494 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800495 }
496 return nil
497}
498
Dan Willemsen4591b642021-05-24 14:24:12 -0700499func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
500 if x != nil {
501 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800502 }
503 return nil
504}
505
Dan Willemsen4591b642021-05-24 14:24:12 -0700506func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
507 if x != nil {
508 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800509 }
510 return nil
511}
512
Dan Willemsen4591b642021-05-24 14:24:12 -0700513func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
514 if x != nil {
515 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800516 }
517 return nil
518}
519
Dan Willemsen4591b642021-05-24 14:24:12 -0700520func (x *MetricsBase) GetTotal() *PerfInfo {
521 if x != nil {
522 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800523 }
524 return nil
525}
526
Dan Willemsen4591b642021-05-24 14:24:12 -0700527func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
528 if x != nil {
529 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800530 }
531 return nil
532}
533
Dan Willemsen4591b642021-05-24 14:24:12 -0700534func (x *MetricsBase) GetBuildConfig() *BuildConfig {
535 if x != nil {
536 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000537 }
538 return nil
539}
540
Dan Willemsen4591b642021-05-24 14:24:12 -0700541func (x *MetricsBase) GetHostname() string {
542 if x != nil && x.Hostname != nil {
543 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000544 }
545 return ""
546}
547
Dan Willemsen4591b642021-05-24 14:24:12 -0700548func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
549 if x != nil {
550 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000551 }
552 return nil
553}
554
Dan Willemsen4591b642021-05-24 14:24:12 -0700555func (x *MetricsBase) GetBuildCommand() string {
556 if x != nil && x.BuildCommand != nil {
557 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700558 }
559 return ""
560}
561
Dan Willemsen4591b642021-05-24 14:24:12 -0700562func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
563 if x != nil {
564 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800565 }
566 return nil
567}
568
David Goldsmith62243a32022-04-08 13:42:04 +0000569func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
570 if x != nil {
571 return x.ExpConfigFetcher
572 }
573 return nil
574}
575
Patrice Arruda96850362020-08-11 20:41:11 +0000576type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700577 state protoimpl.MessageState
578 sizeCache protoimpl.SizeCache
579 unknownFields protoimpl.UnknownFields
580
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400581 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
582 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
583 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
584 // Whether the Bazel is acting as the Ninja executor for this build.
585 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
586 // Whether build is occurring in a mixed build mode, where Bazel maintains the
587 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700588 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700589 // These are the targets soong passes to ninja, these targets include special
590 // targets such as droid as well as the regular build targets.
591 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000592}
593
Dan Willemsen4591b642021-05-24 14:24:12 -0700594func (x *BuildConfig) Reset() {
595 *x = BuildConfig{}
596 if protoimpl.UnsafeEnabled {
597 mi := &file_metrics_proto_msgTypes[1]
598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
599 ms.StoreMessageInfo(mi)
600 }
601}
602
603func (x *BuildConfig) String() string {
604 return protoimpl.X.MessageStringOf(x)
605}
606
607func (*BuildConfig) ProtoMessage() {}
608
609func (x *BuildConfig) ProtoReflect() protoreflect.Message {
610 mi := &file_metrics_proto_msgTypes[1]
611 if protoimpl.UnsafeEnabled && x != nil {
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 if ms.LoadMessageInfo() == nil {
614 ms.StoreMessageInfo(mi)
615 }
616 return ms
617 }
618 return mi.MessageOf(x)
619}
620
621// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000622func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700623 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000624}
625
Dan Willemsen4591b642021-05-24 14:24:12 -0700626func (x *BuildConfig) GetUseGoma() bool {
627 if x != nil && x.UseGoma != nil {
628 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000629 }
630 return false
631}
632
Dan Willemsen4591b642021-05-24 14:24:12 -0700633func (x *BuildConfig) GetUseRbe() bool {
634 if x != nil && x.UseRbe != nil {
635 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000636 }
637 return false
638}
639
Dan Willemsen4591b642021-05-24 14:24:12 -0700640func (x *BuildConfig) GetForceUseGoma() bool {
641 if x != nil && x.ForceUseGoma != nil {
642 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000643 }
644 return false
645}
646
Dan Willemsen4591b642021-05-24 14:24:12 -0700647func (x *BuildConfig) GetBazelAsNinja() bool {
648 if x != nil && x.BazelAsNinja != nil {
649 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400650 }
651 return false
652}
653
Dan Willemsen4591b642021-05-24 14:24:12 -0700654func (x *BuildConfig) GetBazelMixedBuild() bool {
655 if x != nil && x.BazelMixedBuild != nil {
656 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400657 }
658 return false
659}
660
Yu Liue737a992021-10-04 13:21:41 -0700661func (x *BuildConfig) GetTargets() []string {
662 if x != nil {
663 return x.Targets
664 }
665 return nil
666}
667
Patrice Arruda3edfd482020-10-13 23:58:41 +0000668type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700669 state protoimpl.MessageState
670 sizeCache protoimpl.SizeCache
671 unknownFields protoimpl.UnknownFields
672
Patrice Arruda3edfd482020-10-13 23:58:41 +0000673 // The total physical memory in bytes.
674 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
675 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700676 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000677}
678
Dan Willemsen4591b642021-05-24 14:24:12 -0700679func (x *SystemResourceInfo) Reset() {
680 *x = SystemResourceInfo{}
681 if protoimpl.UnsafeEnabled {
682 mi := &file_metrics_proto_msgTypes[2]
683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
684 ms.StoreMessageInfo(mi)
685 }
686}
687
688func (x *SystemResourceInfo) String() string {
689 return protoimpl.X.MessageStringOf(x)
690}
691
692func (*SystemResourceInfo) ProtoMessage() {}
693
694func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
695 mi := &file_metrics_proto_msgTypes[2]
696 if protoimpl.UnsafeEnabled && x != nil {
697 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
698 if ms.LoadMessageInfo() == nil {
699 ms.StoreMessageInfo(mi)
700 }
701 return ms
702 }
703 return mi.MessageOf(x)
704}
705
706// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000707func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700708 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000709}
710
Dan Willemsen4591b642021-05-24 14:24:12 -0700711func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
712 if x != nil && x.TotalPhysicalMemory != nil {
713 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000714 }
715 return 0
716}
717
Dan Willemsen4591b642021-05-24 14:24:12 -0700718func (x *SystemResourceInfo) GetAvailableCpus() int32 {
719 if x != nil && x.AvailableCpus != nil {
720 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000721 }
722 return 0
723}
724
Nan Zhang17f27672018-12-12 16:01:49 -0800725type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700726 state protoimpl.MessageState
727 sizeCache protoimpl.SizeCache
728 unknownFields protoimpl.UnknownFields
729
Nan Zhang17f27672018-12-12 16:01:49 -0800730 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700731 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800732 // The name for the running phase/action/part.
733 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
734 // The absolute start time.
735 // The number of nanoseconds elapsed since January 1, 1970 UTC.
736 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
737 // The real running time.
738 // The number of nanoseconds elapsed since start_time.
739 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700740 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700741 //
742 // Deprecated: Do not use.
743 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700744 // The resource information of each executed process.
745 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800746}
747
Dan Willemsen4591b642021-05-24 14:24:12 -0700748func (x *PerfInfo) Reset() {
749 *x = PerfInfo{}
750 if protoimpl.UnsafeEnabled {
751 mi := &file_metrics_proto_msgTypes[3]
752 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
753 ms.StoreMessageInfo(mi)
754 }
755}
756
757func (x *PerfInfo) String() string {
758 return protoimpl.X.MessageStringOf(x)
759}
760
761func (*PerfInfo) ProtoMessage() {}
762
763func (x *PerfInfo) ProtoReflect() protoreflect.Message {
764 mi := &file_metrics_proto_msgTypes[3]
765 if protoimpl.UnsafeEnabled && x != nil {
766 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
767 if ms.LoadMessageInfo() == nil {
768 ms.StoreMessageInfo(mi)
769 }
770 return ms
771 }
772 return mi.MessageOf(x)
773}
774
775// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800776func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700777 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800778}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700779
Yu Liu37c3dd32021-09-30 14:46:18 -0700780func (x *PerfInfo) GetDescription() string {
781 if x != nil && x.Description != nil {
782 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800783 }
784 return ""
785}
786
Dan Willemsen4591b642021-05-24 14:24:12 -0700787func (x *PerfInfo) GetName() string {
788 if x != nil && x.Name != nil {
789 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800790 }
791 return ""
792}
793
Dan Willemsen4591b642021-05-24 14:24:12 -0700794func (x *PerfInfo) GetStartTime() uint64 {
795 if x != nil && x.StartTime != nil {
796 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800797 }
798 return 0
799}
800
Dan Willemsen4591b642021-05-24 14:24:12 -0700801func (x *PerfInfo) GetRealTime() uint64 {
802 if x != nil && x.RealTime != nil {
803 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800804 }
805 return 0
806}
807
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700808// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700809func (x *PerfInfo) GetMemoryUse() uint64 {
810 if x != nil && x.MemoryUse != nil {
811 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800812 }
813 return 0
814}
815
Dan Willemsen4591b642021-05-24 14:24:12 -0700816func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
817 if x != nil {
818 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700819 }
820 return nil
821}
822
823type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700824 state protoimpl.MessageState
825 sizeCache protoimpl.SizeCache
826 unknownFields protoimpl.UnknownFields
827
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700828 // The name of the process for identification.
829 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
830 // The amount of time spent executing in user space in microseconds.
831 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
832 // The amount of time spent executing in kernel mode in microseconds.
833 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
834 // The maximum resident set size memory used in kilobytes.
835 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
836 // The number of minor page faults serviced without any I/O activity.
837 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
838 // The number of major page faults serviced that required I/O activity.
839 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
840 // Total IO input in kilobytes.
841 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
842 // Total IO output in kilobytes.
843 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
844 // The number of voluntary context switches
845 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
846 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700847 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700848}
849
Dan Willemsen4591b642021-05-24 14:24:12 -0700850func (x *ProcessResourceInfo) Reset() {
851 *x = ProcessResourceInfo{}
852 if protoimpl.UnsafeEnabled {
853 mi := &file_metrics_proto_msgTypes[4]
854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
855 ms.StoreMessageInfo(mi)
856 }
857}
858
859func (x *ProcessResourceInfo) String() string {
860 return protoimpl.X.MessageStringOf(x)
861}
862
863func (*ProcessResourceInfo) ProtoMessage() {}
864
865func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
866 mi := &file_metrics_proto_msgTypes[4]
867 if protoimpl.UnsafeEnabled && x != nil {
868 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
869 if ms.LoadMessageInfo() == nil {
870 ms.StoreMessageInfo(mi)
871 }
872 return ms
873 }
874 return mi.MessageOf(x)
875}
876
877// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700878func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700879 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700880}
881
Dan Willemsen4591b642021-05-24 14:24:12 -0700882func (x *ProcessResourceInfo) GetName() string {
883 if x != nil && x.Name != nil {
884 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700885 }
886 return ""
887}
888
Dan Willemsen4591b642021-05-24 14:24:12 -0700889func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
890 if x != nil && x.UserTimeMicros != nil {
891 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700892 }
893 return 0
894}
895
Dan Willemsen4591b642021-05-24 14:24:12 -0700896func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
897 if x != nil && x.SystemTimeMicros != nil {
898 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700899 }
900 return 0
901}
902
Dan Willemsen4591b642021-05-24 14:24:12 -0700903func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
904 if x != nil && x.MaxRssKb != nil {
905 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700906 }
907 return 0
908}
909
Dan Willemsen4591b642021-05-24 14:24:12 -0700910func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
911 if x != nil && x.MinorPageFaults != nil {
912 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700913 }
914 return 0
915}
916
Dan Willemsen4591b642021-05-24 14:24:12 -0700917func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
918 if x != nil && x.MajorPageFaults != nil {
919 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700920 }
921 return 0
922}
923
Dan Willemsen4591b642021-05-24 14:24:12 -0700924func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
925 if x != nil && x.IoInputKb != nil {
926 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700927 }
928 return 0
929}
930
Dan Willemsen4591b642021-05-24 14:24:12 -0700931func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
932 if x != nil && x.IoOutputKb != nil {
933 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700934 }
935 return 0
936}
937
Dan Willemsen4591b642021-05-24 14:24:12 -0700938func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
939 if x != nil && x.VoluntaryContextSwitches != nil {
940 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700941 }
942 return 0
943}
944
Dan Willemsen4591b642021-05-24 14:24:12 -0700945func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
946 if x != nil && x.InvoluntaryContextSwitches != nil {
947 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700948 }
949 return 0
950}
951
Nan Zhang17f27672018-12-12 16:01:49 -0800952type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700953 state protoimpl.MessageState
954 sizeCache protoimpl.SizeCache
955 unknownFields protoimpl.UnknownFields
956
MarkDacekff851b82022-04-21 18:33:17 +0000957 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700958 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 +0000959 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -0800960 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
961 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -0700962 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800963}
964
Dan Willemsen4591b642021-05-24 14:24:12 -0700965// Default values for ModuleTypeInfo fields.
966const (
967 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
968)
969
970func (x *ModuleTypeInfo) Reset() {
971 *x = ModuleTypeInfo{}
972 if protoimpl.UnsafeEnabled {
973 mi := &file_metrics_proto_msgTypes[5]
974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
975 ms.StoreMessageInfo(mi)
976 }
977}
978
979func (x *ModuleTypeInfo) String() string {
980 return protoimpl.X.MessageStringOf(x)
981}
982
983func (*ModuleTypeInfo) ProtoMessage() {}
984
985func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
986 mi := &file_metrics_proto_msgTypes[5]
987 if protoimpl.UnsafeEnabled && x != nil {
988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
989 if ms.LoadMessageInfo() == nil {
990 ms.StoreMessageInfo(mi)
991 }
992 return ms
993 }
994 return mi.MessageOf(x)
995}
996
997// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800998func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700999 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001000}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001001
Dan Willemsen4591b642021-05-24 14:24:12 -07001002func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1003 if x != nil && x.BuildSystem != nil {
1004 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001005 }
1006 return Default_ModuleTypeInfo_BuildSystem
1007}
1008
Dan Willemsen4591b642021-05-24 14:24:12 -07001009func (x *ModuleTypeInfo) GetModuleType() string {
1010 if x != nil && x.ModuleType != nil {
1011 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001012 }
1013 return ""
1014}
1015
Dan Willemsen4591b642021-05-24 14:24:12 -07001016func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1017 if x != nil && x.NumOfModules != nil {
1018 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001019 }
1020 return 0
1021}
1022
Colin Crossd0be2102019-11-26 16:16:57 -08001023type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001024 state protoimpl.MessageState
1025 sizeCache protoimpl.SizeCache
1026 unknownFields protoimpl.UnknownFields
1027
Colin Crossd0be2102019-11-26 16:16:57 -08001028 // The name of a critical user journey test.
1029 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1030 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001031 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001032}
1033
Dan Willemsen4591b642021-05-24 14:24:12 -07001034func (x *CriticalUserJourneyMetrics) Reset() {
1035 *x = CriticalUserJourneyMetrics{}
1036 if protoimpl.UnsafeEnabled {
1037 mi := &file_metrics_proto_msgTypes[6]
1038 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1039 ms.StoreMessageInfo(mi)
1040 }
1041}
1042
1043func (x *CriticalUserJourneyMetrics) String() string {
1044 return protoimpl.X.MessageStringOf(x)
1045}
1046
1047func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1048
1049func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1050 mi := &file_metrics_proto_msgTypes[6]
1051 if protoimpl.UnsafeEnabled && x != nil {
1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1053 if ms.LoadMessageInfo() == nil {
1054 ms.StoreMessageInfo(mi)
1055 }
1056 return ms
1057 }
1058 return mi.MessageOf(x)
1059}
1060
1061// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001062func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001063 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001064}
1065
Dan Willemsen4591b642021-05-24 14:24:12 -07001066func (x *CriticalUserJourneyMetrics) GetName() string {
1067 if x != nil && x.Name != nil {
1068 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001069 }
1070 return ""
1071}
1072
Dan Willemsen4591b642021-05-24 14:24:12 -07001073func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1074 if x != nil {
1075 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001076 }
1077 return nil
1078}
1079
1080type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001081 state protoimpl.MessageState
1082 sizeCache protoimpl.SizeCache
1083 unknownFields protoimpl.UnknownFields
1084
Colin Crossd0be2102019-11-26 16:16:57 -08001085 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001086 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001087}
1088
Dan Willemsen4591b642021-05-24 14:24:12 -07001089func (x *CriticalUserJourneysMetrics) Reset() {
1090 *x = CriticalUserJourneysMetrics{}
1091 if protoimpl.UnsafeEnabled {
1092 mi := &file_metrics_proto_msgTypes[7]
1093 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1094 ms.StoreMessageInfo(mi)
1095 }
1096}
1097
1098func (x *CriticalUserJourneysMetrics) String() string {
1099 return protoimpl.X.MessageStringOf(x)
1100}
1101
1102func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1103
1104func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1105 mi := &file_metrics_proto_msgTypes[7]
1106 if protoimpl.UnsafeEnabled && x != nil {
1107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1108 if ms.LoadMessageInfo() == nil {
1109 ms.StoreMessageInfo(mi)
1110 }
1111 return ms
1112 }
1113 return mi.MessageOf(x)
1114}
1115
1116// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001117func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001118 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001119}
1120
Dan Willemsen4591b642021-05-24 14:24:12 -07001121func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1122 if x != nil {
1123 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001124 }
1125 return nil
1126}
1127
Colin Crossb72c9092020-02-10 11:23:49 -08001128type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001129 state protoimpl.MessageState
1130 sizeCache protoimpl.SizeCache
1131 unknownFields protoimpl.UnknownFields
1132
Colin Crossb72c9092020-02-10 11:23:49 -08001133 // The number of modules handled by soong_build.
1134 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1135 // The total number of variants handled by soong_build.
1136 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1137 // The total number of allocations in soong_build.
1138 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1139 // The total size of allocations in soong_build in bytes.
1140 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1141 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001142 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001143 // Runtime metrics for soong_build execution.
1144 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001145 // Mixed Builds information
1146 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001147}
1148
Dan Willemsen4591b642021-05-24 14:24:12 -07001149func (x *SoongBuildMetrics) Reset() {
1150 *x = SoongBuildMetrics{}
1151 if protoimpl.UnsafeEnabled {
1152 mi := &file_metrics_proto_msgTypes[8]
1153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1154 ms.StoreMessageInfo(mi)
1155 }
1156}
1157
1158func (x *SoongBuildMetrics) String() string {
1159 return protoimpl.X.MessageStringOf(x)
1160}
1161
1162func (*SoongBuildMetrics) ProtoMessage() {}
1163
1164func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1165 mi := &file_metrics_proto_msgTypes[8]
1166 if protoimpl.UnsafeEnabled && x != nil {
1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1168 if ms.LoadMessageInfo() == nil {
1169 ms.StoreMessageInfo(mi)
1170 }
1171 return ms
1172 }
1173 return mi.MessageOf(x)
1174}
1175
1176// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001177func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001178 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001179}
1180
Dan Willemsen4591b642021-05-24 14:24:12 -07001181func (x *SoongBuildMetrics) GetModules() uint32 {
1182 if x != nil && x.Modules != nil {
1183 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001184 }
1185 return 0
1186}
1187
Dan Willemsen4591b642021-05-24 14:24:12 -07001188func (x *SoongBuildMetrics) GetVariants() uint32 {
1189 if x != nil && x.Variants != nil {
1190 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001191 }
1192 return 0
1193}
1194
Dan Willemsen4591b642021-05-24 14:24:12 -07001195func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1196 if x != nil && x.TotalAllocCount != nil {
1197 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001198 }
1199 return 0
1200}
1201
Dan Willemsen4591b642021-05-24 14:24:12 -07001202func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1203 if x != nil && x.TotalAllocSize != nil {
1204 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001205 }
1206 return 0
1207}
1208
Dan Willemsen4591b642021-05-24 14:24:12 -07001209func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1210 if x != nil && x.MaxHeapSize != nil {
1211 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001212 }
1213 return 0
1214}
1215
Chris Parsons715b08f2022-03-22 19:23:40 -04001216func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1217 if x != nil {
1218 return x.Events
1219 }
1220 return nil
1221}
1222
MarkDacekff851b82022-04-21 18:33:17 +00001223func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1224 if x != nil {
1225 return x.MixedBuildsInfo
1226 }
1227 return nil
1228}
1229
David Goldsmith62243a32022-04-08 13:42:04 +00001230type ExpConfigFetcher struct {
1231 state protoimpl.MessageState
1232 sizeCache protoimpl.SizeCache
1233 unknownFields protoimpl.UnknownFields
1234
1235 // The result of the call to expconfigfetcher
1236 // NO_CONFIG - Not part of experiment
1237 // CONFIG - Part of experiment, config copied successfully
1238 // ERROR - expconfigfetcher failed
1239 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1240 // The output config filename
1241 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1242 // Time, in microseconds, taken by the expconfigfetcher
1243 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1244}
1245
1246func (x *ExpConfigFetcher) Reset() {
1247 *x = ExpConfigFetcher{}
1248 if protoimpl.UnsafeEnabled {
1249 mi := &file_metrics_proto_msgTypes[9]
1250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1251 ms.StoreMessageInfo(mi)
1252 }
1253}
1254
1255func (x *ExpConfigFetcher) String() string {
1256 return protoimpl.X.MessageStringOf(x)
1257}
1258
1259func (*ExpConfigFetcher) ProtoMessage() {}
1260
1261func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1262 mi := &file_metrics_proto_msgTypes[9]
1263 if protoimpl.UnsafeEnabled && x != nil {
1264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1265 if ms.LoadMessageInfo() == nil {
1266 ms.StoreMessageInfo(mi)
1267 }
1268 return ms
1269 }
1270 return mi.MessageOf(x)
1271}
1272
1273// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1274func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1275 return file_metrics_proto_rawDescGZIP(), []int{9}
1276}
1277
1278func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1279 if x != nil && x.Status != nil {
1280 return *x.Status
1281 }
1282 return ExpConfigFetcher_NO_CONFIG
1283}
1284
1285func (x *ExpConfigFetcher) GetFilename() string {
1286 if x != nil && x.Filename != nil {
1287 return *x.Filename
1288 }
1289 return ""
1290}
1291
1292func (x *ExpConfigFetcher) GetMicros() uint64 {
1293 if x != nil && x.Micros != nil {
1294 return *x.Micros
1295 }
1296 return 0
1297}
1298
MarkDacekff851b82022-04-21 18:33:17 +00001299type MixedBuildsInfo struct {
1300 state protoimpl.MessageState
1301 sizeCache protoimpl.SizeCache
1302 unknownFields protoimpl.UnknownFields
1303
1304 // Modules that are enabled for Mixed Builds.
1305 MixedBuildEnabledModules []string `protobuf:"bytes,1,rep,name=mixed_build_enabled_modules,json=mixedBuildEnabledModules" json:"mixed_build_enabled_modules,omitempty"`
1306 // Modules that are not currently eligible for MixedBuilds
1307 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1308}
1309
1310func (x *MixedBuildsInfo) Reset() {
1311 *x = MixedBuildsInfo{}
1312 if protoimpl.UnsafeEnabled {
1313 mi := &file_metrics_proto_msgTypes[10]
1314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1315 ms.StoreMessageInfo(mi)
1316 }
1317}
1318
1319func (x *MixedBuildsInfo) String() string {
1320 return protoimpl.X.MessageStringOf(x)
1321}
1322
1323func (*MixedBuildsInfo) ProtoMessage() {}
1324
1325func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1326 mi := &file_metrics_proto_msgTypes[10]
1327 if protoimpl.UnsafeEnabled && x != nil {
1328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1329 if ms.LoadMessageInfo() == nil {
1330 ms.StoreMessageInfo(mi)
1331 }
1332 return ms
1333 }
1334 return mi.MessageOf(x)
1335}
1336
1337// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1338func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1339 return file_metrics_proto_rawDescGZIP(), []int{10}
1340}
1341
1342func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1343 if x != nil {
1344 return x.MixedBuildEnabledModules
1345 }
1346 return nil
1347}
1348
1349func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1350 if x != nil {
1351 return x.MixedBuildDisabledModules
1352 }
1353 return nil
1354}
1355
Dan Willemsen4591b642021-05-24 14:24:12 -07001356var File_metrics_proto protoreflect.FileDescriptor
1357
1358var file_metrics_proto_rawDesc = []byte{
1359 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1360 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
David Goldsmith62243a32022-04-08 13:42:04 +00001361 0x72, 0x69, 0x63, 0x73, 0x22, 0xad, 0x0d, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001362 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1363 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1364 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1365 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1366 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1367 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1368 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1369 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1370 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1371 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1372 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1373 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1374 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1375 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1376 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1377 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1378 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1379 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1380 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1381 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1382 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1383 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1384 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1385 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1386 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1387 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1388 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1389 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1390 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1391 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1392 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1393 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1394 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1395 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1396 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1397 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1398 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1399 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1400 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1401 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1402 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1403 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1404 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1405 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1406 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1407 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1408 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1409 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1410 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1411 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1412 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1413 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1414 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1415 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1416 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1417 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1418 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1419 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1420 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1421 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1422 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1423 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1424 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1425 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1426 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1427 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1428 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1429 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1430 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1431 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
1432 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
1433 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1434 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1435 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
1436 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x11, 0x73,
1437 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1438 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1439 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1440 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69,
1441 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43,
1442 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
1443 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
1444 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f,
1445 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32,
1446 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1447 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f,
1448 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
1449 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d,
1450 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x1a, 0x20,
1451 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1452 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18,
1453 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1454 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66,
David Goldsmith62243a32022-04-08 13:42:04 +00001455 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52, 0x75, 0x6e, 0x73, 0x12,
1456 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x65,
1457 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f,
1458 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1459 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68,
1460 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74,
1461 0x63, 0x68, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72,
1462 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d,
1463 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a,
1464 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b,
1465 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41,
1466 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12,
1467 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f,
1468 0x36, 0x34, 0x10, 0x04, 0x22, 0xd3, 0x01, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1469 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61,
1470 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12,
1471 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
1472 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63,
1473 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
1474 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24,
1475 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61,
1476 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e,
1477 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69,
1478 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
1479 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64,
1480 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
1481 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79,
1482 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1483 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63,
1484 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
1485 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65,
1486 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c,
1487 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76,
1488 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0x81, 0x02, 0x0a, 0x08,
1489 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
1490 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
1491 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
1492 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d,
1493 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
1494 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
1495 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
1496 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65,
1497 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02,
1498 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a,
1499 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75,
1500 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28,
1501 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1502 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f,
1503 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73,
1504 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22,
1505 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75,
1506 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
1507 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75,
1508 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18,
1509 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d,
1510 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1511 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
1512 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63,
1513 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b,
1514 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b,
1515 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
1516 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69,
1517 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a,
1518 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c,
1519 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50,
1520 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f,
1521 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09,
1522 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f,
1523 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52,
1524 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76,
1525 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
1526 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52,
1527 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
1528 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76,
1529 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
1530 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52,
1531 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74,
1532 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e,
1533 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b,
1534 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01,
1535 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
1536 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
1537 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53,
1538 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b,
1539 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d,
1540 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1541 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e,
1542 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03,
1543 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
1544 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65,
1545 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09,
1546 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b,
1547 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55,
1548 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
1549 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1550 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1551 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1552 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74,
1553 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1554 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65,
1555 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1556 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f,
1557 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1558 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65,
1559 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52,
MarkDacekff851b82022-04-21 18:33:17 +00001560 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02, 0x0a, 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42,
David Goldsmith62243a32022-04-08 13:42:04 +00001561 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d,
1562 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f,
1563 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74,
1564 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74,
1565 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63,
1566 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f,
1567 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a,
1568 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a,
1569 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c,
1570 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68,
1571 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b,
1572 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65,
1573 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1574 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1575 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e,
MarkDacekff851b82022-04-21 18:33:17 +00001576 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1577 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
1578 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1579 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49,
1580 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73,
1581 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xc8, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66,
1582 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61,
1583 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1584 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1585 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72,
1586 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
1587 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d,
1588 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d,
1589 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
1590 0x04, 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6e,
1591 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f,
1592 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46,
1593 0x49, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x22,
1594 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49,
1595 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69,
1596 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
1597 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42,
1598 0x75, 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
1599 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1600 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
1601 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42,
1602 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75,
1603 0x6c, 0x65, 0x73, 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73,
1604 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f,
1605 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001606}
1607
Dan Willemsen4591b642021-05-24 14:24:12 -07001608var (
1609 file_metrics_proto_rawDescOnce sync.Once
1610 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1611)
1612
1613func file_metrics_proto_rawDescGZIP() []byte {
1614 file_metrics_proto_rawDescOnce.Do(func() {
1615 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1616 })
1617 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001618}
Nan Zhang17f27672018-12-12 16:01:49 -08001619
David Goldsmith62243a32022-04-08 13:42:04 +00001620var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
MarkDacekff851b82022-04-21 18:33:17 +00001621var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
Dan Willemsen4591b642021-05-24 14:24:12 -07001622var file_metrics_proto_goTypes = []interface{}{
1623 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1624 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1625 (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem
David Goldsmith62243a32022-04-08 13:42:04 +00001626 (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1627 (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase
1628 (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig
1629 (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo
1630 (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo
1631 (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo
1632 (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo
1633 (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics
1634 (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics
1635 (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics
1636 (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher
MarkDacekff851b82022-04-21 18:33:17 +00001637 (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001638}
1639var file_metrics_proto_depIdxs = []int32{
1640 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1641 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1642 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1643 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
David Goldsmith62243a32022-04-08 13:42:04 +00001644 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
1645 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
1646 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
1647 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
1648 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
1649 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
1650 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
1651 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
1652 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
1653 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
1654 8, // 14: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
1655 2, // 15: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
1656 4, // 16: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
1657 10, // 17: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
1658 7, // 18: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
MarkDacekff851b82022-04-21 18:33:17 +00001659 14, // 19: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
1660 3, // 20: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
1661 21, // [21:21] is the sub-list for method output_type
1662 21, // [21:21] is the sub-list for method input_type
1663 21, // [21:21] is the sub-list for extension type_name
1664 21, // [21:21] is the sub-list for extension extendee
1665 0, // [0:21] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07001666}
1667
1668func init() { file_metrics_proto_init() }
1669func file_metrics_proto_init() {
1670 if File_metrics_proto != nil {
1671 return
1672 }
1673 if !protoimpl.UnsafeEnabled {
1674 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1675 switch v := v.(*MetricsBase); i {
1676 case 0:
1677 return &v.state
1678 case 1:
1679 return &v.sizeCache
1680 case 2:
1681 return &v.unknownFields
1682 default:
1683 return nil
1684 }
1685 }
1686 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1687 switch v := v.(*BuildConfig); i {
1688 case 0:
1689 return &v.state
1690 case 1:
1691 return &v.sizeCache
1692 case 2:
1693 return &v.unknownFields
1694 default:
1695 return nil
1696 }
1697 }
1698 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1699 switch v := v.(*SystemResourceInfo); i {
1700 case 0:
1701 return &v.state
1702 case 1:
1703 return &v.sizeCache
1704 case 2:
1705 return &v.unknownFields
1706 default:
1707 return nil
1708 }
1709 }
1710 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1711 switch v := v.(*PerfInfo); i {
1712 case 0:
1713 return &v.state
1714 case 1:
1715 return &v.sizeCache
1716 case 2:
1717 return &v.unknownFields
1718 default:
1719 return nil
1720 }
1721 }
1722 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1723 switch v := v.(*ProcessResourceInfo); i {
1724 case 0:
1725 return &v.state
1726 case 1:
1727 return &v.sizeCache
1728 case 2:
1729 return &v.unknownFields
1730 default:
1731 return nil
1732 }
1733 }
1734 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1735 switch v := v.(*ModuleTypeInfo); i {
1736 case 0:
1737 return &v.state
1738 case 1:
1739 return &v.sizeCache
1740 case 2:
1741 return &v.unknownFields
1742 default:
1743 return nil
1744 }
1745 }
1746 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1747 switch v := v.(*CriticalUserJourneyMetrics); i {
1748 case 0:
1749 return &v.state
1750 case 1:
1751 return &v.sizeCache
1752 case 2:
1753 return &v.unknownFields
1754 default:
1755 return nil
1756 }
1757 }
1758 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1759 switch v := v.(*CriticalUserJourneysMetrics); i {
1760 case 0:
1761 return &v.state
1762 case 1:
1763 return &v.sizeCache
1764 case 2:
1765 return &v.unknownFields
1766 default:
1767 return nil
1768 }
1769 }
1770 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1771 switch v := v.(*SoongBuildMetrics); i {
1772 case 0:
1773 return &v.state
1774 case 1:
1775 return &v.sizeCache
1776 case 2:
1777 return &v.unknownFields
1778 default:
1779 return nil
1780 }
1781 }
David Goldsmith62243a32022-04-08 13:42:04 +00001782 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1783 switch v := v.(*ExpConfigFetcher); i {
1784 case 0:
1785 return &v.state
1786 case 1:
1787 return &v.sizeCache
1788 case 2:
1789 return &v.unknownFields
1790 default:
1791 return nil
1792 }
1793 }
MarkDacekff851b82022-04-21 18:33:17 +00001794 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1795 switch v := v.(*MixedBuildsInfo); i {
1796 case 0:
1797 return &v.state
1798 case 1:
1799 return &v.sizeCache
1800 case 2:
1801 return &v.unknownFields
1802 default:
1803 return nil
1804 }
1805 }
Dan Willemsen4591b642021-05-24 14:24:12 -07001806 }
1807 type x struct{}
1808 out := protoimpl.TypeBuilder{
1809 File: protoimpl.DescBuilder{
1810 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1811 RawDescriptor: file_metrics_proto_rawDesc,
David Goldsmith62243a32022-04-08 13:42:04 +00001812 NumEnums: 4,
MarkDacekff851b82022-04-21 18:33:17 +00001813 NumMessages: 11,
Dan Willemsen4591b642021-05-24 14:24:12 -07001814 NumExtensions: 0,
1815 NumServices: 0,
1816 },
1817 GoTypes: file_metrics_proto_goTypes,
1818 DependencyIndexes: file_metrics_proto_depIdxs,
1819 EnumInfos: file_metrics_proto_enumTypes,
1820 MessageInfos: file_metrics_proto_msgTypes,
1821 }.Build()
1822 File_metrics_proto = out.File
1823 file_metrics_proto_rawDesc = nil
1824 file_metrics_proto_goTypes = nil
1825 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08001826}