go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/common/proto/config/project_config.pb.go (about) 1 // Copyright 2014 The LUCI Authors. All rights reserved. 2 // Use of this source code is governed under the Apache License, Version 2.0 3 // that can be found in the LICENSE file. 4 5 // Schemas for some of config files in projects/<project_id> config sets. 6 7 // Code generated by protoc-gen-go. DO NOT EDIT. 8 // versions: 9 // protoc-gen-go v1.31.0 10 // protoc v3.21.7 11 // source: go.chromium.org/luci/common/proto/config/project_config.proto 12 13 package config 14 15 import ( 16 _ "go.chromium.org/luci/common/proto" 17 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 18 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 // Schema for project.cfg 31 type ProjectCfg struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // Full name of the project. 37 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 38 // A list of identities that have read-only access to the project. 39 // 40 // An element is one of: 41 // * "group:<group>", where group is defined on auth server. 42 // * "<email>" 43 // * "<kind>:<value>" (for non-email identities) 44 // 45 // If not specified, only admins and trusted services have access. 46 // Talk to admins to determine the group name appropriate for your project. 47 Access []string `protobuf:"bytes,2,rep,name=access,proto3" json:"access,omitempty"` 48 // Populated when the config is generated by `lucicfg`. 49 // 50 // Contains information about how the config was generated. 51 Lucicfg *GeneratorMetadata `protobuf:"bytes,3,opt,name=lucicfg,proto3" json:"lucicfg,omitempty"` 52 } 53 54 func (x *ProjectCfg) Reset() { 55 *x = ProjectCfg{} 56 if protoimpl.UnsafeEnabled { 57 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[0] 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 ms.StoreMessageInfo(mi) 60 } 61 } 62 63 func (x *ProjectCfg) String() string { 64 return protoimpl.X.MessageStringOf(x) 65 } 66 67 func (*ProjectCfg) ProtoMessage() {} 68 69 func (x *ProjectCfg) ProtoReflect() protoreflect.Message { 70 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[0] 71 if protoimpl.UnsafeEnabled && x != nil { 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 73 if ms.LoadMessageInfo() == nil { 74 ms.StoreMessageInfo(mi) 75 } 76 return ms 77 } 78 return mi.MessageOf(x) 79 } 80 81 // Deprecated: Use ProjectCfg.ProtoReflect.Descriptor instead. 82 func (*ProjectCfg) Descriptor() ([]byte, []int) { 83 return file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescGZIP(), []int{0} 84 } 85 86 func (x *ProjectCfg) GetName() string { 87 if x != nil { 88 return x.Name 89 } 90 return "" 91 } 92 93 func (x *ProjectCfg) GetAccess() []string { 94 if x != nil { 95 return x.Access 96 } 97 return nil 98 } 99 100 func (x *ProjectCfg) GetLucicfg() *GeneratorMetadata { 101 if x != nil { 102 return x.Lucicfg 103 } 104 return nil 105 } 106 107 // GeneratorMetadata is produced by lucicfg to describe how it generated the 108 // config. 109 type GeneratorMetadata struct { 110 state protoimpl.MessageState 111 sizeCache protoimpl.SizeCache 112 unknownFields protoimpl.UnknownFields 113 114 // Version of lucicfg binary used to generate the config. 115 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 116 // Path to the main package relative to project.cfg. 117 PackageDir string `protobuf:"bytes,5,opt,name=package_dir,json=packageDir,proto3" json:"package_dir,omitempty"` 118 // Directory with generated LUCI project configs relative to the main package. 119 ConfigDir string `protobuf:"bytes,2,opt,name=config_dir,json=configDir,proto3" json:"config_dir,omitempty"` 120 // Name of the entry point Starlark file at the root of the main package. 121 EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` 122 // Set of vars passed to lucicfg as "-var ...". 123 Vars map[string]string `protobuf:"bytes,4,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 124 // Set of enabled lucicfg experiments. 125 Experiments []string `protobuf:"bytes,6,rep,name=experiments,proto3" json:"experiments,omitempty"` 126 } 127 128 func (x *GeneratorMetadata) Reset() { 129 *x = GeneratorMetadata{} 130 if protoimpl.UnsafeEnabled { 131 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[1] 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 ms.StoreMessageInfo(mi) 134 } 135 } 136 137 func (x *GeneratorMetadata) String() string { 138 return protoimpl.X.MessageStringOf(x) 139 } 140 141 func (*GeneratorMetadata) ProtoMessage() {} 142 143 func (x *GeneratorMetadata) ProtoReflect() protoreflect.Message { 144 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[1] 145 if protoimpl.UnsafeEnabled && x != nil { 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 147 if ms.LoadMessageInfo() == nil { 148 ms.StoreMessageInfo(mi) 149 } 150 return ms 151 } 152 return mi.MessageOf(x) 153 } 154 155 // Deprecated: Use GeneratorMetadata.ProtoReflect.Descriptor instead. 156 func (*GeneratorMetadata) Descriptor() ([]byte, []int) { 157 return file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescGZIP(), []int{1} 158 } 159 160 func (x *GeneratorMetadata) GetVersion() string { 161 if x != nil { 162 return x.Version 163 } 164 return "" 165 } 166 167 func (x *GeneratorMetadata) GetPackageDir() string { 168 if x != nil { 169 return x.PackageDir 170 } 171 return "" 172 } 173 174 func (x *GeneratorMetadata) GetConfigDir() string { 175 if x != nil { 176 return x.ConfigDir 177 } 178 return "" 179 } 180 181 func (x *GeneratorMetadata) GetEntryPoint() string { 182 if x != nil { 183 return x.EntryPoint 184 } 185 return "" 186 } 187 188 func (x *GeneratorMetadata) GetVars() map[string]string { 189 if x != nil { 190 return x.Vars 191 } 192 return nil 193 } 194 195 func (x *GeneratorMetadata) GetExperiments() []string { 196 if x != nil { 197 return x.Experiments 198 } 199 return nil 200 } 201 202 // DEPRECATED per crbug/924803. DO NOT USE in your project. 203 // Contact luci-team@ if you have a need for this. 204 // 205 // Schema of refs.cfg. 206 type RefsCfg struct { 207 state protoimpl.MessageState 208 sizeCache protoimpl.SizeCache 209 unknownFields protoimpl.UnknownFields 210 211 // List of refs that have configuration files and need to be fetched into 212 // luci-config. Refs are accessible through get_refs() API endpoint. 213 // A CI service can read all refs of all projects and build them. 214 Refs []*RefsCfg_Ref `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"` 215 } 216 217 func (x *RefsCfg) Reset() { 218 *x = RefsCfg{} 219 if protoimpl.UnsafeEnabled { 220 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[2] 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 ms.StoreMessageInfo(mi) 223 } 224 } 225 226 func (x *RefsCfg) String() string { 227 return protoimpl.X.MessageStringOf(x) 228 } 229 230 func (*RefsCfg) ProtoMessage() {} 231 232 func (x *RefsCfg) ProtoReflect() protoreflect.Message { 233 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[2] 234 if protoimpl.UnsafeEnabled && x != nil { 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 if ms.LoadMessageInfo() == nil { 237 ms.StoreMessageInfo(mi) 238 } 239 return ms 240 } 241 return mi.MessageOf(x) 242 } 243 244 // Deprecated: Use RefsCfg.ProtoReflect.Descriptor instead. 245 func (*RefsCfg) Descriptor() ([]byte, []int) { 246 return file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescGZIP(), []int{2} 247 } 248 249 func (x *RefsCfg) GetRefs() []*RefsCfg_Ref { 250 if x != nil { 251 return x.Refs 252 } 253 return nil 254 } 255 256 type RefsCfg_Ref struct { 257 state protoimpl.MessageState 258 sizeCache protoimpl.SizeCache 259 unknownFields protoimpl.UnknownFields 260 261 // Name of the ref. Must start with "refs/". 262 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 263 // Path to config directory for the ref. Defaults to "infra/config". 264 ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` 265 } 266 267 func (x *RefsCfg_Ref) Reset() { 268 *x = RefsCfg_Ref{} 269 if protoimpl.UnsafeEnabled { 270 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[4] 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 ms.StoreMessageInfo(mi) 273 } 274 } 275 276 func (x *RefsCfg_Ref) String() string { 277 return protoimpl.X.MessageStringOf(x) 278 } 279 280 func (*RefsCfg_Ref) ProtoMessage() {} 281 282 func (x *RefsCfg_Ref) ProtoReflect() protoreflect.Message { 283 mi := &file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[4] 284 if protoimpl.UnsafeEnabled && x != nil { 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 286 if ms.LoadMessageInfo() == nil { 287 ms.StoreMessageInfo(mi) 288 } 289 return ms 290 } 291 return mi.MessageOf(x) 292 } 293 294 // Deprecated: Use RefsCfg_Ref.ProtoReflect.Descriptor instead. 295 func (*RefsCfg_Ref) Descriptor() ([]byte, []int) { 296 return file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescGZIP(), []int{2, 0} 297 } 298 299 func (x *RefsCfg_Ref) GetName() string { 300 if x != nil { 301 return x.Name 302 } 303 return "" 304 } 305 306 func (x *RefsCfg_Ref) GetConfigPath() string { 307 if x != nil { 308 return x.ConfigPath 309 } 310 return "" 311 } 312 313 var File_go_chromium_org_luci_common_proto_config_project_config_proto protoreflect.FileDescriptor 314 315 var file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDesc = []byte{ 316 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 317 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 318 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 319 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 320 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x2f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 321 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 322 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 323 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x6a, 324 0x65, 0x63, 0x74, 0x43, 0x66, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 325 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 326 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 327 0x73, 0x73, 0x12, 0x39, 0x0a, 0x07, 0x6c, 0x75, 0x63, 0x69, 0x63, 0x66, 0x67, 0x18, 0x03, 0x20, 328 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x65, 0x6e, 329 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x04, 330 0xb0, 0xfe, 0x23, 0x01, 0x52, 0x07, 0x6c, 0x75, 0x63, 0x69, 0x63, 0x66, 0x67, 0x22, 0xa2, 0x02, 331 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 332 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 333 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 334 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 335 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x69, 0x72, 0x12, 0x1d, 336 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x02, 0x20, 0x01, 337 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x72, 0x12, 0x1f, 0x0a, 338 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 339 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x37, 340 0x0a, 0x04, 0x76, 0x61, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 341 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x4d, 342 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 343 0x79, 0x52, 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x65, 0x72, 344 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 345 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, 346 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 347 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 348 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 349 0x38, 0x01, 0x22, 0x6e, 0x0a, 0x07, 0x52, 0x65, 0x66, 0x73, 0x43, 0x66, 0x67, 0x12, 0x27, 0x0a, 350 0x04, 0x72, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 351 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x66, 0x73, 0x43, 0x66, 0x67, 0x2e, 0x52, 0x65, 0x66, 352 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x1a, 0x3a, 0x0a, 0x03, 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 353 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 354 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 355 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 356 0x74, 0x68, 0x42, 0x64, 0xa2, 0xfe, 0x23, 0x36, 0x0a, 0x34, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 357 0x2f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x70, 358 0x70, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 359 0x74, 0x73, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x63, 0x66, 0x67, 0x5a, 0x28, 360 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 361 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 362 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 363 } 364 365 var ( 366 file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescOnce sync.Once 367 file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescData = file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDesc 368 ) 369 370 func file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescGZIP() []byte { 371 file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescOnce.Do(func() { 372 file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescData) 373 }) 374 return file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDescData 375 } 376 377 var file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 378 var file_go_chromium_org_luci_common_proto_config_project_config_proto_goTypes = []interface{}{ 379 (*ProjectCfg)(nil), // 0: config.ProjectCfg 380 (*GeneratorMetadata)(nil), // 1: config.GeneratorMetadata 381 (*RefsCfg)(nil), // 2: config.RefsCfg 382 nil, // 3: config.GeneratorMetadata.VarsEntry 383 (*RefsCfg_Ref)(nil), // 4: config.RefsCfg.Ref 384 } 385 var file_go_chromium_org_luci_common_proto_config_project_config_proto_depIdxs = []int32{ 386 1, // 0: config.ProjectCfg.lucicfg:type_name -> config.GeneratorMetadata 387 3, // 1: config.GeneratorMetadata.vars:type_name -> config.GeneratorMetadata.VarsEntry 388 4, // 2: config.RefsCfg.refs:type_name -> config.RefsCfg.Ref 389 3, // [3:3] is the sub-list for method output_type 390 3, // [3:3] is the sub-list for method input_type 391 3, // [3:3] is the sub-list for extension type_name 392 3, // [3:3] is the sub-list for extension extendee 393 0, // [0:3] is the sub-list for field type_name 394 } 395 396 func init() { file_go_chromium_org_luci_common_proto_config_project_config_proto_init() } 397 func file_go_chromium_org_luci_common_proto_config_project_config_proto_init() { 398 if File_go_chromium_org_luci_common_proto_config_project_config_proto != nil { 399 return 400 } 401 if !protoimpl.UnsafeEnabled { 402 file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 403 switch v := v.(*ProjectCfg); i { 404 case 0: 405 return &v.state 406 case 1: 407 return &v.sizeCache 408 case 2: 409 return &v.unknownFields 410 default: 411 return nil 412 } 413 } 414 file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 415 switch v := v.(*GeneratorMetadata); i { 416 case 0: 417 return &v.state 418 case 1: 419 return &v.sizeCache 420 case 2: 421 return &v.unknownFields 422 default: 423 return nil 424 } 425 } 426 file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 427 switch v := v.(*RefsCfg); i { 428 case 0: 429 return &v.state 430 case 1: 431 return &v.sizeCache 432 case 2: 433 return &v.unknownFields 434 default: 435 return nil 436 } 437 } 438 file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 439 switch v := v.(*RefsCfg_Ref); i { 440 case 0: 441 return &v.state 442 case 1: 443 return &v.sizeCache 444 case 2: 445 return &v.unknownFields 446 default: 447 return nil 448 } 449 } 450 } 451 type x struct{} 452 out := protoimpl.TypeBuilder{ 453 File: protoimpl.DescBuilder{ 454 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 455 RawDescriptor: file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDesc, 456 NumEnums: 0, 457 NumMessages: 5, 458 NumExtensions: 0, 459 NumServices: 0, 460 }, 461 GoTypes: file_go_chromium_org_luci_common_proto_config_project_config_proto_goTypes, 462 DependencyIndexes: file_go_chromium_org_luci_common_proto_config_project_config_proto_depIdxs, 463 MessageInfos: file_go_chromium_org_luci_common_proto_config_project_config_proto_msgTypes, 464 }.Build() 465 File_go_chromium_org_luci_common_proto_config_project_config_proto = out.File 466 file_go_chromium_org_luci_common_proto_config_project_config_proto_rawDesc = nil 467 file_go_chromium_org_luci_common_proto_config_project_config_proto_goTypes = nil 468 file_go_chromium_org_luci_common_proto_config_project_config_proto_depIdxs = nil 469 }