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.28.0 18// protoc v3.12.4 19// source: license_metadata.proto 20 21package license_metadata_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 LicenseMetadata struct { 38 state protoimpl.MessageState 39 sizeCache protoimpl.SizeCache 40 unknownFields protoimpl.UnknownFields 41 42 // package_name identifies the source package. License texts are named relative to the package name. 43 PackageName *string `protobuf:"bytes,1,opt,name=package_name,json=packageName" json:"package_name,omitempty"` 44 // module_name identifies the target 45 ModuleName *string `protobuf:"bytes,14,opt,name=module_name,json=moduleName" json:"module_name,omitempty"` 46 ModuleTypes []string `protobuf:"bytes,2,rep,name=module_types,json=moduleTypes" json:"module_types,omitempty"` 47 ModuleClasses []string `protobuf:"bytes,3,rep,name=module_classes,json=moduleClasses" json:"module_classes,omitempty"` 48 // projects identifies the git project(s) containing the associated source code. 49 Projects []string `protobuf:"bytes,4,rep,name=projects" json:"projects,omitempty"` 50 // license_kinds lists the kinds of licenses. e.g. SPDX-license-identifier-Apache-2.0 or legacy_notice. 51 LicenseKinds []string `protobuf:"bytes,5,rep,name=license_kinds,json=licenseKinds" json:"license_kinds,omitempty"` 52 // license_conditions lists the conditions that apply to the license kinds. e.g. notice or restricted. 53 LicenseConditions []string `protobuf:"bytes,6,rep,name=license_conditions,json=licenseConditions" json:"license_conditions,omitempty"` 54 // license_texts lists the filenames of the associated license text(s). 55 LicenseTexts []string `protobuf:"bytes,7,rep,name=license_texts,json=licenseTexts" json:"license_texts,omitempty"` 56 // is_container is true for target types that merely aggregate. e.g. .img or .zip files. 57 IsContainer *bool `protobuf:"varint,8,opt,name=is_container,json=isContainer" json:"is_container,omitempty"` 58 // built lists the built targets. 59 Built []string `protobuf:"bytes,9,rep,name=built" json:"built,omitempty"` 60 // installed lists the installed targets. 61 Installed []string `protobuf:"bytes,10,rep,name=installed" json:"installed,omitempty"` 62 // installMap identifies the substitutions to make to path names when moving into installed location. 63 InstallMap []*InstallMap `protobuf:"bytes,11,rep,name=install_map,json=installMap" json:"install_map,omitempty"` 64 // sources lists the targets depended on. 65 Sources []string `protobuf:"bytes,12,rep,name=sources" json:"sources,omitempty"` 66 // deps lists the license metadata files depended on. 67 Deps []*AnnotatedDependency `protobuf:"bytes,13,rep,name=deps" json:"deps,omitempty"` 68} 69 70func (x *LicenseMetadata) Reset() { 71 *x = LicenseMetadata{} 72 if protoimpl.UnsafeEnabled { 73 mi := &file_license_metadata_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 ms.StoreMessageInfo(mi) 76 } 77} 78 79func (x *LicenseMetadata) String() string { 80 return protoimpl.X.MessageStringOf(x) 81} 82 83func (*LicenseMetadata) ProtoMessage() {} 84 85func (x *LicenseMetadata) ProtoReflect() protoreflect.Message { 86 mi := &file_license_metadata_proto_msgTypes[0] 87 if protoimpl.UnsafeEnabled && x != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(x) 95} 96 97// Deprecated: Use LicenseMetadata.ProtoReflect.Descriptor instead. 98func (*LicenseMetadata) Descriptor() ([]byte, []int) { 99 return file_license_metadata_proto_rawDescGZIP(), []int{0} 100} 101 102func (x *LicenseMetadata) GetPackageName() string { 103 if x != nil && x.PackageName != nil { 104 return *x.PackageName 105 } 106 return "" 107} 108 109func (x *LicenseMetadata) GetModuleName() string { 110 if x != nil && x.ModuleName != nil { 111 return *x.ModuleName 112 } 113 return "" 114} 115 116func (x *LicenseMetadata) GetModuleTypes() []string { 117 if x != nil { 118 return x.ModuleTypes 119 } 120 return nil 121} 122 123func (x *LicenseMetadata) GetModuleClasses() []string { 124 if x != nil { 125 return x.ModuleClasses 126 } 127 return nil 128} 129 130func (x *LicenseMetadata) GetProjects() []string { 131 if x != nil { 132 return x.Projects 133 } 134 return nil 135} 136 137func (x *LicenseMetadata) GetLicenseKinds() []string { 138 if x != nil { 139 return x.LicenseKinds 140 } 141 return nil 142} 143 144func (x *LicenseMetadata) GetLicenseConditions() []string { 145 if x != nil { 146 return x.LicenseConditions 147 } 148 return nil 149} 150 151func (x *LicenseMetadata) GetLicenseTexts() []string { 152 if x != nil { 153 return x.LicenseTexts 154 } 155 return nil 156} 157 158func (x *LicenseMetadata) GetIsContainer() bool { 159 if x != nil && x.IsContainer != nil { 160 return *x.IsContainer 161 } 162 return false 163} 164 165func (x *LicenseMetadata) GetBuilt() []string { 166 if x != nil { 167 return x.Built 168 } 169 return nil 170} 171 172func (x *LicenseMetadata) GetInstalled() []string { 173 if x != nil { 174 return x.Installed 175 } 176 return nil 177} 178 179func (x *LicenseMetadata) GetInstallMap() []*InstallMap { 180 if x != nil { 181 return x.InstallMap 182 } 183 return nil 184} 185 186func (x *LicenseMetadata) GetSources() []string { 187 if x != nil { 188 return x.Sources 189 } 190 return nil 191} 192 193func (x *LicenseMetadata) GetDeps() []*AnnotatedDependency { 194 if x != nil { 195 return x.Deps 196 } 197 return nil 198} 199 200// InstallMap messages describe the mapping from an input filesystem file to the path to the file 201// in a container. 202type InstallMap struct { 203 state protoimpl.MessageState 204 sizeCache protoimpl.SizeCache 205 unknownFields protoimpl.UnknownFields 206 207 // The input path on the filesystem. 208 FromPath *string `protobuf:"bytes,1,opt,name=from_path,json=fromPath" json:"from_path,omitempty"` 209 // The path to the file inside the container or installed location. 210 ContainerPath *string `protobuf:"bytes,2,opt,name=container_path,json=containerPath" json:"container_path,omitempty"` 211} 212 213func (x *InstallMap) Reset() { 214 *x = InstallMap{} 215 if protoimpl.UnsafeEnabled { 216 mi := &file_license_metadata_proto_msgTypes[1] 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 ms.StoreMessageInfo(mi) 219 } 220} 221 222func (x *InstallMap) String() string { 223 return protoimpl.X.MessageStringOf(x) 224} 225 226func (*InstallMap) ProtoMessage() {} 227 228func (x *InstallMap) ProtoReflect() protoreflect.Message { 229 mi := &file_license_metadata_proto_msgTypes[1] 230 if protoimpl.UnsafeEnabled && x != nil { 231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 232 if ms.LoadMessageInfo() == nil { 233 ms.StoreMessageInfo(mi) 234 } 235 return ms 236 } 237 return mi.MessageOf(x) 238} 239 240// Deprecated: Use InstallMap.ProtoReflect.Descriptor instead. 241func (*InstallMap) Descriptor() ([]byte, []int) { 242 return file_license_metadata_proto_rawDescGZIP(), []int{1} 243} 244 245func (x *InstallMap) GetFromPath() string { 246 if x != nil && x.FromPath != nil { 247 return *x.FromPath 248 } 249 return "" 250} 251 252func (x *InstallMap) GetContainerPath() string { 253 if x != nil && x.ContainerPath != nil { 254 return *x.ContainerPath 255 } 256 return "" 257} 258 259// AnnotateDepencency messages describe edges in the build graph. 260type AnnotatedDependency struct { 261 state protoimpl.MessageState 262 sizeCache protoimpl.SizeCache 263 unknownFields protoimpl.UnknownFields 264 265 // The path to the dependency license metadata file. 266 File *string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` 267 // The annotations attached to the dependency. 268 Annotations []string `protobuf:"bytes,2,rep,name=annotations" json:"annotations,omitempty"` 269} 270 271func (x *AnnotatedDependency) Reset() { 272 *x = AnnotatedDependency{} 273 if protoimpl.UnsafeEnabled { 274 mi := &file_license_metadata_proto_msgTypes[2] 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 ms.StoreMessageInfo(mi) 277 } 278} 279 280func (x *AnnotatedDependency) String() string { 281 return protoimpl.X.MessageStringOf(x) 282} 283 284func (*AnnotatedDependency) ProtoMessage() {} 285 286func (x *AnnotatedDependency) ProtoReflect() protoreflect.Message { 287 mi := &file_license_metadata_proto_msgTypes[2] 288 if protoimpl.UnsafeEnabled && x != nil { 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 if ms.LoadMessageInfo() == nil { 291 ms.StoreMessageInfo(mi) 292 } 293 return ms 294 } 295 return mi.MessageOf(x) 296} 297 298// Deprecated: Use AnnotatedDependency.ProtoReflect.Descriptor instead. 299func (*AnnotatedDependency) Descriptor() ([]byte, []int) { 300 return file_license_metadata_proto_rawDescGZIP(), []int{2} 301} 302 303func (x *AnnotatedDependency) GetFile() string { 304 if x != nil && x.File != nil { 305 return *x.File 306 } 307 return "" 308} 309 310func (x *AnnotatedDependency) GetAnnotations() []string { 311 if x != nil { 312 return x.Annotations 313 } 314 return nil 315} 316 317var File_license_metadata_proto protoreflect.FileDescriptor 318 319var file_license_metadata_proto_rawDesc = []byte{ 320 0x0a, 0x16, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 321 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 322 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 323 0x22, 0xab, 0x04, 0x0a, 0x0f, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 324 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 325 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 326 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 327 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 328 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x75, 329 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 330 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 331 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 332 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 333 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x04, 334 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x23, 335 0x0a, 0x0d, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 336 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x4b, 0x69, 337 0x6e, 0x64, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x63, 338 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 339 0x11, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 340 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x65, 341 0x78, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x63, 0x65, 0x6e, 342 0x73, 0x65, 0x54, 0x65, 0x78, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, 343 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 344 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 345 0x69, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x74, 346 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x0a, 0x20, 347 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x43, 348 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, 349 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x63, 0x65, 350 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x73, 351 0x74, 0x61, 0x6c, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 352 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x0c, 353 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3f, 0x0a, 354 0x04, 0x64, 0x65, 0x70, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x75, 355 0x69, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 356 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x64, 0x44, 0x65, 357 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x04, 0x64, 0x65, 0x70, 0x73, 0x22, 0x50, 358 0x0a, 0x0a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 359 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 360 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 361 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 362 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 363 0x22, 0x4b, 0x0a, 0x13, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x64, 0x44, 0x65, 0x70, 364 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 365 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 366 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 367 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x31, 0x5a, 368 0x2f, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x63, 369 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 370 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 371} 372 373var ( 374 file_license_metadata_proto_rawDescOnce sync.Once 375 file_license_metadata_proto_rawDescData = file_license_metadata_proto_rawDesc 376) 377 378func file_license_metadata_proto_rawDescGZIP() []byte { 379 file_license_metadata_proto_rawDescOnce.Do(func() { 380 file_license_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_license_metadata_proto_rawDescData) 381 }) 382 return file_license_metadata_proto_rawDescData 383} 384 385var file_license_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 386var file_license_metadata_proto_goTypes = []interface{}{ 387 (*LicenseMetadata)(nil), // 0: build_license_metadata.LicenseMetadata 388 (*InstallMap)(nil), // 1: build_license_metadata.InstallMap 389 (*AnnotatedDependency)(nil), // 2: build_license_metadata.AnnotatedDependency 390} 391var file_license_metadata_proto_depIdxs = []int32{ 392 1, // 0: build_license_metadata.LicenseMetadata.install_map:type_name -> build_license_metadata.InstallMap 393 2, // 1: build_license_metadata.LicenseMetadata.deps:type_name -> build_license_metadata.AnnotatedDependency 394 2, // [2:2] is the sub-list for method output_type 395 2, // [2:2] is the sub-list for method input_type 396 2, // [2:2] is the sub-list for extension type_name 397 2, // [2:2] is the sub-list for extension extendee 398 0, // [0:2] is the sub-list for field type_name 399} 400 401func init() { file_license_metadata_proto_init() } 402func file_license_metadata_proto_init() { 403 if File_license_metadata_proto != nil { 404 return 405 } 406 if !protoimpl.UnsafeEnabled { 407 file_license_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 408 switch v := v.(*LicenseMetadata); i { 409 case 0: 410 return &v.state 411 case 1: 412 return &v.sizeCache 413 case 2: 414 return &v.unknownFields 415 default: 416 return nil 417 } 418 } 419 file_license_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 420 switch v := v.(*InstallMap); i { 421 case 0: 422 return &v.state 423 case 1: 424 return &v.sizeCache 425 case 2: 426 return &v.unknownFields 427 default: 428 return nil 429 } 430 } 431 file_license_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 432 switch v := v.(*AnnotatedDependency); i { 433 case 0: 434 return &v.state 435 case 1: 436 return &v.sizeCache 437 case 2: 438 return &v.unknownFields 439 default: 440 return nil 441 } 442 } 443 } 444 type x struct{} 445 out := protoimpl.TypeBuilder{ 446 File: protoimpl.DescBuilder{ 447 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 448 RawDescriptor: file_license_metadata_proto_rawDesc, 449 NumEnums: 0, 450 NumMessages: 3, 451 NumExtensions: 0, 452 NumServices: 0, 453 }, 454 GoTypes: file_license_metadata_proto_goTypes, 455 DependencyIndexes: file_license_metadata_proto_depIdxs, 456 MessageInfos: file_license_metadata_proto_msgTypes, 457 }.Build() 458 File_license_metadata_proto = out.File 459 file_license_metadata_proto_rawDesc = nil 460 file_license_metadata_proto_goTypes = nil 461 file_license_metadata_proto_depIdxs = nil 462} 463