1// Copyright 2023 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5// Code generated by protoc-gen-go. DO NOT EDIT. 6// versions: 7// protoc-gen-go v1.27.1 8// protoc v3.17.1 9// source: chromiumos/test/api/pre_test_service.proto 10 11package api 12 13import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18) 19 20const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25) 26 27// Force enable/disabled the test on the boards in the cfg. 28type FilterTestConfig_Setting int32 29 30const ( 31 FilterTestConfig_NOT_SET FilterTestConfig_Setting = 0 32 FilterTestConfig_ENABLED FilterTestConfig_Setting = 1 33 FilterTestConfig_DISABLED FilterTestConfig_Setting = 2 34) 35 36// Enum value maps for FilterTestConfig_Setting. 37var ( 38 FilterTestConfig_Setting_name = map[int32]string{ 39 0: "NOT_SET", 40 1: "ENABLED", 41 2: "DISABLED", 42 } 43 FilterTestConfig_Setting_value = map[string]int32{ 44 "NOT_SET": 0, 45 "ENABLED": 1, 46 "DISABLED": 2, 47 } 48) 49 50func (x FilterTestConfig_Setting) Enum() *FilterTestConfig_Setting { 51 p := new(FilterTestConfig_Setting) 52 *p = x 53 return p 54} 55 56func (x FilterTestConfig_Setting) String() string { 57 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 58} 59 60func (FilterTestConfig_Setting) Descriptor() protoreflect.EnumDescriptor { 61 return file_chromiumos_test_api_pre_test_service_proto_enumTypes[0].Descriptor() 62} 63 64func (FilterTestConfig_Setting) Type() protoreflect.EnumType { 65 return &file_chromiumos_test_api_pre_test_service_proto_enumTypes[0] 66} 67 68func (x FilterTestConfig_Setting) Number() protoreflect.EnumNumber { 69 return protoreflect.EnumNumber(x) 70} 71 72// Deprecated: Use FilterTestConfig_Setting.Descriptor instead. 73func (FilterTestConfig_Setting) EnumDescriptor() ([]byte, []int) { 74 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{6, 0} 75} 76 77// FilterFlakyRequest request to run. Must be from the list below. 78type FilterFlakyRequest struct { 79 state protoimpl.MessageState 80 sizeCache protoimpl.SizeCache 81 unknownFields protoimpl.UnknownFields 82 83 // Policy can be expanded to have new policies as needed. 84 // Note they must be implemented in the service. 85 // 86 // Types that are assignable to Policy: 87 // *FilterFlakyRequest_PassRatePolicy 88 // *FilterFlakyRequest_StabilitySensorPolicy 89 Policy isFilterFlakyRequest_Policy `protobuf_oneof:"policy"` 90 TestSuites []*TestSuite `protobuf:"bytes,3,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"` 91 // Milestone that the test filtering is for. 92 // Important as test flake can be very different per milestone based on 93 // breakages/fixes across branches. 94 Milestone string `protobuf:"bytes,4,opt,name=milestone,proto3" json:"milestone,omitempty"` 95 // Currently filtering will be done on _board_ level. 96 // Other variants (model, hwid, etc) to follow. 97 // 98 // Types that are assignable to Variant: 99 // *FilterFlakyRequest_Board 100 Variant isFilterFlakyRequest_Variant `protobuf_oneof:"variant"` 101 // When there is not enough signal to determine stability (based on policy); default on/off. 102 DefaultEnabled bool `protobuf:"varint,6,opt,name=default_enabled,json=defaultEnabled,proto3" json:"default_enabled,omitempty"` 103 // BBID of the task 104 Bbid string `protobuf:"bytes,7,opt,name=bbid,proto3" json:"bbid,omitempty"` 105 // is_dry_run indicates if the results are to be used or not. This will only change 106 // how the system logs results. 107 IsDryRun bool `protobuf:"varint,8,opt,name=is_dry_run,json=isDryRun,proto3" json:"is_dry_run,omitempty"` 108} 109 110func (x *FilterFlakyRequest) Reset() { 111 *x = FilterFlakyRequest{} 112 if protoimpl.UnsafeEnabled { 113 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[0] 114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 115 ms.StoreMessageInfo(mi) 116 } 117} 118 119func (x *FilterFlakyRequest) String() string { 120 return protoimpl.X.MessageStringOf(x) 121} 122 123func (*FilterFlakyRequest) ProtoMessage() {} 124 125func (x *FilterFlakyRequest) ProtoReflect() protoreflect.Message { 126 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[0] 127 if protoimpl.UnsafeEnabled && x != nil { 128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 129 if ms.LoadMessageInfo() == nil { 130 ms.StoreMessageInfo(mi) 131 } 132 return ms 133 } 134 return mi.MessageOf(x) 135} 136 137// Deprecated: Use FilterFlakyRequest.ProtoReflect.Descriptor instead. 138func (*FilterFlakyRequest) Descriptor() ([]byte, []int) { 139 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{0} 140} 141 142func (m *FilterFlakyRequest) GetPolicy() isFilterFlakyRequest_Policy { 143 if m != nil { 144 return m.Policy 145 } 146 return nil 147} 148 149func (x *FilterFlakyRequest) GetPassRatePolicy() *PassRatePolicy { 150 if x, ok := x.GetPolicy().(*FilterFlakyRequest_PassRatePolicy); ok { 151 return x.PassRatePolicy 152 } 153 return nil 154} 155 156func (x *FilterFlakyRequest) GetStabilitySensorPolicy() *StabilitySensorPolicy { 157 if x, ok := x.GetPolicy().(*FilterFlakyRequest_StabilitySensorPolicy); ok { 158 return x.StabilitySensorPolicy 159 } 160 return nil 161} 162 163func (x *FilterFlakyRequest) GetTestSuites() []*TestSuite { 164 if x != nil { 165 return x.TestSuites 166 } 167 return nil 168} 169 170func (x *FilterFlakyRequest) GetMilestone() string { 171 if x != nil { 172 return x.Milestone 173 } 174 return "" 175} 176 177func (m *FilterFlakyRequest) GetVariant() isFilterFlakyRequest_Variant { 178 if m != nil { 179 return m.Variant 180 } 181 return nil 182} 183 184func (x *FilterFlakyRequest) GetBoard() string { 185 if x, ok := x.GetVariant().(*FilterFlakyRequest_Board); ok { 186 return x.Board 187 } 188 return "" 189} 190 191func (x *FilterFlakyRequest) GetDefaultEnabled() bool { 192 if x != nil { 193 return x.DefaultEnabled 194 } 195 return false 196} 197 198func (x *FilterFlakyRequest) GetBbid() string { 199 if x != nil { 200 return x.Bbid 201 } 202 return "" 203} 204 205func (x *FilterFlakyRequest) GetIsDryRun() bool { 206 if x != nil { 207 return x.IsDryRun 208 } 209 return false 210} 211 212type isFilterFlakyRequest_Policy interface { 213 isFilterFlakyRequest_Policy() 214} 215 216type FilterFlakyRequest_PassRatePolicy struct { 217 PassRatePolicy *PassRatePolicy `protobuf:"bytes,1,opt,name=pass_rate_policy,json=passRatePolicy,proto3,oneof"` 218} 219 220type FilterFlakyRequest_StabilitySensorPolicy struct { 221 StabilitySensorPolicy *StabilitySensorPolicy `protobuf:"bytes,2,opt,name=stability_sensor_policy,json=stabilitySensorPolicy,proto3,oneof"` 222} 223 224func (*FilterFlakyRequest_PassRatePolicy) isFilterFlakyRequest_Policy() {} 225 226func (*FilterFlakyRequest_StabilitySensorPolicy) isFilterFlakyRequest_Policy() {} 227 228type isFilterFlakyRequest_Variant interface { 229 isFilterFlakyRequest_Variant() 230} 231 232type FilterFlakyRequest_Board struct { 233 Board string `protobuf:"bytes,5,opt,name=board,proto3,oneof"` 234} 235 236func (*FilterFlakyRequest_Board) isFilterFlakyRequest_Variant() {} 237 238type FilterFlakyResponse struct { 239 state protoimpl.MessageState 240 sizeCache protoimpl.SizeCache 241 unknownFields protoimpl.UnknownFields 242 243 TestSuites []*TestSuite `protobuf:"bytes,1,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"` 244 RemovedTests []string `protobuf:"bytes,2,rep,name=removed_tests,json=removedTests,proto3" json:"removed_tests,omitempty"` 245} 246 247func (x *FilterFlakyResponse) Reset() { 248 *x = FilterFlakyResponse{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[1] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254} 255 256func (x *FilterFlakyResponse) String() string { 257 return protoimpl.X.MessageStringOf(x) 258} 259 260func (*FilterFlakyResponse) ProtoMessage() {} 261 262func (x *FilterFlakyResponse) ProtoReflect() protoreflect.Message { 263 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[1] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272} 273 274// Deprecated: Use FilterFlakyResponse.ProtoReflect.Descriptor instead. 275func (*FilterFlakyResponse) Descriptor() ([]byte, []int) { 276 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{1} 277} 278 279func (x *FilterFlakyResponse) GetTestSuites() []*TestSuite { 280 if x != nil { 281 return x.TestSuites 282 } 283 return nil 284} 285 286func (x *FilterFlakyResponse) GetRemovedTests() []string { 287 if x != nil { 288 return x.RemovedTests 289 } 290 return nil 291} 292 293// StabilitySensorPolicy indicates to use the StabilitySensor for determine flake. 294type StabilitySensorPolicy struct { 295 state protoimpl.MessageState 296 sizeCache protoimpl.SizeCache 297 unknownFields protoimpl.UnknownFields 298} 299 300func (x *StabilitySensorPolicy) Reset() { 301 *x = StabilitySensorPolicy{} 302 if protoimpl.UnsafeEnabled { 303 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[2] 304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 305 ms.StoreMessageInfo(mi) 306 } 307} 308 309func (x *StabilitySensorPolicy) String() string { 310 return protoimpl.X.MessageStringOf(x) 311} 312 313func (*StabilitySensorPolicy) ProtoMessage() {} 314 315func (x *StabilitySensorPolicy) ProtoReflect() protoreflect.Message { 316 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[2] 317 if protoimpl.UnsafeEnabled && x != nil { 318 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 319 if ms.LoadMessageInfo() == nil { 320 ms.StoreMessageInfo(mi) 321 } 322 return ms 323 } 324 return mi.MessageOf(x) 325} 326 327// Deprecated: Use StabilitySensorPolicy.ProtoReflect.Descriptor instead. 328func (*StabilitySensorPolicy) Descriptor() ([]byte, []int) { 329 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{2} 330} 331 332// PassRatePolicy indicates to use the StabilitySensor for determine flake. 333type PassRatePolicy struct { 334 state protoimpl.MessageState 335 sizeCache protoimpl.SizeCache 336 unknownFields protoimpl.UnknownFields 337 338 PassRate int32 `protobuf:"varint,1,opt,name=pass_rate,json=passRate,proto3" json:"pass_rate,omitempty"` 339 MinRuns int32 `protobuf:"varint,2,opt,name=min_runs,json=minRuns,proto3" json:"min_runs,omitempty"` 340 // NOTE: num_of_milestones determines how many milestones back to look for results. 341 // The number here will default to 0 (meaning current only); however, if there are not enough 342 // results on the current milestone to meet `min_runs`, then will go back up to 1 milestone. 343 // Setting this value will override the default behavior, and will not have the 344 // logic to go back an additional milestone if not enough results. 345 NumOfMilestones int32 `protobuf:"varint,4,opt,name=num_of_milestones,json=numOfMilestones,proto3" json:"num_of_milestones,omitempty"` 346 // force_enabled_tests DEPRECATED 347 ForceEnabledTests []string `protobuf:"bytes,5,rep,name=force_enabled_tests,json=forceEnabledTests,proto3" json:"force_enabled_tests,omitempty"` 348 // force_disabled_tests DEPRECATED 349 ForceDisabledTests []string `protobuf:"bytes,6,rep,name=force_disabled_tests,json=forceDisabledTests,proto3" json:"force_disabled_tests,omitempty"` 350 // force_enabled_boards DEPRECATED 351 ForceEnabledBoards []string `protobuf:"bytes,7,rep,name=force_enabled_boards,json=forceEnabledBoards,proto3" json:"force_enabled_boards,omitempty"` 352 // Recent results are a method to re-enable historically flaky tests, with 353 // more recent results. Its expected that the recent result will be more stringent 354 // than the long-term results. For example, if a test has a long-term passrate of 355 // 95% with 1000 samples, but a recent passrate of 100% with 200 samples, its 356 // signal that its stable enough to be re-enabled. 357 PassRateRecent int32 `protobuf:"varint,8,opt,name=pass_rate_recent,json=passRateRecent,proto3" json:"pass_rate_recent,omitempty"` 358 MinRunsRecent int32 `protobuf:"varint,9,opt,name=min_runs_recent,json=minRunsRecent,proto3" json:"min_runs_recent,omitempty"` 359 RecentWindow int32 `protobuf:"varint,10,opt,name=recent_window,json=recentWindow,proto3" json:"recent_window,omitempty"` 360 Dryrun bool `protobuf:"varint,11,opt,name=dryrun,proto3" json:"dryrun,omitempty"` 361 Testconfigs []*FilterTestConfig `protobuf:"bytes,12,rep,name=testconfigs,proto3" json:"testconfigs,omitempty"` 362 // max_filtered_percent is the max % of tests that can be filtered. Eg 20%. 363 // If the limit is hit, the filtered tests will be ordered by flake. 364 MaxFilteredPercent int32 `protobuf:"varint,13,opt,name=max_filtered_percent,json=maxFilteredPercent,proto3" json:"max_filtered_percent,omitempty"` 365 // max_filtered_int follows the same logic as above. 366 // NOTE: if both fields are set, we will use the more restrictive of the two. 367 // For example: 368 // 100 tests with a max_filtered_percent=50% and max_filtered_int=5 369 // 20 tests hit the filter threshold, 370 // Only 5 would get filtered out. 371 MaxFilteredInt int32 `protobuf:"varint,14,opt,name=max_filtered_int,json=maxFilteredInt,proto3" json:"max_filtered_int,omitempty"` 372} 373 374func (x *PassRatePolicy) Reset() { 375 *x = PassRatePolicy{} 376 if protoimpl.UnsafeEnabled { 377 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[3] 378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 379 ms.StoreMessageInfo(mi) 380 } 381} 382 383func (x *PassRatePolicy) String() string { 384 return protoimpl.X.MessageStringOf(x) 385} 386 387func (*PassRatePolicy) ProtoMessage() {} 388 389func (x *PassRatePolicy) ProtoReflect() protoreflect.Message { 390 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[3] 391 if protoimpl.UnsafeEnabled && x != nil { 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 if ms.LoadMessageInfo() == nil { 394 ms.StoreMessageInfo(mi) 395 } 396 return ms 397 } 398 return mi.MessageOf(x) 399} 400 401// Deprecated: Use PassRatePolicy.ProtoReflect.Descriptor instead. 402func (*PassRatePolicy) Descriptor() ([]byte, []int) { 403 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{3} 404} 405 406func (x *PassRatePolicy) GetPassRate() int32 { 407 if x != nil { 408 return x.PassRate 409 } 410 return 0 411} 412 413func (x *PassRatePolicy) GetMinRuns() int32 { 414 if x != nil { 415 return x.MinRuns 416 } 417 return 0 418} 419 420func (x *PassRatePolicy) GetNumOfMilestones() int32 { 421 if x != nil { 422 return x.NumOfMilestones 423 } 424 return 0 425} 426 427func (x *PassRatePolicy) GetForceEnabledTests() []string { 428 if x != nil { 429 return x.ForceEnabledTests 430 } 431 return nil 432} 433 434func (x *PassRatePolicy) GetForceDisabledTests() []string { 435 if x != nil { 436 return x.ForceDisabledTests 437 } 438 return nil 439} 440 441func (x *PassRatePolicy) GetForceEnabledBoards() []string { 442 if x != nil { 443 return x.ForceEnabledBoards 444 } 445 return nil 446} 447 448func (x *PassRatePolicy) GetPassRateRecent() int32 { 449 if x != nil { 450 return x.PassRateRecent 451 } 452 return 0 453} 454 455func (x *PassRatePolicy) GetMinRunsRecent() int32 { 456 if x != nil { 457 return x.MinRunsRecent 458 } 459 return 0 460} 461 462func (x *PassRatePolicy) GetRecentWindow() int32 { 463 if x != nil { 464 return x.RecentWindow 465 } 466 return 0 467} 468 469func (x *PassRatePolicy) GetDryrun() bool { 470 if x != nil { 471 return x.Dryrun 472 } 473 return false 474} 475 476func (x *PassRatePolicy) GetTestconfigs() []*FilterTestConfig { 477 if x != nil { 478 return x.Testconfigs 479 } 480 return nil 481} 482 483func (x *PassRatePolicy) GetMaxFilteredPercent() int32 { 484 if x != nil { 485 return x.MaxFilteredPercent 486 } 487 return 0 488} 489 490func (x *PassRatePolicy) GetMaxFilteredInt() int32 { 491 if x != nil { 492 return x.MaxFilteredInt 493 } 494 return 0 495} 496 497// FilterCfgs as a whole describes all the policies for test filtering. 498type FilterCfgs struct { 499 state protoimpl.MessageState 500 sizeCache protoimpl.SizeCache 501 unknownFields protoimpl.UnknownFields 502 503 FilterCfg []*FilterCfg `protobuf:"bytes,1,rep,name=filter_cfg,json=filterCfg,proto3" json:"filter_cfg,omitempty"` 504} 505 506func (x *FilterCfgs) Reset() { 507 *x = FilterCfgs{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[4] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513} 514 515func (x *FilterCfgs) String() string { 516 return protoimpl.X.MessageStringOf(x) 517} 518 519func (*FilterCfgs) ProtoMessage() {} 520 521func (x *FilterCfgs) ProtoReflect() protoreflect.Message { 522 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[4] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531} 532 533// Deprecated: Use FilterCfgs.ProtoReflect.Descriptor instead. 534func (*FilterCfgs) Descriptor() ([]byte, []int) { 535 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{4} 536} 537 538func (x *FilterCfgs) GetFilterCfg() []*FilterCfg { 539 if x != nil { 540 return x.FilterCfg 541 } 542 return nil 543} 544 545// FilterCfg is a policy which applies to one or more suites. 546// If there is/are no suite(s) set, it will be treated as the global policy. 547type FilterCfg struct { 548 state protoimpl.MessageState 549 sizeCache protoimpl.SizeCache 550 unknownFields protoimpl.UnknownFields 551 552 // This applies to the entire suite. Any tests forced_enabled/disabled in this 553 // will apply to all boards. 554 PassRatePolicy *PassRatePolicy `protobuf:"bytes,1,opt,name=pass_rate_policy,json=passRatePolicy,proto3" json:"pass_rate_policy,omitempty"` 555 // Blank will be treated as the global policy. By setting this field, this policy 556 // will overwrite the global, and apply to all suites in this list. 557 TestSuites []string `protobuf:"bytes,2,rep,name=test_suites,json=testSuites,proto3" json:"test_suites,omitempty"` 558 // Fully opt the suite out of filtering. 559 OptOut bool `protobuf:"varint,4,opt,name=opt_out,json=optOut,proto3" json:"opt_out,omitempty"` 560} 561 562func (x *FilterCfg) Reset() { 563 *x = FilterCfg{} 564 if protoimpl.UnsafeEnabled { 565 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[5] 566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 567 ms.StoreMessageInfo(mi) 568 } 569} 570 571func (x *FilterCfg) String() string { 572 return protoimpl.X.MessageStringOf(x) 573} 574 575func (*FilterCfg) ProtoMessage() {} 576 577func (x *FilterCfg) ProtoReflect() protoreflect.Message { 578 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[5] 579 if protoimpl.UnsafeEnabled && x != nil { 580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 581 if ms.LoadMessageInfo() == nil { 582 ms.StoreMessageInfo(mi) 583 } 584 return ms 585 } 586 return mi.MessageOf(x) 587} 588 589// Deprecated: Use FilterCfg.ProtoReflect.Descriptor instead. 590func (*FilterCfg) Descriptor() ([]byte, []int) { 591 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{5} 592} 593 594func (x *FilterCfg) GetPassRatePolicy() *PassRatePolicy { 595 if x != nil { 596 return x.PassRatePolicy 597 } 598 return nil 599} 600 601func (x *FilterCfg) GetTestSuites() []string { 602 if x != nil { 603 return x.TestSuites 604 } 605 return nil 606} 607 608func (x *FilterCfg) GetOptOut() bool { 609 if x != nil { 610 return x.OptOut 611 } 612 return false 613} 614 615// FilterTestConfig contains a test, boards, and the state of the test. 616type FilterTestConfig struct { 617 state protoimpl.MessageState 618 sizeCache protoimpl.SizeCache 619 unknownFields protoimpl.UnknownFields 620 621 Test string `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` 622 Board []string `protobuf:"bytes,2,rep,name=board,proto3" json:"board,omitempty"` 623 Setting FilterTestConfig_Setting `protobuf:"varint,3,opt,name=setting,proto3,enum=chromiumos.test.api.FilterTestConfig_Setting" json:"setting,omitempty"` 624 // List of bugs associated with the cfg 625 Bugs []string `protobuf:"bytes,4,rep,name=bugs,proto3" json:"bugs,omitempty"` 626} 627 628func (x *FilterTestConfig) Reset() { 629 *x = FilterTestConfig{} 630 if protoimpl.UnsafeEnabled { 631 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[6] 632 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 633 ms.StoreMessageInfo(mi) 634 } 635} 636 637func (x *FilterTestConfig) String() string { 638 return protoimpl.X.MessageStringOf(x) 639} 640 641func (*FilterTestConfig) ProtoMessage() {} 642 643func (x *FilterTestConfig) ProtoReflect() protoreflect.Message { 644 mi := &file_chromiumos_test_api_pre_test_service_proto_msgTypes[6] 645 if protoimpl.UnsafeEnabled && x != nil { 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 647 if ms.LoadMessageInfo() == nil { 648 ms.StoreMessageInfo(mi) 649 } 650 return ms 651 } 652 return mi.MessageOf(x) 653} 654 655// Deprecated: Use FilterTestConfig.ProtoReflect.Descriptor instead. 656func (*FilterTestConfig) Descriptor() ([]byte, []int) { 657 return file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP(), []int{6} 658} 659 660func (x *FilterTestConfig) GetTest() string { 661 if x != nil { 662 return x.Test 663 } 664 return "" 665} 666 667func (x *FilterTestConfig) GetBoard() []string { 668 if x != nil { 669 return x.Board 670 } 671 return nil 672} 673 674func (x *FilterTestConfig) GetSetting() FilterTestConfig_Setting { 675 if x != nil { 676 return x.Setting 677 } 678 return FilterTestConfig_NOT_SET 679} 680 681func (x *FilterTestConfig) GetBugs() []string { 682 if x != nil { 683 return x.Bugs 684 } 685 return nil 686} 687 688var File_chromiumos_test_api_pre_test_service_proto protoreflect.FileDescriptor 689 690var file_chromiumos_test_api_pre_test_service_proto_rawDesc = []byte{ 691 0x0a, 0x2a, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 692 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x65, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 693 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x68, 694 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 695 0x69, 0x1a, 0x24, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x65, 696 0x73, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x69, 0x74, 697 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x03, 0x0a, 0x12, 0x46, 0x69, 0x6c, 0x74, 698 0x65, 0x72, 0x46, 0x6c, 0x61, 0x6b, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 699 0x0a, 0x10, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 700 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 701 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 702 0x61, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 703 0x0e, 0x70, 0x61, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 704 0x64, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x6e, 705 0x73, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 706 0x32, 0x2a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 707 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 708 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x15, 709 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x50, 710 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x75, 711 0x69, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x68, 0x72, 712 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 713 0x2e, 0x54, 0x65, 0x73, 0x74, 0x53, 0x75, 0x69, 0x74, 0x65, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 714 0x53, 0x75, 0x69, 0x74, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 715 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 716 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 717 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 718 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 719 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x6e, 720 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x62, 0x69, 0x64, 0x18, 0x07, 0x20, 721 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x62, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 722 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 723 0x73, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 724 0x79, 0x42, 0x09, 0x0a, 0x07, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x22, 0x7b, 0x0a, 0x13, 725 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x6b, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 726 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x69, 0x74, 727 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 728 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 729 0x65, 0x73, 0x74, 0x53, 0x75, 0x69, 0x74, 0x65, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x53, 0x75, 730 0x69, 0x74, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 731 0x74, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6d, 732 0x6f, 0x76, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x74, 0x61, 733 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 734 0x63, 0x79, 0x22, 0xbc, 0x04, 0x0a, 0x0e, 0x50, 0x61, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x50, 735 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x61, 736 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x52, 0x61, 737 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x02, 738 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 739 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 740 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x4d, 741 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x6f, 0x72, 742 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x73, 743 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x61, 744 0x62, 0x6c, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x6f, 0x72, 745 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x73, 0x74, 746 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x69, 747 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x66, 748 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x61, 749 0x72, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x66, 0x6f, 0x72, 0x63, 0x65, 750 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x28, 0x0a, 751 0x10, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x6e, 752 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x73, 0x73, 0x52, 0x61, 0x74, 753 0x65, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 754 0x75, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 755 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x12, 756 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 757 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x69, 758 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x18, 0x0b, 759 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x12, 0x47, 0x0a, 0x0b, 760 0x74, 0x65, 0x73, 0x74, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 761 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 762 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x65, 763 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x63, 0x6f, 764 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 765 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 766 0x01, 0x28, 0x05, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 767 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x66, 768 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 769 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, 770 0x74, 0x22, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x66, 0x67, 0x73, 0x12, 771 0x3d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x66, 0x67, 0x18, 0x01, 0x20, 772 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 773 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 774 0x43, 0x66, 0x67, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x66, 0x67, 0x22, 0x94, 775 0x01, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x66, 0x67, 0x12, 0x4d, 0x0a, 0x10, 776 0x70, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 777 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 778 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x73, 779 0x73, 0x52, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0e, 0x70, 0x61, 0x73, 780 0x73, 0x52, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 781 0x65, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 782 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x53, 0x75, 0x69, 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 783 0x6f, 0x70, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6f, 784 0x70, 0x74, 0x4f, 0x75, 0x74, 0x22, 0xcc, 0x01, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 785 0x54, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 786 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x73, 0x74, 0x12, 0x14, 787 0x0a, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x62, 788 0x6f, 0x61, 0x72, 0x64, 0x12, 0x47, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 789 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 790 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x74, 791 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x65, 0x74, 792 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 793 0x04, 0x62, 0x75, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x62, 0x75, 0x67, 794 0x73, 0x22, 0x31, 0x0a, 0x07, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x0b, 0x0a, 0x07, 795 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 796 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 797 0x45, 0x44, 0x10, 0x02, 0x32, 0x77, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x54, 0x65, 0x73, 0x74, 0x53, 798 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 799 0x46, 0x6c, 0x61, 0x6b, 0x79, 0x54, 0x65, 0x73, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x63, 0x68, 0x72, 800 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 801 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x6b, 0x79, 0x52, 0x65, 0x71, 0x75, 802 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 803 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 804 0x46, 0x6c, 0x61, 0x6b, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2f, 0x5a, 805 0x2d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 806 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 807 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 808 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 809} 810 811var ( 812 file_chromiumos_test_api_pre_test_service_proto_rawDescOnce sync.Once 813 file_chromiumos_test_api_pre_test_service_proto_rawDescData = file_chromiumos_test_api_pre_test_service_proto_rawDesc 814) 815 816func file_chromiumos_test_api_pre_test_service_proto_rawDescGZIP() []byte { 817 file_chromiumos_test_api_pre_test_service_proto_rawDescOnce.Do(func() { 818 file_chromiumos_test_api_pre_test_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_test_api_pre_test_service_proto_rawDescData) 819 }) 820 return file_chromiumos_test_api_pre_test_service_proto_rawDescData 821} 822 823var file_chromiumos_test_api_pre_test_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 824var file_chromiumos_test_api_pre_test_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 825var file_chromiumos_test_api_pre_test_service_proto_goTypes = []interface{}{ 826 (FilterTestConfig_Setting)(0), // 0: chromiumos.test.api.FilterTestConfig.Setting 827 (*FilterFlakyRequest)(nil), // 1: chromiumos.test.api.FilterFlakyRequest 828 (*FilterFlakyResponse)(nil), // 2: chromiumos.test.api.FilterFlakyResponse 829 (*StabilitySensorPolicy)(nil), // 3: chromiumos.test.api.StabilitySensorPolicy 830 (*PassRatePolicy)(nil), // 4: chromiumos.test.api.PassRatePolicy 831 (*FilterCfgs)(nil), // 5: chromiumos.test.api.FilterCfgs 832 (*FilterCfg)(nil), // 6: chromiumos.test.api.FilterCfg 833 (*FilterTestConfig)(nil), // 7: chromiumos.test.api.FilterTestConfig 834 (*TestSuite)(nil), // 8: chromiumos.test.api.TestSuite 835} 836var file_chromiumos_test_api_pre_test_service_proto_depIdxs = []int32{ 837 4, // 0: chromiumos.test.api.FilterFlakyRequest.pass_rate_policy:type_name -> chromiumos.test.api.PassRatePolicy 838 3, // 1: chromiumos.test.api.FilterFlakyRequest.stability_sensor_policy:type_name -> chromiumos.test.api.StabilitySensorPolicy 839 8, // 2: chromiumos.test.api.FilterFlakyRequest.test_suites:type_name -> chromiumos.test.api.TestSuite 840 8, // 3: chromiumos.test.api.FilterFlakyResponse.test_suites:type_name -> chromiumos.test.api.TestSuite 841 7, // 4: chromiumos.test.api.PassRatePolicy.testconfigs:type_name -> chromiumos.test.api.FilterTestConfig 842 6, // 5: chromiumos.test.api.FilterCfgs.filter_cfg:type_name -> chromiumos.test.api.FilterCfg 843 4, // 6: chromiumos.test.api.FilterCfg.pass_rate_policy:type_name -> chromiumos.test.api.PassRatePolicy 844 0, // 7: chromiumos.test.api.FilterTestConfig.setting:type_name -> chromiumos.test.api.FilterTestConfig.Setting 845 1, // 8: chromiumos.test.api.PreTestService.FilterFlakyTests:input_type -> chromiumos.test.api.FilterFlakyRequest 846 2, // 9: chromiumos.test.api.PreTestService.FilterFlakyTests:output_type -> chromiumos.test.api.FilterFlakyResponse 847 9, // [9:10] is the sub-list for method output_type 848 8, // [8:9] is the sub-list for method input_type 849 8, // [8:8] is the sub-list for extension type_name 850 8, // [8:8] is the sub-list for extension extendee 851 0, // [0:8] is the sub-list for field type_name 852} 853 854func init() { file_chromiumos_test_api_pre_test_service_proto_init() } 855func file_chromiumos_test_api_pre_test_service_proto_init() { 856 if File_chromiumos_test_api_pre_test_service_proto != nil { 857 return 858 } 859 file_chromiumos_test_api_test_suite_proto_init() 860 if !protoimpl.UnsafeEnabled { 861 file_chromiumos_test_api_pre_test_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 862 switch v := v.(*FilterFlakyRequest); i { 863 case 0: 864 return &v.state 865 case 1: 866 return &v.sizeCache 867 case 2: 868 return &v.unknownFields 869 default: 870 return nil 871 } 872 } 873 file_chromiumos_test_api_pre_test_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 874 switch v := v.(*FilterFlakyResponse); i { 875 case 0: 876 return &v.state 877 case 1: 878 return &v.sizeCache 879 case 2: 880 return &v.unknownFields 881 default: 882 return nil 883 } 884 } 885 file_chromiumos_test_api_pre_test_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 886 switch v := v.(*StabilitySensorPolicy); i { 887 case 0: 888 return &v.state 889 case 1: 890 return &v.sizeCache 891 case 2: 892 return &v.unknownFields 893 default: 894 return nil 895 } 896 } 897 file_chromiumos_test_api_pre_test_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 898 switch v := v.(*PassRatePolicy); i { 899 case 0: 900 return &v.state 901 case 1: 902 return &v.sizeCache 903 case 2: 904 return &v.unknownFields 905 default: 906 return nil 907 } 908 } 909 file_chromiumos_test_api_pre_test_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 910 switch v := v.(*FilterCfgs); i { 911 case 0: 912 return &v.state 913 case 1: 914 return &v.sizeCache 915 case 2: 916 return &v.unknownFields 917 default: 918 return nil 919 } 920 } 921 file_chromiumos_test_api_pre_test_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 922 switch v := v.(*FilterCfg); i { 923 case 0: 924 return &v.state 925 case 1: 926 return &v.sizeCache 927 case 2: 928 return &v.unknownFields 929 default: 930 return nil 931 } 932 } 933 file_chromiumos_test_api_pre_test_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 934 switch v := v.(*FilterTestConfig); i { 935 case 0: 936 return &v.state 937 case 1: 938 return &v.sizeCache 939 case 2: 940 return &v.unknownFields 941 default: 942 return nil 943 } 944 } 945 } 946 file_chromiumos_test_api_pre_test_service_proto_msgTypes[0].OneofWrappers = []interface{}{ 947 (*FilterFlakyRequest_PassRatePolicy)(nil), 948 (*FilterFlakyRequest_StabilitySensorPolicy)(nil), 949 (*FilterFlakyRequest_Board)(nil), 950 } 951 type x struct{} 952 out := protoimpl.TypeBuilder{ 953 File: protoimpl.DescBuilder{ 954 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 955 RawDescriptor: file_chromiumos_test_api_pre_test_service_proto_rawDesc, 956 NumEnums: 1, 957 NumMessages: 7, 958 NumExtensions: 0, 959 NumServices: 1, 960 }, 961 GoTypes: file_chromiumos_test_api_pre_test_service_proto_goTypes, 962 DependencyIndexes: file_chromiumos_test_api_pre_test_service_proto_depIdxs, 963 EnumInfos: file_chromiumos_test_api_pre_test_service_proto_enumTypes, 964 MessageInfos: file_chromiumos_test_api_pre_test_service_proto_msgTypes, 965 }.Build() 966 File_chromiumos_test_api_pre_test_service_proto = out.File 967 file_chromiumos_test_api_pre_test_service_proto_rawDesc = nil 968 file_chromiumos_test_api_pre_test_service_proto_goTypes = nil 969 file_chromiumos_test_api_pre_test_service_proto_depIdxs = nil 970} 971