blob: faa9b0a47b86a0b25ec87d5c73e9c3679c91c488 [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Copyright 2018 Google Inc. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Nan Zhang17f27672018-12-12 16:01:49 -080015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
MarkDacekff851b82022-04-21 18:33:17 +000017// protoc-gen-go v1.28.0
Jason Wu41886f22023-01-04 11:29:36 -050018// protoc v3.21.7
Nan Zhang17f27672018-12-12 16:01:49 -080019// source: metrics.proto
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021package metrics_proto
Nan Zhang17f27672018-12-12 16:01:49 -080022
Patrice Arruda0cc5b212019-06-14 15:27:46 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Patrice Arruda0cc5b212019-06-14 15:27:46 -070028)
Nan Zhang17f27672018-12-12 16:01:49 -080029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
Nan Zhang17f27672018-12-12 16:01:49 -080036
Patrice Arruda0cc5b212019-06-14 15:27:46 -070037type MetricsBase_BuildVariant int32
Nan Zhang17f27672018-12-12 16:01:49 -080038
39const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070040 MetricsBase_USER MetricsBase_BuildVariant = 0
41 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1
42 MetricsBase_ENG MetricsBase_BuildVariant = 2
Nan Zhang17f27672018-12-12 16:01:49 -080043)
44
Dan Willemsen4591b642021-05-24 14:24:12 -070045// Enum value maps for MetricsBase_BuildVariant.
46var (
47 MetricsBase_BuildVariant_name = map[int32]string{
48 0: "USER",
49 1: "USERDEBUG",
50 2: "ENG",
51 }
52 MetricsBase_BuildVariant_value = map[string]int32{
53 "USER": 0,
54 "USERDEBUG": 1,
55 "ENG": 2,
56 }
57)
Nan Zhang17f27672018-12-12 16:01:49 -080058
Patrice Arruda0cc5b212019-06-14 15:27:46 -070059func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant {
60 p := new(MetricsBase_BuildVariant)
Nan Zhang17f27672018-12-12 16:01:49 -080061 *p = x
62 return p
63}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070064
65func (x MetricsBase_BuildVariant) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070066 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -080067}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070068
Dan Willemsen4591b642021-05-24 14:24:12 -070069func (MetricsBase_BuildVariant) Descriptor() protoreflect.EnumDescriptor {
70 return file_metrics_proto_enumTypes[0].Descriptor()
71}
72
73func (MetricsBase_BuildVariant) Type() protoreflect.EnumType {
74 return &file_metrics_proto_enumTypes[0]
75}
76
77func (x MetricsBase_BuildVariant) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79}
80
81// Deprecated: Do not use.
82func (x *MetricsBase_BuildVariant) UnmarshalJSON(b []byte) error {
83 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -080084 if err != nil {
85 return err
86 }
Dan Willemsen4591b642021-05-24 14:24:12 -070087 *x = MetricsBase_BuildVariant(num)
Nan Zhang17f27672018-12-12 16:01:49 -080088 return nil
89}
Patrice Arruda0cc5b212019-06-14 15:27:46 -070090
Dan Willemsen4591b642021-05-24 14:24:12 -070091// Deprecated: Use MetricsBase_BuildVariant.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -070092func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070093 return file_metrics_proto_rawDescGZIP(), []int{0, 0}
Nan Zhang17f27672018-12-12 16:01:49 -080094}
95
Patrice Arruda0cc5b212019-06-14 15:27:46 -070096type MetricsBase_Arch int32
Nan Zhang17f27672018-12-12 16:01:49 -080097
98const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -070099 MetricsBase_UNKNOWN MetricsBase_Arch = 0
100 MetricsBase_ARM MetricsBase_Arch = 1
101 MetricsBase_ARM64 MetricsBase_Arch = 2
102 MetricsBase_X86 MetricsBase_Arch = 3
103 MetricsBase_X86_64 MetricsBase_Arch = 4
Nan Zhang17f27672018-12-12 16:01:49 -0800104)
105
Dan Willemsen4591b642021-05-24 14:24:12 -0700106// Enum value maps for MetricsBase_Arch.
107var (
108 MetricsBase_Arch_name = map[int32]string{
109 0: "UNKNOWN",
110 1: "ARM",
111 2: "ARM64",
112 3: "X86",
113 4: "X86_64",
114 }
115 MetricsBase_Arch_value = map[string]int32{
116 "UNKNOWN": 0,
117 "ARM": 1,
118 "ARM64": 2,
119 "X86": 3,
120 "X86_64": 4,
121 }
122)
Nan Zhang17f27672018-12-12 16:01:49 -0800123
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700124func (x MetricsBase_Arch) Enum() *MetricsBase_Arch {
125 p := new(MetricsBase_Arch)
Nan Zhang17f27672018-12-12 16:01:49 -0800126 *p = x
127 return p
128}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700129
130func (x MetricsBase_Arch) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800132}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700133
Dan Willemsen4591b642021-05-24 14:24:12 -0700134func (MetricsBase_Arch) Descriptor() protoreflect.EnumDescriptor {
135 return file_metrics_proto_enumTypes[1].Descriptor()
136}
137
138func (MetricsBase_Arch) Type() protoreflect.EnumType {
139 return &file_metrics_proto_enumTypes[1]
140}
141
142func (x MetricsBase_Arch) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144}
145
146// Deprecated: Do not use.
147func (x *MetricsBase_Arch) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800149 if err != nil {
150 return err
151 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700152 *x = MetricsBase_Arch(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800153 return nil
154}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700155
Dan Willemsen4591b642021-05-24 14:24:12 -0700156// Deprecated: Use MetricsBase_Arch.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700157func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700158 return file_metrics_proto_rawDescGZIP(), []int{0, 1}
Nan Zhang17f27672018-12-12 16:01:49 -0800159}
160
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700161type ModuleTypeInfo_BuildSystem int32
Nan Zhang17f27672018-12-12 16:01:49 -0800162
163const (
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700164 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0
165 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1
166 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2
Nan Zhang17f27672018-12-12 16:01:49 -0800167)
168
Dan Willemsen4591b642021-05-24 14:24:12 -0700169// Enum value maps for ModuleTypeInfo_BuildSystem.
170var (
171 ModuleTypeInfo_BuildSystem_name = map[int32]string{
172 0: "UNKNOWN",
173 1: "SOONG",
174 2: "MAKE",
175 }
176 ModuleTypeInfo_BuildSystem_value = map[string]int32{
177 "UNKNOWN": 0,
178 "SOONG": 1,
179 "MAKE": 2,
180 }
181)
Nan Zhang17f27672018-12-12 16:01:49 -0800182
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700183func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem {
184 p := new(ModuleTypeInfo_BuildSystem)
Nan Zhang17f27672018-12-12 16:01:49 -0800185 *p = x
186 return p
187}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700188
189func (x ModuleTypeInfo_BuildSystem) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700190 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Nan Zhang17f27672018-12-12 16:01:49 -0800191}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700192
Dan Willemsen4591b642021-05-24 14:24:12 -0700193func (ModuleTypeInfo_BuildSystem) Descriptor() protoreflect.EnumDescriptor {
194 return file_metrics_proto_enumTypes[2].Descriptor()
195}
196
197func (ModuleTypeInfo_BuildSystem) Type() protoreflect.EnumType {
198 return &file_metrics_proto_enumTypes[2]
199}
200
201func (x ModuleTypeInfo_BuildSystem) Number() protoreflect.EnumNumber {
202 return protoreflect.EnumNumber(x)
203}
204
205// Deprecated: Do not use.
206func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(b []byte) error {
207 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Nan Zhang17f27672018-12-12 16:01:49 -0800208 if err != nil {
209 return err
210 }
Dan Willemsen4591b642021-05-24 14:24:12 -0700211 *x = ModuleTypeInfo_BuildSystem(num)
Nan Zhang17f27672018-12-12 16:01:49 -0800212 return nil
213}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700214
Dan Willemsen4591b642021-05-24 14:24:12 -0700215// Deprecated: Use ModuleTypeInfo_BuildSystem.Descriptor instead.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700216func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700217 return file_metrics_proto_rawDescGZIP(), []int{5, 0}
Nan Zhang17f27672018-12-12 16:01:49 -0800218}
219
David Goldsmith62243a32022-04-08 13:42:04 +0000220type ExpConfigFetcher_ConfigStatus int32
221
222const (
Kousik Kumarc75e1292022-07-07 02:20:51 +0000223 ExpConfigFetcher_NO_CONFIG ExpConfigFetcher_ConfigStatus = 0
224 ExpConfigFetcher_CONFIG ExpConfigFetcher_ConfigStatus = 1
225 ExpConfigFetcher_ERROR ExpConfigFetcher_ConfigStatus = 2
226 ExpConfigFetcher_MISSING_GCERT ExpConfigFetcher_ConfigStatus = 3
David Goldsmith62243a32022-04-08 13:42:04 +0000227)
228
229// Enum value maps for ExpConfigFetcher_ConfigStatus.
230var (
231 ExpConfigFetcher_ConfigStatus_name = map[int32]string{
232 0: "NO_CONFIG",
233 1: "CONFIG",
234 2: "ERROR",
Kousik Kumarc75e1292022-07-07 02:20:51 +0000235 3: "MISSING_GCERT",
David Goldsmith62243a32022-04-08 13:42:04 +0000236 }
237 ExpConfigFetcher_ConfigStatus_value = map[string]int32{
Kousik Kumarc75e1292022-07-07 02:20:51 +0000238 "NO_CONFIG": 0,
239 "CONFIG": 1,
240 "ERROR": 2,
241 "MISSING_GCERT": 3,
David Goldsmith62243a32022-04-08 13:42:04 +0000242 }
243)
244
245func (x ExpConfigFetcher_ConfigStatus) Enum() *ExpConfigFetcher_ConfigStatus {
246 p := new(ExpConfigFetcher_ConfigStatus)
247 *p = x
248 return p
249}
250
251func (x ExpConfigFetcher_ConfigStatus) String() string {
252 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
253}
254
255func (ExpConfigFetcher_ConfigStatus) Descriptor() protoreflect.EnumDescriptor {
256 return file_metrics_proto_enumTypes[3].Descriptor()
257}
258
259func (ExpConfigFetcher_ConfigStatus) Type() protoreflect.EnumType {
260 return &file_metrics_proto_enumTypes[3]
261}
262
263func (x ExpConfigFetcher_ConfigStatus) Number() protoreflect.EnumNumber {
264 return protoreflect.EnumNumber(x)
265}
266
267// Deprecated: Do not use.
268func (x *ExpConfigFetcher_ConfigStatus) UnmarshalJSON(b []byte) error {
269 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
270 if err != nil {
271 return err
272 }
273 *x = ExpConfigFetcher_ConfigStatus(num)
274 return nil
275}
276
277// Deprecated: Use ExpConfigFetcher_ConfigStatus.Descriptor instead.
278func (ExpConfigFetcher_ConfigStatus) EnumDescriptor() ([]byte, []int) {
279 return file_metrics_proto_rawDescGZIP(), []int{9, 0}
280}
281
Nan Zhang17f27672018-12-12 16:01:49 -0800282type MetricsBase struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700283 state protoimpl.MessageState
284 sizeCache protoimpl.SizeCache
285 unknownFields protoimpl.UnknownFields
286
Nan Zhang17f27672018-12-12 16:01:49 -0800287 // Timestamp generated when the build starts.
288 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"`
289 // It is usually used to specify the branch name [and release candidate].
290 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
291 // The platform version codename, eg. P, Q, REL.
292 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"`
293 // The target product information, eg. aosp_arm.
294 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"`
295 // The target build variant information, eg. eng.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700296 TargetBuildVariant *MetricsBase_BuildVariant `protobuf:"varint,5,opt,name=target_build_variant,json=targetBuildVariant,enum=soong_build_metrics.MetricsBase_BuildVariant,def=2" json:"target_build_variant,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800297 // The target arch information, eg. arm.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700298 TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800299 // The target arch variant information, eg. armv7-a-neon.
300 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"`
301 // The target cpu variant information, eg. generic.
302 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"`
303 // The host arch information, eg. x86_64.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700304 HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800305 // The host 2nd arch information, eg. x86.
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700306 Host_2NdArch *MetricsBase_Arch `protobuf:"varint,10,opt,name=host_2nd_arch,json=host2ndArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_2nd_arch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800307 // The host os information, eg. linux.
308 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"`
309 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU.
310 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"`
311 // The host cross os information, eg. windows.
312 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"`
313 // The host cross arch information, eg. x86.
314 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"`
315 // The host cross 2nd arch information, eg. x86_64.
316 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"`
317 // The directory for generated built artifacts installation, eg. out.
318 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"`
319 // The metrics for calling various tools (microfactory) before Soong_UI starts.
320 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"`
321 // The metrics for calling Kati by multiple times.
322 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"`
323 // The metrics for calling Soong.
324 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"`
325 // The metrics for calling Ninja.
Colin Cross74cda722020-01-16 15:25:50 -0800326 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"`
327 // The metrics for the whole build
Jason Wu41886f22023-01-04 11:29:36 -0500328 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"`
329 // Deprecated because instead of embedding in a MetricsBase, we keep
330 // SoongBuildMetrics in its own file
331 //
332 // Deprecated: Do not use.
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000333 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"`
334 BuildConfig *BuildConfig `protobuf:"bytes,23,opt,name=build_config,json=buildConfig" json:"build_config,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000335 // The hostname of the machine.
336 Hostname *string `protobuf:"bytes,24,opt,name=hostname" json:"hostname,omitempty"`
337 // The system resource information such as total physical memory.
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700338 SystemResourceInfo *SystemResourceInfo `protobuf:"bytes,25,opt,name=system_resource_info,json=systemResourceInfo" json:"system_resource_info,omitempty"`
339 // The build command that the user entered to the build system.
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800340 BuildCommand *string `protobuf:"bytes,26,opt,name=build_command,json=buildCommand" json:"build_command,omitempty"`
341 // The metrics for calling Bazel.
Dan Willemsen4591b642021-05-24 14:24:12 -0700342 BazelRuns []*PerfInfo `protobuf:"bytes,27,rep,name=bazel_runs,json=bazelRuns" json:"bazel_runs,omitempty"`
David Goldsmith62243a32022-04-08 13:42:04 +0000343 // The metrics of the experiment config fetcher
344 ExpConfigFetcher *ExpConfigFetcher `protobuf:"bytes,28,opt,name=exp_config_fetcher,json=expConfigFetcher" json:"exp_config_fetcher,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400345 // Whether the build exited with a panic or non-zero exit code, includes both
346 // non-zero exits of recorded phases and non-recorded phases of the build.
347 NonZeroExit *bool `protobuf:"varint,29,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
348 // The error message due to a non-zero exit _only_ if it did not occur in a
349 // recorded phase of the build.
350 ErrorMessage *string `protobuf:"bytes,30,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
MarkDaceka18ba222023-03-07 18:18:19 +0000351 // The Git Manifest for the user's branch.
352 ManifestUrl *string `protobuf:"bytes,31,opt,name=manifest_url,json=manifestUrl" json:"manifest_url,omitempty"`
353 // The branch on which the build occurred.
354 // Example: refs/heads/master
355 Branch *string `protobuf:"bytes,32,opt,name=branch" json:"branch,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800356}
357
Dan Willemsen4591b642021-05-24 14:24:12 -0700358// Default values for MetricsBase fields.
359const (
360 Default_MetricsBase_TargetBuildVariant = MetricsBase_ENG
361 Default_MetricsBase_TargetArch = MetricsBase_UNKNOWN
362 Default_MetricsBase_HostArch = MetricsBase_UNKNOWN
363 Default_MetricsBase_Host_2NdArch = MetricsBase_UNKNOWN
364)
365
366func (x *MetricsBase) Reset() {
367 *x = MetricsBase{}
368 if protoimpl.UnsafeEnabled {
369 mi := &file_metrics_proto_msgTypes[0]
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 ms.StoreMessageInfo(mi)
372 }
373}
374
375func (x *MetricsBase) String() string {
376 return protoimpl.X.MessageStringOf(x)
377}
378
379func (*MetricsBase) ProtoMessage() {}
380
381func (x *MetricsBase) ProtoReflect() protoreflect.Message {
382 mi := &file_metrics_proto_msgTypes[0]
383 if protoimpl.UnsafeEnabled && x != nil {
384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385 if ms.LoadMessageInfo() == nil {
386 ms.StoreMessageInfo(mi)
387 }
388 return ms
389 }
390 return mi.MessageOf(x)
391}
392
393// Deprecated: Use MetricsBase.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800394func (*MetricsBase) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700395 return file_metrics_proto_rawDescGZIP(), []int{0}
Nan Zhang17f27672018-12-12 16:01:49 -0800396}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700397
Dan Willemsen4591b642021-05-24 14:24:12 -0700398func (x *MetricsBase) GetBuildDateTimestamp() int64 {
399 if x != nil && x.BuildDateTimestamp != nil {
400 return *x.BuildDateTimestamp
Nan Zhang17f27672018-12-12 16:01:49 -0800401 }
402 return 0
403}
404
Dan Willemsen4591b642021-05-24 14:24:12 -0700405func (x *MetricsBase) GetBuildId() string {
406 if x != nil && x.BuildId != nil {
407 return *x.BuildId
Nan Zhang17f27672018-12-12 16:01:49 -0800408 }
409 return ""
410}
411
Dan Willemsen4591b642021-05-24 14:24:12 -0700412func (x *MetricsBase) GetPlatformVersionCodename() string {
413 if x != nil && x.PlatformVersionCodename != nil {
414 return *x.PlatformVersionCodename
Nan Zhang17f27672018-12-12 16:01:49 -0800415 }
416 return ""
417}
418
Dan Willemsen4591b642021-05-24 14:24:12 -0700419func (x *MetricsBase) GetTargetProduct() string {
420 if x != nil && x.TargetProduct != nil {
421 return *x.TargetProduct
Nan Zhang17f27672018-12-12 16:01:49 -0800422 }
423 return ""
424}
425
Dan Willemsen4591b642021-05-24 14:24:12 -0700426func (x *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant {
427 if x != nil && x.TargetBuildVariant != nil {
428 return *x.TargetBuildVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800429 }
430 return Default_MetricsBase_TargetBuildVariant
431}
432
Dan Willemsen4591b642021-05-24 14:24:12 -0700433func (x *MetricsBase) GetTargetArch() MetricsBase_Arch {
434 if x != nil && x.TargetArch != nil {
435 return *x.TargetArch
Nan Zhang17f27672018-12-12 16:01:49 -0800436 }
437 return Default_MetricsBase_TargetArch
438}
439
Dan Willemsen4591b642021-05-24 14:24:12 -0700440func (x *MetricsBase) GetTargetArchVariant() string {
441 if x != nil && x.TargetArchVariant != nil {
442 return *x.TargetArchVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800443 }
444 return ""
445}
446
Dan Willemsen4591b642021-05-24 14:24:12 -0700447func (x *MetricsBase) GetTargetCpuVariant() string {
448 if x != nil && x.TargetCpuVariant != nil {
449 return *x.TargetCpuVariant
Nan Zhang17f27672018-12-12 16:01:49 -0800450 }
451 return ""
452}
453
Dan Willemsen4591b642021-05-24 14:24:12 -0700454func (x *MetricsBase) GetHostArch() MetricsBase_Arch {
455 if x != nil && x.HostArch != nil {
456 return *x.HostArch
Nan Zhang17f27672018-12-12 16:01:49 -0800457 }
458 return Default_MetricsBase_HostArch
459}
460
Dan Willemsen4591b642021-05-24 14:24:12 -0700461func (x *MetricsBase) GetHost_2NdArch() MetricsBase_Arch {
462 if x != nil && x.Host_2NdArch != nil {
463 return *x.Host_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800464 }
465 return Default_MetricsBase_Host_2NdArch
466}
467
Dan Willemsen4591b642021-05-24 14:24:12 -0700468func (x *MetricsBase) GetHostOs() string {
469 if x != nil && x.HostOs != nil {
470 return *x.HostOs
Nan Zhang17f27672018-12-12 16:01:49 -0800471 }
472 return ""
473}
474
Dan Willemsen4591b642021-05-24 14:24:12 -0700475func (x *MetricsBase) GetHostOsExtra() string {
476 if x != nil && x.HostOsExtra != nil {
477 return *x.HostOsExtra
Nan Zhang17f27672018-12-12 16:01:49 -0800478 }
479 return ""
480}
481
Dan Willemsen4591b642021-05-24 14:24:12 -0700482func (x *MetricsBase) GetHostCrossOs() string {
483 if x != nil && x.HostCrossOs != nil {
484 return *x.HostCrossOs
Nan Zhang17f27672018-12-12 16:01:49 -0800485 }
486 return ""
487}
488
Dan Willemsen4591b642021-05-24 14:24:12 -0700489func (x *MetricsBase) GetHostCrossArch() string {
490 if x != nil && x.HostCrossArch != nil {
491 return *x.HostCrossArch
Nan Zhang17f27672018-12-12 16:01:49 -0800492 }
493 return ""
494}
495
Dan Willemsen4591b642021-05-24 14:24:12 -0700496func (x *MetricsBase) GetHostCross_2NdArch() string {
497 if x != nil && x.HostCross_2NdArch != nil {
498 return *x.HostCross_2NdArch
Nan Zhang17f27672018-12-12 16:01:49 -0800499 }
500 return ""
501}
502
Dan Willemsen4591b642021-05-24 14:24:12 -0700503func (x *MetricsBase) GetOutDir() string {
504 if x != nil && x.OutDir != nil {
505 return *x.OutDir
Nan Zhang17f27672018-12-12 16:01:49 -0800506 }
507 return ""
508}
509
Dan Willemsen4591b642021-05-24 14:24:12 -0700510func (x *MetricsBase) GetSetupTools() []*PerfInfo {
511 if x != nil {
512 return x.SetupTools
Nan Zhang17f27672018-12-12 16:01:49 -0800513 }
514 return nil
515}
516
Dan Willemsen4591b642021-05-24 14:24:12 -0700517func (x *MetricsBase) GetKatiRuns() []*PerfInfo {
518 if x != nil {
519 return x.KatiRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800520 }
521 return nil
522}
523
Dan Willemsen4591b642021-05-24 14:24:12 -0700524func (x *MetricsBase) GetSoongRuns() []*PerfInfo {
525 if x != nil {
526 return x.SoongRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800527 }
528 return nil
529}
530
Dan Willemsen4591b642021-05-24 14:24:12 -0700531func (x *MetricsBase) GetNinjaRuns() []*PerfInfo {
532 if x != nil {
533 return x.NinjaRuns
Nan Zhang17f27672018-12-12 16:01:49 -0800534 }
535 return nil
536}
537
Dan Willemsen4591b642021-05-24 14:24:12 -0700538func (x *MetricsBase) GetTotal() *PerfInfo {
539 if x != nil {
540 return x.Total
Colin Cross74cda722020-01-16 15:25:50 -0800541 }
542 return nil
543}
544
Jason Wu41886f22023-01-04 11:29:36 -0500545// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700546func (x *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics {
547 if x != nil {
548 return x.SoongBuildMetrics
Colin Crossb72c9092020-02-10 11:23:49 -0800549 }
550 return nil
551}
552
Dan Willemsen4591b642021-05-24 14:24:12 -0700553func (x *MetricsBase) GetBuildConfig() *BuildConfig {
554 if x != nil {
555 return x.BuildConfig
Patrice Arruda96850362020-08-11 20:41:11 +0000556 }
557 return nil
558}
559
Dan Willemsen4591b642021-05-24 14:24:12 -0700560func (x *MetricsBase) GetHostname() string {
561 if x != nil && x.Hostname != nil {
562 return *x.Hostname
Patrice Arruda4fb8adc2020-10-12 22:38:06 +0000563 }
564 return ""
565}
566
Dan Willemsen4591b642021-05-24 14:24:12 -0700567func (x *MetricsBase) GetSystemResourceInfo() *SystemResourceInfo {
568 if x != nil {
569 return x.SystemResourceInfo
Patrice Arruda3edfd482020-10-13 23:58:41 +0000570 }
571 return nil
572}
573
Dan Willemsen4591b642021-05-24 14:24:12 -0700574func (x *MetricsBase) GetBuildCommand() string {
575 if x != nil && x.BuildCommand != nil {
576 return *x.BuildCommand
Patrice Arrudae92c30d2020-10-29 11:01:32 -0700577 }
578 return ""
579}
580
Dan Willemsen4591b642021-05-24 14:24:12 -0700581func (x *MetricsBase) GetBazelRuns() []*PerfInfo {
582 if x != nil {
583 return x.BazelRuns
Patrice Arrudab7cf9ba2020-11-13 13:04:17 -0800584 }
585 return nil
586}
587
David Goldsmith62243a32022-04-08 13:42:04 +0000588func (x *MetricsBase) GetExpConfigFetcher() *ExpConfigFetcher {
589 if x != nil {
590 return x.ExpConfigFetcher
591 }
592 return nil
593}
594
Liz Kammerf2a80c62022-10-21 10:42:35 -0400595func (x *MetricsBase) GetNonZeroExit() bool {
596 if x != nil && x.NonZeroExit != nil {
597 return *x.NonZeroExit
598 }
599 return false
600}
601
602func (x *MetricsBase) GetErrorMessage() string {
603 if x != nil && x.ErrorMessage != nil {
604 return *x.ErrorMessage
605 }
606 return ""
607}
608
MarkDaceka18ba222023-03-07 18:18:19 +0000609func (x *MetricsBase) GetManifestUrl() string {
610 if x != nil && x.ManifestUrl != nil {
611 return *x.ManifestUrl
612 }
613 return ""
614}
615
616func (x *MetricsBase) GetBranch() string {
617 if x != nil && x.Branch != nil {
618 return *x.Branch
619 }
620 return ""
621}
622
Patrice Arruda96850362020-08-11 20:41:11 +0000623type BuildConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700624 state protoimpl.MessageState
625 sizeCache protoimpl.SizeCache
626 unknownFields protoimpl.UnknownFields
627
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400628 UseGoma *bool `protobuf:"varint,1,opt,name=use_goma,json=useGoma" json:"use_goma,omitempty"`
629 UseRbe *bool `protobuf:"varint,2,opt,name=use_rbe,json=useRbe" json:"use_rbe,omitempty"`
630 ForceUseGoma *bool `protobuf:"varint,3,opt,name=force_use_goma,json=forceUseGoma" json:"force_use_goma,omitempty"`
631 // Whether the Bazel is acting as the Ninja executor for this build.
632 BazelAsNinja *bool `protobuf:"varint,4,opt,name=bazel_as_ninja,json=bazelAsNinja" json:"bazel_as_ninja,omitempty"`
633 // Whether build is occurring in a mixed build mode, where Bazel maintains the
634 // definition and build of some modules in cooperation with Soong.
Dan Willemsen4591b642021-05-24 14:24:12 -0700635 BazelMixedBuild *bool `protobuf:"varint,5,opt,name=bazel_mixed_build,json=bazelMixedBuild" json:"bazel_mixed_build,omitempty"`
Yu Liue737a992021-10-04 13:21:41 -0700636 // These are the targets soong passes to ninja, these targets include special
637 // targets such as droid as well as the regular build targets.
638 Targets []string `protobuf:"bytes,6,rep,name=targets" json:"targets,omitempty"`
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400639 // Whether the user explicitly disabled bazel mixed builds for this build.
640 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 +0000641}
642
Dan Willemsen4591b642021-05-24 14:24:12 -0700643func (x *BuildConfig) Reset() {
644 *x = BuildConfig{}
645 if protoimpl.UnsafeEnabled {
646 mi := &file_metrics_proto_msgTypes[1]
647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
648 ms.StoreMessageInfo(mi)
649 }
650}
651
652func (x *BuildConfig) String() string {
653 return protoimpl.X.MessageStringOf(x)
654}
655
656func (*BuildConfig) ProtoMessage() {}
657
658func (x *BuildConfig) ProtoReflect() protoreflect.Message {
659 mi := &file_metrics_proto_msgTypes[1]
660 if protoimpl.UnsafeEnabled && x != nil {
661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
662 if ms.LoadMessageInfo() == nil {
663 ms.StoreMessageInfo(mi)
664 }
665 return ms
666 }
667 return mi.MessageOf(x)
668}
669
670// Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.
Patrice Arruda96850362020-08-11 20:41:11 +0000671func (*BuildConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700672 return file_metrics_proto_rawDescGZIP(), []int{1}
Patrice Arruda96850362020-08-11 20:41:11 +0000673}
674
Dan Willemsen4591b642021-05-24 14:24:12 -0700675func (x *BuildConfig) GetUseGoma() bool {
676 if x != nil && x.UseGoma != nil {
677 return *x.UseGoma
Patrice Arruda96850362020-08-11 20:41:11 +0000678 }
679 return false
680}
681
Dan Willemsen4591b642021-05-24 14:24:12 -0700682func (x *BuildConfig) GetUseRbe() bool {
683 if x != nil && x.UseRbe != nil {
684 return *x.UseRbe
Patrice Arruda96850362020-08-11 20:41:11 +0000685 }
686 return false
687}
688
Dan Willemsen4591b642021-05-24 14:24:12 -0700689func (x *BuildConfig) GetForceUseGoma() bool {
690 if x != nil && x.ForceUseGoma != nil {
691 return *x.ForceUseGoma
Patrice Arrudac97d6dc2020-09-28 18:22:07 +0000692 }
693 return false
694}
695
Dan Willemsen4591b642021-05-24 14:24:12 -0700696func (x *BuildConfig) GetBazelAsNinja() bool {
697 if x != nil && x.BazelAsNinja != nil {
698 return *x.BazelAsNinja
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400699 }
700 return false
701}
702
Dan Willemsen4591b642021-05-24 14:24:12 -0700703func (x *BuildConfig) GetBazelMixedBuild() bool {
704 if x != nil && x.BazelMixedBuild != nil {
705 return *x.BazelMixedBuild
Liz Kammerca9cb2e2021-07-14 15:29:57 -0400706 }
707 return false
708}
709
Yu Liue737a992021-10-04 13:21:41 -0700710func (x *BuildConfig) GetTargets() []string {
711 if x != nil {
712 return x.Targets
713 }
714 return nil
715}
716
Romain Jobredeauxea098ef2022-10-20 14:24:31 -0400717func (x *BuildConfig) GetForceDisableBazelMixedBuild() bool {
718 if x != nil && x.ForceDisableBazelMixedBuild != nil {
719 return *x.ForceDisableBazelMixedBuild
720 }
721 return false
722}
723
Patrice Arruda3edfd482020-10-13 23:58:41 +0000724type SystemResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700725 state protoimpl.MessageState
726 sizeCache protoimpl.SizeCache
727 unknownFields protoimpl.UnknownFields
728
Patrice Arruda3edfd482020-10-13 23:58:41 +0000729 // The total physical memory in bytes.
730 TotalPhysicalMemory *uint64 `protobuf:"varint,1,opt,name=total_physical_memory,json=totalPhysicalMemory" json:"total_physical_memory,omitempty"`
731 // The total of available cores for building
Dan Willemsen4591b642021-05-24 14:24:12 -0700732 AvailableCpus *int32 `protobuf:"varint,2,opt,name=available_cpus,json=availableCpus" json:"available_cpus,omitempty"`
Patrice Arruda3edfd482020-10-13 23:58:41 +0000733}
734
Dan Willemsen4591b642021-05-24 14:24:12 -0700735func (x *SystemResourceInfo) Reset() {
736 *x = SystemResourceInfo{}
737 if protoimpl.UnsafeEnabled {
738 mi := &file_metrics_proto_msgTypes[2]
739 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
740 ms.StoreMessageInfo(mi)
741 }
742}
743
744func (x *SystemResourceInfo) String() string {
745 return protoimpl.X.MessageStringOf(x)
746}
747
748func (*SystemResourceInfo) ProtoMessage() {}
749
750func (x *SystemResourceInfo) ProtoReflect() protoreflect.Message {
751 mi := &file_metrics_proto_msgTypes[2]
752 if protoimpl.UnsafeEnabled && x != nil {
753 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
754 if ms.LoadMessageInfo() == nil {
755 ms.StoreMessageInfo(mi)
756 }
757 return ms
758 }
759 return mi.MessageOf(x)
760}
761
762// Deprecated: Use SystemResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arruda3edfd482020-10-13 23:58:41 +0000763func (*SystemResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700764 return file_metrics_proto_rawDescGZIP(), []int{2}
Patrice Arruda3edfd482020-10-13 23:58:41 +0000765}
766
Dan Willemsen4591b642021-05-24 14:24:12 -0700767func (x *SystemResourceInfo) GetTotalPhysicalMemory() uint64 {
768 if x != nil && x.TotalPhysicalMemory != nil {
769 return *x.TotalPhysicalMemory
Patrice Arruda3edfd482020-10-13 23:58:41 +0000770 }
771 return 0
772}
773
Dan Willemsen4591b642021-05-24 14:24:12 -0700774func (x *SystemResourceInfo) GetAvailableCpus() int32 {
775 if x != nil && x.AvailableCpus != nil {
776 return *x.AvailableCpus
Patrice Arruda3edfd482020-10-13 23:58:41 +0000777 }
778 return 0
779}
780
Nan Zhang17f27672018-12-12 16:01:49 -0800781type PerfInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700782 state protoimpl.MessageState
783 sizeCache protoimpl.SizeCache
784 unknownFields protoimpl.UnknownFields
785
Nan Zhang17f27672018-12-12 16:01:49 -0800786 // The description for the phase/action/part while the tool running.
Yu Liu37c3dd32021-09-30 14:46:18 -0700787 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800788 // The name for the running phase/action/part.
789 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
790 // The absolute start time.
791 // The number of nanoseconds elapsed since January 1, 1970 UTC.
792 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
793 // The real running time.
794 // The number of nanoseconds elapsed since start_time.
795 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700796 // The number of MB for memory use (deprecated as it is too generic).
Dan Willemsen4591b642021-05-24 14:24:12 -0700797 //
798 // Deprecated: Do not use.
799 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700800 // The resource information of each executed process.
801 ProcessesResourceInfo []*ProcessResourceInfo `protobuf:"bytes,6,rep,name=processes_resource_info,json=processesResourceInfo" json:"processes_resource_info,omitempty"`
Liz Kammerf2a80c62022-10-21 10:42:35 -0400802 // Whether the phase of tool running exited with a panic or non-zero exit
803 // code.
804 NonZeroExit *bool `protobuf:"varint,7,opt,name=non_zero_exit,json=nonZeroExit" json:"non_zero_exit,omitempty"`
805 // The error message, if any, due to a non-zero exit.
806 ErrorMessage *string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -0800807}
808
Dan Willemsen4591b642021-05-24 14:24:12 -0700809func (x *PerfInfo) Reset() {
810 *x = PerfInfo{}
811 if protoimpl.UnsafeEnabled {
812 mi := &file_metrics_proto_msgTypes[3]
813 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
814 ms.StoreMessageInfo(mi)
815 }
816}
817
818func (x *PerfInfo) String() string {
819 return protoimpl.X.MessageStringOf(x)
820}
821
822func (*PerfInfo) ProtoMessage() {}
823
824func (x *PerfInfo) ProtoReflect() protoreflect.Message {
825 mi := &file_metrics_proto_msgTypes[3]
826 if protoimpl.UnsafeEnabled && x != nil {
827 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
828 if ms.LoadMessageInfo() == nil {
829 ms.StoreMessageInfo(mi)
830 }
831 return ms
832 }
833 return mi.MessageOf(x)
834}
835
836// Deprecated: Use PerfInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -0800837func (*PerfInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700838 return file_metrics_proto_rawDescGZIP(), []int{3}
Nan Zhang17f27672018-12-12 16:01:49 -0800839}
Patrice Arruda0cc5b212019-06-14 15:27:46 -0700840
Yu Liu37c3dd32021-09-30 14:46:18 -0700841func (x *PerfInfo) GetDescription() string {
842 if x != nil && x.Description != nil {
843 return *x.Description
Nan Zhang17f27672018-12-12 16:01:49 -0800844 }
845 return ""
846}
847
Dan Willemsen4591b642021-05-24 14:24:12 -0700848func (x *PerfInfo) GetName() string {
849 if x != nil && x.Name != nil {
850 return *x.Name
Nan Zhang17f27672018-12-12 16:01:49 -0800851 }
852 return ""
853}
854
Dan Willemsen4591b642021-05-24 14:24:12 -0700855func (x *PerfInfo) GetStartTime() uint64 {
856 if x != nil && x.StartTime != nil {
857 return *x.StartTime
Nan Zhang17f27672018-12-12 16:01:49 -0800858 }
859 return 0
860}
861
Dan Willemsen4591b642021-05-24 14:24:12 -0700862func (x *PerfInfo) GetRealTime() uint64 {
863 if x != nil && x.RealTime != nil {
864 return *x.RealTime
Nan Zhang17f27672018-12-12 16:01:49 -0800865 }
866 return 0
867}
868
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700869// Deprecated: Do not use.
Dan Willemsen4591b642021-05-24 14:24:12 -0700870func (x *PerfInfo) GetMemoryUse() uint64 {
871 if x != nil && x.MemoryUse != nil {
872 return *x.MemoryUse
Nan Zhang17f27672018-12-12 16:01:49 -0800873 }
874 return 0
875}
876
Dan Willemsen4591b642021-05-24 14:24:12 -0700877func (x *PerfInfo) GetProcessesResourceInfo() []*ProcessResourceInfo {
878 if x != nil {
879 return x.ProcessesResourceInfo
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700880 }
881 return nil
882}
883
Liz Kammerf2a80c62022-10-21 10:42:35 -0400884func (x *PerfInfo) GetNonZeroExit() bool {
885 if x != nil && x.NonZeroExit != nil {
886 return *x.NonZeroExit
887 }
888 return false
889}
890
891func (x *PerfInfo) GetErrorMessage() string {
892 if x != nil && x.ErrorMessage != nil {
893 return *x.ErrorMessage
894 }
895 return ""
896}
897
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700898type ProcessResourceInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700899 state protoimpl.MessageState
900 sizeCache protoimpl.SizeCache
901 unknownFields protoimpl.UnknownFields
902
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700903 // The name of the process for identification.
904 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
905 // The amount of time spent executing in user space in microseconds.
906 UserTimeMicros *uint64 `protobuf:"varint,2,opt,name=user_time_micros,json=userTimeMicros" json:"user_time_micros,omitempty"`
907 // The amount of time spent executing in kernel mode in microseconds.
908 SystemTimeMicros *uint64 `protobuf:"varint,3,opt,name=system_time_micros,json=systemTimeMicros" json:"system_time_micros,omitempty"`
909 // The maximum resident set size memory used in kilobytes.
910 MaxRssKb *uint64 `protobuf:"varint,4,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
911 // The number of minor page faults serviced without any I/O activity.
912 MinorPageFaults *uint64 `protobuf:"varint,5,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
913 // The number of major page faults serviced that required I/O activity.
914 MajorPageFaults *uint64 `protobuf:"varint,6,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
915 // Total IO input in kilobytes.
916 IoInputKb *uint64 `protobuf:"varint,7,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
917 // Total IO output in kilobytes.
918 IoOutputKb *uint64 `protobuf:"varint,8,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
919 // The number of voluntary context switches
920 VoluntaryContextSwitches *uint64 `protobuf:"varint,9,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
921 // The number of involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700922 InvoluntaryContextSwitches *uint64 `protobuf:"varint,10,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700923}
924
Dan Willemsen4591b642021-05-24 14:24:12 -0700925func (x *ProcessResourceInfo) Reset() {
926 *x = ProcessResourceInfo{}
927 if protoimpl.UnsafeEnabled {
928 mi := &file_metrics_proto_msgTypes[4]
929 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
930 ms.StoreMessageInfo(mi)
931 }
932}
933
934func (x *ProcessResourceInfo) String() string {
935 return protoimpl.X.MessageStringOf(x)
936}
937
938func (*ProcessResourceInfo) ProtoMessage() {}
939
940func (x *ProcessResourceInfo) ProtoReflect() protoreflect.Message {
941 mi := &file_metrics_proto_msgTypes[4]
942 if protoimpl.UnsafeEnabled && x != nil {
943 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
944 if ms.LoadMessageInfo() == nil {
945 ms.StoreMessageInfo(mi)
946 }
947 return ms
948 }
949 return mi.MessageOf(x)
950}
951
952// Deprecated: Use ProcessResourceInfo.ProtoReflect.Descriptor instead.
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700953func (*ProcessResourceInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700954 return file_metrics_proto_rawDescGZIP(), []int{4}
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700955}
956
Dan Willemsen4591b642021-05-24 14:24:12 -0700957func (x *ProcessResourceInfo) GetName() string {
958 if x != nil && x.Name != nil {
959 return *x.Name
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700960 }
961 return ""
962}
963
Dan Willemsen4591b642021-05-24 14:24:12 -0700964func (x *ProcessResourceInfo) GetUserTimeMicros() uint64 {
965 if x != nil && x.UserTimeMicros != nil {
966 return *x.UserTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700967 }
968 return 0
969}
970
Dan Willemsen4591b642021-05-24 14:24:12 -0700971func (x *ProcessResourceInfo) GetSystemTimeMicros() uint64 {
972 if x != nil && x.SystemTimeMicros != nil {
973 return *x.SystemTimeMicros
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700974 }
975 return 0
976}
977
Dan Willemsen4591b642021-05-24 14:24:12 -0700978func (x *ProcessResourceInfo) GetMaxRssKb() uint64 {
979 if x != nil && x.MaxRssKb != nil {
980 return *x.MaxRssKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700981 }
982 return 0
983}
984
Dan Willemsen4591b642021-05-24 14:24:12 -0700985func (x *ProcessResourceInfo) GetMinorPageFaults() uint64 {
986 if x != nil && x.MinorPageFaults != nil {
987 return *x.MinorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700988 }
989 return 0
990}
991
Dan Willemsen4591b642021-05-24 14:24:12 -0700992func (x *ProcessResourceInfo) GetMajorPageFaults() uint64 {
993 if x != nil && x.MajorPageFaults != nil {
994 return *x.MajorPageFaults
Patrice Arrudafec3bf22020-10-19 10:55:34 -0700995 }
996 return 0
997}
998
Dan Willemsen4591b642021-05-24 14:24:12 -0700999func (x *ProcessResourceInfo) GetIoInputKb() uint64 {
1000 if x != nil && x.IoInputKb != nil {
1001 return *x.IoInputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001002 }
1003 return 0
1004}
1005
Dan Willemsen4591b642021-05-24 14:24:12 -07001006func (x *ProcessResourceInfo) GetIoOutputKb() uint64 {
1007 if x != nil && x.IoOutputKb != nil {
1008 return *x.IoOutputKb
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001009 }
1010 return 0
1011}
1012
Dan Willemsen4591b642021-05-24 14:24:12 -07001013func (x *ProcessResourceInfo) GetVoluntaryContextSwitches() uint64 {
1014 if x != nil && x.VoluntaryContextSwitches != nil {
1015 return *x.VoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001016 }
1017 return 0
1018}
1019
Dan Willemsen4591b642021-05-24 14:24:12 -07001020func (x *ProcessResourceInfo) GetInvoluntaryContextSwitches() uint64 {
1021 if x != nil && x.InvoluntaryContextSwitches != nil {
1022 return *x.InvoluntaryContextSwitches
Patrice Arrudafec3bf22020-10-19 10:55:34 -07001023 }
1024 return 0
1025}
1026
Nan Zhang17f27672018-12-12 16:01:49 -08001027type ModuleTypeInfo struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001028 state protoimpl.MessageState
1029 sizeCache protoimpl.SizeCache
1030 unknownFields protoimpl.UnknownFields
1031
MarkDacekff851b82022-04-21 18:33:17 +00001032 // The build system, e.g. Soong or Make.
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001033 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 +00001034 // The module type, e.g. java_library, cc_binary, and etc.
Nan Zhang17f27672018-12-12 16:01:49 -08001035 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"`
1036 // The number of logical modules.
Dan Willemsen4591b642021-05-24 14:24:12 -07001037 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"`
Nan Zhang17f27672018-12-12 16:01:49 -08001038}
1039
Dan Willemsen4591b642021-05-24 14:24:12 -07001040// Default values for ModuleTypeInfo fields.
1041const (
1042 Default_ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN
1043)
1044
1045func (x *ModuleTypeInfo) Reset() {
1046 *x = ModuleTypeInfo{}
1047 if protoimpl.UnsafeEnabled {
1048 mi := &file_metrics_proto_msgTypes[5]
1049 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1050 ms.StoreMessageInfo(mi)
1051 }
1052}
1053
1054func (x *ModuleTypeInfo) String() string {
1055 return protoimpl.X.MessageStringOf(x)
1056}
1057
1058func (*ModuleTypeInfo) ProtoMessage() {}
1059
1060func (x *ModuleTypeInfo) ProtoReflect() protoreflect.Message {
1061 mi := &file_metrics_proto_msgTypes[5]
1062 if protoimpl.UnsafeEnabled && x != nil {
1063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1064 if ms.LoadMessageInfo() == nil {
1065 ms.StoreMessageInfo(mi)
1066 }
1067 return ms
1068 }
1069 return mi.MessageOf(x)
1070}
1071
1072// Deprecated: Use ModuleTypeInfo.ProtoReflect.Descriptor instead.
Nan Zhang17f27672018-12-12 16:01:49 -08001073func (*ModuleTypeInfo) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001074 return file_metrics_proto_rawDescGZIP(), []int{5}
Nan Zhang17f27672018-12-12 16:01:49 -08001075}
Patrice Arruda0cc5b212019-06-14 15:27:46 -07001076
Dan Willemsen4591b642021-05-24 14:24:12 -07001077func (x *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem {
1078 if x != nil && x.BuildSystem != nil {
1079 return *x.BuildSystem
Nan Zhang17f27672018-12-12 16:01:49 -08001080 }
1081 return Default_ModuleTypeInfo_BuildSystem
1082}
1083
Dan Willemsen4591b642021-05-24 14:24:12 -07001084func (x *ModuleTypeInfo) GetModuleType() string {
1085 if x != nil && x.ModuleType != nil {
1086 return *x.ModuleType
Nan Zhang17f27672018-12-12 16:01:49 -08001087 }
1088 return ""
1089}
1090
Dan Willemsen4591b642021-05-24 14:24:12 -07001091func (x *ModuleTypeInfo) GetNumOfModules() uint32 {
1092 if x != nil && x.NumOfModules != nil {
1093 return *x.NumOfModules
Nan Zhang17f27672018-12-12 16:01:49 -08001094 }
1095 return 0
1096}
1097
Colin Crossd0be2102019-11-26 16:16:57 -08001098type CriticalUserJourneyMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001099 state protoimpl.MessageState
1100 sizeCache protoimpl.SizeCache
1101 unknownFields protoimpl.UnknownFields
1102
Colin Crossd0be2102019-11-26 16:16:57 -08001103 // The name of a critical user journey test.
1104 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1105 // The metrics produced when running the critical user journey test.
Dan Willemsen4591b642021-05-24 14:24:12 -07001106 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001107}
1108
Dan Willemsen4591b642021-05-24 14:24:12 -07001109func (x *CriticalUserJourneyMetrics) Reset() {
1110 *x = CriticalUserJourneyMetrics{}
1111 if protoimpl.UnsafeEnabled {
1112 mi := &file_metrics_proto_msgTypes[6]
1113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1114 ms.StoreMessageInfo(mi)
1115 }
1116}
1117
1118func (x *CriticalUserJourneyMetrics) String() string {
1119 return protoimpl.X.MessageStringOf(x)
1120}
1121
1122func (*CriticalUserJourneyMetrics) ProtoMessage() {}
1123
1124func (x *CriticalUserJourneyMetrics) ProtoReflect() protoreflect.Message {
1125 mi := &file_metrics_proto_msgTypes[6]
1126 if protoimpl.UnsafeEnabled && x != nil {
1127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1128 if ms.LoadMessageInfo() == nil {
1129 ms.StoreMessageInfo(mi)
1130 }
1131 return ms
1132 }
1133 return mi.MessageOf(x)
1134}
1135
1136// Deprecated: Use CriticalUserJourneyMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001137func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001138 return file_metrics_proto_rawDescGZIP(), []int{6}
Colin Crossd0be2102019-11-26 16:16:57 -08001139}
1140
Dan Willemsen4591b642021-05-24 14:24:12 -07001141func (x *CriticalUserJourneyMetrics) GetName() string {
1142 if x != nil && x.Name != nil {
1143 return *x.Name
Colin Crossd0be2102019-11-26 16:16:57 -08001144 }
1145 return ""
1146}
1147
Dan Willemsen4591b642021-05-24 14:24:12 -07001148func (x *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase {
1149 if x != nil {
1150 return x.Metrics
Colin Crossd0be2102019-11-26 16:16:57 -08001151 }
1152 return nil
1153}
1154
1155type CriticalUserJourneysMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001156 state protoimpl.MessageState
1157 sizeCache protoimpl.SizeCache
1158 unknownFields protoimpl.UnknownFields
1159
Colin Crossd0be2102019-11-26 16:16:57 -08001160 // A set of metrics from a run of the critical user journey tests.
Dan Willemsen4591b642021-05-24 14:24:12 -07001161 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"`
Colin Crossd0be2102019-11-26 16:16:57 -08001162}
1163
Dan Willemsen4591b642021-05-24 14:24:12 -07001164func (x *CriticalUserJourneysMetrics) Reset() {
1165 *x = CriticalUserJourneysMetrics{}
1166 if protoimpl.UnsafeEnabled {
1167 mi := &file_metrics_proto_msgTypes[7]
1168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1169 ms.StoreMessageInfo(mi)
1170 }
1171}
1172
1173func (x *CriticalUserJourneysMetrics) String() string {
1174 return protoimpl.X.MessageStringOf(x)
1175}
1176
1177func (*CriticalUserJourneysMetrics) ProtoMessage() {}
1178
1179func (x *CriticalUserJourneysMetrics) ProtoReflect() protoreflect.Message {
1180 mi := &file_metrics_proto_msgTypes[7]
1181 if protoimpl.UnsafeEnabled && x != nil {
1182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1183 if ms.LoadMessageInfo() == nil {
1184 ms.StoreMessageInfo(mi)
1185 }
1186 return ms
1187 }
1188 return mi.MessageOf(x)
1189}
1190
1191// Deprecated: Use CriticalUserJourneysMetrics.ProtoReflect.Descriptor instead.
Colin Crossd0be2102019-11-26 16:16:57 -08001192func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001193 return file_metrics_proto_rawDescGZIP(), []int{7}
Colin Crossd0be2102019-11-26 16:16:57 -08001194}
1195
Dan Willemsen4591b642021-05-24 14:24:12 -07001196func (x *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics {
1197 if x != nil {
1198 return x.Cujs
Colin Crossd0be2102019-11-26 16:16:57 -08001199 }
1200 return nil
1201}
1202
Colin Crossb72c9092020-02-10 11:23:49 -08001203type SoongBuildMetrics struct {
Dan Willemsen4591b642021-05-24 14:24:12 -07001204 state protoimpl.MessageState
1205 sizeCache protoimpl.SizeCache
1206 unknownFields protoimpl.UnknownFields
1207
Colin Crossb72c9092020-02-10 11:23:49 -08001208 // The number of modules handled by soong_build.
1209 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"`
1210 // The total number of variants handled by soong_build.
1211 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"`
1212 // The total number of allocations in soong_build.
1213 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"`
1214 // The total size of allocations in soong_build in bytes.
1215 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"`
1216 // The approximate maximum size of the heap in soong_build in bytes.
Dan Willemsen4591b642021-05-24 14:24:12 -07001217 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"`
Chris Parsons715b08f2022-03-22 19:23:40 -04001218 // Runtime metrics for soong_build execution.
1219 Events []*PerfInfo `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
MarkDacekff851b82022-04-21 18:33:17 +00001220 // Mixed Builds information
1221 MixedBuildsInfo *MixedBuildsInfo `protobuf:"bytes,7,opt,name=mixed_builds_info,json=mixedBuildsInfo" json:"mixed_builds_info,omitempty"`
Colin Crossb72c9092020-02-10 11:23:49 -08001222}
1223
Dan Willemsen4591b642021-05-24 14:24:12 -07001224func (x *SoongBuildMetrics) Reset() {
1225 *x = SoongBuildMetrics{}
1226 if protoimpl.UnsafeEnabled {
1227 mi := &file_metrics_proto_msgTypes[8]
1228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1229 ms.StoreMessageInfo(mi)
1230 }
1231}
1232
1233func (x *SoongBuildMetrics) String() string {
1234 return protoimpl.X.MessageStringOf(x)
1235}
1236
1237func (*SoongBuildMetrics) ProtoMessage() {}
1238
1239func (x *SoongBuildMetrics) ProtoReflect() protoreflect.Message {
1240 mi := &file_metrics_proto_msgTypes[8]
1241 if protoimpl.UnsafeEnabled && x != nil {
1242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1243 if ms.LoadMessageInfo() == nil {
1244 ms.StoreMessageInfo(mi)
1245 }
1246 return ms
1247 }
1248 return mi.MessageOf(x)
1249}
1250
1251// Deprecated: Use SoongBuildMetrics.ProtoReflect.Descriptor instead.
Colin Crossb72c9092020-02-10 11:23:49 -08001252func (*SoongBuildMetrics) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001253 return file_metrics_proto_rawDescGZIP(), []int{8}
Colin Crossb72c9092020-02-10 11:23:49 -08001254}
1255
Dan Willemsen4591b642021-05-24 14:24:12 -07001256func (x *SoongBuildMetrics) GetModules() uint32 {
1257 if x != nil && x.Modules != nil {
1258 return *x.Modules
Colin Crossb72c9092020-02-10 11:23:49 -08001259 }
1260 return 0
1261}
1262
Dan Willemsen4591b642021-05-24 14:24:12 -07001263func (x *SoongBuildMetrics) GetVariants() uint32 {
1264 if x != nil && x.Variants != nil {
1265 return *x.Variants
Colin Crossb72c9092020-02-10 11:23:49 -08001266 }
1267 return 0
1268}
1269
Dan Willemsen4591b642021-05-24 14:24:12 -07001270func (x *SoongBuildMetrics) GetTotalAllocCount() uint64 {
1271 if x != nil && x.TotalAllocCount != nil {
1272 return *x.TotalAllocCount
Colin Crossb72c9092020-02-10 11:23:49 -08001273 }
1274 return 0
1275}
1276
Dan Willemsen4591b642021-05-24 14:24:12 -07001277func (x *SoongBuildMetrics) GetTotalAllocSize() uint64 {
1278 if x != nil && x.TotalAllocSize != nil {
1279 return *x.TotalAllocSize
Colin Crossb72c9092020-02-10 11:23:49 -08001280 }
1281 return 0
1282}
1283
Dan Willemsen4591b642021-05-24 14:24:12 -07001284func (x *SoongBuildMetrics) GetMaxHeapSize() uint64 {
1285 if x != nil && x.MaxHeapSize != nil {
1286 return *x.MaxHeapSize
Colin Crossb72c9092020-02-10 11:23:49 -08001287 }
1288 return 0
1289}
1290
Chris Parsons715b08f2022-03-22 19:23:40 -04001291func (x *SoongBuildMetrics) GetEvents() []*PerfInfo {
1292 if x != nil {
1293 return x.Events
1294 }
1295 return nil
1296}
1297
MarkDacekff851b82022-04-21 18:33:17 +00001298func (x *SoongBuildMetrics) GetMixedBuildsInfo() *MixedBuildsInfo {
1299 if x != nil {
1300 return x.MixedBuildsInfo
1301 }
1302 return nil
1303}
1304
David Goldsmith62243a32022-04-08 13:42:04 +00001305type ExpConfigFetcher struct {
1306 state protoimpl.MessageState
1307 sizeCache protoimpl.SizeCache
1308 unknownFields protoimpl.UnknownFields
1309
1310 // The result of the call to expconfigfetcher
1311 // NO_CONFIG - Not part of experiment
1312 // CONFIG - Part of experiment, config copied successfully
1313 // ERROR - expconfigfetcher failed
1314 Status *ExpConfigFetcher_ConfigStatus `protobuf:"varint,1,opt,name=status,enum=soong_build_metrics.ExpConfigFetcher_ConfigStatus" json:"status,omitempty"`
1315 // The output config filename
1316 Filename *string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
1317 // Time, in microseconds, taken by the expconfigfetcher
1318 Micros *uint64 `protobuf:"varint,3,opt,name=micros" json:"micros,omitempty"`
1319}
1320
1321func (x *ExpConfigFetcher) Reset() {
1322 *x = ExpConfigFetcher{}
1323 if protoimpl.UnsafeEnabled {
1324 mi := &file_metrics_proto_msgTypes[9]
1325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1326 ms.StoreMessageInfo(mi)
1327 }
1328}
1329
1330func (x *ExpConfigFetcher) String() string {
1331 return protoimpl.X.MessageStringOf(x)
1332}
1333
1334func (*ExpConfigFetcher) ProtoMessage() {}
1335
1336func (x *ExpConfigFetcher) ProtoReflect() protoreflect.Message {
1337 mi := &file_metrics_proto_msgTypes[9]
1338 if protoimpl.UnsafeEnabled && x != nil {
1339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1340 if ms.LoadMessageInfo() == nil {
1341 ms.StoreMessageInfo(mi)
1342 }
1343 return ms
1344 }
1345 return mi.MessageOf(x)
1346}
1347
1348// Deprecated: Use ExpConfigFetcher.ProtoReflect.Descriptor instead.
1349func (*ExpConfigFetcher) Descriptor() ([]byte, []int) {
1350 return file_metrics_proto_rawDescGZIP(), []int{9}
1351}
1352
1353func (x *ExpConfigFetcher) GetStatus() ExpConfigFetcher_ConfigStatus {
1354 if x != nil && x.Status != nil {
1355 return *x.Status
1356 }
1357 return ExpConfigFetcher_NO_CONFIG
1358}
1359
1360func (x *ExpConfigFetcher) GetFilename() string {
1361 if x != nil && x.Filename != nil {
1362 return *x.Filename
1363 }
1364 return ""
1365}
1366
1367func (x *ExpConfigFetcher) GetMicros() uint64 {
1368 if x != nil && x.Micros != nil {
1369 return *x.Micros
1370 }
1371 return 0
1372}
1373
MarkDacekff851b82022-04-21 18:33:17 +00001374type MixedBuildsInfo struct {
1375 state protoimpl.MessageState
1376 sizeCache protoimpl.SizeCache
1377 unknownFields protoimpl.UnknownFields
1378
1379 // Modules that are enabled for Mixed Builds.
1380 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 +00001381 // Modules that are not enabled for MixedBuilds
MarkDacekff851b82022-04-21 18:33:17 +00001382 MixedBuildDisabledModules []string `protobuf:"bytes,2,rep,name=mixed_build_disabled_modules,json=mixedBuildDisabledModules" json:"mixed_build_disabled_modules,omitempty"`
1383}
1384
1385func (x *MixedBuildsInfo) Reset() {
1386 *x = MixedBuildsInfo{}
1387 if protoimpl.UnsafeEnabled {
1388 mi := &file_metrics_proto_msgTypes[10]
1389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1390 ms.StoreMessageInfo(mi)
1391 }
1392}
1393
1394func (x *MixedBuildsInfo) String() string {
1395 return protoimpl.X.MessageStringOf(x)
1396}
1397
1398func (*MixedBuildsInfo) ProtoMessage() {}
1399
1400func (x *MixedBuildsInfo) ProtoReflect() protoreflect.Message {
1401 mi := &file_metrics_proto_msgTypes[10]
1402 if protoimpl.UnsafeEnabled && x != nil {
1403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1404 if ms.LoadMessageInfo() == nil {
1405 ms.StoreMessageInfo(mi)
1406 }
1407 return ms
1408 }
1409 return mi.MessageOf(x)
1410}
1411
1412// Deprecated: Use MixedBuildsInfo.ProtoReflect.Descriptor instead.
1413func (*MixedBuildsInfo) Descriptor() ([]byte, []int) {
1414 return file_metrics_proto_rawDescGZIP(), []int{10}
1415}
1416
1417func (x *MixedBuildsInfo) GetMixedBuildEnabledModules() []string {
1418 if x != nil {
1419 return x.MixedBuildEnabledModules
1420 }
1421 return nil
1422}
1423
1424func (x *MixedBuildsInfo) GetMixedBuildDisabledModules() []string {
1425 if x != nil {
1426 return x.MixedBuildDisabledModules
1427 }
1428 return nil
1429}
1430
Dan Willemsen4591b642021-05-24 14:24:12 -07001431var File_metrics_proto protoreflect.FileDescriptor
1432
1433var file_metrics_proto_rawDesc = []byte{
1434 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1435 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
MarkDaceka18ba222023-03-07 18:18:19 +00001436 0x72, 0x69, 0x63, 0x73, 0x22, 0xb5, 0x0e, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
Dan Willemsen4591b642021-05-24 14:24:12 -07001437 0x42, 0x61, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61,
1438 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
1439 0x28, 0x03, 0x52, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
1440 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
1441 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49,
1442 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
1443 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
1444 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65,
1445 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1446 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18,
1447 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f,
1448 0x64, 0x75, 0x63, 0x74, 0x12, 0x64, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62,
1449 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
1450 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1451 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1452 0x42, 0x61, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
1453 0x74, 0x3a, 0x03, 0x45, 0x4e, 0x47, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x75,
1454 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x74, 0x61,
1455 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
1456 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1457 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73,
1458 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52,
1459 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74,
1460 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61,
1461 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1462 0x41, 0x72, 0x63, 0x68, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74,
1463 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e,
1464 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
1465 0x70, 0x75, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x68, 0x6f, 0x73,
1466 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73,
1467 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1468 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x41,
1469 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x08, 0x68, 0x6f,
1470 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x12, 0x52, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x32,
1471 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1472 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1473 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x2e,
1474 0x41, 0x72, 0x63, 0x68, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x68,
1475 0x6f, 0x73, 0x74, 0x32, 0x6e, 0x64, 0x41, 0x72, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
1476 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
1477 0x74, 0x4f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x73, 0x5f, 0x65,
1478 0x78, 0x74, 0x72, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74,
1479 0x4f, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f,
1480 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1481 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x68,
1482 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0e,
1483 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x41,
1484 0x72, 0x63, 0x68, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73,
1485 0x73, 0x5f, 0x32, 0x6e, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
1486 0x52, 0x10, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x32, 0x6e, 0x64, 0x41, 0x72,
1487 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
1488 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x73,
1489 0x65, 0x74, 0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
1490 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1491 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
1492 0x0a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6b,
1493 0x61, 0x74, 0x69, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
1494 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74,
1495 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6b,
1496 0x61, 0x74, 0x69, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
1497 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f,
1498 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1499 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6f, 0x6f, 0x6e,
1500 0x67, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x72,
1501 0x75, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1502 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1503 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x52,
1504 0x75, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01,
1505 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1506 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
Jason Wu41886f22023-01-04 11:29:36 -05001507 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x6f, 0x6f, 0x6e,
Dan Willemsen4591b642021-05-24 14:24:12 -07001508 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
1509 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1510 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x6f, 0x6f, 0x6e,
Jason Wu41886f22023-01-04 11:29:36 -05001511 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x02, 0x18,
1512 0x01, 0x52, 0x11, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74,
1513 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f,
1514 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x6f, 0x6f,
1515 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
1516 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75,
1517 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
1518 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
1519 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
1520 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20,
1521 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1522 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
1523 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x79,
1524 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1525 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
1526 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f,
1527 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x72,
1528 0x75, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e,
1529 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
1530 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x52,
1531 0x75, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1532 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
1533 0x25, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65,
1534 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46,
1535 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x10, 0x65, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1536 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x6f, 0x6e, 0x5f,
1537 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
1538 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d,
1539 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
1540 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
MarkDaceka18ba222023-03-07 18:18:19 +00001541 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,
1542 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
1543 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x20,
1544 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x30, 0x0a, 0x0c,
1545 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x08, 0x0a, 0x04,
1546 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x53, 0x45, 0x52, 0x44, 0x45,
1547 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3c,
1548 0x0a, 0x04, 0x41, 0x72, 0x63, 0x68, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
1549 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
1550 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36, 0x10, 0x03,
1551 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x04, 0x22, 0x99, 0x02, 0x0a,
1552 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08,
1553 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
1554 0x75, 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x72,
1555 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x52, 0x62, 0x65,
1556 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f,
1557 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55,
1558 0x73, 0x65, 0x47, 0x6f, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f,
1559 0x61, 0x73, 0x5f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
1560 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x41, 0x73, 0x4e, 0x69, 0x6e, 0x6a, 0x61, 0x12, 0x2a, 0x0a, 0x11,
1561 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c,
1562 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69,
1563 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67,
1564 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
1565 0x74, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61,
1566 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x7a, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f,
1567 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x66, 0x6f, 0x72,
1568 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x7a, 0x65, 0x6c, 0x4d, 0x69,
1569 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74,
1570 0x65, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32,
1571 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c,
1572 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74,
1573 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f,
1574 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f,
1575 0x63, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69,
1576 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x08, 0x50, 0x65,
1577 0x72, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
1578 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
1579 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1580 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
1581 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
1582 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72,
1583 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
1584 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x6f,
1585 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01,
1586 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x17, 0x70,
1587 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1588 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73,
1589 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69,
1590 0x63, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
1591 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65,
1592 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a,
1593 0x0d, 0x6e, 0x6f, 0x6e, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x18, 0x07,
1594 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x6e, 0x5a, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x69,
1595 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
1596 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d,
1597 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb9, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65,
1598 0x73, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12,
1599 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1600 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f,
1601 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x75, 0x73,
1602 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12,
1603 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72,
1604 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
1605 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61,
1606 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
1607 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f,
1608 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20,
1609 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61,
1610 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61,
1611 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52,
1612 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73,
1613 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18,
1614 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62,
1615 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62,
1616 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74,
1617 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f,
1618 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73,
1619 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72,
1620 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73,
1621 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f,
1622 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73,
1623 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74,
1624 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
1625 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70,
1626 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73,
1627 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x6f,
1628 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1629 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1630 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x07, 0x55, 0x4e,
1631 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74,
1632 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70,
1633 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54,
1634 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f,
1635 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d,
1636 0x4f, 0x66, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x42, 0x75, 0x69,
1637 0x6c, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
1638 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4f, 0x4f, 0x4e, 0x47, 0x10, 0x01,
1639 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x1a, 0x43, 0x72,
1640 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65,
1641 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1642 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x07,
1643 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
1644 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72,
1645 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x61, 0x73, 0x65, 0x52,
1646 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x43, 0x72, 0x69, 0x74,
1647 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x73,
1648 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x18,
1649 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
1650 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x74,
1651 0x69, 0x63, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x4d,
1652 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x04, 0x63, 0x75, 0x6a, 0x73, 0x22, 0xcc, 0x02, 0x0a,
1653 0x11, 0x53, 0x6f, 0x6f, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69,
1654 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20,
1655 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08,
1656 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
1657 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61,
1658 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
1659 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x43,
1660 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c,
1661 0x6c, 0x6f, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e,
1662 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22,
1663 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
1664 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 0x69,
1665 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03,
1666 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
1667 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x49, 0x6e, 0x66,
1668 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x78,
1669 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07,
1670 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69,
1671 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x4d, 0x69, 0x78, 0x65, 0x64,
1672 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x78, 0x65,
1673 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x10,
1674 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72,
1675 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
1676 0x32, 0x32, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d,
1677 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1678 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74,
1679 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08,
1680 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
1681 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x63, 0x72,
1682 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73,
1683 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
1684 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00, 0x12,
1685 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45,
1686 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e,
1687 0x47, 0x5f, 0x47, 0x43, 0x45, 0x52, 0x54, 0x10, 0x03, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x69,
1688 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a,
1689 0x1b, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x61,
1690 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
1691 0x28, 0x09, 0x52, 0x18, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, 0x6e,
1692 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x1c,
1693 0x6d, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61,
1694 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
1695 0x28, 0x09, 0x52, 0x19, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69,
1696 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x28, 0x5a,
1697 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75,
1698 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1699 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Nan Zhang17f27672018-12-12 16:01:49 -08001700}
1701
Dan Willemsen4591b642021-05-24 14:24:12 -07001702var (
1703 file_metrics_proto_rawDescOnce sync.Once
1704 file_metrics_proto_rawDescData = file_metrics_proto_rawDesc
1705)
1706
1707func file_metrics_proto_rawDescGZIP() []byte {
1708 file_metrics_proto_rawDescOnce.Do(func() {
1709 file_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_metrics_proto_rawDescData)
1710 })
1711 return file_metrics_proto_rawDescData
Patrice Arruda96850362020-08-11 20:41:11 +00001712}
Nan Zhang17f27672018-12-12 16:01:49 -08001713
David Goldsmith62243a32022-04-08 13:42:04 +00001714var file_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
MarkDacekff851b82022-04-21 18:33:17 +00001715var file_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
Dan Willemsen4591b642021-05-24 14:24:12 -07001716var file_metrics_proto_goTypes = []interface{}{
1717 (MetricsBase_BuildVariant)(0), // 0: soong_build_metrics.MetricsBase.BuildVariant
1718 (MetricsBase_Arch)(0), // 1: soong_build_metrics.MetricsBase.Arch
1719 (ModuleTypeInfo_BuildSystem)(0), // 2: soong_build_metrics.ModuleTypeInfo.BuildSystem
David Goldsmith62243a32022-04-08 13:42:04 +00001720 (ExpConfigFetcher_ConfigStatus)(0), // 3: soong_build_metrics.ExpConfigFetcher.ConfigStatus
1721 (*MetricsBase)(nil), // 4: soong_build_metrics.MetricsBase
1722 (*BuildConfig)(nil), // 5: soong_build_metrics.BuildConfig
1723 (*SystemResourceInfo)(nil), // 6: soong_build_metrics.SystemResourceInfo
1724 (*PerfInfo)(nil), // 7: soong_build_metrics.PerfInfo
1725 (*ProcessResourceInfo)(nil), // 8: soong_build_metrics.ProcessResourceInfo
1726 (*ModuleTypeInfo)(nil), // 9: soong_build_metrics.ModuleTypeInfo
1727 (*CriticalUserJourneyMetrics)(nil), // 10: soong_build_metrics.CriticalUserJourneyMetrics
1728 (*CriticalUserJourneysMetrics)(nil), // 11: soong_build_metrics.CriticalUserJourneysMetrics
1729 (*SoongBuildMetrics)(nil), // 12: soong_build_metrics.SoongBuildMetrics
1730 (*ExpConfigFetcher)(nil), // 13: soong_build_metrics.ExpConfigFetcher
MarkDacekff851b82022-04-21 18:33:17 +00001731 (*MixedBuildsInfo)(nil), // 14: soong_build_metrics.MixedBuildsInfo
Dan Willemsen4591b642021-05-24 14:24:12 -07001732}
1733var file_metrics_proto_depIdxs = []int32{
1734 0, // 0: soong_build_metrics.MetricsBase.target_build_variant:type_name -> soong_build_metrics.MetricsBase.BuildVariant
1735 1, // 1: soong_build_metrics.MetricsBase.target_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1736 1, // 2: soong_build_metrics.MetricsBase.host_arch:type_name -> soong_build_metrics.MetricsBase.Arch
1737 1, // 3: soong_build_metrics.MetricsBase.host_2nd_arch:type_name -> soong_build_metrics.MetricsBase.Arch
David Goldsmith62243a32022-04-08 13:42:04 +00001738 7, // 4: soong_build_metrics.MetricsBase.setup_tools:type_name -> soong_build_metrics.PerfInfo
1739 7, // 5: soong_build_metrics.MetricsBase.kati_runs:type_name -> soong_build_metrics.PerfInfo
1740 7, // 6: soong_build_metrics.MetricsBase.soong_runs:type_name -> soong_build_metrics.PerfInfo
1741 7, // 7: soong_build_metrics.MetricsBase.ninja_runs:type_name -> soong_build_metrics.PerfInfo
1742 7, // 8: soong_build_metrics.MetricsBase.total:type_name -> soong_build_metrics.PerfInfo
1743 12, // 9: soong_build_metrics.MetricsBase.soong_build_metrics:type_name -> soong_build_metrics.SoongBuildMetrics
1744 5, // 10: soong_build_metrics.MetricsBase.build_config:type_name -> soong_build_metrics.BuildConfig
1745 6, // 11: soong_build_metrics.MetricsBase.system_resource_info:type_name -> soong_build_metrics.SystemResourceInfo
1746 7, // 12: soong_build_metrics.MetricsBase.bazel_runs:type_name -> soong_build_metrics.PerfInfo
1747 13, // 13: soong_build_metrics.MetricsBase.exp_config_fetcher:type_name -> soong_build_metrics.ExpConfigFetcher
1748 8, // 14: soong_build_metrics.PerfInfo.processes_resource_info:type_name -> soong_build_metrics.ProcessResourceInfo
1749 2, // 15: soong_build_metrics.ModuleTypeInfo.build_system:type_name -> soong_build_metrics.ModuleTypeInfo.BuildSystem
1750 4, // 16: soong_build_metrics.CriticalUserJourneyMetrics.metrics:type_name -> soong_build_metrics.MetricsBase
1751 10, // 17: soong_build_metrics.CriticalUserJourneysMetrics.cujs:type_name -> soong_build_metrics.CriticalUserJourneyMetrics
1752 7, // 18: soong_build_metrics.SoongBuildMetrics.events:type_name -> soong_build_metrics.PerfInfo
MarkDacekff851b82022-04-21 18:33:17 +00001753 14, // 19: soong_build_metrics.SoongBuildMetrics.mixed_builds_info:type_name -> soong_build_metrics.MixedBuildsInfo
1754 3, // 20: soong_build_metrics.ExpConfigFetcher.status:type_name -> soong_build_metrics.ExpConfigFetcher.ConfigStatus
1755 21, // [21:21] is the sub-list for method output_type
1756 21, // [21:21] is the sub-list for method input_type
1757 21, // [21:21] is the sub-list for extension type_name
1758 21, // [21:21] is the sub-list for extension extendee
1759 0, // [0:21] is the sub-list for field type_name
Dan Willemsen4591b642021-05-24 14:24:12 -07001760}
1761
1762func init() { file_metrics_proto_init() }
1763func file_metrics_proto_init() {
1764 if File_metrics_proto != nil {
1765 return
1766 }
1767 if !protoimpl.UnsafeEnabled {
1768 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1769 switch v := v.(*MetricsBase); i {
1770 case 0:
1771 return &v.state
1772 case 1:
1773 return &v.sizeCache
1774 case 2:
1775 return &v.unknownFields
1776 default:
1777 return nil
1778 }
1779 }
1780 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1781 switch v := v.(*BuildConfig); i {
1782 case 0:
1783 return &v.state
1784 case 1:
1785 return &v.sizeCache
1786 case 2:
1787 return &v.unknownFields
1788 default:
1789 return nil
1790 }
1791 }
1792 file_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1793 switch v := v.(*SystemResourceInfo); i {
1794 case 0:
1795 return &v.state
1796 case 1:
1797 return &v.sizeCache
1798 case 2:
1799 return &v.unknownFields
1800 default:
1801 return nil
1802 }
1803 }
1804 file_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1805 switch v := v.(*PerfInfo); i {
1806 case 0:
1807 return &v.state
1808 case 1:
1809 return &v.sizeCache
1810 case 2:
1811 return &v.unknownFields
1812 default:
1813 return nil
1814 }
1815 }
1816 file_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1817 switch v := v.(*ProcessResourceInfo); i {
1818 case 0:
1819 return &v.state
1820 case 1:
1821 return &v.sizeCache
1822 case 2:
1823 return &v.unknownFields
1824 default:
1825 return nil
1826 }
1827 }
1828 file_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1829 switch v := v.(*ModuleTypeInfo); i {
1830 case 0:
1831 return &v.state
1832 case 1:
1833 return &v.sizeCache
1834 case 2:
1835 return &v.unknownFields
1836 default:
1837 return nil
1838 }
1839 }
1840 file_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1841 switch v := v.(*CriticalUserJourneyMetrics); i {
1842 case 0:
1843 return &v.state
1844 case 1:
1845 return &v.sizeCache
1846 case 2:
1847 return &v.unknownFields
1848 default:
1849 return nil
1850 }
1851 }
1852 file_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1853 switch v := v.(*CriticalUserJourneysMetrics); i {
1854 case 0:
1855 return &v.state
1856 case 1:
1857 return &v.sizeCache
1858 case 2:
1859 return &v.unknownFields
1860 default:
1861 return nil
1862 }
1863 }
1864 file_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1865 switch v := v.(*SoongBuildMetrics); i {
1866 case 0:
1867 return &v.state
1868 case 1:
1869 return &v.sizeCache
1870 case 2:
1871 return &v.unknownFields
1872 default:
1873 return nil
1874 }
1875 }
David Goldsmith62243a32022-04-08 13:42:04 +00001876 file_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1877 switch v := v.(*ExpConfigFetcher); i {
1878 case 0:
1879 return &v.state
1880 case 1:
1881 return &v.sizeCache
1882 case 2:
1883 return &v.unknownFields
1884 default:
1885 return nil
1886 }
1887 }
MarkDacekff851b82022-04-21 18:33:17 +00001888 file_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1889 switch v := v.(*MixedBuildsInfo); i {
1890 case 0:
1891 return &v.state
1892 case 1:
1893 return &v.sizeCache
1894 case 2:
1895 return &v.unknownFields
1896 default:
1897 return nil
1898 }
1899 }
Dan Willemsen4591b642021-05-24 14:24:12 -07001900 }
1901 type x struct{}
1902 out := protoimpl.TypeBuilder{
1903 File: protoimpl.DescBuilder{
1904 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1905 RawDescriptor: file_metrics_proto_rawDesc,
David Goldsmith62243a32022-04-08 13:42:04 +00001906 NumEnums: 4,
MarkDacekff851b82022-04-21 18:33:17 +00001907 NumMessages: 11,
Dan Willemsen4591b642021-05-24 14:24:12 -07001908 NumExtensions: 0,
1909 NumServices: 0,
1910 },
1911 GoTypes: file_metrics_proto_goTypes,
1912 DependencyIndexes: file_metrics_proto_depIdxs,
1913 EnumInfos: file_metrics_proto_enumTypes,
1914 MessageInfos: file_metrics_proto_msgTypes,
1915 }.Build()
1916 File_metrics_proto = out.File
1917 file_metrics_proto_rawDesc = nil
1918 file_metrics_proto_goTypes = nil
1919 file_metrics_proto_depIdxs = nil
Nan Zhang17f27672018-12-12 16:01:49 -08001920}