go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/bisection/proto/config/project_config.pb.go (about) 1 // Copyright 2023 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 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/bisection/proto/config/project_config.proto 20 21 package configpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 // ProjectConfig is the project-specific configuration data for LUCI Bisection. 38 type ProjectConfig struct { 39 state protoimpl.MessageState 40 sizeCache protoimpl.SizeCache 41 unknownFields protoimpl.UnknownFields 42 43 // Configuration data for compile failure analysis. 44 CompileAnalysisConfig *CompileAnalysisConfig `protobuf:"bytes,1,opt,name=compile_analysis_config,json=compileAnalysisConfig,proto3" json:"compile_analysis_config,omitempty"` 45 // Configuration data for test failure analysis. 46 TestAnalysisConfig *TestAnalysisConfig `protobuf:"bytes,2,opt,name=test_analysis_config,json=testAnalysisConfig,proto3" json:"test_analysis_config,omitempty"` 47 } 48 49 func (x *ProjectConfig) Reset() { 50 *x = ProjectConfig{} 51 if protoimpl.UnsafeEnabled { 52 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[0] 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 ms.StoreMessageInfo(mi) 55 } 56 } 57 58 func (x *ProjectConfig) String() string { 59 return protoimpl.X.MessageStringOf(x) 60 } 61 62 func (*ProjectConfig) ProtoMessage() {} 63 64 func (x *ProjectConfig) ProtoReflect() protoreflect.Message { 65 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[0] 66 if protoimpl.UnsafeEnabled && x != nil { 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 if ms.LoadMessageInfo() == nil { 69 ms.StoreMessageInfo(mi) 70 } 71 return ms 72 } 73 return mi.MessageOf(x) 74 } 75 76 // Deprecated: Use ProjectConfig.ProtoReflect.Descriptor instead. 77 func (*ProjectConfig) Descriptor() ([]byte, []int) { 78 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{0} 79 } 80 81 func (x *ProjectConfig) GetCompileAnalysisConfig() *CompileAnalysisConfig { 82 if x != nil { 83 return x.CompileAnalysisConfig 84 } 85 return nil 86 } 87 88 func (x *ProjectConfig) GetTestAnalysisConfig() *TestAnalysisConfig { 89 if x != nil { 90 return x.TestAnalysisConfig 91 } 92 return nil 93 } 94 95 // CompileAnalysisConfig is the configuration data for compile failure bisection. 96 // Next available tag: 6. 97 type CompileAnalysisConfig struct { 98 state protoimpl.MessageState 99 sizeCache protoimpl.SizeCache 100 unknownFields protoimpl.UnknownFields 101 102 // The build config to run compile analysis. 103 BuildConfig *BuildConfig `protobuf:"bytes,4,opt,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"` 104 // Whether we should run culprit verification 105 CulpritVerificationEnabled bool `protobuf:"varint,1,opt,name=culprit_verification_enabled,json=culpritVerificationEnabled,proto3" json:"culprit_verification_enabled,omitempty"` 106 // Whether we should run nthsection analysis 107 NthsectionEnabled bool `protobuf:"varint,2,opt,name=nthsection_enabled,json=nthsectionEnabled,proto3" json:"nthsection_enabled,omitempty"` 108 // Configuration data for Gerrit integration for compile failures. 109 GerritConfig *GerritConfig `protobuf:"bytes,3,opt,name=gerrit_config,json=gerritConfig,proto3" json:"gerrit_config,omitempty"` 110 // Only compile failure which satisfies this filter will be ingested. 111 FailureIngestionFilter *FailureIngestionFilter `protobuf:"bytes,5,opt,name=failure_ingestion_filter,json=failureIngestionFilter,proto3" json:"failure_ingestion_filter,omitempty"` 112 } 113 114 func (x *CompileAnalysisConfig) Reset() { 115 *x = CompileAnalysisConfig{} 116 if protoimpl.UnsafeEnabled { 117 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[1] 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 ms.StoreMessageInfo(mi) 120 } 121 } 122 123 func (x *CompileAnalysisConfig) String() string { 124 return protoimpl.X.MessageStringOf(x) 125 } 126 127 func (*CompileAnalysisConfig) ProtoMessage() {} 128 129 func (x *CompileAnalysisConfig) ProtoReflect() protoreflect.Message { 130 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[1] 131 if protoimpl.UnsafeEnabled && x != nil { 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 if ms.LoadMessageInfo() == nil { 134 ms.StoreMessageInfo(mi) 135 } 136 return ms 137 } 138 return mi.MessageOf(x) 139 } 140 141 // Deprecated: Use CompileAnalysisConfig.ProtoReflect.Descriptor instead. 142 func (*CompileAnalysisConfig) Descriptor() ([]byte, []int) { 143 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{1} 144 } 145 146 func (x *CompileAnalysisConfig) GetBuildConfig() *BuildConfig { 147 if x != nil { 148 return x.BuildConfig 149 } 150 return nil 151 } 152 153 func (x *CompileAnalysisConfig) GetCulpritVerificationEnabled() bool { 154 if x != nil { 155 return x.CulpritVerificationEnabled 156 } 157 return false 158 } 159 160 func (x *CompileAnalysisConfig) GetNthsectionEnabled() bool { 161 if x != nil { 162 return x.NthsectionEnabled 163 } 164 return false 165 } 166 167 func (x *CompileAnalysisConfig) GetGerritConfig() *GerritConfig { 168 if x != nil { 169 return x.GerritConfig 170 } 171 return nil 172 } 173 174 func (x *CompileAnalysisConfig) GetFailureIngestionFilter() *FailureIngestionFilter { 175 if x != nil { 176 return x.FailureIngestionFilter 177 } 178 return nil 179 } 180 181 // TestAnalysisConfig is the configuration data for test failure bisection. 182 // Next available tag: 10. 183 type TestAnalysisConfig struct { 184 state protoimpl.MessageState 185 sizeCache protoimpl.SizeCache 186 unknownFields protoimpl.UnknownFields 187 188 // The build config to run test analysis. 189 BuildConfig *BuildConfig `protobuf:"bytes,9,opt,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"` 190 // Flag of whether test failure detector is enabled. 191 // Usually the flag is on for both dev and prod, but we may want to turn 192 // it off for the cases when the bisector is down and we don't want to 193 // create tasks when the bisector cannot run (in which case, the bisector 194 // will just mark the analysis as "DISABLED"). 195 // So in prod, if we need to turn the bisector off, we generally should turn 196 // the detector off as well. 197 DetectorEnabled bool `protobuf:"varint,2,opt,name=detector_enabled,json=detectorEnabled,proto3" json:"detector_enabled,omitempty"` 198 // Flag of whether test failure bisector is enabled. 199 // During the development of the test failure bisection feature, it should 200 // be on for dev and off for prod (as we are testing). When everything is 201 // up and running, it should be off for dev and on for prod, because we want 202 // to save resources (running bisection on dev will be expensive). 203 BisectorEnabled bool `protobuf:"varint,3,opt,name=bisector_enabled,json=bisectorEnabled,proto3" json:"bisector_enabled,omitempty"` 204 // The maximum number of test analyses to run in a day for each project. 205 // It only counts analyses that being created within 24 hours, with status different 206 // from "DISABLED" or "UNSUPPORTED". 207 // It allows us to slowly roll out bisection without consuming too much 208 // swarming capacity. 209 DailyLimit uint32 `protobuf:"varint,4,opt,name=daily_limit,json=dailyLimit,proto3" json:"daily_limit,omitempty"` 210 // The list of buildbucket buckets that we should not bisect on. 211 // For example, "reviver", "try", and "findit". 212 // TODO(beining@): deprecating, use failure_ingestion_filter.excluded_buckets instead. 213 ExcludedBuckets []string `protobuf:"bytes,5,rep,name=excluded_buckets,json=excludedBuckets,proto3" json:"excluded_buckets,omitempty"` 214 // Configuration data for Gerrit integration for test failures. 215 GerritConfig *GerritConfig `protobuf:"bytes,6,opt,name=gerrit_config,json=gerritConfig,proto3" json:"gerrit_config,omitempty"` 216 // The list of swarming test task pools that we want to exclude running bisection. 217 // For example, we want to exclude the "chromium.tests.gpu" pool (b/301523224) 218 // because there are limited resources in the pool. 219 // Note: this is not the pools that the builder run, but the swarming test task pool, 220 // which contains the bots that actually run the tests on swarming. 221 // TODO(beining@): deprecating, use failure_ingestion_filter.excluded_test_pools instead. 222 ExcludedTestPools []string `protobuf:"bytes,7,rep,name=excluded_test_pools,json=excludedTestPools,proto3" json:"excluded_test_pools,omitempty"` 223 // Only test failure which satisfies this filter will be ingested. 224 FailureIngestionFilter *FailureIngestionFilter `protobuf:"bytes,8,opt,name=failure_ingestion_filter,json=failureIngestionFilter,proto3" json:"failure_ingestion_filter,omitempty"` 225 } 226 227 func (x *TestAnalysisConfig) Reset() { 228 *x = TestAnalysisConfig{} 229 if protoimpl.UnsafeEnabled { 230 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[2] 231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 232 ms.StoreMessageInfo(mi) 233 } 234 } 235 236 func (x *TestAnalysisConfig) String() string { 237 return protoimpl.X.MessageStringOf(x) 238 } 239 240 func (*TestAnalysisConfig) ProtoMessage() {} 241 242 func (x *TestAnalysisConfig) ProtoReflect() protoreflect.Message { 243 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[2] 244 if protoimpl.UnsafeEnabled && x != nil { 245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 246 if ms.LoadMessageInfo() == nil { 247 ms.StoreMessageInfo(mi) 248 } 249 return ms 250 } 251 return mi.MessageOf(x) 252 } 253 254 // Deprecated: Use TestAnalysisConfig.ProtoReflect.Descriptor instead. 255 func (*TestAnalysisConfig) Descriptor() ([]byte, []int) { 256 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{2} 257 } 258 259 func (x *TestAnalysisConfig) GetBuildConfig() *BuildConfig { 260 if x != nil { 261 return x.BuildConfig 262 } 263 return nil 264 } 265 266 func (x *TestAnalysisConfig) GetDetectorEnabled() bool { 267 if x != nil { 268 return x.DetectorEnabled 269 } 270 return false 271 } 272 273 func (x *TestAnalysisConfig) GetBisectorEnabled() bool { 274 if x != nil { 275 return x.BisectorEnabled 276 } 277 return false 278 } 279 280 func (x *TestAnalysisConfig) GetDailyLimit() uint32 { 281 if x != nil { 282 return x.DailyLimit 283 } 284 return 0 285 } 286 287 func (x *TestAnalysisConfig) GetExcludedBuckets() []string { 288 if x != nil { 289 return x.ExcludedBuckets 290 } 291 return nil 292 } 293 294 func (x *TestAnalysisConfig) GetGerritConfig() *GerritConfig { 295 if x != nil { 296 return x.GerritConfig 297 } 298 return nil 299 } 300 301 func (x *TestAnalysisConfig) GetExcludedTestPools() []string { 302 if x != nil { 303 return x.ExcludedTestPools 304 } 305 return nil 306 } 307 308 func (x *TestAnalysisConfig) GetFailureIngestionFilter() *FailureIngestionFilter { 309 if x != nil { 310 return x.FailureIngestionFilter 311 } 312 return nil 313 } 314 315 // FailureIngestionFilter defines filtering rules for failures to be ingested. 316 // A failure needs to fulfill ALL rules. 317 type FailureIngestionFilter struct { 318 state protoimpl.MessageState 319 sizeCache protoimpl.SizeCache 320 unknownFields protoimpl.UnknownFields 321 322 // The list of buildbucket buckets that we should not bisect on. 323 // For example, "reviver", "try", and "findit". 324 // Only applicable for test failure analysis. 325 ExcludedBuckets []string `protobuf:"bytes,1,rep,name=excluded_buckets,json=excludedBuckets,proto3" json:"excluded_buckets,omitempty"` 326 // The list of swarming test task pools that we want to exclude running bisection. 327 // For example, we want to exclude the "chromium.tests.gpu" pool (b/301523224) 328 // because there are limited resources in the pool. 329 // Note: this is not the pools that the builder run, but the swarming test task pool, 330 // which contains the bots that actually run the tests on swarming. 331 // Only applicable for test failure analysis. 332 ExcludedTestPools []string `protobuf:"bytes,2,rep,name=excluded_test_pools,json=excludedTestPools,proto3" json:"excluded_test_pools,omitempty"` 333 // If this is specified, bisection will only run on failures 334 // from the builder groups in the list. 335 // An empty list means that failures from all builder groups can be ingested. 336 // Only applicable for test failure analysis. 337 AllowedBuilderGroups []string `protobuf:"bytes,3,rep,name=allowed_builder_groups,json=allowedBuilderGroups,proto3" json:"allowed_builder_groups,omitempty"` 338 // The list of builder groups that we should not run bisect on. 339 ExcludedBuilderGroups []string `protobuf:"bytes,4,rep,name=excluded_builder_groups,json=excludedBuilderGroups,proto3" json:"excluded_builder_groups,omitempty"` 340 } 341 342 func (x *FailureIngestionFilter) Reset() { 343 *x = FailureIngestionFilter{} 344 if protoimpl.UnsafeEnabled { 345 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[3] 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 ms.StoreMessageInfo(mi) 348 } 349 } 350 351 func (x *FailureIngestionFilter) String() string { 352 return protoimpl.X.MessageStringOf(x) 353 } 354 355 func (*FailureIngestionFilter) ProtoMessage() {} 356 357 func (x *FailureIngestionFilter) ProtoReflect() protoreflect.Message { 358 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[3] 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 FailureIngestionFilter.ProtoReflect.Descriptor instead. 370 func (*FailureIngestionFilter) Descriptor() ([]byte, []int) { 371 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{3} 372 } 373 374 func (x *FailureIngestionFilter) GetExcludedBuckets() []string { 375 if x != nil { 376 return x.ExcludedBuckets 377 } 378 return nil 379 } 380 381 func (x *FailureIngestionFilter) GetExcludedTestPools() []string { 382 if x != nil { 383 return x.ExcludedTestPools 384 } 385 return nil 386 } 387 388 func (x *FailureIngestionFilter) GetAllowedBuilderGroups() []string { 389 if x != nil { 390 return x.AllowedBuilderGroups 391 } 392 return nil 393 } 394 395 func (x *FailureIngestionFilter) GetExcludedBuilderGroups() []string { 396 if x != nil { 397 return x.ExcludedBuilderGroups 398 } 399 return nil 400 } 401 402 // GerritConfig is the configuration data for Gerrit integration 403 type GerritConfig struct { 404 state protoimpl.MessageState 405 sizeCache protoimpl.SizeCache 406 unknownFields protoimpl.UnknownFields 407 408 // Whether Gerrit API actions are enabled 409 ActionsEnabled bool `protobuf:"varint,1,opt,name=actions_enabled,json=actionsEnabled,proto3" json:"actions_enabled,omitempty"` 410 // Settings for creating reverts for culprit CLs 411 CreateRevertSettings *GerritConfig_RevertActionSettings `protobuf:"bytes,2,opt,name=create_revert_settings,json=createRevertSettings,proto3" json:"create_revert_settings,omitempty"` 412 // Settings for submitting reverts for culprit CLs 413 SubmitRevertSettings *GerritConfig_RevertActionSettings `protobuf:"bytes,3,opt,name=submit_revert_settings,json=submitRevertSettings,proto3" json:"submit_revert_settings,omitempty"` 414 // Maximum age of a culprit (sec) for its revert to be eligible 415 // for the submit action. 416 // 417 // The age of a culprit is based on the time since the culprit was merged. 418 // If a culprit is older than this limit, LUCI Bisection will skip 419 // submitting its corresponding revert. 420 MaxRevertibleCulpritAge int64 `protobuf:"varint,4,opt,name=max_revertible_culprit_age,json=maxRevertibleCulpritAge,proto3" json:"max_revertible_culprit_age,omitempty"` 421 NthsectionSettings *GerritConfig_NthSectionSettings `protobuf:"bytes,5,opt,name=nthsection_settings,json=nthsectionSettings,proto3" json:"nthsection_settings,omitempty"` 422 } 423 424 func (x *GerritConfig) Reset() { 425 *x = GerritConfig{} 426 if protoimpl.UnsafeEnabled { 427 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[4] 428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 429 ms.StoreMessageInfo(mi) 430 } 431 } 432 433 func (x *GerritConfig) String() string { 434 return protoimpl.X.MessageStringOf(x) 435 } 436 437 func (*GerritConfig) ProtoMessage() {} 438 439 func (x *GerritConfig) ProtoReflect() protoreflect.Message { 440 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[4] 441 if protoimpl.UnsafeEnabled && x != nil { 442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 443 if ms.LoadMessageInfo() == nil { 444 ms.StoreMessageInfo(mi) 445 } 446 return ms 447 } 448 return mi.MessageOf(x) 449 } 450 451 // Deprecated: Use GerritConfig.ProtoReflect.Descriptor instead. 452 func (*GerritConfig) Descriptor() ([]byte, []int) { 453 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{4} 454 } 455 456 func (x *GerritConfig) GetActionsEnabled() bool { 457 if x != nil { 458 return x.ActionsEnabled 459 } 460 return false 461 } 462 463 func (x *GerritConfig) GetCreateRevertSettings() *GerritConfig_RevertActionSettings { 464 if x != nil { 465 return x.CreateRevertSettings 466 } 467 return nil 468 } 469 470 func (x *GerritConfig) GetSubmitRevertSettings() *GerritConfig_RevertActionSettings { 471 if x != nil { 472 return x.SubmitRevertSettings 473 } 474 return nil 475 } 476 477 func (x *GerritConfig) GetMaxRevertibleCulpritAge() int64 { 478 if x != nil { 479 return x.MaxRevertibleCulpritAge 480 } 481 return 0 482 } 483 484 func (x *GerritConfig) GetNthsectionSettings() *GerritConfig_NthSectionSettings { 485 if x != nil { 486 return x.NthsectionSettings 487 } 488 return nil 489 } 490 491 // BuildConfig contains configuration of how we run rerun builds. 492 type BuildConfig struct { 493 state protoimpl.MessageState 494 sizeCache protoimpl.SizeCache 495 unknownFields protoimpl.UnknownFields 496 497 // The buildbucket builder. 498 Builder *Builder `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` 499 } 500 501 func (x *BuildConfig) Reset() { 502 *x = BuildConfig{} 503 if protoimpl.UnsafeEnabled { 504 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[5] 505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 506 ms.StoreMessageInfo(mi) 507 } 508 } 509 510 func (x *BuildConfig) String() string { 511 return protoimpl.X.MessageStringOf(x) 512 } 513 514 func (*BuildConfig) ProtoMessage() {} 515 516 func (x *BuildConfig) ProtoReflect() protoreflect.Message { 517 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[5] 518 if protoimpl.UnsafeEnabled && x != nil { 519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 520 if ms.LoadMessageInfo() == nil { 521 ms.StoreMessageInfo(mi) 522 } 523 return ms 524 } 525 return mi.MessageOf(x) 526 } 527 528 // Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead. 529 func (*BuildConfig) Descriptor() ([]byte, []int) { 530 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{5} 531 } 532 533 func (x *BuildConfig) GetBuilder() *Builder { 534 if x != nil { 535 return x.Builder 536 } 537 return nil 538 } 539 540 // Builder specifies a buildbucket builder. 541 type Builder struct { 542 state protoimpl.MessageState 543 sizeCache protoimpl.SizeCache 544 unknownFields protoimpl.UnknownFields 545 546 // The name of the project that the builder belongs to. 547 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 548 // The name of the bucket that the builder belongs to. 549 Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` 550 // The name of the builder. 551 Builder string `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"` 552 } 553 554 func (x *Builder) Reset() { 555 *x = Builder{} 556 if protoimpl.UnsafeEnabled { 557 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[6] 558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 559 ms.StoreMessageInfo(mi) 560 } 561 } 562 563 func (x *Builder) String() string { 564 return protoimpl.X.MessageStringOf(x) 565 } 566 567 func (*Builder) ProtoMessage() {} 568 569 func (x *Builder) ProtoReflect() protoreflect.Message { 570 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[6] 571 if protoimpl.UnsafeEnabled && x != nil { 572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 573 if ms.LoadMessageInfo() == nil { 574 ms.StoreMessageInfo(mi) 575 } 576 return ms 577 } 578 return mi.MessageOf(x) 579 } 580 581 // Deprecated: Use Builder.ProtoReflect.Descriptor instead. 582 func (*Builder) Descriptor() ([]byte, []int) { 583 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{6} 584 } 585 586 func (x *Builder) GetProject() string { 587 if x != nil { 588 return x.Project 589 } 590 return "" 591 } 592 593 func (x *Builder) GetBucket() string { 594 if x != nil { 595 return x.Bucket 596 } 597 return "" 598 } 599 600 func (x *Builder) GetBuilder() string { 601 if x != nil { 602 return x.Builder 603 } 604 return "" 605 } 606 607 // Settings for revert-related actions 608 type GerritConfig_RevertActionSettings struct { 609 state protoimpl.MessageState 610 sizeCache protoimpl.SizeCache 611 unknownFields protoimpl.UnknownFields 612 613 // Whether the action is enabled 614 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 615 // The maximum number of times the action can be performed per day 616 DailyLimit uint32 `protobuf:"varint,2,opt,name=daily_limit,json=dailyLimit,proto3" json:"daily_limit,omitempty"` 617 } 618 619 func (x *GerritConfig_RevertActionSettings) Reset() { 620 *x = GerritConfig_RevertActionSettings{} 621 if protoimpl.UnsafeEnabled { 622 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[7] 623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 624 ms.StoreMessageInfo(mi) 625 } 626 } 627 628 func (x *GerritConfig_RevertActionSettings) String() string { 629 return protoimpl.X.MessageStringOf(x) 630 } 631 632 func (*GerritConfig_RevertActionSettings) ProtoMessage() {} 633 634 func (x *GerritConfig_RevertActionSettings) ProtoReflect() protoreflect.Message { 635 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[7] 636 if protoimpl.UnsafeEnabled && x != nil { 637 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 638 if ms.LoadMessageInfo() == nil { 639 ms.StoreMessageInfo(mi) 640 } 641 return ms 642 } 643 return mi.MessageOf(x) 644 } 645 646 // Deprecated: Use GerritConfig_RevertActionSettings.ProtoReflect.Descriptor instead. 647 func (*GerritConfig_RevertActionSettings) Descriptor() ([]byte, []int) { 648 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{4, 0} 649 } 650 651 func (x *GerritConfig_RevertActionSettings) GetEnabled() bool { 652 if x != nil { 653 return x.Enabled 654 } 655 return false 656 } 657 658 func (x *GerritConfig_RevertActionSettings) GetDailyLimit() uint32 { 659 if x != nil { 660 return x.DailyLimit 661 } 662 return 0 663 } 664 665 // Settings for culprit actions for nthsection 666 type GerritConfig_NthSectionSettings struct { 667 state protoimpl.MessageState 668 sizeCache protoimpl.SizeCache 669 unknownFields protoimpl.UnknownFields 670 671 // Whether culprit action for nthsection culprit is enabled 672 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 673 // Whether we should perform actions on nthsection culprits even when 674 // culprit verification errored 675 ActionWhenVerificationError bool `protobuf:"varint,2,opt,name=action_when_verification_error,json=actionWhenVerificationError,proto3" json:"action_when_verification_error,omitempty"` 676 } 677 678 func (x *GerritConfig_NthSectionSettings) Reset() { 679 *x = GerritConfig_NthSectionSettings{} 680 if protoimpl.UnsafeEnabled { 681 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[8] 682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 683 ms.StoreMessageInfo(mi) 684 } 685 } 686 687 func (x *GerritConfig_NthSectionSettings) String() string { 688 return protoimpl.X.MessageStringOf(x) 689 } 690 691 func (*GerritConfig_NthSectionSettings) ProtoMessage() {} 692 693 func (x *GerritConfig_NthSectionSettings) ProtoReflect() protoreflect.Message { 694 mi := &file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[8] 695 if protoimpl.UnsafeEnabled && x != nil { 696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 697 if ms.LoadMessageInfo() == nil { 698 ms.StoreMessageInfo(mi) 699 } 700 return ms 701 } 702 return mi.MessageOf(x) 703 } 704 705 // Deprecated: Use GerritConfig_NthSectionSettings.ProtoReflect.Descriptor instead. 706 func (*GerritConfig_NthSectionSettings) Descriptor() ([]byte, []int) { 707 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP(), []int{4, 1} 708 } 709 710 func (x *GerritConfig_NthSectionSettings) GetEnabled() bool { 711 if x != nil { 712 return x.Enabled 713 } 714 return false 715 } 716 717 func (x *GerritConfig_NthSectionSettings) GetActionWhenVerificationError() bool { 718 if x != nil { 719 return x.ActionWhenVerificationError 720 } 721 return false 722 } 723 724 var File_go_chromium_org_luci_bisection_proto_config_project_config_proto protoreflect.FileDescriptor 725 726 var file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDesc = []byte{ 727 0x0a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 728 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 729 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 730 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 731 0x74, 0x6f, 0x12, 0x15, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 732 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xd2, 0x01, 0x0a, 0x0d, 0x50, 0x72, 733 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x64, 0x0a, 0x17, 0x63, 734 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 735 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6c, 736 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 737 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x41, 0x6e, 0x61, 0x6c, 738 0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x15, 0x63, 0x6f, 0x6d, 0x70, 739 0x69, 0x6c, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 740 0x67, 0x12, 0x5b, 0x0a, 0x14, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 741 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 742 0x29, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 743 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x61, 0x6c, 744 0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x74, 0x65, 0x73, 0x74, 745 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x82, 746 0x03, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 747 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 748 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 749 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 750 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 751 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 752 0x40, 0x0a, 0x1c, 0x63, 0x75, 0x6c, 0x70, 0x72, 0x69, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 753 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 754 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x63, 0x75, 0x6c, 0x70, 0x72, 0x69, 0x74, 0x56, 0x65, 755 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 756 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x6e, 0x74, 0x68, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 757 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6e, 758 0x74, 0x68, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 759 0x12, 0x48, 0x0a, 0x0d, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 760 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 761 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 762 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x67, 0x65, 763 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x67, 0x0a, 0x18, 0x66, 0x61, 764 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 765 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6c, 766 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 767 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x67, 0x65, 768 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x16, 0x66, 0x61, 0x69, 769 0x6c, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 770 0x74, 0x65, 0x72, 0x22, 0xe6, 0x03, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x61, 0x6c, 771 0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0c, 0x62, 0x75, 772 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 773 0x32, 0x22, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 774 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 775 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 776 0x67, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 777 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x65, 0x74, 778 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 779 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 780 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x6f, 0x72, 781 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 782 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x61, 783 0x69, 0x6c, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x63, 0x6c, 784 0x75, 0x64, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 785 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x42, 0x75, 0x63, 0x6b, 786 0x65, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x63, 0x6f, 787 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x75, 0x63, 788 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 789 0x69, 0x67, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 790 0x0c, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x0a, 791 0x13, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 792 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x63, 0x6c, 793 0x75, 0x64, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x12, 0x67, 0x0a, 794 0x18, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 795 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 796 0x2d, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 797 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x49, 798 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x16, 799 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 800 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xe1, 0x01, 0x0a, 801 0x16, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 802 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 803 0x64, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 804 0x09, 0x52, 0x0f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x42, 0x75, 0x63, 0x6b, 0x65, 805 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x74, 806 0x65, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 807 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x6f, 808 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x62, 0x75, 809 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 810 0x28, 0x09, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 811 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x78, 0x63, 0x6c, 812 0x75, 0x64, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 813 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x65, 0x78, 0x63, 0x6c, 0x75, 814 0x64, 0x65, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 815 0x22, 0x85, 0x05, 0x0a, 0x0c, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 816 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x65, 0x6e, 0x61, 817 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, 818 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x6e, 0x0a, 0x16, 0x63, 0x72, 819 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 820 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6c, 0x75, 0x63, 821 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 822 0x69, 0x67, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 823 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 824 0x69, 0x6e, 0x67, 0x73, 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x65, 825 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x6e, 0x0a, 0x16, 0x73, 0x75, 826 0x62, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 827 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6c, 0x75, 0x63, 828 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 829 0x69, 0x67, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 830 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 831 0x69, 0x6e, 0x67, 0x73, 0x52, 0x14, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x76, 0x65, 832 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x6d, 0x61, 833 0x78, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x75, 0x6c, 834 0x70, 0x72, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 835 0x6d, 0x61, 0x78, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x43, 0x75, 0x6c, 836 0x70, 0x72, 0x69, 0x74, 0x41, 0x67, 0x65, 0x12, 0x67, 0x0a, 0x13, 0x6e, 0x74, 0x68, 0x73, 0x65, 837 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 838 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x62, 0x69, 0x73, 0x65, 839 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x65, 0x72, 840 0x72, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4e, 0x74, 0x68, 0x53, 0x65, 0x63, 841 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x12, 0x6e, 0x74, 842 0x68, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 843 0x1a, 0x51, 0x0a, 0x14, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 844 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 845 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 846 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 847 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x4c, 0x69, 848 0x6d, 0x69, 0x74, 0x1a, 0x73, 0x0a, 0x12, 0x4e, 0x74, 0x68, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 849 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 850 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 851 0x6c, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x1e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x68, 852 0x65, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 853 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x61, 0x63, 0x74, 854 0x69, 0x6f, 0x6e, 0x57, 0x68, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 855 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x47, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 856 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 857 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 858 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 859 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 860 0x72, 0x22, 0x55, 0x0a, 0x07, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 861 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 862 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 863 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x18, 864 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 865 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 866 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 867 0x2f, 0x62, 0x69, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 868 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 869 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 870 } 871 872 var ( 873 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescOnce sync.Once 874 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescData = file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDesc 875 ) 876 877 func file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescGZIP() []byte { 878 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescOnce.Do(func() { 879 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescData) 880 }) 881 return file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDescData 882 } 883 884 var file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 885 var file_go_chromium_org_luci_bisection_proto_config_project_config_proto_goTypes = []interface{}{ 886 (*ProjectConfig)(nil), // 0: luci.bisection.config.ProjectConfig 887 (*CompileAnalysisConfig)(nil), // 1: luci.bisection.config.CompileAnalysisConfig 888 (*TestAnalysisConfig)(nil), // 2: luci.bisection.config.TestAnalysisConfig 889 (*FailureIngestionFilter)(nil), // 3: luci.bisection.config.FailureIngestionFilter 890 (*GerritConfig)(nil), // 4: luci.bisection.config.GerritConfig 891 (*BuildConfig)(nil), // 5: luci.bisection.config.BuildConfig 892 (*Builder)(nil), // 6: luci.bisection.config.Builder 893 (*GerritConfig_RevertActionSettings)(nil), // 7: luci.bisection.config.GerritConfig.RevertActionSettings 894 (*GerritConfig_NthSectionSettings)(nil), // 8: luci.bisection.config.GerritConfig.NthSectionSettings 895 } 896 var file_go_chromium_org_luci_bisection_proto_config_project_config_proto_depIdxs = []int32{ 897 1, // 0: luci.bisection.config.ProjectConfig.compile_analysis_config:type_name -> luci.bisection.config.CompileAnalysisConfig 898 2, // 1: luci.bisection.config.ProjectConfig.test_analysis_config:type_name -> luci.bisection.config.TestAnalysisConfig 899 5, // 2: luci.bisection.config.CompileAnalysisConfig.build_config:type_name -> luci.bisection.config.BuildConfig 900 4, // 3: luci.bisection.config.CompileAnalysisConfig.gerrit_config:type_name -> luci.bisection.config.GerritConfig 901 3, // 4: luci.bisection.config.CompileAnalysisConfig.failure_ingestion_filter:type_name -> luci.bisection.config.FailureIngestionFilter 902 5, // 5: luci.bisection.config.TestAnalysisConfig.build_config:type_name -> luci.bisection.config.BuildConfig 903 4, // 6: luci.bisection.config.TestAnalysisConfig.gerrit_config:type_name -> luci.bisection.config.GerritConfig 904 3, // 7: luci.bisection.config.TestAnalysisConfig.failure_ingestion_filter:type_name -> luci.bisection.config.FailureIngestionFilter 905 7, // 8: luci.bisection.config.GerritConfig.create_revert_settings:type_name -> luci.bisection.config.GerritConfig.RevertActionSettings 906 7, // 9: luci.bisection.config.GerritConfig.submit_revert_settings:type_name -> luci.bisection.config.GerritConfig.RevertActionSettings 907 8, // 10: luci.bisection.config.GerritConfig.nthsection_settings:type_name -> luci.bisection.config.GerritConfig.NthSectionSettings 908 6, // 11: luci.bisection.config.BuildConfig.builder:type_name -> luci.bisection.config.Builder 909 12, // [12:12] is the sub-list for method output_type 910 12, // [12:12] is the sub-list for method input_type 911 12, // [12:12] is the sub-list for extension type_name 912 12, // [12:12] is the sub-list for extension extendee 913 0, // [0:12] is the sub-list for field type_name 914 } 915 916 func init() { file_go_chromium_org_luci_bisection_proto_config_project_config_proto_init() } 917 func file_go_chromium_org_luci_bisection_proto_config_project_config_proto_init() { 918 if File_go_chromium_org_luci_bisection_proto_config_project_config_proto != nil { 919 return 920 } 921 if !protoimpl.UnsafeEnabled { 922 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 923 switch v := v.(*ProjectConfig); i { 924 case 0: 925 return &v.state 926 case 1: 927 return &v.sizeCache 928 case 2: 929 return &v.unknownFields 930 default: 931 return nil 932 } 933 } 934 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 935 switch v := v.(*CompileAnalysisConfig); i { 936 case 0: 937 return &v.state 938 case 1: 939 return &v.sizeCache 940 case 2: 941 return &v.unknownFields 942 default: 943 return nil 944 } 945 } 946 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 947 switch v := v.(*TestAnalysisConfig); i { 948 case 0: 949 return &v.state 950 case 1: 951 return &v.sizeCache 952 case 2: 953 return &v.unknownFields 954 default: 955 return nil 956 } 957 } 958 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 959 switch v := v.(*FailureIngestionFilter); i { 960 case 0: 961 return &v.state 962 case 1: 963 return &v.sizeCache 964 case 2: 965 return &v.unknownFields 966 default: 967 return nil 968 } 969 } 970 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 971 switch v := v.(*GerritConfig); i { 972 case 0: 973 return &v.state 974 case 1: 975 return &v.sizeCache 976 case 2: 977 return &v.unknownFields 978 default: 979 return nil 980 } 981 } 982 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 983 switch v := v.(*BuildConfig); i { 984 case 0: 985 return &v.state 986 case 1: 987 return &v.sizeCache 988 case 2: 989 return &v.unknownFields 990 default: 991 return nil 992 } 993 } 994 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 995 switch v := v.(*Builder); i { 996 case 0: 997 return &v.state 998 case 1: 999 return &v.sizeCache 1000 case 2: 1001 return &v.unknownFields 1002 default: 1003 return nil 1004 } 1005 } 1006 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1007 switch v := v.(*GerritConfig_RevertActionSettings); i { 1008 case 0: 1009 return &v.state 1010 case 1: 1011 return &v.sizeCache 1012 case 2: 1013 return &v.unknownFields 1014 default: 1015 return nil 1016 } 1017 } 1018 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1019 switch v := v.(*GerritConfig_NthSectionSettings); i { 1020 case 0: 1021 return &v.state 1022 case 1: 1023 return &v.sizeCache 1024 case 2: 1025 return &v.unknownFields 1026 default: 1027 return nil 1028 } 1029 } 1030 } 1031 type x struct{} 1032 out := protoimpl.TypeBuilder{ 1033 File: protoimpl.DescBuilder{ 1034 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1035 RawDescriptor: file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDesc, 1036 NumEnums: 0, 1037 NumMessages: 9, 1038 NumExtensions: 0, 1039 NumServices: 0, 1040 }, 1041 GoTypes: file_go_chromium_org_luci_bisection_proto_config_project_config_proto_goTypes, 1042 DependencyIndexes: file_go_chromium_org_luci_bisection_proto_config_project_config_proto_depIdxs, 1043 MessageInfos: file_go_chromium_org_luci_bisection_proto_config_project_config_proto_msgTypes, 1044 }.Build() 1045 File_go_chromium_org_luci_bisection_proto_config_project_config_proto = out.File 1046 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_rawDesc = nil 1047 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_goTypes = nil 1048 file_go_chromium_org_luci_bisection_proto_config_project_config_proto_depIdxs = nil 1049 }