blob: be9b9dc63fbfd64597f767f8f8ed6101fac32e5e [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Copyright 2018 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Nan Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
MarkDacekff851b82022-04-21 18:33:17 +000017// protoc-gen-go v1.28.0
Dan Willemsen4591b642021-05-24 14:24:12 -070018// protoc v3.9.1
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
Nan Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
47 MetricsBase_BuildVariant_name = map[int32]string{
48 0: "USER",
49 1: "USERDEBUG",
50 2: "ENG",
51 }
52 MetricsBase_BuildVariant_value = map[string]int32{
53 "USER": 0,
54 "USERDEBUG": 1,
55 "ENG": 2,
56 }
57)
Nan Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
70 return file_metrics_proto_enumTypes[0].Descriptor()
71}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
74 return &file_metrics_proto_enumTypes[0]
75}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_UNKNOWN MetricsBase_Arch = 0
100 MetricsBase_ARM MetricsBase_Arch = 1
101 MetricsBase_ARM64 MetricsBase_Arch = 2
102 MetricsBase_X86 MetricsBase_Arch = 3
103 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
108 MetricsBase_Arch_name = map[int32]string{
109 0: "UNKNOWN",
110 1: "ARM",
111 2: "ARM64",
112 3: "X86",
113 4: "X86_64",
114 }
115 MetricsBase_Arch_value = map[string]int32{
116 "UNKNOWN": 0,
117 "ARM": 1,
118 "ARM64": 2,
119 "X86": 3,
120 "X86_64": 4,
121 }
122)
Nan Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
135 return file_metrics_proto_enumTypes[1].Descriptor()
136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
139 return &file_metrics_proto_enumTypes[1]
140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700161type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800162
163const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700164 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
165 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
166 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800167)
168
Dan Willemsen4591b642021-05-24 14:24:12 -0700169// Enum value maps for ModuleTypeInfo_BuildSystem.
170var (
171 ModuleTypeInfo_BuildSystem_name = map[int32]string{
172 0: "UNKNOWN",
173 1: "SOONG",
174 2: "MAKE",
175 }
176 ModuleTypeInfo_BuildSystem_value = map[string]int32{
177 "UNKNOWN": 0,
178 "SOONG": 1,
179 "MAKE": 2,
180 }
181)
Nan Zhang17f27672018-12-12 16:01:49 -0800182
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700183func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
184 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800185 *p = x
186 return p
187}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700188
189func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700190 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800191}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700192
Dan Willemsen4591b642021-05-24 14:24:12 -0700193func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
194 return file_metrics_proto_enumTypes[2].Descriptor()
195}
196
197func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
198 return &file_metrics_proto_enumTypes[2]
199}
200
201func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
202 return protoreflect.EnumNumber(x)
203}
204
205// Deprecated: Do not use.
206func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
207 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800208 if err != nil {
209 return err
210 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700211 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800212 return nil
213}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700214
Dan Willemsen4591b642021-05-24 14:24:12 -0700215// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700217 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800218}
219
David Goldsmith62243a32022-04-08 13:42:04 +0000220type ExpConfigFetcher_ConfigStatus int32
221
222const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000223 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
224 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
225 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
226 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000227)
228
229// Enum value maps for ExpConfigFetcher_ConfigStatus.
230var (
231 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
232 0: "NO_CONFIG",
233 1: "CONFIG",
234 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000235 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000236 }
237 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000238 "NO_CONFIG": 0,
239 "CONFIG": 1,
240 "ERROR": 2,
241 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000242 }
243)
244
245func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
246 p := new(ExpConfigFetcher_ConfigStatus)
247 *p = x
248 return p
249}
250
251func (x ExpConfigFetcher_ConfigStatus) String() string {
252 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
253}
254
255func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
256 return file_metrics_proto_enumTypes[3].Descriptor()
257}
258
259func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
260 return &file_metrics_proto_enumTypes[3]
261}
262
263func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
264 return protoreflect.EnumNumber(x)
265}
266
267// Deprecated: Do not use.
268func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
269 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
270 if err != nil {
271 return err
272 }
273 *x = ExpConfigFetcher_ConfigStatus(num)
274 return nil
275}
276
277// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
278func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
279 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
280}
281
Nan Zhang17f27672018-12-12 16:01:49 -0800282type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700283 state protoimpl.MessageState
284 sizeCache protoimpl.SizeCache
285 unknownFields protoimpl.UnknownFields
286
Nan Zhang17f27672018-12-12 16:01:49 -0800287 // Timestamp generated when the build starts.
288 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
289 // It is usually used to specify the branch name [and release candidate].
290 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
291 // The platform version codename, eg. P, Q, REL.
292 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
293 // The target product information, eg. aosp_arm.
294 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
295 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700296 TargetBuildVariant *MetricsBase_BuildVariant `protobuf:"varint,5,opt,name=target_build_variant,json=targetBuildVariant,enum=soong_build_metrics.MetricsBase_BuildVariant,def=2" json:"target_build_variant,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800297 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700298 TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800299 // The target arch variant information, eg. armv7-a-neon.
300 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
301 // The target cpu variant information, eg. generic.
302 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
303 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700304 HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800305 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700306 Host_2NdArch *MetricsBase_Arch `protobuf:"varint,10,opt,name=host_2nd_arch,json=host2ndArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_2nd_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800307 // The host os information, eg. linux.
308 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
309 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
310 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
311 // The host cross os information, eg. windows.
312 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
313 // The host cross arch information, eg. x86.
314 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
315 // The host cross 2nd arch information, eg. x86_64.
316 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
317 // The directory for generated built artifacts installation, eg. out.
318 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
319 // The metrics for calling various tools (microfactory) before Soong_UI starts.
320 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
321 // The metrics for calling Kati by multiple times.
322 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
323 // The metrics for calling Soong.
324 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
325 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800326 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
327 // The metrics for the whole build
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000328 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
329 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
330 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000331 // The hostname of the machine.
332 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
333 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700334 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
335 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800336 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
337 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700338 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000339 // The metrics of the experiment config fetcher
340 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800341}
342
Dan Willemsen4591b642021-05-24 14:24:12 -0700343// Default values for MetricsBase fields.
344const (
345 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
346 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
347 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
348 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
349)
350
351func (x *MetricsBase) Reset() {
352 *x = MetricsBase{}
353 if protoimpl.UnsafeEnabled {
354 mi := &file_metrics_proto_msgTypes[0]
355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
356 ms.StoreMessageInfo(mi)
357 }
358}
359
360func (x *MetricsBase) String() string {
361 return protoimpl.X.MessageStringOf(x)
362}
363
364func (*MetricsBase) ProtoMessage() {}
365
366func (x *MetricsBase) ProtoReflect() protoreflect.Message {
367 mi := &file_metrics_proto_msgTypes[0]
368 if protoimpl.UnsafeEnabled && x != nil {
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 if ms.LoadMessageInfo() == nil {
371 ms.StoreMessageInfo(mi)
372 }
373 return ms
374 }
375 return mi.MessageOf(x)
376}
377
378// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800379func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700380 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800381}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700382
Dan Willemsen4591b642021-05-24 14:24:12 -0700383func (x *MetricsBase) GetBuildDateTimestamp() int64 {
384 if x != nil && x.BuildDateTimestamp != nil {
385 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800386 }
387 return 0
388}
389
Dan Willemsen4591b642021-05-24 14:24:12 -0700390func (x *MetricsBase) GetBuildId() string {
391 if x != nil && x.BuildId != nil {
392 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800393 }
394 return ""
395}
396
Dan Willemsen4591b642021-05-24 14:24:12 -0700397func (x *MetricsBase) GetPlatformVersionCodename() string {
398 if x != nil && x.PlatformVersionCodename != nil {
399 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800400 }
401 return ""
402}
403
Dan Willemsen4591b642021-05-24 14:24:12 -0700404func (x *MetricsBase) GetTargetProduct() string {
405 if x != nil && x.TargetProduct != nil {
406 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800407 }
408 return ""
409}
410
Dan Willemsen4591b642021-05-24 14:24:12 -0700411func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
412 if x != nil && x.TargetBuildVariant != nil {
413 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800414 }
415 return Default_MetricsBase_TargetBuildVariant
416}
417
Dan Willemsen4591b642021-05-24 14:24:12 -0700418func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
419 if x != nil && x.TargetArch != nil {
420 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800421 }
422 return Default_MetricsBase_TargetArch
423}
424
Dan Willemsen4591b642021-05-24 14:24:12 -0700425func (x *MetricsBase) GetTargetArchVariant() string {
426 if x != nil && x.TargetArchVariant != nil {
427 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800428 }
429 return ""
430}
431
Dan Willemsen4591b642021-05-24 14:24:12 -0700432func (x *MetricsBase) GetTargetCpuVariant() string {
433 if x != nil && x.TargetCpuVariant != nil {
434 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800435 }
436 return ""
437}
438
Dan Willemsen4591b642021-05-24 14:24:12 -0700439func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
440 if x != nil && x.HostArch != nil {
441 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800442 }
443 return Default_MetricsBase_HostArch
444}
445
Dan Willemsen4591b642021-05-24 14:24:12 -0700446func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
447 if x != nil && x.Host_2NdArch != nil {
448 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800449 }
450 return Default_MetricsBase_Host_2NdArch
451}
452
Dan Willemsen4591b642021-05-24 14:24:12 -0700453func (x *MetricsBase) GetHostOs() string {
454 if x != nil && x.HostOs != nil {
455 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800456 }
457 return ""
458}
459
Dan Willemsen4591b642021-05-24 14:24:12 -0700460func (x *MetricsBase) GetHostOsExtra() string {
461 if x != nil && x.HostOsExtra != nil {
462 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800463 }
464 return ""
465}
466
Dan Willemsen4591b642021-05-24 14:24:12 -0700467func (x *MetricsBase) GetHostCrossOs() string {
468 if x != nil && x.HostCrossOs != nil {
469 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800470 }
471 return ""
472}
473
Dan Willemsen4591b642021-05-24 14:24:12 -0700474func (x *MetricsBase) GetHostCrossArch() string {
475 if x != nil && x.HostCrossArch != nil {
476 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800477 }
478 return ""
479}
480
Dan Willemsen4591b642021-05-24 14:24:12 -0700481func (x *MetricsBase) GetHostCross_2NdArch() string {
482 if x != nil && x.HostCross_2NdArch != nil {
483 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800484 }
485 return ""
486}
487
Dan Willemsen4591b642021-05-24 14:24:12 -0700488func (x *MetricsBase) GetOutDir() string {
489 if x != nil && x.OutDir != nil {
490 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800491 }
492 return ""
493}
494
Dan Willemsen4591b642021-05-24 14:24:12 -0700495func (x *MetricsBase) GetSetupTools() []*PerfInfo {
496 if x != nil {
497 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800498 }
499 return nil
500}
501
Dan Willemsen4591b642021-05-24 14:24:12 -0700502func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
503 if x != nil {
504 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800505 }
506 return nil
507}
508
Dan Willemsen4591b642021-05-24 14:24:12 -0700509func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
510 if x != nil {
511 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800512 }
513 return nil
514}
515
Dan Willemsen4591b642021-05-24 14:24:12 -0700516func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
517 if x != nil {
518 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800519 }
520 return nil
521}
522
Dan Willemsen4591b642021-05-24 14:24:12 -0700523func (x *MetricsBase) GetTotal() *PerfInfo {
524 if x != nil {
525 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800526 }
527 return nil
528}
529
Dan Willemsen4591b642021-05-24 14:24:12 -0700530func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
531 if x != nil {
532 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800533 }
534 return nil
535}
536
Dan Willemsen4591b642021-05-24 14:24:12 -0700537func (x *MetricsBase) GetBuildConfig() *BuildConfig {
538 if x != nil {
539 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000540 }
541 return nil
542}
543
Dan Willemsen4591b642021-05-24 14:24:12 -0700544func (x *MetricsBase) GetHostname() string {
545 if x != nil && x.Hostname != nil {
546 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000547 }
548 return ""
549}
550
Dan Willemsen4591b642021-05-24 14:24:12 -0700551func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
552 if x != nil {
553 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000554 }
555 return nil
556}
557
Dan Willemsen4591b642021-05-24 14:24:12 -0700558func (x *MetricsBase) GetBuildCommand() string {
559 if x != nil && x.BuildCommand != nil {
560 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700561 }
562 return ""
563}
564
Dan Willemsen4591b642021-05-24 14:24:12 -0700565func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
566 if x != nil {
567 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800568 }
569 return nil
570}
571
David Goldsmith62243a32022-04-08 13:42:04 +0000572func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
573 if x != nil {
574 return x.ExpConfigFetcher
575 }
576 return nil
577}
578
Patrice Arruda96850362020-08-11 20:41:11 +0000579type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700580 state protoimpl.MessageState
581 sizeCache protoimpl.SizeCache
582 unknownFields protoimpl.UnknownFields
583
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400584 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
585 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
586 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
587 // Whether the Bazel is acting as the Ninja executor for this build.
588 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
589 // Whether build is occurring in a mixed build mode, where Bazel maintains the
590 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700591 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700592 // These are the targets soong passes to ninja, these targets include special
593 // targets such as droid as well as the regular build targets.
594 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400595 // Whether the user explicitly disabled bazel mixed builds for this build.
596 ForceDisableBazelMixedBuild *bool `protobuf:"varint,7,opt,name=force_disable_bazel_mixed_build,json=forceDisableBazelMixedBuild" json:"force_disable_bazel_mixed_build,omitempty"`
Patrice Arruda96850362020-08-11 20:41:11 +0000597}
598
Dan Willemsen4591b642021-05-24 14:24:12 -0700599func (x *BuildConfig) Reset() {
600 *x = BuildConfig{}
601 if protoimpl.UnsafeEnabled {
602 mi := &file_metrics_proto_msgTypes[1]
603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
604 ms.StoreMessageInfo(mi)
605 }
606}
607
608func (x *BuildConfig) String() string {
609 return protoimpl.X.MessageStringOf(x)
610}
611
612func (*BuildConfig) ProtoMessage() {}
613
614func (x *BuildConfig) ProtoReflect() protoreflect.Message {
615 mi := &file_metrics_proto_msgTypes[1]
616 if protoimpl.UnsafeEnabled && x != nil {
617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
618 if ms.LoadMessageInfo() == nil {
619 ms.StoreMessageInfo(mi)
620 }
621 return ms
622 }
623 return mi.MessageOf(x)
624}
625
626// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000627func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700628 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000629}
630
Dan Willemsen4591b642021-05-24 14:24:12 -0700631func (x *BuildConfig) GetUseGoma() bool {
632 if x != nil && x.UseGoma != nil {
633 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000634 }
635 return false
636}
637
Dan Willemsen4591b642021-05-24 14:24:12 -0700638func (x *BuildConfig) GetUseRbe() bool {
639 if x != nil && x.UseRbe != nil {
640 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000641 }
642 return false
643}
644
Dan Willemsen4591b642021-05-24 14:24:12 -0700645func (x *BuildConfig) GetForceUseGoma() bool {
646 if x != nil && x.ForceUseGoma != nil {
647 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000648 }
649 return false
650}
651
Dan Willemsen4591b642021-05-24 14:24:12 -0700652func (x *BuildConfig) GetBazelAsNinja() bool {
653 if x != nil && x.BazelAsNinja != nil {
654 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400655 }
656 return false
657}
658
Dan Willemsen4591b642021-05-24 14:24:12 -0700659func (x *BuildConfig) GetBazelMixedBuild() bool {
660 if x != nil && x.BazelMixedBuild != nil {
661 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400662 }
663 return false
664}
665
Yu Liue737a992021-10-04 13:21:41 -0700666func (x *BuildConfig) GetTargets() []string {
667 if x != nil {
668 return x.Targets
669 }
670 return nil
671}
672
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400673func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
674 if x != nil && x.ForceDisableBazelMixedBuild != nil {
675 return *x.ForceDisableBazelMixedBuild
676 }
677 return false
678}
679
Patrice Arruda3edfd482020-10-13 23:58:41 +0000680type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700681 state protoimpl.MessageState
682 sizeCache protoimpl.SizeCache
683 unknownFields protoimpl.UnknownFields
684
Patrice Arruda3edfd482020-10-13 23:58:41 +0000685 // The total physical memory in bytes.
686 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
687 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700688 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000689}
690
Dan Willemsen4591b642021-05-24 14:24:12 -0700691func (x *SystemResourceInfo) Reset() {
692 *x = SystemResourceInfo{}
693 if protoimpl.UnsafeEnabled {
694 mi := &file_metrics_proto_msgTypes[2]
695 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
696 ms.StoreMessageInfo(mi)
697 }
698}
699
700func (x *SystemResourceInfo) String() string {
701 return protoimpl.X.MessageStringOf(x)
702}
703
704func (*SystemResourceInfo) ProtoMessage() {}
705
706func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
707 mi := &file_metrics_proto_msgTypes[2]
708 if protoimpl.UnsafeEnabled && x != nil {
709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
710 if ms.LoadMessageInfo() == nil {
711 ms.StoreMessageInfo(mi)
712 }
713 return ms
714 }
715 return mi.MessageOf(x)
716}
717
718// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000719func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700720 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000721}
722
Dan Willemsen4591b642021-05-24 14:24:12 -0700723func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
724 if x != nil && x.TotalPhysicalMemory != nil {
725 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000726 }
727 return 0
728}
729
Dan Willemsen4591b642021-05-24 14:24:12 -0700730func (x *SystemResourceInfo) GetAvailableCpus() int32 {
731 if x != nil && x.AvailableCpus != nil {
732 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000733 }
734 return 0
735}
736
Nan Zhang17f27672018-12-12 16:01:49 -0800737type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700738 state protoimpl.MessageState
739 sizeCache protoimpl.SizeCache
740 unknownFields protoimpl.UnknownFields
741
Nan Zhang17f27672018-12-12 16:01:49 -0800742 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700743 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800744 // The name for the running phase/action/part.
745 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
746 // The absolute start time.
747 // The number of nanoseconds elapsed since January 1, 1970 UTC.
748 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
749 // The real running time.
750 // The number of nanoseconds elapsed since start_time.
751 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700752 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700753 //
754 // Deprecated: Do not use.
755 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700756 // The resource information of each executed process.
757 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800758}
759
Dan Willemsen4591b642021-05-24 14:24:12 -0700760func (x *PerfInfo) Reset() {
761 *x = PerfInfo{}
762 if protoimpl.UnsafeEnabled {
763 mi := &file_metrics_proto_msgTypes[3]
764 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
765 ms.StoreMessageInfo(mi)
766 }
767}
768
769func (x *PerfInfo) String() string {
770 return protoimpl.X.MessageStringOf(x)
771}
772
773func (*PerfInfo) ProtoMessage() {}
774
775func (x *PerfInfo) ProtoReflect() protoreflect.Message {
776 mi := &file_metrics_proto_msgTypes[3]
777 if protoimpl.UnsafeEnabled && x != nil {
778 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
779 if ms.LoadMessageInfo() == nil {
780 ms.StoreMessageInfo(mi)
781 }
782 return ms
783 }
784 return mi.MessageOf(x)
785}
786
787// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800788func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700789 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800790}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700791
Yu Liu37c3dd32021-09-30 14:46:18 -0700792func (x *PerfInfo) GetDescription() string {
793 if x != nil && x.Description != nil {
794 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800795 }
796 return ""
797}
798
Dan Willemsen4591b642021-05-24 14:24:12 -0700799func (x *PerfInfo) GetName() string {
800 if x != nil && x.Name != nil {
801 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800802 }
803 return ""
804}
805
Dan Willemsen4591b642021-05-24 14:24:12 -0700806func (x *PerfInfo) GetStartTime() uint64 {
807 if x != nil && x.StartTime != nil {
808 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800809 }
810 return 0
811}
812
Dan Willemsen4591b642021-05-24 14:24:12 -0700813func (x *PerfInfo) GetRealTime() uint64 {
814 if x != nil && x.RealTime != nil {
815 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800816 }
817 return 0
818}
819
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700820// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700821func (x *PerfInfo) GetMemoryUse() uint64 {
822 if x != nil && x.MemoryUse != nil {
823 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800824 }
825 return 0
826}
827
Dan Willemsen4591b642021-05-24 14:24:12 -0700828func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
829 if x != nil {
830 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700831 }
832 return nil
833}
834
835type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700836 state protoimpl.MessageState
837 sizeCache protoimpl.SizeCache
838 unknownFields protoimpl.UnknownFields
839
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700840 // The name of the process for identification.
841 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
842 // The amount of time spent executing in user space in microseconds.
843 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
844 // The amount of time spent executing in kernel mode in microseconds.
845 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
846 // The maximum resident set size memory used in kilobytes.
847 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
848 // The number of minor page faults serviced without any I/O activity.
849 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
850 // The number of major page faults serviced that required I/O activity.
851 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
852 // Total IO input in kilobytes.
853 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
854 // Total IO output in kilobytes.
855 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
856 // The number of voluntary context switches
857 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
858 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700859 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700860}
861
Dan Willemsen4591b642021-05-24 14:24:12 -0700862func (x *ProcessResourceInfo) Reset() {
863 *x = ProcessResourceInfo{}
864 if protoimpl.UnsafeEnabled {
865 mi := &file_metrics_proto_msgTypes[4]
866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
867 ms.StoreMessageInfo(mi)
868 }
869}
870
871func (x *ProcessResourceInfo) String() string {
872 return protoimpl.X.MessageStringOf(x)
873}
874
875func (*ProcessResourceInfo) ProtoMessage() {}
876
877func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
878 mi := &file_metrics_proto_msgTypes[4]
879 if protoimpl.UnsafeEnabled && x != nil {
880 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
881 if ms.LoadMessageInfo() == nil {
882 ms.StoreMessageInfo(mi)
883 }
884 return ms
885 }
886 return mi.MessageOf(x)
887}
888
889// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700890func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700891 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700892}
893
Dan Willemsen4591b642021-05-24 14:24:12 -0700894func (x *ProcessResourceInfo) GetName() string {
895 if x != nil && x.Name != nil {
896 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700897 }
898 return ""
899}
900
Dan Willemsen4591b642021-05-24 14:24:12 -0700901func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
902 if x != nil && x.UserTimeMicros != nil {
903 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700904 }
905 return 0
906}
907
Dan Willemsen4591b642021-05-24 14:24:12 -0700908func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
909 if x != nil && x.SystemTimeMicros != nil {
910 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700911 }
912 return 0
913}
914
Dan Willemsen4591b642021-05-24 14:24:12 -0700915func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
916 if x != nil && x.MaxRssKb != nil {
917 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700918 }
919 return 0
920}
921
Dan Willemsen4591b642021-05-24 14:24:12 -0700922func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
923 if x != nil && x.MinorPageFaults != nil {
924 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700925 }
926 return 0
927}
928
Dan Willemsen4591b642021-05-24 14:24:12 -0700929func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
930 if x != nil && x.MajorPageFaults != nil {
931 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700932 }
933 return 0
934}
935
Dan Willemsen4591b642021-05-24 14:24:12 -0700936func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
937 if x != nil && x.IoInputKb != nil {
938 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700939 }
940 return 0
941}
942
Dan Willemsen4591b642021-05-24 14:24:12 -0700943func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
944 if x != nil && x.IoOutputKb != nil {
945 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700946 }
947 return 0
948}
949
Dan Willemsen4591b642021-05-24 14:24:12 -0700950func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
951 if x != nil && x.VoluntaryContextSwitches != nil {
952 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700953 }
954 return 0
955}
956
Dan Willemsen4591b642021-05-24 14:24:12 -0700957func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
958 if x != nil && x.InvoluntaryContextSwitches != nil {
959 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700960 }
961 return 0
962}
963
Nan Zhang17f27672018-12-12 16:01:49 -0800964type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700965 state protoimpl.MessageState
966 sizeCache protoimpl.SizeCache
967 unknownFields protoimpl.UnknownFields
968
MarkDacekff851b82022-04-21 18:33:17 +0000969 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700970 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 +0000971 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -0800972 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
973 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -0700974 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800975}
976
Dan Willemsen4591b642021-05-24 14:24:12 -0700977// Default values for ModuleTypeInfo fields.
978const (
979 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
980)
981
982func (x *ModuleTypeInfo) Reset() {
983 *x = ModuleTypeInfo{}
984 if protoimpl.UnsafeEnabled {
985 mi := &file_metrics_proto_msgTypes[5]
986 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
987 ms.StoreMessageInfo(mi)
988 }
989}
990
991func (x *ModuleTypeInfo) String() string {
992 return protoimpl.X.MessageStringOf(x)
993}
994
995func (*ModuleTypeInfo) ProtoMessage() {}
996
997func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
998 mi := &file_metrics_proto_msgTypes[5]
999 if protoimpl.UnsafeEnabled && x != nil {
1000 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1001 if ms.LoadMessageInfo() == nil {
1002 ms.StoreMessageInfo(mi)
1003 }
1004 return ms
1005 }
1006 return mi.MessageOf(x)
1007}
1008
1009// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001010func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001011 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001012}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001013
Dan Willemsen4591b642021-05-24 14:24:12 -07001014func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1015 if x != nil && x.BuildSystem != nil {
1016 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001017 }
1018 return Default_ModuleTypeInfo_BuildSystem
1019}
1020
Dan Willemsen4591b642021-05-24 14:24:12 -07001021func (x *ModuleTypeInfo) GetModuleType() string {
1022 if x != nil && x.ModuleType != nil {
1023 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001024 }
1025 return ""
1026}
1027
Dan Willemsen4591b642021-05-24 14:24:12 -07001028func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1029 if x != nil && x.NumOfModules != nil {
1030 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001031 }
1032 return 0
1033}
1034
Colin Crossd0be2102019-11-26 16:16:57 -08001035type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001036 state protoimpl.MessageState
1037 sizeCache protoimpl.SizeCache
1038 unknownFields protoimpl.UnknownFields
1039
Colin Crossd0be2102019-11-26 16:16:57 -08001040 // The name of a critical user journey test.
1041 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1042 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001043 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001044}
1045
Dan Willemsen4591b642021-05-24 14:24:12 -07001046func (x *CriticalUserJourneyMetrics) Reset() {
1047 *x = CriticalUserJourneyMetrics{}
1048 if protoimpl.UnsafeEnabled {
1049 mi := &file_metrics_proto_msgTypes[6]
1050 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1051 ms.StoreMessageInfo(mi)
1052 }
1053}
1054
1055func (x *CriticalUserJourneyMetrics) String() string {
1056 return protoimpl.X.MessageStringOf(x)
1057}
1058
1059func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1060
1061func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1062 mi := &file_metrics_proto_msgTypes[6]
1063 if protoimpl.UnsafeEnabled && x != nil {
1064 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1065 if ms.LoadMessageInfo() == nil {
1066 ms.StoreMessageInfo(mi)
1067 }
1068 return ms
1069 }
1070 return mi.MessageOf(x)
1071}
1072
1073// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001074func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001075 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001076}
1077
Dan Willemsen4591b642021-05-24 14:24:12 -07001078func (x *CriticalUserJourneyMetrics) GetName() string {
1079 if x != nil && x.Name != nil {
1080 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001081 }
1082 return ""
1083}
1084
Dan Willemsen4591b642021-05-24 14:24:12 -07001085func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1086 if x != nil {
1087 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001088 }
1089 return nil
1090}
1091
1092type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001093 state protoimpl.MessageState
1094 sizeCache protoimpl.SizeCache
1095 unknownFields protoimpl.UnknownFields
1096
Colin Crossd0be2102019-11-26 16:16:57 -08001097 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001098 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001099}
1100
Dan Willemsen4591b642021-05-24 14:24:12 -07001101func (x *CriticalUserJourneysMetrics) Reset() {
1102 *x = CriticalUserJourneysMetrics{}
1103 if protoimpl.UnsafeEnabled {
1104 mi := &file_metrics_proto_msgTypes[7]
1105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1106 ms.StoreMessageInfo(mi)
1107 }
1108}
1109
1110func (x *CriticalUserJourneysMetrics) String() string {
1111 return protoimpl.X.MessageStringOf(x)
1112}
1113
1114func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1115
1116func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1117 mi := &file_metrics_proto_msgTypes[7]
1118 if protoimpl.UnsafeEnabled && x != nil {
1119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1120 if ms.LoadMessageInfo() == nil {
1121 ms.StoreMessageInfo(mi)
1122 }
1123 return ms
1124 }
1125 return mi.MessageOf(x)
1126}
1127
1128// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001129func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001130 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001131}
1132
Dan Willemsen4591b642021-05-24 14:24:12 -07001133func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1134 if x != nil {
1135 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001136 }
1137 return nil
1138}
1139
Colin Crossb72c9092020-02-10 11:23:49 -08001140type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001141 state protoimpl.MessageState
1142 sizeCache protoimpl.SizeCache
1143 unknownFields protoimpl.UnknownFields
1144
Colin Crossb72c9092020-02-10 11:23:49 -08001145 // The number of modules handled by soong_build.
1146 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1147 // The total number of variants handled by soong_build.
1148 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1149 // The total number of allocations in soong_build.
1150 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1151 // The total size of allocations in soong_build in bytes.
1152 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1153 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001154 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001155 // Runtime metrics for soong_build execution.
1156 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001157 // Mixed Builds information
1158 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001159}
1160
Dan Willemsen4591b642021-05-24 14:24:12 -07001161func (x *SoongBuildMetrics) Reset() {
1162 *x = SoongBuildMetrics{}
1163 if protoimpl.UnsafeEnabled {
1164 mi := &file_metrics_proto_msgTypes[8]
1165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1166 ms.StoreMessageInfo(mi)
1167 }
1168}
1169
1170func (x *SoongBuildMetrics) String() string {
1171 return protoimpl.X.MessageStringOf(x)
1172}
1173
1174func (*SoongBuildMetrics) ProtoMessage() {}
1175
1176func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1177 mi := &file_metrics_proto_msgTypes[8]
1178 if protoimpl.UnsafeEnabled && x != nil {
1179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1180 if ms.LoadMessageInfo() == nil {
1181 ms.StoreMessageInfo(mi)
1182 }
1183 return ms
1184 }
1185 return mi.MessageOf(x)
1186}
1187
1188// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001189func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001190 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001191}
1192
Dan Willemsen4591b642021-05-24 14:24:12 -07001193func (x *SoongBuildMetrics) GetModules() uint32 {
1194 if x != nil && x.Modules != nil {
1195 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001196 }
1197 return 0
1198}
1199
Dan Willemsen4591b642021-05-24 14:24:12 -07001200func (x *SoongBuildMetrics) GetVariants() uint32 {
1201 if x != nil && x.Variants != nil {
1202 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001203 }
1204 return 0
1205}
1206
Dan Willemsen4591b642021-05-24 14:24:12 -07001207func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1208 if x != nil && x.TotalAllocCount != nil {
1209 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001210 }
1211 return 0
1212}
1213
Dan Willemsen4591b642021-05-24 14:24:12 -07001214func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1215 if x != nil && x.TotalAllocSize != nil {
1216 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001217 }
1218 return 0
1219}
1220
Dan Willemsen4591b642021-05-24 14:24:12 -07001221func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1222 if x != nil && x.MaxHeapSize != nil {
1223 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001224 }
1225 return 0
1226}
1227
Chris Parsons715b08f2022-03-22 19:23:40 -04001228func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1229 if x != nil {
1230 return x.Events
1231 }
1232 return nil
1233}
1234
MarkDacekff851b82022-04-21 18:33:17 +00001235func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1236 if x != nil {
1237 return x.MixedBuildsInfo
1238 }
1239 return nil
1240}
1241
David Goldsmith62243a32022-04-08 13:42:04 +00001242type ExpConfigFetcher struct {
1243 state protoimpl.MessageState
1244 sizeCache protoimpl.SizeCache
1245 unknownFields protoimpl.UnknownFields
1246
1247 // The result of the call to expconfigfetcher
1248 // NO_CONFIG - Not part of experiment
1249 // CONFIG - Part of experiment, config copied successfully
1250 // ERROR - expconfigfetcher failed
1251 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1252 // The output config filename
1253 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1254 // Time, in microseconds, taken by the expconfigfetcher
1255 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1256}
1257
1258func (x *ExpConfigFetcher) Reset() {
1259 *x = ExpConfigFetcher{}
1260 if protoimpl.UnsafeEnabled {
1261 mi := &file_metrics_proto_msgTypes[9]
1262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1263 ms.StoreMessageInfo(mi)
1264 }
1265}
1266
1267func (x *ExpConfigFetcher) String() string {
1268 return protoimpl.X.MessageStringOf(x)
1269}
1270
1271func (*ExpConfigFetcher) ProtoMessage() {}
1272
1273func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1274 mi := &file_metrics_proto_msgTypes[9]
1275 if protoimpl.UnsafeEnabled && x != nil {
1276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1277 if ms.LoadMessageInfo() == nil {
1278 ms.StoreMessageInfo(mi)
1279 }
1280 return ms
1281 }
1282 return mi.MessageOf(x)
1283}
1284
1285// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1286func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1287 return file_metrics_proto_rawDescGZIP(), []int{9}
1288}
1289
1290func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1291 if x != nil && x.Status != nil {
1292 return *x.Status
1293 }
1294 return ExpConfigFetcher_NO_CONFIG
1295}
1296
1297func (x *ExpConfigFetcher) GetFilename() string {
1298 if x != nil && x.Filename != nil {
1299 return *x.Filename
1300 }
1301 return ""
1302}
1303
1304func (x *ExpConfigFetcher) GetMicros() uint64 {
1305 if x != nil && x.Micros != nil {
1306 return *x.Micros
1307 }
1308 return 0
1309}
1310
MarkDacekff851b82022-04-21 18:33:17 +00001311type MixedBuildsInfo struct {
1312 state protoimpl.MessageState
1313 sizeCache protoimpl.SizeCache
1314 unknownFields protoimpl.UnknownFields
1315
1316 // Modules that are enabled for Mixed Builds.
1317 MixedBuildEnabledModules []string `protobuf:"bytes,1,rep,name=mixed_build_enabled_modules,json=mixedBuildEnabledModules" json:"mixed_build_enabled_modules,omitempty"`
MarkDacek5b08fe12022-05-11 21:55:53 +00001318 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001319 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1320}
1321
1322func (x *MixedBuildsInfo) Reset() {
1323 *x = MixedBuildsInfo{}
1324 if protoimpl.UnsafeEnabled {
1325 mi := &file_metrics_proto_msgTypes[10]
1326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1327 ms.StoreMessageInfo(mi)
1328 }
1329}
1330
1331func (x *MixedBuildsInfo) String() string {
1332 return protoimpl.X.MessageStringOf(x)
1333}
1334
1335func (*MixedBuildsInfo) ProtoMessage() {}
1336
1337func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1338 mi := &file_metrics_proto_msgTypes[10]
1339 if protoimpl.UnsafeEnabled && x != nil {
1340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1341 if ms.LoadMessageInfo() == nil {
1342 ms.StoreMessageInfo(mi)
1343 }
1344 return ms
1345 }
1346 return mi.MessageOf(x)
1347}
1348
1349// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1350func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1351 return file_metrics_proto_rawDescGZIP(), []int{10}
1352}
1353
1354func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1355 if x != nil {
1356 return x.MixedBuildEnabledModules
1357 }
1358 return nil
1359}
1360
1361func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1362 if x != nil {
1363 return x.MixedBuildDisabledModules
1364 }
1365 return nil
1366}
1367
Dan Willemsen4591b642021-05-24 14:24:12 -07001368var File_metrics_proto protoreflect.FileDescriptor
1369
1370var file_metrics_proto_rawDesc = []byte{
1371 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1372 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
David Goldsmith62243a32022-04-08 13:42:04 +00001373 0x72, 0x69, 0x63, 0x73, 0x22, 0xad, 0x0d, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001374 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1375 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1376 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1377 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1378 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1379 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1380 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1381 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1382 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1383 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1384 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1385 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1386 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1387 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1388 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1389 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1390 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1391 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1392 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1393 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1394 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1395 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1396 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1397 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1398 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1399 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1400 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1401 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1402 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1403 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1404 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1405 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1406 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1407 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1408 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1409 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1410 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1411 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1412 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1413 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1414 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1415 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1416 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1417 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1418 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1419 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1420 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1421 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1422 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1423 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1424 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1425 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1426 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1427 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1428 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1429 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1430 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1431 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1432 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1433 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1434 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1435 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1436 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1437 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1438 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1439 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1440 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1441 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1442 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1443 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
1444 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
1445 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1446 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1447 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
1448 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x11, 0x73,
1449 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1450 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1451 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62,
1452 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x75, 0x69,
1453 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43,
1454 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
1455 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
1456 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f,
1457 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32,
1458 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1459 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f,
1460 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
1461 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d,
1462 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x1a, 0x20,
1463 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1464 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18,
1465 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1466 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66,
David Goldsmith62243a32022-04-08 13:42:04 +00001467 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52, 0x75, 0x6e, 0x73, 0x12,
1468 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x65,
1469 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x6f,
1470 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1471 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68,
1472 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74,
1473 0x63, 0x68, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72,
1474 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d,
1475 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a,
1476 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b,
1477 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41,
1478 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12,
1479 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f,
Romain Jobredeauxea098ef2022-10-20 14:24:31 -04001480 0x36, 0x34, 0x10, 0x04, 0x22, 0x99, 0x02, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
David Goldsmith62243a32022-04-08 13:42:04 +00001481 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61,
1482 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12,
1483 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
1484 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63,
1485 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
1486 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24,
1487 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61,
1488 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e,
1489 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69,
1490 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
1491 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64,
1492 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
Romain Jobredeauxea098ef2022-10-20 14:24:31 -04001493 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f,
1494 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65,
1495 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20,
1496 0x01, 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c,
1497 0x65, 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64,
1498 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
1499 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
1500 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18,
1501 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73,
1502 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76,
1503 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
1504 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75,
1505 0x73, 0x22, 0x81, 0x02, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20,
1506 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
1507 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1508 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1509 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69,
1510 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
1511 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1512 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65,
1513 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05,
1514 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
1515 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73,
1516 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06,
1517 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
1518 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65,
1519 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15,
1520 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1521 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73,
1522 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a,
1523 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1524 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d,
1525 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73, 0x65,
1526 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73,
1527 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f,
1528 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54,
1529 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78,
1530 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d,
1531 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72,
1532 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01,
1533 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75,
1534 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67,
1535 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
1536 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12,
1537 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x07,
1538 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12,
1539 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18,
1540 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b,
1541 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63,
1542 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18,
1543 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79,
1544 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12,
1545 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63,
1546 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18,
1547 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61,
1548 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
1549 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65,
1550 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79,
1551 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f,
1552 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1553 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e,
1554 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e, 0x4b,
1555 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65,
1556 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
1557 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79,
1558 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x64,
1559 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4f,
1560 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c,
1561 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
1562 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01, 0x12,
1563 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72, 0x69,
1564 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
1565 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
1566 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x6d,
1567 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73,
1568 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1569 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52, 0x07,
1570 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74, 0x69,
1571 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73, 0x4d,
1572 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18, 0x01,
1573 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
1574 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74, 0x69,
1575 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d, 0x65,
1576 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02, 0x0a, 0x11,
1577 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
1578 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
1579 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76,
1580 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76,
1581 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c,
1582 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
1583 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43, 0x6f,
1584 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x6c,
1585 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74,
1586 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a,
1587 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05,
1588 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a,
1589 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
1590 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1591 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f,
1592 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x78, 0x65,
1593 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20,
1594 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1595 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x42,
1596 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, 0x65, 0x64,
1597 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x45,
1598 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
1599 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1600 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1601 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1602 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61,
1603 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66,
1604 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66,
1605 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f,
1606 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x22,
1607 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
1608 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00, 0x12, 0x0a,
1609 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52,
1610 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47,
1611 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x69, 0x78,
1612 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b,
1613 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x61, 0x62,
1614 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
1615 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, 0x6e, 0x61,
1616 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d,
1617 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62,
1618 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
1619 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x73,
1620 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x28, 0x5a, 0x26,
1621 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69,
1622 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1623 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001624}
1625
Dan Willemsen4591b642021-05-24 14:24:12 -07001626var (
1627 file_metrics_proto_rawDescOnce sync.Once
1628 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1629)
1630
1631func file_metrics_proto_rawDescGZIP() []byte {
1632 file_metrics_proto_rawDescOnce.Do(func() {
1633 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1634 })
1635 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001636}
Nan Zhang17f27672018-12-12 16:01:49 -08001637
David Goldsmith62243a32022-04-08 13:42:04 +00001638var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
MarkDacekff851b82022-04-21 18:33:17 +00001639var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
Dan Willemsen4591b642021-05-24 14:24:12 -07001640var file_metrics_proto_goTypes = []interface{}{
1641 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1642 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1643 (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem
David Goldsmith62243a32022-04-08 13:42:04 +00001644 (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1645 (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase
1646 (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig
1647 (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo
1648 (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo
1649 (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo
1650 (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo
1651 (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics
1652 (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics
1653 (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics
1654 (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher
MarkDacekff851b82022-04-21 18:33:17 +00001655 (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001656}
1657var file_metrics_proto_depIdxs = []int32{
1658 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1659 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1660 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1661 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
David Goldsmith62243a32022-04-08 13:42:04 +00001662 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
1663 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
1664 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
1665 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
1666 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
1667 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
1668 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
1669 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
1670 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
1671 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
1672 8, // 14: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
1673 2, // 15: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
1674 4, // 16: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
1675 10, // 17: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
1676 7, // 18: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
MarkDacekff851b82022-04-21 18:33:17 +00001677 14, // 19: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
1678 3, // 20: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
1679 21, // [21:21] is the sub-list for method output_type
1680 21, // [21:21] is the sub-list for method input_type
1681 21, // [21:21] is the sub-list for extension type_name
1682 21, // [21:21] is the sub-list for extension extendee
1683 0, // [0:21] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07001684}
1685
1686func init() { file_metrics_proto_init() }
1687func file_metrics_proto_init() {
1688 if File_metrics_proto != nil {
1689 return
1690 }
1691 if !protoimpl.UnsafeEnabled {
1692 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1693 switch v := v.(*MetricsBase); i {
1694 case 0:
1695 return &v.state
1696 case 1:
1697 return &v.sizeCache
1698 case 2:
1699 return &v.unknownFields
1700 default:
1701 return nil
1702 }
1703 }
1704 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1705 switch v := v.(*BuildConfig); i {
1706 case 0:
1707 return &v.state
1708 case 1:
1709 return &v.sizeCache
1710 case 2:
1711 return &v.unknownFields
1712 default:
1713 return nil
1714 }
1715 }
1716 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1717 switch v := v.(*SystemResourceInfo); i {
1718 case 0:
1719 return &v.state
1720 case 1:
1721 return &v.sizeCache
1722 case 2:
1723 return &v.unknownFields
1724 default:
1725 return nil
1726 }
1727 }
1728 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1729 switch v := v.(*PerfInfo); i {
1730 case 0:
1731 return &v.state
1732 case 1:
1733 return &v.sizeCache
1734 case 2:
1735 return &v.unknownFields
1736 default:
1737 return nil
1738 }
1739 }
1740 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1741 switch v := v.(*ProcessResourceInfo); i {
1742 case 0:
1743 return &v.state
1744 case 1:
1745 return &v.sizeCache
1746 case 2:
1747 return &v.unknownFields
1748 default:
1749 return nil
1750 }
1751 }
1752 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1753 switch v := v.(*ModuleTypeInfo); i {
1754 case 0:
1755 return &v.state
1756 case 1:
1757 return &v.sizeCache
1758 case 2:
1759 return &v.unknownFields
1760 default:
1761 return nil
1762 }
1763 }
1764 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1765 switch v := v.(*CriticalUserJourneyMetrics); i {
1766 case 0:
1767 return &v.state
1768 case 1:
1769 return &v.sizeCache
1770 case 2:
1771 return &v.unknownFields
1772 default:
1773 return nil
1774 }
1775 }
1776 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1777 switch v := v.(*CriticalUserJourneysMetrics); i {
1778 case 0:
1779 return &v.state
1780 case 1:
1781 return &v.sizeCache
1782 case 2:
1783 return &v.unknownFields
1784 default:
1785 return nil
1786 }
1787 }
1788 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1789 switch v := v.(*SoongBuildMetrics); i {
1790 case 0:
1791 return &v.state
1792 case 1:
1793 return &v.sizeCache
1794 case 2:
1795 return &v.unknownFields
1796 default:
1797 return nil
1798 }
1799 }
David Goldsmith62243a32022-04-08 13:42:04 +00001800 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1801 switch v := v.(*ExpConfigFetcher); i {
1802 case 0:
1803 return &v.state
1804 case 1:
1805 return &v.sizeCache
1806 case 2:
1807 return &v.unknownFields
1808 default:
1809 return nil
1810 }
1811 }
MarkDacekff851b82022-04-21 18:33:17 +00001812 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1813 switch v := v.(*MixedBuildsInfo); i {
1814 case 0:
1815 return &v.state
1816 case 1:
1817 return &v.sizeCache
1818 case 2:
1819 return &v.unknownFields
1820 default:
1821 return nil
1822 }
1823 }
Dan Willemsen4591b642021-05-24 14:24:12 -07001824 }
1825 type x struct{}
1826 out := protoimpl.TypeBuilder{
1827 File: protoimpl.DescBuilder{
1828 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1829 RawDescriptor: file_metrics_proto_rawDesc,
David Goldsmith62243a32022-04-08 13:42:04 +00001830 NumEnums: 4,
MarkDacekff851b82022-04-21 18:33:17 +00001831 NumMessages: 11,
Dan Willemsen4591b642021-05-24 14:24:12 -07001832 NumExtensions: 0,
1833 NumServices: 0,
1834 },
1835 GoTypes: file_metrics_proto_goTypes,
1836 DependencyIndexes: file_metrics_proto_depIdxs,
1837 EnumInfos: file_metrics_proto_enumTypes,
1838 MessageInfos: file_metrics_proto_msgTypes,
1839 }.Build()
1840 File_metrics_proto = out.File
1841 file_metrics_proto_rawDesc = nil
1842 file_metrics_proto_goTypes = nil
1843 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08001844}