go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/buildbucket/proto/service_config.pb.go (about) 1 // Copyright 2018 The LUCI Authors. 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 // Schemas for service configs. 16 17 // Code generated by protoc-gen-go. DO NOT EDIT. 18 // versions: 19 // protoc-gen-go v1.32.0 20 // protoc v3.21.7 21 // source: go.chromium.org/luci/buildbucket/proto/service_config.proto 22 23 package buildbucketpb 24 25 import ( 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 durationpb "google.golang.org/protobuf/types/known/durationpb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 // Schema of settings.cfg file, a service config. 41 type SettingsCfg struct { 42 state protoimpl.MessageState 43 sizeCache protoimpl.SizeCache 44 unknownFields protoimpl.UnknownFields 45 46 // Swarmbucket settings. 47 Swarming *SwarmingSettings `protobuf:"bytes,1,opt,name=swarming,proto3" json:"swarming,omitempty"` 48 Logdog *LogDogSettings `protobuf:"bytes,2,opt,name=logdog,proto3" json:"logdog,omitempty"` 49 Resultdb *ResultDBSettings `protobuf:"bytes,4,opt,name=resultdb,proto3" json:"resultdb,omitempty"` 50 Experiment *ExperimentSettings `protobuf:"bytes,5,opt,name=experiment,proto3" json:"experiment,omitempty"` 51 Cipd *CipdSettings `protobuf:"bytes,6,opt,name=cipd,proto3" json:"cipd,omitempty"` 52 // List of Gerrit hosts to force git authentication for. 53 // 54 // By default public hosts are accessed anonymously, and the anonymous access 55 // has very low quota. Context needs to know all such hostnames in advance to 56 // be able to force authenticated access to them. 57 KnownPublicGerritHosts []string `protobuf:"bytes,3,rep,name=known_public_gerrit_hosts,json=knownPublicGerritHosts,proto3" json:"known_public_gerrit_hosts,omitempty"` 58 // List of known backend configurations. 59 Backends []*BackendSetting `protobuf:"bytes,7,rep,name=backends,proto3" json:"backends,omitempty"` 60 // A swarming_host -> backend_target map. 61 // It's used during the raw swarming to swarming based backend migration to 62 // derive a backend config from swarming related configs. 63 // So we could control the migration process behind the scene. 64 SwarmingBackends map[string]string `protobuf:"bytes,8,rep,name=swarming_backends,json=swarmingBackends,proto3" json:"swarming_backends,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 65 } 66 67 func (x *SettingsCfg) Reset() { 68 *x = SettingsCfg{} 69 if protoimpl.UnsafeEnabled { 70 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[0] 71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 72 ms.StoreMessageInfo(mi) 73 } 74 } 75 76 func (x *SettingsCfg) String() string { 77 return protoimpl.X.MessageStringOf(x) 78 } 79 80 func (*SettingsCfg) ProtoMessage() {} 81 82 func (x *SettingsCfg) ProtoReflect() protoreflect.Message { 83 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[0] 84 if protoimpl.UnsafeEnabled && x != nil { 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 86 if ms.LoadMessageInfo() == nil { 87 ms.StoreMessageInfo(mi) 88 } 89 return ms 90 } 91 return mi.MessageOf(x) 92 } 93 94 // Deprecated: Use SettingsCfg.ProtoReflect.Descriptor instead. 95 func (*SettingsCfg) Descriptor() ([]byte, []int) { 96 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{0} 97 } 98 99 func (x *SettingsCfg) GetSwarming() *SwarmingSettings { 100 if x != nil { 101 return x.Swarming 102 } 103 return nil 104 } 105 106 func (x *SettingsCfg) GetLogdog() *LogDogSettings { 107 if x != nil { 108 return x.Logdog 109 } 110 return nil 111 } 112 113 func (x *SettingsCfg) GetResultdb() *ResultDBSettings { 114 if x != nil { 115 return x.Resultdb 116 } 117 return nil 118 } 119 120 func (x *SettingsCfg) GetExperiment() *ExperimentSettings { 121 if x != nil { 122 return x.Experiment 123 } 124 return nil 125 } 126 127 func (x *SettingsCfg) GetCipd() *CipdSettings { 128 if x != nil { 129 return x.Cipd 130 } 131 return nil 132 } 133 134 func (x *SettingsCfg) GetKnownPublicGerritHosts() []string { 135 if x != nil { 136 return x.KnownPublicGerritHosts 137 } 138 return nil 139 } 140 141 func (x *SettingsCfg) GetBackends() []*BackendSetting { 142 if x != nil { 143 return x.Backends 144 } 145 return nil 146 } 147 148 func (x *SettingsCfg) GetSwarmingBackends() map[string]string { 149 if x != nil { 150 return x.SwarmingBackends 151 } 152 return nil 153 } 154 155 // Backend setting. 156 type BackendSetting struct { 157 state protoimpl.MessageState 158 sizeCache protoimpl.SizeCache 159 unknownFields protoimpl.UnknownFields 160 161 // Target backend. e.g. "swarming://chromium-swarm". 162 Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` 163 // hostname for the target backend. e.g. chromium-swarm.appspot.com 164 Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` 165 // The associated UpdateBuildTask pubsub id for this task backend. 166 // This must be set in order for buildbucket to recieve task updates and send 167 // a pubsup topic that the task backend can use to send updates to. 168 // This id is provided by the backend owner, but added to buildbucket's service 169 // config by the buildbucket team. 170 // Buildbucket will subscribe to the pubsub subscription, which itself is 171 // subscribed to the topic that task backends send messages to. 172 // i.e. 173 // 174 // For this pubsub subscription: 175 // project/cr-buildbucket/subscriptions/chormium-swarm-backend 176 // and topic: 177 // project/cr-buildbucket/topics/chormium-swarm-backend 178 // The pubsub_id would be: 179 // chormium-swarm-backend 180 // 181 // DEPRECATED: please set into `full_mode` field. 182 // 183 // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/service_config.proto. 184 PubsubId string `protobuf:"bytes,3,opt,name=pubsub_id,json=pubsubId,proto3" json:"pubsub_id,omitempty"` 185 // DEPRECATED: please set into `full_mode` field. 186 // 187 // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/service_config.proto. 188 BuildSyncSetting *BackendSetting_BuildSyncSetting `protobuf:"bytes,4,opt,name=build_sync_setting,json=buildSyncSetting,proto3" json:"build_sync_setting,omitempty"` 189 // The mode of the backend. 190 // 191 // Types that are assignable to Mode: 192 // 193 // *BackendSetting_FullMode_ 194 // *BackendSetting_LiteMode_ 195 Mode isBackendSetting_Mode `protobuf_oneof:"Mode"` 196 // Maximum time for Buildbucket to retry creating a task. 197 // 198 // Default timeout is 10 minutes. 199 // 200 // If the timeout is reached, the build is marked as INFRA_FAILURE status. 201 TaskCreatingTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=task_creating_timeout,json=taskCreatingTimeout,proto3" json:"task_creating_timeout,omitempty"` 202 } 203 204 func (x *BackendSetting) Reset() { 205 *x = BackendSetting{} 206 if protoimpl.UnsafeEnabled { 207 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[1] 208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 209 ms.StoreMessageInfo(mi) 210 } 211 } 212 213 func (x *BackendSetting) String() string { 214 return protoimpl.X.MessageStringOf(x) 215 } 216 217 func (*BackendSetting) ProtoMessage() {} 218 219 func (x *BackendSetting) ProtoReflect() protoreflect.Message { 220 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[1] 221 if protoimpl.UnsafeEnabled && x != nil { 222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 223 if ms.LoadMessageInfo() == nil { 224 ms.StoreMessageInfo(mi) 225 } 226 return ms 227 } 228 return mi.MessageOf(x) 229 } 230 231 // Deprecated: Use BackendSetting.ProtoReflect.Descriptor instead. 232 func (*BackendSetting) Descriptor() ([]byte, []int) { 233 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{1} 234 } 235 236 func (x *BackendSetting) GetTarget() string { 237 if x != nil { 238 return x.Target 239 } 240 return "" 241 } 242 243 func (x *BackendSetting) GetHostname() string { 244 if x != nil { 245 return x.Hostname 246 } 247 return "" 248 } 249 250 // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/service_config.proto. 251 func (x *BackendSetting) GetPubsubId() string { 252 if x != nil { 253 return x.PubsubId 254 } 255 return "" 256 } 257 258 // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/service_config.proto. 259 func (x *BackendSetting) GetBuildSyncSetting() *BackendSetting_BuildSyncSetting { 260 if x != nil { 261 return x.BuildSyncSetting 262 } 263 return nil 264 } 265 266 func (m *BackendSetting) GetMode() isBackendSetting_Mode { 267 if m != nil { 268 return m.Mode 269 } 270 return nil 271 } 272 273 func (x *BackendSetting) GetFullMode() *BackendSetting_FullMode { 274 if x, ok := x.GetMode().(*BackendSetting_FullMode_); ok { 275 return x.FullMode 276 } 277 return nil 278 } 279 280 func (x *BackendSetting) GetLiteMode() *BackendSetting_LiteMode { 281 if x, ok := x.GetMode().(*BackendSetting_LiteMode_); ok { 282 return x.LiteMode 283 } 284 return nil 285 } 286 287 func (x *BackendSetting) GetTaskCreatingTimeout() *durationpb.Duration { 288 if x != nil { 289 return x.TaskCreatingTimeout 290 } 291 return nil 292 } 293 294 type isBackendSetting_Mode interface { 295 isBackendSetting_Mode() 296 } 297 298 type BackendSetting_FullMode_ struct { 299 FullMode *BackendSetting_FullMode `protobuf:"bytes,5,opt,name=full_mode,json=fullMode,proto3,oneof"` 300 } 301 302 type BackendSetting_LiteMode_ struct { 303 LiteMode *BackendSetting_LiteMode `protobuf:"bytes,6,opt,name=lite_mode,json=liteMode,proto3,oneof"` 304 } 305 306 func (*BackendSetting_FullMode_) isBackendSetting_Mode() {} 307 308 func (*BackendSetting_LiteMode_) isBackendSetting_Mode() {} 309 310 // Swarmbucket settings. 311 type SwarmingSettings struct { 312 state protoimpl.MessageState 313 sizeCache protoimpl.SizeCache 314 unknownFields protoimpl.UnknownFields 315 316 // Swarmbucket build URLs will point to this Milo instance. 317 MiloHostname string `protobuf:"bytes,2,opt,name=milo_hostname,json=miloHostname,proto3" json:"milo_hostname,omitempty"` 318 // These caches are available to all builders implicitly. 319 // A builder may override a cache specified here. 320 GlobalCaches []*BuilderConfig_CacheEntry `protobuf:"bytes,4,rep,name=global_caches,json=globalCaches,proto3" json:"global_caches,omitempty"` 321 // Packages available to the user executable in $PATH. 322 // Installed in "{TASK_RUN_DIR}/cipd_bin_packages". 323 // "{TASK_RUN_DIR}/cipd_bin_packages" and 324 // "{TASK_RUN_DIR}/cipd_bin_packages/bin" are prepended to $PATH. 325 UserPackages []*SwarmingSettings_Package `protobuf:"bytes,5,rep,name=user_packages,json=userPackages,proto3" json:"user_packages,omitempty"` 326 // Package of buildbucket agent, 327 // https://chromium.googlesource.com/infra/luci/luci-go/+/HEAD/buildbucket/cmd/bbagent 328 // used to run LUCI executables. 329 BbagentPackage *SwarmingSettings_Package `protobuf:"bytes,8,opt,name=bbagent_package,json=bbagentPackage,proto3" json:"bbagent_package,omitempty"` 330 // CIPD package of kitchen binary. DEPRECATED. TODO(nodir): remove. 331 KitchenPackage *SwarmingSettings_Package `protobuf:"bytes,7,opt,name=kitchen_package,json=kitchenPackage,proto3" json:"kitchen_package,omitempty"` 332 // Package of alternative buildbucket agent sources. 333 // They should only be used in certain situations (i.e. in an experiment), 334 // so they should have constraints on either omit_on_experiment 335 // or include_on_experiment. 336 AlternativeAgentPackages []*SwarmingSettings_Package `protobuf:"bytes,9,rep,name=alternative_agent_packages,json=alternativeAgentPackages,proto3" json:"alternative_agent_packages,omitempty"` 337 // Packages for bbagent to use. 338 // Installed in "{TASK_RUN_DIR}/bbagent_utility_packages". 339 BbagentUtilityPackages []*SwarmingSettings_Package `protobuf:"bytes,10,rep,name=bbagent_utility_packages,json=bbagentUtilityPackages,proto3" json:"bbagent_utility_packages,omitempty"` 340 } 341 342 func (x *SwarmingSettings) Reset() { 343 *x = SwarmingSettings{} 344 if protoimpl.UnsafeEnabled { 345 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[2] 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 ms.StoreMessageInfo(mi) 348 } 349 } 350 351 func (x *SwarmingSettings) String() string { 352 return protoimpl.X.MessageStringOf(x) 353 } 354 355 func (*SwarmingSettings) ProtoMessage() {} 356 357 func (x *SwarmingSettings) ProtoReflect() protoreflect.Message { 358 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[2] 359 if protoimpl.UnsafeEnabled && x != nil { 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 if ms.LoadMessageInfo() == nil { 362 ms.StoreMessageInfo(mi) 363 } 364 return ms 365 } 366 return mi.MessageOf(x) 367 } 368 369 // Deprecated: Use SwarmingSettings.ProtoReflect.Descriptor instead. 370 func (*SwarmingSettings) Descriptor() ([]byte, []int) { 371 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{2} 372 } 373 374 func (x *SwarmingSettings) GetMiloHostname() string { 375 if x != nil { 376 return x.MiloHostname 377 } 378 return "" 379 } 380 381 func (x *SwarmingSettings) GetGlobalCaches() []*BuilderConfig_CacheEntry { 382 if x != nil { 383 return x.GlobalCaches 384 } 385 return nil 386 } 387 388 func (x *SwarmingSettings) GetUserPackages() []*SwarmingSettings_Package { 389 if x != nil { 390 return x.UserPackages 391 } 392 return nil 393 } 394 395 func (x *SwarmingSettings) GetBbagentPackage() *SwarmingSettings_Package { 396 if x != nil { 397 return x.BbagentPackage 398 } 399 return nil 400 } 401 402 func (x *SwarmingSettings) GetKitchenPackage() *SwarmingSettings_Package { 403 if x != nil { 404 return x.KitchenPackage 405 } 406 return nil 407 } 408 409 func (x *SwarmingSettings) GetAlternativeAgentPackages() []*SwarmingSettings_Package { 410 if x != nil { 411 return x.AlternativeAgentPackages 412 } 413 return nil 414 } 415 416 func (x *SwarmingSettings) GetBbagentUtilityPackages() []*SwarmingSettings_Package { 417 if x != nil { 418 return x.BbagentUtilityPackages 419 } 420 return nil 421 } 422 423 type LogDogSettings struct { 424 state protoimpl.MessageState 425 sizeCache protoimpl.SizeCache 426 unknownFields protoimpl.UnknownFields 427 428 // Hostname of the LogDog instance to use, e.g. "logs.chromium.org". 429 Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` 430 } 431 432 func (x *LogDogSettings) Reset() { 433 *x = LogDogSettings{} 434 if protoimpl.UnsafeEnabled { 435 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[3] 436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 437 ms.StoreMessageInfo(mi) 438 } 439 } 440 441 func (x *LogDogSettings) String() string { 442 return protoimpl.X.MessageStringOf(x) 443 } 444 445 func (*LogDogSettings) ProtoMessage() {} 446 447 func (x *LogDogSettings) ProtoReflect() protoreflect.Message { 448 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[3] 449 if protoimpl.UnsafeEnabled && x != nil { 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 451 if ms.LoadMessageInfo() == nil { 452 ms.StoreMessageInfo(mi) 453 } 454 return ms 455 } 456 return mi.MessageOf(x) 457 } 458 459 // Deprecated: Use LogDogSettings.ProtoReflect.Descriptor instead. 460 func (*LogDogSettings) Descriptor() ([]byte, []int) { 461 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{3} 462 } 463 464 func (x *LogDogSettings) GetHostname() string { 465 if x != nil { 466 return x.Hostname 467 } 468 return "" 469 } 470 471 // ExperimentSettings controls all well-known global experiment values. 472 type ExperimentSettings struct { 473 state protoimpl.MessageState 474 sizeCache protoimpl.SizeCache 475 unknownFields protoimpl.UnknownFields 476 477 Experiments []*ExperimentSettings_Experiment `protobuf:"bytes,1,rep,name=experiments,proto3" json:"experiments,omitempty"` 478 } 479 480 func (x *ExperimentSettings) Reset() { 481 *x = ExperimentSettings{} 482 if protoimpl.UnsafeEnabled { 483 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[4] 484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 485 ms.StoreMessageInfo(mi) 486 } 487 } 488 489 func (x *ExperimentSettings) String() string { 490 return protoimpl.X.MessageStringOf(x) 491 } 492 493 func (*ExperimentSettings) ProtoMessage() {} 494 495 func (x *ExperimentSettings) ProtoReflect() protoreflect.Message { 496 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[4] 497 if protoimpl.UnsafeEnabled && x != nil { 498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 499 if ms.LoadMessageInfo() == nil { 500 ms.StoreMessageInfo(mi) 501 } 502 return ms 503 } 504 return mi.MessageOf(x) 505 } 506 507 // Deprecated: Use ExperimentSettings.ProtoReflect.Descriptor instead. 508 func (*ExperimentSettings) Descriptor() ([]byte, []int) { 509 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{4} 510 } 511 512 func (x *ExperimentSettings) GetExperiments() []*ExperimentSettings_Experiment { 513 if x != nil { 514 return x.Experiments 515 } 516 return nil 517 } 518 519 // A predicate for a builder. 520 type BuilderPredicate struct { 521 state protoimpl.MessageState 522 sizeCache protoimpl.SizeCache 523 unknownFields protoimpl.UnknownFields 524 525 // OR-connected list of regular expressions for a string 526 // "{project}/{bucket}/{builder}". 527 // Each regex is wrapped in ^ and $ automatically. 528 // Examples: 529 // 530 // # All builders in "chromium" project 531 // regex: "chromium/.+" 532 // # A specific builder. 533 // regex: "infra/ci/infra-continuous-trusty-64" 534 // 535 // Defaults to [".*"]. 536 Regex []string `protobuf:"bytes,1,rep,name=regex,proto3" json:"regex,omitempty"` 537 // Like regex field, but negation. Negation always wins. 538 RegexExclude []string `protobuf:"bytes,2,rep,name=regex_exclude,json=regexExclude,proto3" json:"regex_exclude,omitempty"` 539 } 540 541 func (x *BuilderPredicate) Reset() { 542 *x = BuilderPredicate{} 543 if protoimpl.UnsafeEnabled { 544 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[5] 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 ms.StoreMessageInfo(mi) 547 } 548 } 549 550 func (x *BuilderPredicate) String() string { 551 return protoimpl.X.MessageStringOf(x) 552 } 553 554 func (*BuilderPredicate) ProtoMessage() {} 555 556 func (x *BuilderPredicate) ProtoReflect() protoreflect.Message { 557 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[5] 558 if protoimpl.UnsafeEnabled && x != nil { 559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 560 if ms.LoadMessageInfo() == nil { 561 ms.StoreMessageInfo(mi) 562 } 563 return ms 564 } 565 return mi.MessageOf(x) 566 } 567 568 // Deprecated: Use BuilderPredicate.ProtoReflect.Descriptor instead. 569 func (*BuilderPredicate) Descriptor() ([]byte, []int) { 570 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{5} 571 } 572 573 func (x *BuilderPredicate) GetRegex() []string { 574 if x != nil { 575 return x.Regex 576 } 577 return nil 578 } 579 580 func (x *BuilderPredicate) GetRegexExclude() []string { 581 if x != nil { 582 return x.RegexExclude 583 } 584 return nil 585 } 586 587 type ResultDBSettings struct { 588 state protoimpl.MessageState 589 sizeCache protoimpl.SizeCache 590 unknownFields protoimpl.UnknownFields 591 592 // Hostname of the ResultDB instance to use, e.g. "results.api.cr.dev". 593 Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` 594 } 595 596 func (x *ResultDBSettings) Reset() { 597 *x = ResultDBSettings{} 598 if protoimpl.UnsafeEnabled { 599 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[6] 600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 601 ms.StoreMessageInfo(mi) 602 } 603 } 604 605 func (x *ResultDBSettings) String() string { 606 return protoimpl.X.MessageStringOf(x) 607 } 608 609 func (*ResultDBSettings) ProtoMessage() {} 610 611 func (x *ResultDBSettings) ProtoReflect() protoreflect.Message { 612 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[6] 613 if protoimpl.UnsafeEnabled && x != nil { 614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 615 if ms.LoadMessageInfo() == nil { 616 ms.StoreMessageInfo(mi) 617 } 618 return ms 619 } 620 return mi.MessageOf(x) 621 } 622 623 // Deprecated: Use ResultDBSettings.ProtoReflect.Descriptor instead. 624 func (*ResultDBSettings) Descriptor() ([]byte, []int) { 625 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{6} 626 } 627 628 func (x *ResultDBSettings) GetHostname() string { 629 if x != nil { 630 return x.Hostname 631 } 632 return "" 633 } 634 635 type CipdSettings struct { 636 state protoimpl.MessageState 637 sizeCache protoimpl.SizeCache 638 unknownFields protoimpl.UnknownFields 639 640 // default CIPD server to use for this setting configuration, 641 // e.g. "chrome-infra-packages.appspot.com". 642 Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` 643 // Source of the cipd package itself 644 Source *CipdSettings_Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` 645 } 646 647 func (x *CipdSettings) Reset() { 648 *x = CipdSettings{} 649 if protoimpl.UnsafeEnabled { 650 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[7] 651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 652 ms.StoreMessageInfo(mi) 653 } 654 } 655 656 func (x *CipdSettings) String() string { 657 return protoimpl.X.MessageStringOf(x) 658 } 659 660 func (*CipdSettings) ProtoMessage() {} 661 662 func (x *CipdSettings) ProtoReflect() protoreflect.Message { 663 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[7] 664 if protoimpl.UnsafeEnabled && x != nil { 665 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 666 if ms.LoadMessageInfo() == nil { 667 ms.StoreMessageInfo(mi) 668 } 669 return ms 670 } 671 return mi.MessageOf(x) 672 } 673 674 // Deprecated: Use CipdSettings.ProtoReflect.Descriptor instead. 675 func (*CipdSettings) Descriptor() ([]byte, []int) { 676 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{7} 677 } 678 679 func (x *CipdSettings) GetServer() string { 680 if x != nil { 681 return x.Server 682 } 683 return "" 684 } 685 686 func (x *CipdSettings) GetSource() *CipdSettings_Source { 687 if x != nil { 688 return x.Source 689 } 690 return nil 691 } 692 693 // Setting for the fetch tasks cron job. 694 type BackendSetting_BuildSyncSetting struct { 695 state protoimpl.MessageState 696 sizeCache protoimpl.SizeCache 697 unknownFields protoimpl.UnknownFields 698 699 // Number of shards for Buildbucket to save the update_time of the builds on 700 // this backend. 701 // 702 // In Build model, we need to keep an index on the build update time in order 703 // to get all builds it haven't heard for a while. 704 // To avoid hotspotting, a new computed property NextBackendSyncTime is added 705 // for indexing, with format 706 // <backend_target>--<project>--<shard index>--<update_time>. 707 // 708 // Because some backends serves significantly larger amount of builds than 709 // other backends, we need different number of shards for each backend. 710 // 711 // Must be greater than or equal to 0, while 0 effectively means 1 shard. 712 // 713 // Note: when updating this field, the new number MUST be greater than the 714 // old one. 715 Shards int32 `protobuf:"varint,1,opt,name=shards,proto3" json:"shards,omitempty"` 716 // How often should a incomplete build get updated. If Buildbucket doesn't 717 // hear from this build for sync_interval, it will sync it with its backend 718 // task. 719 // 720 // Buildbucket runs a cron job to find builds to sync every minute, so 721 // sync_interval_seconds must be greater than or equal to 60. 722 // 723 // If unset, a default threshold of 5min will be applied. 724 SyncIntervalSeconds int32 `protobuf:"varint,2,opt,name=sync_interval_seconds,json=syncIntervalSeconds,proto3" json:"sync_interval_seconds,omitempty"` 725 } 726 727 func (x *BackendSetting_BuildSyncSetting) Reset() { 728 *x = BackendSetting_BuildSyncSetting{} 729 if protoimpl.UnsafeEnabled { 730 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[9] 731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 732 ms.StoreMessageInfo(mi) 733 } 734 } 735 736 func (x *BackendSetting_BuildSyncSetting) String() string { 737 return protoimpl.X.MessageStringOf(x) 738 } 739 740 func (*BackendSetting_BuildSyncSetting) ProtoMessage() {} 741 742 func (x *BackendSetting_BuildSyncSetting) ProtoReflect() protoreflect.Message { 743 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[9] 744 if protoimpl.UnsafeEnabled && x != nil { 745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 746 if ms.LoadMessageInfo() == nil { 747 ms.StoreMessageInfo(mi) 748 } 749 return ms 750 } 751 return mi.MessageOf(x) 752 } 753 754 // Deprecated: Use BackendSetting_BuildSyncSetting.ProtoReflect.Descriptor instead. 755 func (*BackendSetting_BuildSyncSetting) Descriptor() ([]byte, []int) { 756 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{1, 0} 757 } 758 759 func (x *BackendSetting_BuildSyncSetting) GetShards() int32 { 760 if x != nil { 761 return x.Shards 762 } 763 return 0 764 } 765 766 func (x *BackendSetting_BuildSyncSetting) GetSyncIntervalSeconds() int32 { 767 if x != nil { 768 return x.SyncIntervalSeconds 769 } 770 return 0 771 } 772 773 // The corresponding backend should be a full-featured `TaskBackend` 774 // implementation. 775 type BackendSetting_FullMode struct { 776 state protoimpl.MessageState 777 sizeCache protoimpl.SizeCache 778 unknownFields protoimpl.UnknownFields 779 780 // The associated UpdateBuildTask pubsub id for this task backend. 781 // This must be set in order for buildbucket to recieve task updates and send 782 // a pubsup topic that the task backend can use to send updates to. 783 // This id is provided by the backend owner, but added to buildbucket's service 784 // config by the buildbucket team. 785 // Buildbucket will subscribe to the pubsub subscription, which itself is 786 // subscribed to the topic that task backends send messages to. 787 // i.e. 788 // 789 // For this pubsub subscription: 790 // project/cr-buildbucket/subscriptions/chormium-swarm-backend 791 // and topic: 792 // project/cr-buildbucket/topics/chormium-swarm-backend 793 // The pubsub_id would be: 794 // chormium-swarm-backend 795 PubsubId string `protobuf:"bytes,1,opt,name=pubsub_id,json=pubsubId,proto3" json:"pubsub_id,omitempty"` 796 // The setting for syncing backend tasks. 797 BuildSyncSetting *BackendSetting_BuildSyncSetting `protobuf:"bytes,2,opt,name=build_sync_setting,json=buildSyncSetting,proto3" json:"build_sync_setting,omitempty"` 798 // If set to true, visiting "cr-buildbucket.appspot.com/build/<build_id>" 799 // will be redirected to the corresponding task page instead of the Milo 800 // build page. 801 RedirectToTaskPage bool `protobuf:"varint,3,opt,name=redirect_to_task_page,json=redirectToTaskPage,proto3" json:"redirect_to_task_page,omitempty"` 802 } 803 804 func (x *BackendSetting_FullMode) Reset() { 805 *x = BackendSetting_FullMode{} 806 if protoimpl.UnsafeEnabled { 807 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[10] 808 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 809 ms.StoreMessageInfo(mi) 810 } 811 } 812 813 func (x *BackendSetting_FullMode) String() string { 814 return protoimpl.X.MessageStringOf(x) 815 } 816 817 func (*BackendSetting_FullMode) ProtoMessage() {} 818 819 func (x *BackendSetting_FullMode) ProtoReflect() protoreflect.Message { 820 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[10] 821 if protoimpl.UnsafeEnabled && x != nil { 822 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 823 if ms.LoadMessageInfo() == nil { 824 ms.StoreMessageInfo(mi) 825 } 826 return ms 827 } 828 return mi.MessageOf(x) 829 } 830 831 // Deprecated: Use BackendSetting_FullMode.ProtoReflect.Descriptor instead. 832 func (*BackendSetting_FullMode) Descriptor() ([]byte, []int) { 833 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{1, 1} 834 } 835 836 func (x *BackendSetting_FullMode) GetPubsubId() string { 837 if x != nil { 838 return x.PubsubId 839 } 840 return "" 841 } 842 843 func (x *BackendSetting_FullMode) GetBuildSyncSetting() *BackendSetting_BuildSyncSetting { 844 if x != nil { 845 return x.BuildSyncSetting 846 } 847 return nil 848 } 849 850 func (x *BackendSetting_FullMode) GetRedirectToTaskPage() bool { 851 if x != nil { 852 return x.RedirectToTaskPage 853 } 854 return false 855 } 856 857 // The corresponding backend should be a `TaskBackendLite` implementation, 858 // where it doesn't support the task update and sync. 859 type BackendSetting_LiteMode struct { 860 state protoimpl.MessageState 861 sizeCache protoimpl.SizeCache 862 unknownFields protoimpl.UnknownFields 863 } 864 865 func (x *BackendSetting_LiteMode) Reset() { 866 *x = BackendSetting_LiteMode{} 867 if protoimpl.UnsafeEnabled { 868 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[11] 869 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 870 ms.StoreMessageInfo(mi) 871 } 872 } 873 874 func (x *BackendSetting_LiteMode) String() string { 875 return protoimpl.X.MessageStringOf(x) 876 } 877 878 func (*BackendSetting_LiteMode) ProtoMessage() {} 879 880 func (x *BackendSetting_LiteMode) ProtoReflect() protoreflect.Message { 881 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[11] 882 if protoimpl.UnsafeEnabled && x != nil { 883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 884 if ms.LoadMessageInfo() == nil { 885 ms.StoreMessageInfo(mi) 886 } 887 return ms 888 } 889 return mi.MessageOf(x) 890 } 891 892 // Deprecated: Use BackendSetting_LiteMode.ProtoReflect.Descriptor instead. 893 func (*BackendSetting_LiteMode) Descriptor() ([]byte, []int) { 894 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{1, 2} 895 } 896 897 // CIPD package. Does not specify installation path. 898 type SwarmingSettings_Package struct { 899 state protoimpl.MessageState 900 sizeCache protoimpl.SizeCache 901 unknownFields protoimpl.UnknownFields 902 903 // CIPD package name, e.g. "infra/python/cpython/${platform}" 904 PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` 905 // CIPD instance version, e.g. "version:2.7.15.chromium14". 906 // Used for non-canary builds. 907 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 908 // CIPD instance version for canary builds. 909 // Defaults to version. 910 VersionCanary string `protobuf:"bytes,3,opt,name=version_canary,json=versionCanary,proto3" json:"version_canary,omitempty"` 911 // Include in builders matching the predicate. 912 Builders *BuilderPredicate `protobuf:"bytes,4,opt,name=builders,proto3" json:"builders,omitempty"` 913 // Subdirectory to install the package into, relative to the installation 914 // root. Useful if installing two packages at the same root would conflict. 915 Subdir string `protobuf:"bytes,5,opt,name=subdir,proto3" json:"subdir,omitempty"` 916 // Omit this package from the build having any of these experiments. 917 OmitOnExperiment []string `protobuf:"bytes,6,rep,name=omit_on_experiment,json=omitOnExperiment,proto3" json:"omit_on_experiment,omitempty"` 918 // If non-empty, include this package only on builds which have any of these 919 // experiments set. `omit_on_experiment` takes precedence if an experiment 920 // is in both of these lists. 921 IncludeOnExperiment []string `protobuf:"bytes,7,rep,name=include_on_experiment,json=includeOnExperiment,proto3" json:"include_on_experiment,omitempty"` 922 } 923 924 func (x *SwarmingSettings_Package) Reset() { 925 *x = SwarmingSettings_Package{} 926 if protoimpl.UnsafeEnabled { 927 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[12] 928 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 929 ms.StoreMessageInfo(mi) 930 } 931 } 932 933 func (x *SwarmingSettings_Package) String() string { 934 return protoimpl.X.MessageStringOf(x) 935 } 936 937 func (*SwarmingSettings_Package) ProtoMessage() {} 938 939 func (x *SwarmingSettings_Package) ProtoReflect() protoreflect.Message { 940 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[12] 941 if protoimpl.UnsafeEnabled && x != nil { 942 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 943 if ms.LoadMessageInfo() == nil { 944 ms.StoreMessageInfo(mi) 945 } 946 return ms 947 } 948 return mi.MessageOf(x) 949 } 950 951 // Deprecated: Use SwarmingSettings_Package.ProtoReflect.Descriptor instead. 952 func (*SwarmingSettings_Package) Descriptor() ([]byte, []int) { 953 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{2, 0} 954 } 955 956 func (x *SwarmingSettings_Package) GetPackageName() string { 957 if x != nil { 958 return x.PackageName 959 } 960 return "" 961 } 962 963 func (x *SwarmingSettings_Package) GetVersion() string { 964 if x != nil { 965 return x.Version 966 } 967 return "" 968 } 969 970 func (x *SwarmingSettings_Package) GetVersionCanary() string { 971 if x != nil { 972 return x.VersionCanary 973 } 974 return "" 975 } 976 977 func (x *SwarmingSettings_Package) GetBuilders() *BuilderPredicate { 978 if x != nil { 979 return x.Builders 980 } 981 return nil 982 } 983 984 func (x *SwarmingSettings_Package) GetSubdir() string { 985 if x != nil { 986 return x.Subdir 987 } 988 return "" 989 } 990 991 func (x *SwarmingSettings_Package) GetOmitOnExperiment() []string { 992 if x != nil { 993 return x.OmitOnExperiment 994 } 995 return nil 996 } 997 998 func (x *SwarmingSettings_Package) GetIncludeOnExperiment() []string { 999 if x != nil { 1000 return x.IncludeOnExperiment 1001 } 1002 return nil 1003 } 1004 1005 type ExperimentSettings_Experiment struct { 1006 state protoimpl.MessageState 1007 sizeCache protoimpl.SizeCache 1008 unknownFields protoimpl.UnknownFields 1009 1010 // The name of the global experiment. 1011 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1012 // The default_value (% chance, 0 - 100) of the global experiment. 1013 // 1014 // This must be greater than or equal to minimum_value. 1015 DefaultValue int32 `protobuf:"varint,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` 1016 // The minimum_value (% chance, 0 - 100) of the global experiment. 1017 // 1018 // This will override lower Builder-defined experiment values. 1019 MinimumValue int32 `protobuf:"varint,3,opt,name=minimum_value,json=minimumValue,proto3" json:"minimum_value,omitempty"` 1020 // Allows temporary exclusion of builders from the experiment. 1021 // Each line here should have a corresponding bug to remove the exclusion. 1022 // 1023 // If a builder is excluded from this experiment, it acts as though 1024 // default_value and minimum_value are both 0. 1025 Builders *BuilderPredicate `protobuf:"bytes,4,opt,name=builders,proto3" json:"builders,omitempty"` 1026 // If this is true it means that the experiment has no effect, and is safe 1027 // to stop setting in user configs. Additionally, Buildbucket will stop 1028 // setting this experiment negatively on Builds. 1029 // 1030 // When removing a global experiment, set this to true rather than removing 1031 // the experiment entirely, because Buildbucket still needs this to permit 1032 // (and ignore) user configs which still mention reserved experiments (e.g. 1033 // if we have "luci.something" which someone explicitly specifies, and we 1034 // ramp it to 100% and remove it from the global spec, Buildbucket will 1035 // start complaining that users are using a reserved experiment name, rather 1036 // than just ignoring it). 1037 // 1038 // If inactive experiments appear in user configurations, it may cause 1039 // warnings to be printed e.g. at config validation time and/or on the LUCI 1040 // UI, etc. 1041 Inactive bool `protobuf:"varint,5,opt,name=inactive,proto3" json:"inactive,omitempty"` 1042 } 1043 1044 func (x *ExperimentSettings_Experiment) Reset() { 1045 *x = ExperimentSettings_Experiment{} 1046 if protoimpl.UnsafeEnabled { 1047 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[13] 1048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1049 ms.StoreMessageInfo(mi) 1050 } 1051 } 1052 1053 func (x *ExperimentSettings_Experiment) String() string { 1054 return protoimpl.X.MessageStringOf(x) 1055 } 1056 1057 func (*ExperimentSettings_Experiment) ProtoMessage() {} 1058 1059 func (x *ExperimentSettings_Experiment) ProtoReflect() protoreflect.Message { 1060 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[13] 1061 if protoimpl.UnsafeEnabled && x != nil { 1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1063 if ms.LoadMessageInfo() == nil { 1064 ms.StoreMessageInfo(mi) 1065 } 1066 return ms 1067 } 1068 return mi.MessageOf(x) 1069 } 1070 1071 // Deprecated: Use ExperimentSettings_Experiment.ProtoReflect.Descriptor instead. 1072 func (*ExperimentSettings_Experiment) Descriptor() ([]byte, []int) { 1073 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{4, 0} 1074 } 1075 1076 func (x *ExperimentSettings_Experiment) GetName() string { 1077 if x != nil { 1078 return x.Name 1079 } 1080 return "" 1081 } 1082 1083 func (x *ExperimentSettings_Experiment) GetDefaultValue() int32 { 1084 if x != nil { 1085 return x.DefaultValue 1086 } 1087 return 0 1088 } 1089 1090 func (x *ExperimentSettings_Experiment) GetMinimumValue() int32 { 1091 if x != nil { 1092 return x.MinimumValue 1093 } 1094 return 0 1095 } 1096 1097 func (x *ExperimentSettings_Experiment) GetBuilders() *BuilderPredicate { 1098 if x != nil { 1099 return x.Builders 1100 } 1101 return nil 1102 } 1103 1104 func (x *ExperimentSettings_Experiment) GetInactive() bool { 1105 if x != nil { 1106 return x.Inactive 1107 } 1108 return false 1109 } 1110 1111 type CipdSettings_Source struct { 1112 state protoimpl.MessageState 1113 sizeCache protoimpl.SizeCache 1114 unknownFields protoimpl.UnknownFields 1115 1116 // CIPD package name, e.g. "infra/tools/cipd/${platform}" 1117 PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` 1118 // CIPD instance version, e.g. "L34sd94gsdgs4gsd" or some hash. 1119 // Used for non-canary builds. 1120 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 1121 // CIPD instance version for canary builds. 1122 // Defaults to version. 1123 VersionCanary string `protobuf:"bytes,4,opt,name=version_canary,json=versionCanary,proto3" json:"version_canary,omitempty"` 1124 } 1125 1126 func (x *CipdSettings_Source) Reset() { 1127 *x = CipdSettings_Source{} 1128 if protoimpl.UnsafeEnabled { 1129 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[14] 1130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1131 ms.StoreMessageInfo(mi) 1132 } 1133 } 1134 1135 func (x *CipdSettings_Source) String() string { 1136 return protoimpl.X.MessageStringOf(x) 1137 } 1138 1139 func (*CipdSettings_Source) ProtoMessage() {} 1140 1141 func (x *CipdSettings_Source) ProtoReflect() protoreflect.Message { 1142 mi := &file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[14] 1143 if protoimpl.UnsafeEnabled && x != nil { 1144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1145 if ms.LoadMessageInfo() == nil { 1146 ms.StoreMessageInfo(mi) 1147 } 1148 return ms 1149 } 1150 return mi.MessageOf(x) 1151 } 1152 1153 // Deprecated: Use CipdSettings_Source.ProtoReflect.Descriptor instead. 1154 func (*CipdSettings_Source) Descriptor() ([]byte, []int) { 1155 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP(), []int{7, 0} 1156 } 1157 1158 func (x *CipdSettings_Source) GetPackageName() string { 1159 if x != nil { 1160 return x.PackageName 1161 } 1162 return "" 1163 } 1164 1165 func (x *CipdSettings_Source) GetVersion() string { 1166 if x != nil { 1167 return x.Version 1168 } 1169 return "" 1170 } 1171 1172 func (x *CipdSettings_Source) GetVersionCanary() string { 1173 if x != nil { 1174 return x.VersionCanary 1175 } 1176 return "" 1177 } 1178 1179 var File_go_chromium_org_luci_buildbucket_proto_service_config_proto protoreflect.FileDescriptor 1180 1181 var file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDesc = []byte{ 1182 0x0a, 0x3b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 1183 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 1184 0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1185 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x62, 1186 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 1187 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 1188 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x2e, 0x63, 1189 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 1190 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f, 1191 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1192 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x04, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x74, 1193 0x69, 0x6e, 0x67, 0x73, 0x43, 0x66, 0x67, 0x12, 0x39, 0x0a, 0x08, 0x73, 0x77, 0x61, 0x72, 0x6d, 1194 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 1195 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 1196 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 1197 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x64, 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 1198 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 1199 0x2e, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 1200 0x06, 0x6c, 0x6f, 0x67, 0x64, 0x6f, 0x67, 0x12, 0x39, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x75, 0x6c, 1201 0x74, 0x64, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 1202 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 0x42, 1203 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 1204 0x64, 0x62, 0x12, 0x3f, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 1205 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 1206 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 1207 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 1208 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x63, 0x69, 0x70, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 1209 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 1210 0x43, 0x69, 0x70, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x63, 0x69, 1211 0x70, 0x64, 0x12, 0x39, 0x0a, 0x19, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 1212 0x69, 0x63, 0x5f, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 1213 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x16, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x75, 0x62, 0x6c, 1214 0x69, 0x63, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x37, 0x0a, 1215 0x08, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 1216 0x1b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x61, 1217 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x62, 0x61, 1218 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x11, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 1219 0x6e, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 1220 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 1221 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x66, 0x67, 0x2e, 0x53, 0x77, 0x61, 0x72, 1222 0x6d, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 1223 0x79, 0x52, 0x10, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 1224 0x6e, 0x64, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x42, 1225 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 1226 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 1227 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 1228 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcb, 0x05, 0x0a, 0x0e, 0x42, 0x61, 0x63, 1229 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 1230 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 1231 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 1232 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1233 0x1f, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 1234 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x49, 0x64, 1235 0x12, 0x5e, 0x0a, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x73, 1236 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 1237 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 1238 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 1239 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 1240 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 1241 0x12, 0x43, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 1242 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 1243 0x74, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 1244 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 1245 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x6c, 0x69, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 1246 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 1247 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 1248 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x00, 1249 0x52, 0x08, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x4d, 0x0a, 0x15, 0x74, 0x61, 1250 0x73, 0x6b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 1251 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1252 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 1253 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 1254 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x1a, 0x5e, 0x0a, 0x10, 0x42, 0x75, 0x69, 1255 0x6c, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 1256 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 1257 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x69, 0x6e, 1258 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 1259 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x73, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 1260 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x1a, 0xb6, 0x01, 0x0a, 0x08, 0x46, 0x75, 1261 0x6c, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 1262 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x75, 0x62, 0x73, 0x75, 1263 0x62, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x6e, 1264 0x63, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 1265 0x2c, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x61, 1266 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x75, 0x69, 1267 0x6c, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x62, 1268 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 1269 0x31, 0x0a, 0x15, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 1270 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 1271 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x61, 1272 0x67, 0x65, 0x1a, 0x0a, 0x0a, 0x08, 0x4c, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x06, 1273 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xe6, 0x06, 0x0a, 0x10, 0x53, 0x77, 0x61, 0x72, 0x6d, 1274 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 1275 0x69, 0x6c, 0x6f, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 1276 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x69, 0x6c, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 1277 0x12, 0x4a, 0x0a, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 1278 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 1279 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 1280 0x66, 0x69, 0x67, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 1281 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 1282 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 1283 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 1284 0x74, 0x2e, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 1285 0x67, 0x73, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 1286 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x62, 0x62, 0x61, 0x67, 1287 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 1288 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 1289 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 1290 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x62, 0x62, 0x61, 0x67, 0x65, 0x6e, 1291 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x4e, 0x0a, 0x0f, 0x6b, 0x69, 0x74, 0x63, 1292 0x68, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 1293 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 1294 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 1295 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x6b, 0x69, 0x74, 0x63, 0x68, 0x65, 1296 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x63, 0x0a, 0x1a, 0x61, 0x6c, 0x74, 0x65, 1297 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 1298 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 1299 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x77, 0x61, 0x72, 0x6d, 1300 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x50, 0x61, 0x63, 0x6b, 1301 0x61, 0x67, 0x65, 0x52, 0x18, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 1302 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x5f, 0x0a, 1303 0x18, 0x62, 0x62, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x74, 0x79, 1304 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 1305 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x77, 1306 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x50, 1307 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x16, 0x62, 0x62, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 1308 0x74, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xa2, 1309 0x02, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 1310 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1311 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 1312 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 1313 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 1314 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1315 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x39, 1316 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 1317 0x32, 0x1d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 1318 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 1319 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 1320 0x64, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x64, 0x69, 1321 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 1322 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x6f, 1323 0x6d, 0x69, 0x74, 0x4f, 0x6e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 1324 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 1325 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 1326 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4f, 0x6e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 1327 0x65, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 1328 0x2c, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 1329 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 1330 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa6, 0x02, 1331 0x0a, 0x12, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 1332 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 1333 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 1334 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 1335 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x72, 1336 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 1337 0x74, 0x73, 0x1a, 0xc1, 0x01, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 1338 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1339 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 1340 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x64, 0x65, 1341 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 1342 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 1343 0x05, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 1344 0x39, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 1345 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 1346 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 1347 0x52, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 1348 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 1349 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x4d, 0x0a, 0x10, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 1350 0x72, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 1351 0x67, 0x65, 0x78, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 1352 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x65, 0x78, 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 1353 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x65, 0x78, 0x45, 0x78, 1354 0x63, 0x6c, 0x75, 0x64, 0x65, 0x22, 0x2e, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 1355 0x42, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 1356 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 1357 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xce, 0x01, 0x0a, 0x0c, 0x43, 0x69, 0x70, 0x64, 0x53, 0x65, 1358 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 1359 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x38, 1360 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 1361 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x69, 0x70, 1362 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 1363 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0x6c, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 1364 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 1365 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 1366 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 1367 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 1368 0x25, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x6e, 0x61, 0x72, 1369 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 1370 0x43, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 1371 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 1372 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1373 0x3b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x70, 0x62, 0x62, 0x06, 1374 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1375 } 1376 1377 var ( 1378 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescOnce sync.Once 1379 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescData = file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDesc 1380 ) 1381 1382 func file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescGZIP() []byte { 1383 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescOnce.Do(func() { 1384 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescData) 1385 }) 1386 return file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDescData 1387 } 1388 1389 var file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes = make([]protoimpl.MessageInfo, 15) 1390 var file_go_chromium_org_luci_buildbucket_proto_service_config_proto_goTypes = []interface{}{ 1391 (*SettingsCfg)(nil), // 0: buildbucket.SettingsCfg 1392 (*BackendSetting)(nil), // 1: buildbucket.BackendSetting 1393 (*SwarmingSettings)(nil), // 2: buildbucket.SwarmingSettings 1394 (*LogDogSettings)(nil), // 3: buildbucket.LogDogSettings 1395 (*ExperimentSettings)(nil), // 4: buildbucket.ExperimentSettings 1396 (*BuilderPredicate)(nil), // 5: buildbucket.BuilderPredicate 1397 (*ResultDBSettings)(nil), // 6: buildbucket.ResultDBSettings 1398 (*CipdSettings)(nil), // 7: buildbucket.CipdSettings 1399 nil, // 8: buildbucket.SettingsCfg.SwarmingBackendsEntry 1400 (*BackendSetting_BuildSyncSetting)(nil), // 9: buildbucket.BackendSetting.BuildSyncSetting 1401 (*BackendSetting_FullMode)(nil), // 10: buildbucket.BackendSetting.FullMode 1402 (*BackendSetting_LiteMode)(nil), // 11: buildbucket.BackendSetting.LiteMode 1403 (*SwarmingSettings_Package)(nil), // 12: buildbucket.SwarmingSettings.Package 1404 (*ExperimentSettings_Experiment)(nil), // 13: buildbucket.ExperimentSettings.Experiment 1405 (*CipdSettings_Source)(nil), // 14: buildbucket.CipdSettings.Source 1406 (*durationpb.Duration)(nil), // 15: google.protobuf.Duration 1407 (*BuilderConfig_CacheEntry)(nil), // 16: buildbucket.BuilderConfig.CacheEntry 1408 } 1409 var file_go_chromium_org_luci_buildbucket_proto_service_config_proto_depIdxs = []int32{ 1410 2, // 0: buildbucket.SettingsCfg.swarming:type_name -> buildbucket.SwarmingSettings 1411 3, // 1: buildbucket.SettingsCfg.logdog:type_name -> buildbucket.LogDogSettings 1412 6, // 2: buildbucket.SettingsCfg.resultdb:type_name -> buildbucket.ResultDBSettings 1413 4, // 3: buildbucket.SettingsCfg.experiment:type_name -> buildbucket.ExperimentSettings 1414 7, // 4: buildbucket.SettingsCfg.cipd:type_name -> buildbucket.CipdSettings 1415 1, // 5: buildbucket.SettingsCfg.backends:type_name -> buildbucket.BackendSetting 1416 8, // 6: buildbucket.SettingsCfg.swarming_backends:type_name -> buildbucket.SettingsCfg.SwarmingBackendsEntry 1417 9, // 7: buildbucket.BackendSetting.build_sync_setting:type_name -> buildbucket.BackendSetting.BuildSyncSetting 1418 10, // 8: buildbucket.BackendSetting.full_mode:type_name -> buildbucket.BackendSetting.FullMode 1419 11, // 9: buildbucket.BackendSetting.lite_mode:type_name -> buildbucket.BackendSetting.LiteMode 1420 15, // 10: buildbucket.BackendSetting.task_creating_timeout:type_name -> google.protobuf.Duration 1421 16, // 11: buildbucket.SwarmingSettings.global_caches:type_name -> buildbucket.BuilderConfig.CacheEntry 1422 12, // 12: buildbucket.SwarmingSettings.user_packages:type_name -> buildbucket.SwarmingSettings.Package 1423 12, // 13: buildbucket.SwarmingSettings.bbagent_package:type_name -> buildbucket.SwarmingSettings.Package 1424 12, // 14: buildbucket.SwarmingSettings.kitchen_package:type_name -> buildbucket.SwarmingSettings.Package 1425 12, // 15: buildbucket.SwarmingSettings.alternative_agent_packages:type_name -> buildbucket.SwarmingSettings.Package 1426 12, // 16: buildbucket.SwarmingSettings.bbagent_utility_packages:type_name -> buildbucket.SwarmingSettings.Package 1427 13, // 17: buildbucket.ExperimentSettings.experiments:type_name -> buildbucket.ExperimentSettings.Experiment 1428 14, // 18: buildbucket.CipdSettings.source:type_name -> buildbucket.CipdSettings.Source 1429 9, // 19: buildbucket.BackendSetting.FullMode.build_sync_setting:type_name -> buildbucket.BackendSetting.BuildSyncSetting 1430 5, // 20: buildbucket.SwarmingSettings.Package.builders:type_name -> buildbucket.BuilderPredicate 1431 5, // 21: buildbucket.ExperimentSettings.Experiment.builders:type_name -> buildbucket.BuilderPredicate 1432 22, // [22:22] is the sub-list for method output_type 1433 22, // [22:22] is the sub-list for method input_type 1434 22, // [22:22] is the sub-list for extension type_name 1435 22, // [22:22] is the sub-list for extension extendee 1436 0, // [0:22] is the sub-list for field type_name 1437 } 1438 1439 func init() { file_go_chromium_org_luci_buildbucket_proto_service_config_proto_init() } 1440 func file_go_chromium_org_luci_buildbucket_proto_service_config_proto_init() { 1441 if File_go_chromium_org_luci_buildbucket_proto_service_config_proto != nil { 1442 return 1443 } 1444 file_go_chromium_org_luci_buildbucket_proto_project_config_proto_init() 1445 if !protoimpl.UnsafeEnabled { 1446 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1447 switch v := v.(*SettingsCfg); i { 1448 case 0: 1449 return &v.state 1450 case 1: 1451 return &v.sizeCache 1452 case 2: 1453 return &v.unknownFields 1454 default: 1455 return nil 1456 } 1457 } 1458 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1459 switch v := v.(*BackendSetting); i { 1460 case 0: 1461 return &v.state 1462 case 1: 1463 return &v.sizeCache 1464 case 2: 1465 return &v.unknownFields 1466 default: 1467 return nil 1468 } 1469 } 1470 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1471 switch v := v.(*SwarmingSettings); i { 1472 case 0: 1473 return &v.state 1474 case 1: 1475 return &v.sizeCache 1476 case 2: 1477 return &v.unknownFields 1478 default: 1479 return nil 1480 } 1481 } 1482 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1483 switch v := v.(*LogDogSettings); i { 1484 case 0: 1485 return &v.state 1486 case 1: 1487 return &v.sizeCache 1488 case 2: 1489 return &v.unknownFields 1490 default: 1491 return nil 1492 } 1493 } 1494 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1495 switch v := v.(*ExperimentSettings); i { 1496 case 0: 1497 return &v.state 1498 case 1: 1499 return &v.sizeCache 1500 case 2: 1501 return &v.unknownFields 1502 default: 1503 return nil 1504 } 1505 } 1506 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1507 switch v := v.(*BuilderPredicate); i { 1508 case 0: 1509 return &v.state 1510 case 1: 1511 return &v.sizeCache 1512 case 2: 1513 return &v.unknownFields 1514 default: 1515 return nil 1516 } 1517 } 1518 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1519 switch v := v.(*ResultDBSettings); i { 1520 case 0: 1521 return &v.state 1522 case 1: 1523 return &v.sizeCache 1524 case 2: 1525 return &v.unknownFields 1526 default: 1527 return nil 1528 } 1529 } 1530 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1531 switch v := v.(*CipdSettings); i { 1532 case 0: 1533 return &v.state 1534 case 1: 1535 return &v.sizeCache 1536 case 2: 1537 return &v.unknownFields 1538 default: 1539 return nil 1540 } 1541 } 1542 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1543 switch v := v.(*BackendSetting_BuildSyncSetting); i { 1544 case 0: 1545 return &v.state 1546 case 1: 1547 return &v.sizeCache 1548 case 2: 1549 return &v.unknownFields 1550 default: 1551 return nil 1552 } 1553 } 1554 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1555 switch v := v.(*BackendSetting_FullMode); i { 1556 case 0: 1557 return &v.state 1558 case 1: 1559 return &v.sizeCache 1560 case 2: 1561 return &v.unknownFields 1562 default: 1563 return nil 1564 } 1565 } 1566 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1567 switch v := v.(*BackendSetting_LiteMode); i { 1568 case 0: 1569 return &v.state 1570 case 1: 1571 return &v.sizeCache 1572 case 2: 1573 return &v.unknownFields 1574 default: 1575 return nil 1576 } 1577 } 1578 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1579 switch v := v.(*SwarmingSettings_Package); i { 1580 case 0: 1581 return &v.state 1582 case 1: 1583 return &v.sizeCache 1584 case 2: 1585 return &v.unknownFields 1586 default: 1587 return nil 1588 } 1589 } 1590 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1591 switch v := v.(*ExperimentSettings_Experiment); i { 1592 case 0: 1593 return &v.state 1594 case 1: 1595 return &v.sizeCache 1596 case 2: 1597 return &v.unknownFields 1598 default: 1599 return nil 1600 } 1601 } 1602 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1603 switch v := v.(*CipdSettings_Source); i { 1604 case 0: 1605 return &v.state 1606 case 1: 1607 return &v.sizeCache 1608 case 2: 1609 return &v.unknownFields 1610 default: 1611 return nil 1612 } 1613 } 1614 } 1615 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes[1].OneofWrappers = []interface{}{ 1616 (*BackendSetting_FullMode_)(nil), 1617 (*BackendSetting_LiteMode_)(nil), 1618 } 1619 type x struct{} 1620 out := protoimpl.TypeBuilder{ 1621 File: protoimpl.DescBuilder{ 1622 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1623 RawDescriptor: file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDesc, 1624 NumEnums: 0, 1625 NumMessages: 15, 1626 NumExtensions: 0, 1627 NumServices: 0, 1628 }, 1629 GoTypes: file_go_chromium_org_luci_buildbucket_proto_service_config_proto_goTypes, 1630 DependencyIndexes: file_go_chromium_org_luci_buildbucket_proto_service_config_proto_depIdxs, 1631 MessageInfos: file_go_chromium_org_luci_buildbucket_proto_service_config_proto_msgTypes, 1632 }.Build() 1633 File_go_chromium_org_luci_buildbucket_proto_service_config_proto = out.File 1634 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_rawDesc = nil 1635 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_goTypes = nil 1636 file_go_chromium_org_luci_buildbucket_proto_service_config_proto_depIdxs = nil 1637 }