1// Copyright 2021 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 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.27.1 18// protoc v3.9.1 19// source: bp2build_metrics.proto 20 21package bp2build_metrics_proto 22 23import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28) 29 30const ( 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) 36 37type Bp2BuildMetrics struct { 38 state protoimpl.MessageState 39 sizeCache protoimpl.SizeCache 40 unknownFields protoimpl.UnknownFields 41 42 // Total number of Soong modules converted to generated targets 43 GeneratedModuleCount uint64 `protobuf:"varint,1,opt,name=generatedModuleCount,proto3" json:"generatedModuleCount,omitempty"` 44 // Total number of Soong modules converted to handcrafted targets 45 HandCraftedModuleCount uint64 `protobuf:"varint,2,opt,name=handCraftedModuleCount,proto3" json:"handCraftedModuleCount,omitempty"` 46 // Total number of unconverted Soong modules 47 UnconvertedModuleCount uint64 `protobuf:"varint,3,opt,name=unconvertedModuleCount,proto3" json:"unconvertedModuleCount,omitempty"` 48 // Counts of generated Bazel targets per Bazel rule class 49 RuleClassCount map[string]uint64 `protobuf:"bytes,4,rep,name=ruleClassCount,proto3" json:"ruleClassCount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 50 // List of converted modules 51 ConvertedModules []string `protobuf:"bytes,5,rep,name=convertedModules,proto3" json:"convertedModules,omitempty"` 52 // Counts of converted modules by module type. 53 ConvertedModuleTypeCount map[string]uint64 `protobuf:"bytes,6,rep,name=convertedModuleTypeCount,proto3" json:"convertedModuleTypeCount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 54 // Counts of total modules by module type. 55 TotalModuleTypeCount map[string]uint64 `protobuf:"bytes,7,rep,name=totalModuleTypeCount,proto3" json:"totalModuleTypeCount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 56 // List of traced runtime events of bp2build, useful for tracking bp2build 57 // runtime. 58 Events []*Event `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` 59} 60 61func (x *Bp2BuildMetrics) Reset() { 62 *x = Bp2BuildMetrics{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_bp2build_metrics_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *Bp2BuildMetrics) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*Bp2BuildMetrics) ProtoMessage() {} 75 76func (x *Bp2BuildMetrics) ProtoReflect() protoreflect.Message { 77 mi := &file_bp2build_metrics_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use Bp2BuildMetrics.ProtoReflect.Descriptor instead. 89func (*Bp2BuildMetrics) Descriptor() ([]byte, []int) { 90 return file_bp2build_metrics_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *Bp2BuildMetrics) GetGeneratedModuleCount() uint64 { 94 if x != nil { 95 return x.GeneratedModuleCount 96 } 97 return 0 98} 99 100func (x *Bp2BuildMetrics) GetHandCraftedModuleCount() uint64 { 101 if x != nil { 102 return x.HandCraftedModuleCount 103 } 104 return 0 105} 106 107func (x *Bp2BuildMetrics) GetUnconvertedModuleCount() uint64 { 108 if x != nil { 109 return x.UnconvertedModuleCount 110 } 111 return 0 112} 113 114func (x *Bp2BuildMetrics) GetRuleClassCount() map[string]uint64 { 115 if x != nil { 116 return x.RuleClassCount 117 } 118 return nil 119} 120 121func (x *Bp2BuildMetrics) GetConvertedModules() []string { 122 if x != nil { 123 return x.ConvertedModules 124 } 125 return nil 126} 127 128func (x *Bp2BuildMetrics) GetConvertedModuleTypeCount() map[string]uint64 { 129 if x != nil { 130 return x.ConvertedModuleTypeCount 131 } 132 return nil 133} 134 135func (x *Bp2BuildMetrics) GetTotalModuleTypeCount() map[string]uint64 { 136 if x != nil { 137 return x.TotalModuleTypeCount 138 } 139 return nil 140} 141 142func (x *Bp2BuildMetrics) GetEvents() []*Event { 143 if x != nil { 144 return x.Events 145 } 146 return nil 147} 148 149// Traced runtime event of bp2build. 150type Event struct { 151 state protoimpl.MessageState 152 sizeCache protoimpl.SizeCache 153 unknownFields protoimpl.UnknownFields 154 155 // The event name. 156 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 157 // The absolute start time of the event 158 // The number of nanoseconds elapsed since January 1, 1970 UTC. 159 StartTime uint64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 160 // The real running time. 161 // The number of nanoseconds elapsed since start_time. 162 RealTime uint64 `protobuf:"varint,3,opt,name=real_time,json=realTime,proto3" json:"real_time,omitempty"` 163} 164 165func (x *Event) Reset() { 166 *x = Event{} 167 if protoimpl.UnsafeEnabled { 168 mi := &file_bp2build_metrics_proto_msgTypes[1] 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 ms.StoreMessageInfo(mi) 171 } 172} 173 174func (x *Event) String() string { 175 return protoimpl.X.MessageStringOf(x) 176} 177 178func (*Event) ProtoMessage() {} 179 180func (x *Event) ProtoReflect() protoreflect.Message { 181 mi := &file_bp2build_metrics_proto_msgTypes[1] 182 if protoimpl.UnsafeEnabled && x != nil { 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 if ms.LoadMessageInfo() == nil { 185 ms.StoreMessageInfo(mi) 186 } 187 return ms 188 } 189 return mi.MessageOf(x) 190} 191 192// Deprecated: Use Event.ProtoReflect.Descriptor instead. 193func (*Event) Descriptor() ([]byte, []int) { 194 return file_bp2build_metrics_proto_rawDescGZIP(), []int{1} 195} 196 197func (x *Event) GetName() string { 198 if x != nil { 199 return x.Name 200 } 201 return "" 202} 203 204func (x *Event) GetStartTime() uint64 { 205 if x != nil { 206 return x.StartTime 207 } 208 return 0 209} 210 211func (x *Event) GetRealTime() uint64 { 212 if x != nil { 213 return x.RealTime 214 } 215 return 0 216} 217 218var File_bp2build_metrics_proto protoreflect.FileDescriptor 219 220var file_bp2build_metrics_proto_rawDesc = []byte{ 221 0x0a, 0x16, 0x62, 0x70, 0x32, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 222 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 223 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x70, 0x32, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 224 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xe9, 0x06, 0x0a, 0x0f, 0x42, 0x70, 0x32, 0x42, 0x75, 225 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x67, 0x65, 226 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x75, 227 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 228 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 229 0x0a, 0x16, 0x68, 0x61, 0x6e, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 230 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 231 0x68, 0x61, 0x6e, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 232 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x76, 233 0x65, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 234 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 235 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x69, 236 0x0a, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 237 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 238 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x70, 0x32, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 239 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x70, 0x32, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 240 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 241 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x43, 242 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 243 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 244 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x6f, 245 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x87, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 246 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 247 0x6e, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 248 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x70, 0x32, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 249 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x70, 0x32, 0x42, 0x75, 0x69, 0x6c, 0x64, 250 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 251 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 252 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 253 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 254 0x7b, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 255 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 256 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x70, 0x32, 0x62, 257 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x42, 0x70, 0x32, 258 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x54, 0x6f, 0x74, 259 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 260 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 261 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x06, 262 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 263 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x70, 0x32, 0x62, 0x75, 264 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 265 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x52, 0x75, 0x6c, 266 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 267 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 268 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 269 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x1d, 270 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 271 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 272 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 273 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 274 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x47, 0x0a, 0x19, 0x54, 0x6f, 0x74, 275 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 276 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 277 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 278 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 279 0x38, 0x01, 0x22, 0x57, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 280 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 281 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 282 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 283 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 284 0x04, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x31, 0x5a, 0x2f, 0x61, 285 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 286 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x62, 0x70, 0x32, 0x62, 0x75, 0x69, 0x6c, 0x64, 287 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 288 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 289} 290 291var ( 292 file_bp2build_metrics_proto_rawDescOnce sync.Once 293 file_bp2build_metrics_proto_rawDescData = file_bp2build_metrics_proto_rawDesc 294) 295 296func file_bp2build_metrics_proto_rawDescGZIP() []byte { 297 file_bp2build_metrics_proto_rawDescOnce.Do(func() { 298 file_bp2build_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_bp2build_metrics_proto_rawDescData) 299 }) 300 return file_bp2build_metrics_proto_rawDescData 301} 302 303var file_bp2build_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 304var file_bp2build_metrics_proto_goTypes = []interface{}{ 305 (*Bp2BuildMetrics)(nil), // 0: soong_build_bp2build_metrics.Bp2BuildMetrics 306 (*Event)(nil), // 1: soong_build_bp2build_metrics.Event 307 nil, // 2: soong_build_bp2build_metrics.Bp2BuildMetrics.RuleClassCountEntry 308 nil, // 3: soong_build_bp2build_metrics.Bp2BuildMetrics.ConvertedModuleTypeCountEntry 309 nil, // 4: soong_build_bp2build_metrics.Bp2BuildMetrics.TotalModuleTypeCountEntry 310} 311var file_bp2build_metrics_proto_depIdxs = []int32{ 312 2, // 0: soong_build_bp2build_metrics.Bp2BuildMetrics.ruleClassCount:type_name -> soong_build_bp2build_metrics.Bp2BuildMetrics.RuleClassCountEntry 313 3, // 1: soong_build_bp2build_metrics.Bp2BuildMetrics.convertedModuleTypeCount:type_name -> soong_build_bp2build_metrics.Bp2BuildMetrics.ConvertedModuleTypeCountEntry 314 4, // 2: soong_build_bp2build_metrics.Bp2BuildMetrics.totalModuleTypeCount:type_name -> soong_build_bp2build_metrics.Bp2BuildMetrics.TotalModuleTypeCountEntry 315 1, // 3: soong_build_bp2build_metrics.Bp2BuildMetrics.events:type_name -> soong_build_bp2build_metrics.Event 316 4, // [4:4] is the sub-list for method output_type 317 4, // [4:4] is the sub-list for method input_type 318 4, // [4:4] is the sub-list for extension type_name 319 4, // [4:4] is the sub-list for extension extendee 320 0, // [0:4] is the sub-list for field type_name 321} 322 323func init() { file_bp2build_metrics_proto_init() } 324func file_bp2build_metrics_proto_init() { 325 if File_bp2build_metrics_proto != nil { 326 return 327 } 328 if !protoimpl.UnsafeEnabled { 329 file_bp2build_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 330 switch v := v.(*Bp2BuildMetrics); i { 331 case 0: 332 return &v.state 333 case 1: 334 return &v.sizeCache 335 case 2: 336 return &v.unknownFields 337 default: 338 return nil 339 } 340 } 341 file_bp2build_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 342 switch v := v.(*Event); i { 343 case 0: 344 return &v.state 345 case 1: 346 return &v.sizeCache 347 case 2: 348 return &v.unknownFields 349 default: 350 return nil 351 } 352 } 353 } 354 type x struct{} 355 out := protoimpl.TypeBuilder{ 356 File: protoimpl.DescBuilder{ 357 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 358 RawDescriptor: file_bp2build_metrics_proto_rawDesc, 359 NumEnums: 0, 360 NumMessages: 5, 361 NumExtensions: 0, 362 NumServices: 0, 363 }, 364 GoTypes: file_bp2build_metrics_proto_goTypes, 365 DependencyIndexes: file_bp2build_metrics_proto_depIdxs, 366 MessageInfos: file_bp2build_metrics_proto_msgTypes, 367 }.Build() 368 File_bp2build_metrics_proto = out.File 369 file_bp2build_metrics_proto_rawDesc = nil 370 file_bp2build_metrics_proto_goTypes = nil 371 file_bp2build_metrics_proto_depIdxs = nil 372} 373