1// Copyright 2020 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/config/api/resource_config.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// Defines configuration settings for resourced. 28// For more details, see: 29// https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md 30// 31// NEXT ID: 7 32type ResourceConfig struct { 33 state protoimpl.MessageState 34 sizeCache protoimpl.SizeCache 35 unknownFields protoimpl.UnknownFields 36 37 // Power Preferences to apply when the device is on AC power (Plugged-in). 38 Ac *ResourceConfig_PowerSourcePreferences `protobuf:"bytes,5,opt,name=ac,proto3" json:"ac,omitempty"` 39 // Power Preferences to apply when the device is on DC power (Battery). 40 Dc *ResourceConfig_PowerSourcePreferences `protobuf:"bytes,6,opt,name=dc,proto3" json:"dc,omitempty"` 41} 42 43func (x *ResourceConfig) Reset() { 44 *x = ResourceConfig{} 45 if protoimpl.UnsafeEnabled { 46 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[0] 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 ms.StoreMessageInfo(mi) 49 } 50} 51 52func (x *ResourceConfig) String() string { 53 return protoimpl.X.MessageStringOf(x) 54} 55 56func (*ResourceConfig) ProtoMessage() {} 57 58func (x *ResourceConfig) ProtoReflect() protoreflect.Message { 59 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[0] 60 if protoimpl.UnsafeEnabled && x != nil { 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 if ms.LoadMessageInfo() == nil { 63 ms.StoreMessageInfo(mi) 64 } 65 return ms 66 } 67 return mi.MessageOf(x) 68} 69 70// Deprecated: Use ResourceConfig.ProtoReflect.Descriptor instead. 71func (*ResourceConfig) Descriptor() ([]byte, []int) { 72 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0} 73} 74 75func (x *ResourceConfig) GetAc() *ResourceConfig_PowerSourcePreferences { 76 if x != nil { 77 return x.Ac 78 } 79 return nil 80} 81 82func (x *ResourceConfig) GetDc() *ResourceConfig_PowerSourcePreferences { 83 if x != nil { 84 return x.Dc 85 } 86 return nil 87} 88 89// See https://www.kernel.org/doc/html/latest/admin-guide/pm/cpufreq.html 90type ResourceConfig_ConservativeGovernor struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94} 95 96func (x *ResourceConfig_ConservativeGovernor) Reset() { 97 *x = ResourceConfig_ConservativeGovernor{} 98 if protoimpl.UnsafeEnabled { 99 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[1] 100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 101 ms.StoreMessageInfo(mi) 102 } 103} 104 105func (x *ResourceConfig_ConservativeGovernor) String() string { 106 return protoimpl.X.MessageStringOf(x) 107} 108 109func (*ResourceConfig_ConservativeGovernor) ProtoMessage() {} 110 111func (x *ResourceConfig_ConservativeGovernor) ProtoReflect() protoreflect.Message { 112 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[1] 113 if protoimpl.UnsafeEnabled && x != nil { 114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 115 if ms.LoadMessageInfo() == nil { 116 ms.StoreMessageInfo(mi) 117 } 118 return ms 119 } 120 return mi.MessageOf(x) 121} 122 123// Deprecated: Use ResourceConfig_ConservativeGovernor.ProtoReflect.Descriptor instead. 124func (*ResourceConfig_ConservativeGovernor) Descriptor() ([]byte, []int) { 125 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 0} 126} 127 128type ResourceConfig_OndemandGovernor struct { 129 state protoimpl.MessageState 130 sizeCache protoimpl.SizeCache 131 unknownFields protoimpl.UnknownFields 132 133 PowersaveBias uint32 `protobuf:"varint,1,opt,name=powersave_bias,json=powersave-bias,proto3" json:"powersave_bias,omitempty"` 134 // This field has a min of 2ms. If this field is set to 0 or unset, 135 // resourced will not update the sampling_rate on the governor. 136 SamplingRateMs uint32 `protobuf:"varint,2,opt,name=sampling_rate_ms,json=sampling-rate-ms,proto3" json:"sampling_rate_ms,omitempty"` 137} 138 139func (x *ResourceConfig_OndemandGovernor) Reset() { 140 *x = ResourceConfig_OndemandGovernor{} 141 if protoimpl.UnsafeEnabled { 142 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[2] 143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 144 ms.StoreMessageInfo(mi) 145 } 146} 147 148func (x *ResourceConfig_OndemandGovernor) String() string { 149 return protoimpl.X.MessageStringOf(x) 150} 151 152func (*ResourceConfig_OndemandGovernor) ProtoMessage() {} 153 154func (x *ResourceConfig_OndemandGovernor) ProtoReflect() protoreflect.Message { 155 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[2] 156 if protoimpl.UnsafeEnabled && x != nil { 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 if ms.LoadMessageInfo() == nil { 159 ms.StoreMessageInfo(mi) 160 } 161 return ms 162 } 163 return mi.MessageOf(x) 164} 165 166// Deprecated: Use ResourceConfig_OndemandGovernor.ProtoReflect.Descriptor instead. 167func (*ResourceConfig_OndemandGovernor) Descriptor() ([]byte, []int) { 168 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 1} 169} 170 171func (x *ResourceConfig_OndemandGovernor) GetPowersaveBias() uint32 { 172 if x != nil { 173 return x.PowersaveBias 174 } 175 return 0 176} 177 178func (x *ResourceConfig_OndemandGovernor) GetSamplingRateMs() uint32 { 179 if x != nil { 180 return x.SamplingRateMs 181 } 182 return 0 183} 184 185type ResourceConfig_PerformanceGovernor struct { 186 state protoimpl.MessageState 187 sizeCache protoimpl.SizeCache 188 unknownFields protoimpl.UnknownFields 189} 190 191func (x *ResourceConfig_PerformanceGovernor) Reset() { 192 *x = ResourceConfig_PerformanceGovernor{} 193 if protoimpl.UnsafeEnabled { 194 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[3] 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 ms.StoreMessageInfo(mi) 197 } 198} 199 200func (x *ResourceConfig_PerformanceGovernor) String() string { 201 return protoimpl.X.MessageStringOf(x) 202} 203 204func (*ResourceConfig_PerformanceGovernor) ProtoMessage() {} 205 206func (x *ResourceConfig_PerformanceGovernor) ProtoReflect() protoreflect.Message { 207 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[3] 208 if protoimpl.UnsafeEnabled && x != nil { 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 if ms.LoadMessageInfo() == nil { 211 ms.StoreMessageInfo(mi) 212 } 213 return ms 214 } 215 return mi.MessageOf(x) 216} 217 218// Deprecated: Use ResourceConfig_PerformanceGovernor.ProtoReflect.Descriptor instead. 219func (*ResourceConfig_PerformanceGovernor) Descriptor() ([]byte, []int) { 220 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 2} 221} 222 223type ResourceConfig_PowersaveGovernor struct { 224 state protoimpl.MessageState 225 sizeCache protoimpl.SizeCache 226 unknownFields protoimpl.UnknownFields 227} 228 229func (x *ResourceConfig_PowersaveGovernor) Reset() { 230 *x = ResourceConfig_PowersaveGovernor{} 231 if protoimpl.UnsafeEnabled { 232 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[4] 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 ms.StoreMessageInfo(mi) 235 } 236} 237 238func (x *ResourceConfig_PowersaveGovernor) String() string { 239 return protoimpl.X.MessageStringOf(x) 240} 241 242func (*ResourceConfig_PowersaveGovernor) ProtoMessage() {} 243 244func (x *ResourceConfig_PowersaveGovernor) ProtoReflect() protoreflect.Message { 245 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[4] 246 if protoimpl.UnsafeEnabled && x != nil { 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 if ms.LoadMessageInfo() == nil { 249 ms.StoreMessageInfo(mi) 250 } 251 return ms 252 } 253 return mi.MessageOf(x) 254} 255 256// Deprecated: Use ResourceConfig_PowersaveGovernor.ProtoReflect.Descriptor instead. 257func (*ResourceConfig_PowersaveGovernor) Descriptor() ([]byte, []int) { 258 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 3} 259} 260 261type ResourceConfig_SchedutilGovernor struct { 262 state protoimpl.MessageState 263 sizeCache protoimpl.SizeCache 264 unknownFields protoimpl.UnknownFields 265} 266 267func (x *ResourceConfig_SchedutilGovernor) Reset() { 268 *x = ResourceConfig_SchedutilGovernor{} 269 if protoimpl.UnsafeEnabled { 270 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[5] 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 ms.StoreMessageInfo(mi) 273 } 274} 275 276func (x *ResourceConfig_SchedutilGovernor) String() string { 277 return protoimpl.X.MessageStringOf(x) 278} 279 280func (*ResourceConfig_SchedutilGovernor) ProtoMessage() {} 281 282func (x *ResourceConfig_SchedutilGovernor) ProtoReflect() protoreflect.Message { 283 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[5] 284 if protoimpl.UnsafeEnabled && x != nil { 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 286 if ms.LoadMessageInfo() == nil { 287 ms.StoreMessageInfo(mi) 288 } 289 return ms 290 } 291 return mi.MessageOf(x) 292} 293 294// Deprecated: Use ResourceConfig_SchedutilGovernor.ProtoReflect.Descriptor instead. 295func (*ResourceConfig_SchedutilGovernor) Descriptor() ([]byte, []int) { 296 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 4} 297} 298 299type ResourceConfig_UserspaceGovernor struct { 300 state protoimpl.MessageState 301 sizeCache protoimpl.SizeCache 302 unknownFields protoimpl.UnknownFields 303} 304 305func (x *ResourceConfig_UserspaceGovernor) Reset() { 306 *x = ResourceConfig_UserspaceGovernor{} 307 if protoimpl.UnsafeEnabled { 308 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[6] 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 ms.StoreMessageInfo(mi) 311 } 312} 313 314func (x *ResourceConfig_UserspaceGovernor) String() string { 315 return protoimpl.X.MessageStringOf(x) 316} 317 318func (*ResourceConfig_UserspaceGovernor) ProtoMessage() {} 319 320func (x *ResourceConfig_UserspaceGovernor) ProtoReflect() protoreflect.Message { 321 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[6] 322 if protoimpl.UnsafeEnabled && x != nil { 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 if ms.LoadMessageInfo() == nil { 325 ms.StoreMessageInfo(mi) 326 } 327 return ms 328 } 329 return mi.MessageOf(x) 330} 331 332// Deprecated: Use ResourceConfig_UserspaceGovernor.ProtoReflect.Descriptor instead. 333func (*ResourceConfig_UserspaceGovernor) Descriptor() ([]byte, []int) { 334 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 5} 335} 336 337type ResourceConfig_Governor struct { 338 state protoimpl.MessageState 339 sizeCache protoimpl.SizeCache 340 unknownFields protoimpl.UnknownFields 341 342 // Types that are assignable to Governor: 343 // *ResourceConfig_Governor_Conservative 344 // *ResourceConfig_Governor_Ondemand 345 // *ResourceConfig_Governor_Performance 346 // *ResourceConfig_Governor_Powersave 347 // *ResourceConfig_Governor_Schedutil 348 // *ResourceConfig_Governor_Userspace 349 Governor isResourceConfig_Governor_Governor `protobuf_oneof:"governor"` 350} 351 352func (x *ResourceConfig_Governor) Reset() { 353 *x = ResourceConfig_Governor{} 354 if protoimpl.UnsafeEnabled { 355 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[7] 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 ms.StoreMessageInfo(mi) 358 } 359} 360 361func (x *ResourceConfig_Governor) String() string { 362 return protoimpl.X.MessageStringOf(x) 363} 364 365func (*ResourceConfig_Governor) ProtoMessage() {} 366 367func (x *ResourceConfig_Governor) ProtoReflect() protoreflect.Message { 368 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[7] 369 if protoimpl.UnsafeEnabled && x != nil { 370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 371 if ms.LoadMessageInfo() == nil { 372 ms.StoreMessageInfo(mi) 373 } 374 return ms 375 } 376 return mi.MessageOf(x) 377} 378 379// Deprecated: Use ResourceConfig_Governor.ProtoReflect.Descriptor instead. 380func (*ResourceConfig_Governor) Descriptor() ([]byte, []int) { 381 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 6} 382} 383 384func (m *ResourceConfig_Governor) GetGovernor() isResourceConfig_Governor_Governor { 385 if m != nil { 386 return m.Governor 387 } 388 return nil 389} 390 391func (x *ResourceConfig_Governor) GetConservative() *ResourceConfig_ConservativeGovernor { 392 if x, ok := x.GetGovernor().(*ResourceConfig_Governor_Conservative); ok { 393 return x.Conservative 394 } 395 return nil 396} 397 398func (x *ResourceConfig_Governor) GetOndemand() *ResourceConfig_OndemandGovernor { 399 if x, ok := x.GetGovernor().(*ResourceConfig_Governor_Ondemand); ok { 400 return x.Ondemand 401 } 402 return nil 403} 404 405func (x *ResourceConfig_Governor) GetPerformance() *ResourceConfig_PerformanceGovernor { 406 if x, ok := x.GetGovernor().(*ResourceConfig_Governor_Performance); ok { 407 return x.Performance 408 } 409 return nil 410} 411 412func (x *ResourceConfig_Governor) GetPowersave() *ResourceConfig_PowersaveGovernor { 413 if x, ok := x.GetGovernor().(*ResourceConfig_Governor_Powersave); ok { 414 return x.Powersave 415 } 416 return nil 417} 418 419func (x *ResourceConfig_Governor) GetSchedutil() *ResourceConfig_SchedutilGovernor { 420 if x, ok := x.GetGovernor().(*ResourceConfig_Governor_Schedutil); ok { 421 return x.Schedutil 422 } 423 return nil 424} 425 426func (x *ResourceConfig_Governor) GetUserspace() *ResourceConfig_UserspaceGovernor { 427 if x, ok := x.GetGovernor().(*ResourceConfig_Governor_Userspace); ok { 428 return x.Userspace 429 } 430 return nil 431} 432 433type isResourceConfig_Governor_Governor interface { 434 isResourceConfig_Governor_Governor() 435} 436 437type ResourceConfig_Governor_Conservative struct { 438 Conservative *ResourceConfig_ConservativeGovernor `protobuf:"bytes,2,opt,name=conservative,proto3,oneof"` 439} 440 441type ResourceConfig_Governor_Ondemand struct { 442 Ondemand *ResourceConfig_OndemandGovernor `protobuf:"bytes,1,opt,name=ondemand,proto3,oneof"` 443} 444 445type ResourceConfig_Governor_Performance struct { 446 Performance *ResourceConfig_PerformanceGovernor `protobuf:"bytes,3,opt,name=performance,proto3,oneof"` 447} 448 449type ResourceConfig_Governor_Powersave struct { 450 Powersave *ResourceConfig_PowersaveGovernor `protobuf:"bytes,4,opt,name=powersave,proto3,oneof"` 451} 452 453type ResourceConfig_Governor_Schedutil struct { 454 Schedutil *ResourceConfig_SchedutilGovernor `protobuf:"bytes,5,opt,name=schedutil,proto3,oneof"` 455} 456 457type ResourceConfig_Governor_Userspace struct { 458 Userspace *ResourceConfig_UserspaceGovernor `protobuf:"bytes,6,opt,name=userspace,proto3,oneof"` 459} 460 461func (*ResourceConfig_Governor_Conservative) isResourceConfig_Governor_Governor() {} 462 463func (*ResourceConfig_Governor_Ondemand) isResourceConfig_Governor_Governor() {} 464 465func (*ResourceConfig_Governor_Performance) isResourceConfig_Governor_Governor() {} 466 467func (*ResourceConfig_Governor_Powersave) isResourceConfig_Governor_Governor() {} 468 469func (*ResourceConfig_Governor_Schedutil) isResourceConfig_Governor_Governor() {} 470 471func (*ResourceConfig_Governor_Userspace) isResourceConfig_Governor_Governor() {} 472 473type ResourceConfig_DefaultEpp struct { 474 state protoimpl.MessageState 475 sizeCache protoimpl.SizeCache 476 unknownFields protoimpl.UnknownFields 477} 478 479func (x *ResourceConfig_DefaultEpp) Reset() { 480 *x = ResourceConfig_DefaultEpp{} 481 if protoimpl.UnsafeEnabled { 482 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[8] 483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 484 ms.StoreMessageInfo(mi) 485 } 486} 487 488func (x *ResourceConfig_DefaultEpp) String() string { 489 return protoimpl.X.MessageStringOf(x) 490} 491 492func (*ResourceConfig_DefaultEpp) ProtoMessage() {} 493 494func (x *ResourceConfig_DefaultEpp) ProtoReflect() protoreflect.Message { 495 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[8] 496 if protoimpl.UnsafeEnabled && x != nil { 497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 498 if ms.LoadMessageInfo() == nil { 499 ms.StoreMessageInfo(mi) 500 } 501 return ms 502 } 503 return mi.MessageOf(x) 504} 505 506// Deprecated: Use ResourceConfig_DefaultEpp.ProtoReflect.Descriptor instead. 507func (*ResourceConfig_DefaultEpp) Descriptor() ([]byte, []int) { 508 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 7} 509} 510 511type ResourceConfig_PerformanceEpp struct { 512 state protoimpl.MessageState 513 sizeCache protoimpl.SizeCache 514 unknownFields protoimpl.UnknownFields 515} 516 517func (x *ResourceConfig_PerformanceEpp) Reset() { 518 *x = ResourceConfig_PerformanceEpp{} 519 if protoimpl.UnsafeEnabled { 520 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[9] 521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 522 ms.StoreMessageInfo(mi) 523 } 524} 525 526func (x *ResourceConfig_PerformanceEpp) String() string { 527 return protoimpl.X.MessageStringOf(x) 528} 529 530func (*ResourceConfig_PerformanceEpp) ProtoMessage() {} 531 532func (x *ResourceConfig_PerformanceEpp) ProtoReflect() protoreflect.Message { 533 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[9] 534 if protoimpl.UnsafeEnabled && x != nil { 535 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 536 if ms.LoadMessageInfo() == nil { 537 ms.StoreMessageInfo(mi) 538 } 539 return ms 540 } 541 return mi.MessageOf(x) 542} 543 544// Deprecated: Use ResourceConfig_PerformanceEpp.ProtoReflect.Descriptor instead. 545func (*ResourceConfig_PerformanceEpp) Descriptor() ([]byte, []int) { 546 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 8} 547} 548 549type ResourceConfig_BalancePerformanceEpp struct { 550 state protoimpl.MessageState 551 sizeCache protoimpl.SizeCache 552 unknownFields protoimpl.UnknownFields 553} 554 555func (x *ResourceConfig_BalancePerformanceEpp) Reset() { 556 *x = ResourceConfig_BalancePerformanceEpp{} 557 if protoimpl.UnsafeEnabled { 558 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[10] 559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 560 ms.StoreMessageInfo(mi) 561 } 562} 563 564func (x *ResourceConfig_BalancePerformanceEpp) String() string { 565 return protoimpl.X.MessageStringOf(x) 566} 567 568func (*ResourceConfig_BalancePerformanceEpp) ProtoMessage() {} 569 570func (x *ResourceConfig_BalancePerformanceEpp) ProtoReflect() protoreflect.Message { 571 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[10] 572 if protoimpl.UnsafeEnabled && x != nil { 573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 574 if ms.LoadMessageInfo() == nil { 575 ms.StoreMessageInfo(mi) 576 } 577 return ms 578 } 579 return mi.MessageOf(x) 580} 581 582// Deprecated: Use ResourceConfig_BalancePerformanceEpp.ProtoReflect.Descriptor instead. 583func (*ResourceConfig_BalancePerformanceEpp) Descriptor() ([]byte, []int) { 584 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 9} 585} 586 587type ResourceConfig_BalancePowerEpp struct { 588 state protoimpl.MessageState 589 sizeCache protoimpl.SizeCache 590 unknownFields protoimpl.UnknownFields 591} 592 593func (x *ResourceConfig_BalancePowerEpp) Reset() { 594 *x = ResourceConfig_BalancePowerEpp{} 595 if protoimpl.UnsafeEnabled { 596 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[11] 597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 598 ms.StoreMessageInfo(mi) 599 } 600} 601 602func (x *ResourceConfig_BalancePowerEpp) String() string { 603 return protoimpl.X.MessageStringOf(x) 604} 605 606func (*ResourceConfig_BalancePowerEpp) ProtoMessage() {} 607 608func (x *ResourceConfig_BalancePowerEpp) ProtoReflect() protoreflect.Message { 609 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[11] 610 if protoimpl.UnsafeEnabled && x != nil { 611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 612 if ms.LoadMessageInfo() == nil { 613 ms.StoreMessageInfo(mi) 614 } 615 return ms 616 } 617 return mi.MessageOf(x) 618} 619 620// Deprecated: Use ResourceConfig_BalancePowerEpp.ProtoReflect.Descriptor instead. 621func (*ResourceConfig_BalancePowerEpp) Descriptor() ([]byte, []int) { 622 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 10} 623} 624 625type ResourceConfig_PowerEpp struct { 626 state protoimpl.MessageState 627 sizeCache protoimpl.SizeCache 628 unknownFields protoimpl.UnknownFields 629} 630 631func (x *ResourceConfig_PowerEpp) Reset() { 632 *x = ResourceConfig_PowerEpp{} 633 if protoimpl.UnsafeEnabled { 634 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[12] 635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 636 ms.StoreMessageInfo(mi) 637 } 638} 639 640func (x *ResourceConfig_PowerEpp) String() string { 641 return protoimpl.X.MessageStringOf(x) 642} 643 644func (*ResourceConfig_PowerEpp) ProtoMessage() {} 645 646func (x *ResourceConfig_PowerEpp) ProtoReflect() protoreflect.Message { 647 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[12] 648 if protoimpl.UnsafeEnabled && x != nil { 649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 650 if ms.LoadMessageInfo() == nil { 651 ms.StoreMessageInfo(mi) 652 } 653 return ms 654 } 655 return mi.MessageOf(x) 656} 657 658// Deprecated: Use ResourceConfig_PowerEpp.ProtoReflect.Descriptor instead. 659func (*ResourceConfig_PowerEpp) Descriptor() ([]byte, []int) { 660 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 11} 661} 662 663type ResourceConfig_EnergyPerformancePreference struct { 664 state protoimpl.MessageState 665 sizeCache protoimpl.SizeCache 666 unknownFields protoimpl.UnknownFields 667 668 // Types that are assignable to Epp: 669 // *ResourceConfig_EnergyPerformancePreference_Default 670 // *ResourceConfig_EnergyPerformancePreference_Performance 671 // *ResourceConfig_EnergyPerformancePreference_BalancePerformance 672 // *ResourceConfig_EnergyPerformancePreference_BalancePower 673 // *ResourceConfig_EnergyPerformancePreference_Power 674 Epp isResourceConfig_EnergyPerformancePreference_Epp `protobuf_oneof:"epp"` 675} 676 677func (x *ResourceConfig_EnergyPerformancePreference) Reset() { 678 *x = ResourceConfig_EnergyPerformancePreference{} 679 if protoimpl.UnsafeEnabled { 680 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[13] 681 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 682 ms.StoreMessageInfo(mi) 683 } 684} 685 686func (x *ResourceConfig_EnergyPerformancePreference) String() string { 687 return protoimpl.X.MessageStringOf(x) 688} 689 690func (*ResourceConfig_EnergyPerformancePreference) ProtoMessage() {} 691 692func (x *ResourceConfig_EnergyPerformancePreference) ProtoReflect() protoreflect.Message { 693 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[13] 694 if protoimpl.UnsafeEnabled && x != nil { 695 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 696 if ms.LoadMessageInfo() == nil { 697 ms.StoreMessageInfo(mi) 698 } 699 return ms 700 } 701 return mi.MessageOf(x) 702} 703 704// Deprecated: Use ResourceConfig_EnergyPerformancePreference.ProtoReflect.Descriptor instead. 705func (*ResourceConfig_EnergyPerformancePreference) Descriptor() ([]byte, []int) { 706 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 12} 707} 708 709func (m *ResourceConfig_EnergyPerformancePreference) GetEpp() isResourceConfig_EnergyPerformancePreference_Epp { 710 if m != nil { 711 return m.Epp 712 } 713 return nil 714} 715 716func (x *ResourceConfig_EnergyPerformancePreference) GetDefault() *ResourceConfig_DefaultEpp { 717 if x, ok := x.GetEpp().(*ResourceConfig_EnergyPerformancePreference_Default); ok { 718 return x.Default 719 } 720 return nil 721} 722 723func (x *ResourceConfig_EnergyPerformancePreference) GetPerformance() *ResourceConfig_PerformanceEpp { 724 if x, ok := x.GetEpp().(*ResourceConfig_EnergyPerformancePreference_Performance); ok { 725 return x.Performance 726 } 727 return nil 728} 729 730func (x *ResourceConfig_EnergyPerformancePreference) GetBalancePerformance() *ResourceConfig_BalancePerformanceEpp { 731 if x, ok := x.GetEpp().(*ResourceConfig_EnergyPerformancePreference_BalancePerformance); ok { 732 return x.BalancePerformance 733 } 734 return nil 735} 736 737func (x *ResourceConfig_EnergyPerformancePreference) GetBalancePower() *ResourceConfig_BalancePowerEpp { 738 if x, ok := x.GetEpp().(*ResourceConfig_EnergyPerformancePreference_BalancePower); ok { 739 return x.BalancePower 740 } 741 return nil 742} 743 744func (x *ResourceConfig_EnergyPerformancePreference) GetPower() *ResourceConfig_PowerEpp { 745 if x, ok := x.GetEpp().(*ResourceConfig_EnergyPerformancePreference_Power); ok { 746 return x.Power 747 } 748 return nil 749} 750 751type isResourceConfig_EnergyPerformancePreference_Epp interface { 752 isResourceConfig_EnergyPerformancePreference_Epp() 753} 754 755type ResourceConfig_EnergyPerformancePreference_Default struct { 756 Default *ResourceConfig_DefaultEpp `protobuf:"bytes,1,opt,name=default,proto3,oneof"` 757} 758 759type ResourceConfig_EnergyPerformancePreference_Performance struct { 760 Performance *ResourceConfig_PerformanceEpp `protobuf:"bytes,2,opt,name=performance,proto3,oneof"` 761} 762 763type ResourceConfig_EnergyPerformancePreference_BalancePerformance struct { 764 BalancePerformance *ResourceConfig_BalancePerformanceEpp `protobuf:"bytes,3,opt,name=balance_performance,json=balance-performance,proto3,oneof"` 765} 766 767type ResourceConfig_EnergyPerformancePreference_BalancePower struct { 768 BalancePower *ResourceConfig_BalancePowerEpp `protobuf:"bytes,4,opt,name=balance_power,json=balance-power,proto3,oneof"` 769} 770 771type ResourceConfig_EnergyPerformancePreference_Power struct { 772 Power *ResourceConfig_PowerEpp `protobuf:"bytes,5,opt,name=power,proto3,oneof"` 773} 774 775func (*ResourceConfig_EnergyPerformancePreference_Default) isResourceConfig_EnergyPerformancePreference_Epp() { 776} 777 778func (*ResourceConfig_EnergyPerformancePreference_Performance) isResourceConfig_EnergyPerformancePreference_Epp() { 779} 780 781func (*ResourceConfig_EnergyPerformancePreference_BalancePerformance) isResourceConfig_EnergyPerformancePreference_Epp() { 782} 783 784func (*ResourceConfig_EnergyPerformancePreference_BalancePower) isResourceConfig_EnergyPerformancePreference_Epp() { 785} 786 787func (*ResourceConfig_EnergyPerformancePreference_Power) isResourceConfig_EnergyPerformancePreference_Epp() { 788} 789 790type ResourceConfig_CpuOfflineSmallCore struct { 791 state protoimpl.MessageState 792 sizeCache protoimpl.SizeCache 793 unknownFields protoimpl.UnknownFields 794 795 // The minimum number of online threads the device must have. If not set, 796 // resourced sets default to 2. 797 MinActiveThreads uint32 `protobuf:"varint,1,opt,name=min_active_threads,json=min-active-threads,proto3" json:"min_active_threads,omitempty"` 798} 799 800func (x *ResourceConfig_CpuOfflineSmallCore) Reset() { 801 *x = ResourceConfig_CpuOfflineSmallCore{} 802 if protoimpl.UnsafeEnabled { 803 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[14] 804 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 805 ms.StoreMessageInfo(mi) 806 } 807} 808 809func (x *ResourceConfig_CpuOfflineSmallCore) String() string { 810 return protoimpl.X.MessageStringOf(x) 811} 812 813func (*ResourceConfig_CpuOfflineSmallCore) ProtoMessage() {} 814 815func (x *ResourceConfig_CpuOfflineSmallCore) ProtoReflect() protoreflect.Message { 816 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[14] 817 if protoimpl.UnsafeEnabled && x != nil { 818 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 819 if ms.LoadMessageInfo() == nil { 820 ms.StoreMessageInfo(mi) 821 } 822 return ms 823 } 824 return mi.MessageOf(x) 825} 826 827// Deprecated: Use ResourceConfig_CpuOfflineSmallCore.ProtoReflect.Descriptor instead. 828func (*ResourceConfig_CpuOfflineSmallCore) Descriptor() ([]byte, []int) { 829 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 13} 830} 831 832func (x *ResourceConfig_CpuOfflineSmallCore) GetMinActiveThreads() uint32 { 833 if x != nil { 834 return x.MinActiveThreads 835 } 836 return 0 837} 838 839type ResourceConfig_CpuOfflineSMT struct { 840 state protoimpl.MessageState 841 sizeCache protoimpl.SizeCache 842 unknownFields protoimpl.UnknownFields 843 844 // The minimum number of online threads the device must have. If not set, 845 // resourced sets default to 2. 846 MinActiveThreads uint32 `protobuf:"varint,1,opt,name=min_active_threads,json=min-active-threads,proto3" json:"min_active_threads,omitempty"` 847} 848 849func (x *ResourceConfig_CpuOfflineSMT) Reset() { 850 *x = ResourceConfig_CpuOfflineSMT{} 851 if protoimpl.UnsafeEnabled { 852 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[15] 853 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 854 ms.StoreMessageInfo(mi) 855 } 856} 857 858func (x *ResourceConfig_CpuOfflineSMT) String() string { 859 return protoimpl.X.MessageStringOf(x) 860} 861 862func (*ResourceConfig_CpuOfflineSMT) ProtoMessage() {} 863 864func (x *ResourceConfig_CpuOfflineSMT) ProtoReflect() protoreflect.Message { 865 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[15] 866 if protoimpl.UnsafeEnabled && x != nil { 867 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 868 if ms.LoadMessageInfo() == nil { 869 ms.StoreMessageInfo(mi) 870 } 871 return ms 872 } 873 return mi.MessageOf(x) 874} 875 876// Deprecated: Use ResourceConfig_CpuOfflineSMT.ProtoReflect.Descriptor instead. 877func (*ResourceConfig_CpuOfflineSMT) Descriptor() ([]byte, []int) { 878 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 14} 879} 880 881func (x *ResourceConfig_CpuOfflineSMT) GetMinActiveThreads() uint32 { 882 if x != nil { 883 return x.MinActiveThreads 884 } 885 return 0 886} 887 888type ResourceConfig_CpuOfflineHalf struct { 889 state protoimpl.MessageState 890 sizeCache protoimpl.SizeCache 891 unknownFields protoimpl.UnknownFields 892 893 // The minimum number of online threads the device must have. If not set, 894 // resourced sets default to 2. 895 MinActiveThreads uint32 `protobuf:"varint,1,opt,name=min_active_threads,json=min-active-threads,proto3" json:"min_active_threads,omitempty"` 896} 897 898func (x *ResourceConfig_CpuOfflineHalf) Reset() { 899 *x = ResourceConfig_CpuOfflineHalf{} 900 if protoimpl.UnsafeEnabled { 901 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[16] 902 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 903 ms.StoreMessageInfo(mi) 904 } 905} 906 907func (x *ResourceConfig_CpuOfflineHalf) String() string { 908 return protoimpl.X.MessageStringOf(x) 909} 910 911func (*ResourceConfig_CpuOfflineHalf) ProtoMessage() {} 912 913func (x *ResourceConfig_CpuOfflineHalf) ProtoReflect() protoreflect.Message { 914 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[16] 915 if protoimpl.UnsafeEnabled && x != nil { 916 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 917 if ms.LoadMessageInfo() == nil { 918 ms.StoreMessageInfo(mi) 919 } 920 return ms 921 } 922 return mi.MessageOf(x) 923} 924 925// Deprecated: Use ResourceConfig_CpuOfflineHalf.ProtoReflect.Descriptor instead. 926func (*ResourceConfig_CpuOfflineHalf) Descriptor() ([]byte, []int) { 927 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 15} 928} 929 930func (x *ResourceConfig_CpuOfflineHalf) GetMinActiveThreads() uint32 { 931 if x != nil { 932 return x.MinActiveThreads 933 } 934 return 0 935} 936 937type ResourceConfig_CpuOfflinePreference struct { 938 state protoimpl.MessageState 939 sizeCache protoimpl.SizeCache 940 unknownFields protoimpl.UnknownFields 941 942 // Types that are assignable to CpuOffline: 943 // *ResourceConfig_CpuOfflinePreference_SmallCore 944 // *ResourceConfig_CpuOfflinePreference_Smt 945 // *ResourceConfig_CpuOfflinePreference_Half 946 CpuOffline isResourceConfig_CpuOfflinePreference_CpuOffline `protobuf_oneof:"cpu_offline"` 947} 948 949func (x *ResourceConfig_CpuOfflinePreference) Reset() { 950 *x = ResourceConfig_CpuOfflinePreference{} 951 if protoimpl.UnsafeEnabled { 952 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[17] 953 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 954 ms.StoreMessageInfo(mi) 955 } 956} 957 958func (x *ResourceConfig_CpuOfflinePreference) String() string { 959 return protoimpl.X.MessageStringOf(x) 960} 961 962func (*ResourceConfig_CpuOfflinePreference) ProtoMessage() {} 963 964func (x *ResourceConfig_CpuOfflinePreference) ProtoReflect() protoreflect.Message { 965 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[17] 966 if protoimpl.UnsafeEnabled && x != nil { 967 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 968 if ms.LoadMessageInfo() == nil { 969 ms.StoreMessageInfo(mi) 970 } 971 return ms 972 } 973 return mi.MessageOf(x) 974} 975 976// Deprecated: Use ResourceConfig_CpuOfflinePreference.ProtoReflect.Descriptor instead. 977func (*ResourceConfig_CpuOfflinePreference) Descriptor() ([]byte, []int) { 978 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 16} 979} 980 981func (m *ResourceConfig_CpuOfflinePreference) GetCpuOffline() isResourceConfig_CpuOfflinePreference_CpuOffline { 982 if m != nil { 983 return m.CpuOffline 984 } 985 return nil 986} 987 988func (x *ResourceConfig_CpuOfflinePreference) GetSmallCore() *ResourceConfig_CpuOfflineSmallCore { 989 if x, ok := x.GetCpuOffline().(*ResourceConfig_CpuOfflinePreference_SmallCore); ok { 990 return x.SmallCore 991 } 992 return nil 993} 994 995func (x *ResourceConfig_CpuOfflinePreference) GetSmt() *ResourceConfig_CpuOfflineSMT { 996 if x, ok := x.GetCpuOffline().(*ResourceConfig_CpuOfflinePreference_Smt); ok { 997 return x.Smt 998 } 999 return nil 1000} 1001 1002func (x *ResourceConfig_CpuOfflinePreference) GetHalf() *ResourceConfig_CpuOfflineHalf { 1003 if x, ok := x.GetCpuOffline().(*ResourceConfig_CpuOfflinePreference_Half); ok { 1004 return x.Half 1005 } 1006 return nil 1007} 1008 1009type isResourceConfig_CpuOfflinePreference_CpuOffline interface { 1010 isResourceConfig_CpuOfflinePreference_CpuOffline() 1011} 1012 1013type ResourceConfig_CpuOfflinePreference_SmallCore struct { 1014 SmallCore *ResourceConfig_CpuOfflineSmallCore `protobuf:"bytes,1,opt,name=small_core,json=small-core,proto3,oneof"` 1015} 1016 1017type ResourceConfig_CpuOfflinePreference_Smt struct { 1018 Smt *ResourceConfig_CpuOfflineSMT `protobuf:"bytes,2,opt,name=smt,proto3,oneof"` 1019} 1020 1021type ResourceConfig_CpuOfflinePreference_Half struct { 1022 Half *ResourceConfig_CpuOfflineHalf `protobuf:"bytes,3,opt,name=half,proto3,oneof"` 1023} 1024 1025func (*ResourceConfig_CpuOfflinePreference_SmallCore) isResourceConfig_CpuOfflinePreference_CpuOffline() { 1026} 1027 1028func (*ResourceConfig_CpuOfflinePreference_Smt) isResourceConfig_CpuOfflinePreference_CpuOffline() {} 1029 1030func (*ResourceConfig_CpuOfflinePreference_Half) isResourceConfig_CpuOfflinePreference_CpuOffline() {} 1031 1032type ResourceConfig_PowerPreferences struct { 1033 state protoimpl.MessageState 1034 sizeCache protoimpl.SizeCache 1035 unknownFields protoimpl.UnknownFields 1036 1037 Governor *ResourceConfig_Governor `protobuf:"bytes,1,opt,name=governor,proto3" json:"governor,omitempty"` 1038 Epp *ResourceConfig_EnergyPerformancePreference `protobuf:"bytes,2,opt,name=epp,proto3" json:"epp,omitempty"` 1039 CpuOffline *ResourceConfig_CpuOfflinePreference `protobuf:"bytes,3,opt,name=cpu_offline,json=cpu-offline,proto3" json:"cpu_offline,omitempty"` 1040 CpufreqDisableBoost bool `protobuf:"varint,4,opt,name=cpufreq_disable_boost,json=cpufreq-disable-boost,proto3" json:"cpufreq_disable_boost,omitempty"` 1041} 1042 1043func (x *ResourceConfig_PowerPreferences) Reset() { 1044 *x = ResourceConfig_PowerPreferences{} 1045 if protoimpl.UnsafeEnabled { 1046 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[18] 1047 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1048 ms.StoreMessageInfo(mi) 1049 } 1050} 1051 1052func (x *ResourceConfig_PowerPreferences) String() string { 1053 return protoimpl.X.MessageStringOf(x) 1054} 1055 1056func (*ResourceConfig_PowerPreferences) ProtoMessage() {} 1057 1058func (x *ResourceConfig_PowerPreferences) ProtoReflect() protoreflect.Message { 1059 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[18] 1060 if protoimpl.UnsafeEnabled && x != nil { 1061 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1062 if ms.LoadMessageInfo() == nil { 1063 ms.StoreMessageInfo(mi) 1064 } 1065 return ms 1066 } 1067 return mi.MessageOf(x) 1068} 1069 1070// Deprecated: Use ResourceConfig_PowerPreferences.ProtoReflect.Descriptor instead. 1071func (*ResourceConfig_PowerPreferences) Descriptor() ([]byte, []int) { 1072 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 17} 1073} 1074 1075func (x *ResourceConfig_PowerPreferences) GetGovernor() *ResourceConfig_Governor { 1076 if x != nil { 1077 return x.Governor 1078 } 1079 return nil 1080} 1081 1082func (x *ResourceConfig_PowerPreferences) GetEpp() *ResourceConfig_EnergyPerformancePreference { 1083 if x != nil { 1084 return x.Epp 1085 } 1086 return nil 1087} 1088 1089func (x *ResourceConfig_PowerPreferences) GetCpuOffline() *ResourceConfig_CpuOfflinePreference { 1090 if x != nil { 1091 return x.CpuOffline 1092 } 1093 return nil 1094} 1095 1096func (x *ResourceConfig_PowerPreferences) GetCpufreqDisableBoost() bool { 1097 if x != nil { 1098 return x.CpufreqDisableBoost 1099 } 1100 return false 1101} 1102 1103type ResourceConfig_PowerSourcePreferences struct { 1104 state protoimpl.MessageState 1105 sizeCache protoimpl.SizeCache 1106 unknownFields protoimpl.UnknownFields 1107 1108 // PowerPreferences to apply at boot and when no other activity is active. 1109 DefaultPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,1,opt,name=default_power_preferences,json=default-power-preferences,proto3" json:"default_power_preferences,omitempty"` 1110 // PowerPreferences to apply when RTC audio is active. 1111 WebRtcPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,2,opt,name=web_rtc_power_preferences,json=web-rtc-power-preferences,proto3" json:"web_rtc_power_preferences,omitempty"` 1112 // PowerPreferences to apply when full screen video is active. 1113 FullscreenVideoPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,3,opt,name=fullscreen_video_power_preferences,json=fullscreen-power-preferences,proto3" json:"fullscreen_video_power_preferences,omitempty"` 1114 // PowerPreferences to apply when performance mode is active. 1115 VmBootPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,4,opt,name=vm_boot_power_preferences,json=vm-boot-power-preferences,proto3" json:"vm_boot_power_preferences,omitempty"` 1116 // PowerPreferences to apply when playing a Borealis game. 1117 BorealisGamingPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,5,opt,name=borealis_gaming_power_preferences,json=borealis-gaming-power-preferences,proto3" json:"borealis_gaming_power_preferences,omitempty"` 1118 // PowerPreferences to apply when playing an ARCVM game. 1119 ArcvmGamingPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,6,opt,name=arcvm_gaming_power_preferences,json=arcvm-gaming-power-preferences,proto3" json:"arcvm_gaming_power_preferences,omitempty"` 1120 // PowerPreferences to apply when Battery Saver mode is on. 1121 BatterySaverPowerPreferences *ResourceConfig_PowerPreferences `protobuf:"bytes,7,opt,name=battery_saver_power_preferences,json=battery-saver-power-preferences,proto3" json:"battery_saver_power_preferences,omitempty"` 1122} 1123 1124func (x *ResourceConfig_PowerSourcePreferences) Reset() { 1125 *x = ResourceConfig_PowerSourcePreferences{} 1126 if protoimpl.UnsafeEnabled { 1127 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[19] 1128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1129 ms.StoreMessageInfo(mi) 1130 } 1131} 1132 1133func (x *ResourceConfig_PowerSourcePreferences) String() string { 1134 return protoimpl.X.MessageStringOf(x) 1135} 1136 1137func (*ResourceConfig_PowerSourcePreferences) ProtoMessage() {} 1138 1139func (x *ResourceConfig_PowerSourcePreferences) ProtoReflect() protoreflect.Message { 1140 mi := &file_chromiumos_config_api_resource_config_proto_msgTypes[19] 1141 if protoimpl.UnsafeEnabled && x != nil { 1142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1143 if ms.LoadMessageInfo() == nil { 1144 ms.StoreMessageInfo(mi) 1145 } 1146 return ms 1147 } 1148 return mi.MessageOf(x) 1149} 1150 1151// Deprecated: Use ResourceConfig_PowerSourcePreferences.ProtoReflect.Descriptor instead. 1152func (*ResourceConfig_PowerSourcePreferences) Descriptor() ([]byte, []int) { 1153 return file_chromiumos_config_api_resource_config_proto_rawDescGZIP(), []int{0, 18} 1154} 1155 1156func (x *ResourceConfig_PowerSourcePreferences) GetDefaultPowerPreferences() *ResourceConfig_PowerPreferences { 1157 if x != nil { 1158 return x.DefaultPowerPreferences 1159 } 1160 return nil 1161} 1162 1163func (x *ResourceConfig_PowerSourcePreferences) GetWebRtcPowerPreferences() *ResourceConfig_PowerPreferences { 1164 if x != nil { 1165 return x.WebRtcPowerPreferences 1166 } 1167 return nil 1168} 1169 1170func (x *ResourceConfig_PowerSourcePreferences) GetFullscreenVideoPowerPreferences() *ResourceConfig_PowerPreferences { 1171 if x != nil { 1172 return x.FullscreenVideoPowerPreferences 1173 } 1174 return nil 1175} 1176 1177func (x *ResourceConfig_PowerSourcePreferences) GetVmBootPowerPreferences() *ResourceConfig_PowerPreferences { 1178 if x != nil { 1179 return x.VmBootPowerPreferences 1180 } 1181 return nil 1182} 1183 1184func (x *ResourceConfig_PowerSourcePreferences) GetBorealisGamingPowerPreferences() *ResourceConfig_PowerPreferences { 1185 if x != nil { 1186 return x.BorealisGamingPowerPreferences 1187 } 1188 return nil 1189} 1190 1191func (x *ResourceConfig_PowerSourcePreferences) GetArcvmGamingPowerPreferences() *ResourceConfig_PowerPreferences { 1192 if x != nil { 1193 return x.ArcvmGamingPowerPreferences 1194 } 1195 return nil 1196} 1197 1198func (x *ResourceConfig_PowerSourcePreferences) GetBatterySaverPowerPreferences() *ResourceConfig_PowerPreferences { 1199 if x != nil { 1200 return x.BatterySaverPowerPreferences 1201 } 1202 return nil 1203} 1204 1205var File_chromiumos_config_api_resource_config_proto protoreflect.FileDescriptor 1206 1207var file_chromiumos_config_api_resource_config_proto_rawDesc = []byte{ 1208 0x0a, 0x2b, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 1209 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1210 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 1211 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1212 0x2e, 0x61, 0x70, 0x69, 0x22, 0xb4, 0x19, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1213 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, 0x02, 0x61, 0x63, 0x18, 0x05, 0x20, 1214 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 1215 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 1216 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 1217 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 1218 0x73, 0x52, 0x02, 0x61, 0x63, 0x12, 0x4c, 0x0a, 0x02, 0x64, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 1219 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 1220 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 1221 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 1222 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 1223 0x02, 0x64, 0x63, 0x1a, 0x16, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 1224 0x69, 0x76, 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x1a, 0x66, 0x0a, 0x10, 0x4f, 1225 0x6e, 0x64, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x12, 1226 0x26, 0x0a, 0x0e, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x62, 0x69, 0x61, 1227 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x61, 1228 0x76, 0x65, 0x2d, 0x62, 0x69, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x61, 0x6d, 0x70, 0x6c, 1229 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 1230 0x0d, 0x52, 0x10, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x2d, 0x72, 0x61, 0x74, 0x65, 1231 0x2d, 0x6d, 0x73, 0x1a, 0x15, 0x0a, 0x13, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 1232 0x63, 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x1a, 0x13, 0x0a, 0x11, 0x50, 0x6f, 1233 0x77, 0x65, 0x72, 0x73, 0x61, 0x76, 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x1a, 1234 0x13, 0x0a, 0x11, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x74, 0x69, 0x6c, 0x47, 0x6f, 0x76, 0x65, 1235 0x72, 0x6e, 0x6f, 0x72, 0x1a, 0x13, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x73, 0x70, 0x61, 0x63, 1236 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x1a, 0xb8, 0x04, 0x0a, 0x08, 0x47, 0x6f, 1237 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x12, 0x60, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x72, 1238 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 1239 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1240 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 1241 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 1242 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 1243 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x54, 0x0a, 0x08, 0x6f, 0x6e, 0x64, 0x65, 1244 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x68, 0x72, 1245 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 1246 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1247 0x67, 0x2e, 0x4f, 0x6e, 0x64, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 1248 0x6f, 0x72, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x6e, 0x64, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x5d, 1249 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 1250 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 1251 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 1252 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 1253 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x48, 0x00, 1254 0x52, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, 1255 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x61, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 1256 0x32, 0x37, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 1257 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1258 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x61, 0x76, 1259 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x09, 0x70, 0x6f, 0x77, 1260 0x65, 0x72, 0x73, 0x61, 0x76, 0x65, 0x12, 0x57, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 1261 0x74, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x68, 0x72, 0x6f, 1262 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 1263 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1264 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x74, 0x69, 0x6c, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 1265 0x6f, 0x72, 0x48, 0x00, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x74, 0x69, 0x6c, 0x12, 1266 0x57, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 1267 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 1268 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 1269 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x70, 1270 0x61, 0x63, 0x65, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x09, 0x75, 1271 0x73, 0x65, 0x72, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x67, 0x6f, 0x76, 0x65, 1272 0x72, 0x6e, 0x6f, 0x72, 0x1a, 0x0c, 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 1273 0x70, 0x70, 0x1a, 0x10, 0x0a, 0x0e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 1274 0x65, 0x45, 0x70, 0x70, 0x1a, 0x17, 0x0a, 0x15, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x50, 1275 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x70, 0x1a, 0x11, 0x0a, 1276 0x0f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x70, 0x70, 1277 0x1a, 0x0a, 0x0a, 0x08, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x70, 0x70, 0x1a, 0xe4, 0x03, 0x0a, 1278 0x1b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 1279 0x63, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x07, 1280 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 1281 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1282 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 1283 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x70, 0x70, 0x48, 1284 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x58, 0x0a, 0x0b, 0x70, 0x65, 1285 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 1286 0x34, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 1287 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1288 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 1289 0x63, 0x65, 0x45, 0x70, 0x70, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 1290 0x61, 0x6e, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x13, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 1291 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 1292 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 1293 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 1294 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 1295 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x70, 0x48, 0x00, 1296 0x52, 0x13, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2d, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 1297 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 1298 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 1299 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1300 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 1301 0x66, 0x69, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 1302 0x45, 0x70, 0x70, 0x48, 0x00, 0x52, 0x0d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2d, 0x70, 1303 0x6f, 0x77, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 1304 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 1305 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 1306 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 1307 0x45, 0x70, 0x70, 0x48, 0x00, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x05, 0x0a, 0x03, 1308 0x65, 0x70, 0x70, 0x1a, 0x45, 0x0a, 0x13, 0x43, 0x70, 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 1309 0x65, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x43, 0x6f, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x6d, 0x69, 1310 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 1311 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x2d, 0x61, 0x63, 0x74, 0x69, 1312 0x76, 0x65, 0x2d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x1a, 0x3f, 0x0a, 0x0d, 0x43, 0x70, 1313 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x4d, 0x54, 0x12, 0x2e, 0x0a, 0x12, 0x6d, 1314 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 1315 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x2d, 0x61, 0x63, 0x74, 1316 0x69, 0x76, 0x65, 0x2d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x1a, 0x40, 0x0a, 0x0e, 0x43, 1317 0x70, 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x61, 0x6c, 0x66, 0x12, 0x2e, 0x0a, 1318 0x12, 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 1319 0x61, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x2d, 0x61, 1320 0x63, 0x74, 0x69, 0x76, 0x65, 0x2d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x1a, 0x97, 0x02, 1321 0x0a, 0x14, 0x43, 0x70, 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x65, 0x66, 1322 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x0a, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 1323 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x68, 0x72, 1324 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 1325 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1326 0x67, 0x2e, 0x43, 0x70, 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6d, 0x61, 0x6c, 1327 0x6c, 0x43, 0x6f, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x2d, 0x63, 1328 0x6f, 0x72, 0x65, 0x12, 0x47, 0x0a, 0x03, 0x73, 0x6d, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 1329 0x32, 0x33, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 1330 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1331 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x70, 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 1332 0x6e, 0x65, 0x53, 0x4d, 0x54, 0x48, 0x00, 0x52, 0x03, 0x73, 0x6d, 0x74, 0x12, 0x4a, 0x0a, 0x04, 1333 0x68, 0x61, 0x6c, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x68, 0x72, 1334 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 1335 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1336 0x67, 0x2e, 0x43, 0x70, 0x75, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x61, 0x6c, 0x66, 1337 0x48, 0x00, 0x52, 0x04, 0x68, 0x61, 0x6c, 0x66, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x70, 0x75, 0x5f, 1338 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x1a, 0xc7, 0x02, 0x0a, 0x10, 0x50, 0x6f, 0x77, 0x65, 1339 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x08, 1340 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 1341 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 1342 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 1343 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x52, 0x08, 1344 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x6f, 0x72, 0x12, 0x53, 0x0a, 0x03, 0x65, 0x70, 0x70, 0x18, 1345 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 1346 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 1347 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x45, 0x6e, 0x65, 1348 0x72, 0x67, 0x79, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 1349 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x65, 0x70, 0x70, 0x12, 0x5c, 0x0a, 1350 0x0b, 0x63, 0x70, 0x75, 0x5f, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 1351 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 1352 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 1353 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x70, 0x75, 0x4f, 0x66, 0x66, 1354 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0b, 1355 0x63, 0x70, 0x75, 0x2d, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x63, 1356 0x70, 0x75, 0x66, 0x72, 0x65, 0x71, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 1357 0x6f, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x63, 0x70, 0x75, 0x66, 1358 0x72, 0x65, 0x71, 0x2d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x2d, 0x62, 0x6f, 0x6f, 0x73, 1359 0x74, 0x1a, 0x87, 0x07, 0x0a, 0x16, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 1360 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x74, 0x0a, 0x19, 1361 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x70, 0x72, 1362 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 1363 0x36, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 1364 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1365 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 1366 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x19, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 1367 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 1368 0x65, 0x73, 0x12, 0x74, 0x0a, 0x19, 0x77, 0x65, 0x62, 0x5f, 0x72, 0x74, 0x63, 0x5f, 0x70, 0x6f, 1369 0x77, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 1370 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 1371 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 1372 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 1373 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x19, 0x77, 1374 0x65, 0x62, 0x2d, 0x72, 0x74, 0x63, 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x65, 1375 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x22, 0x66, 0x75, 0x6c, 1376 0x6c, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x70, 0x6f, 1377 0x77, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 1378 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 1379 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 1380 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 1381 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x1c, 0x66, 1382 0x75, 0x6c, 0x6c, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 1383 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x74, 0x0a, 0x19, 0x76, 1384 0x6d, 0x5f, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 1385 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 1386 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 1387 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 1388 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 1389 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x19, 0x76, 0x6d, 0x2d, 0x62, 0x6f, 0x6f, 0x74, 0x2d, 1390 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 1391 0x73, 0x12, 0x84, 0x01, 0x0a, 0x21, 0x62, 0x6f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x73, 0x5f, 0x67, 1392 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 1393 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 1394 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1395 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 1396 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 1397 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x21, 0x62, 0x6f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x73, 0x2d, 1398 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x65, 1399 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x7e, 0x0a, 0x1e, 0x61, 0x72, 0x63, 0x76, 1400 0x6d, 0x5f, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x70, 1401 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 1402 0x32, 0x36, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 1403 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1404 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x50, 0x72, 0x65, 1405 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x1e, 0x61, 0x72, 0x63, 0x76, 0x6d, 0x2d, 1406 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x65, 1407 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x1f, 0x62, 0x61, 0x74, 1408 0x74, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x61, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 1409 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 1410 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 1411 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 1412 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x50, 1413 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x1f, 0x62, 0x61, 0x74, 0x74, 1414 0x65, 0x72, 0x79, 0x2d, 0x73, 0x61, 0x76, 0x65, 0x72, 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x2d, 1415 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x2a, 0x5a, 0x28, 0x67, 1416 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 1417 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1418 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1419} 1420 1421var ( 1422 file_chromiumos_config_api_resource_config_proto_rawDescOnce sync.Once 1423 file_chromiumos_config_api_resource_config_proto_rawDescData = file_chromiumos_config_api_resource_config_proto_rawDesc 1424) 1425 1426func file_chromiumos_config_api_resource_config_proto_rawDescGZIP() []byte { 1427 file_chromiumos_config_api_resource_config_proto_rawDescOnce.Do(func() { 1428 file_chromiumos_config_api_resource_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_resource_config_proto_rawDescData) 1429 }) 1430 return file_chromiumos_config_api_resource_config_proto_rawDescData 1431} 1432 1433var file_chromiumos_config_api_resource_config_proto_msgTypes = make([]protoimpl.MessageInfo, 20) 1434var file_chromiumos_config_api_resource_config_proto_goTypes = []interface{}{ 1435 (*ResourceConfig)(nil), // 0: chromiumos.config.api.ResourceConfig 1436 (*ResourceConfig_ConservativeGovernor)(nil), // 1: chromiumos.config.api.ResourceConfig.ConservativeGovernor 1437 (*ResourceConfig_OndemandGovernor)(nil), // 2: chromiumos.config.api.ResourceConfig.OndemandGovernor 1438 (*ResourceConfig_PerformanceGovernor)(nil), // 3: chromiumos.config.api.ResourceConfig.PerformanceGovernor 1439 (*ResourceConfig_PowersaveGovernor)(nil), // 4: chromiumos.config.api.ResourceConfig.PowersaveGovernor 1440 (*ResourceConfig_SchedutilGovernor)(nil), // 5: chromiumos.config.api.ResourceConfig.SchedutilGovernor 1441 (*ResourceConfig_UserspaceGovernor)(nil), // 6: chromiumos.config.api.ResourceConfig.UserspaceGovernor 1442 (*ResourceConfig_Governor)(nil), // 7: chromiumos.config.api.ResourceConfig.Governor 1443 (*ResourceConfig_DefaultEpp)(nil), // 8: chromiumos.config.api.ResourceConfig.DefaultEpp 1444 (*ResourceConfig_PerformanceEpp)(nil), // 9: chromiumos.config.api.ResourceConfig.PerformanceEpp 1445 (*ResourceConfig_BalancePerformanceEpp)(nil), // 10: chromiumos.config.api.ResourceConfig.BalancePerformanceEpp 1446 (*ResourceConfig_BalancePowerEpp)(nil), // 11: chromiumos.config.api.ResourceConfig.BalancePowerEpp 1447 (*ResourceConfig_PowerEpp)(nil), // 12: chromiumos.config.api.ResourceConfig.PowerEpp 1448 (*ResourceConfig_EnergyPerformancePreference)(nil), // 13: chromiumos.config.api.ResourceConfig.EnergyPerformancePreference 1449 (*ResourceConfig_CpuOfflineSmallCore)(nil), // 14: chromiumos.config.api.ResourceConfig.CpuOfflineSmallCore 1450 (*ResourceConfig_CpuOfflineSMT)(nil), // 15: chromiumos.config.api.ResourceConfig.CpuOfflineSMT 1451 (*ResourceConfig_CpuOfflineHalf)(nil), // 16: chromiumos.config.api.ResourceConfig.CpuOfflineHalf 1452 (*ResourceConfig_CpuOfflinePreference)(nil), // 17: chromiumos.config.api.ResourceConfig.CpuOfflinePreference 1453 (*ResourceConfig_PowerPreferences)(nil), // 18: chromiumos.config.api.ResourceConfig.PowerPreferences 1454 (*ResourceConfig_PowerSourcePreferences)(nil), // 19: chromiumos.config.api.ResourceConfig.PowerSourcePreferences 1455} 1456var file_chromiumos_config_api_resource_config_proto_depIdxs = []int32{ 1457 19, // 0: chromiumos.config.api.ResourceConfig.ac:type_name -> chromiumos.config.api.ResourceConfig.PowerSourcePreferences 1458 19, // 1: chromiumos.config.api.ResourceConfig.dc:type_name -> chromiumos.config.api.ResourceConfig.PowerSourcePreferences 1459 1, // 2: chromiumos.config.api.ResourceConfig.Governor.conservative:type_name -> chromiumos.config.api.ResourceConfig.ConservativeGovernor 1460 2, // 3: chromiumos.config.api.ResourceConfig.Governor.ondemand:type_name -> chromiumos.config.api.ResourceConfig.OndemandGovernor 1461 3, // 4: chromiumos.config.api.ResourceConfig.Governor.performance:type_name -> chromiumos.config.api.ResourceConfig.PerformanceGovernor 1462 4, // 5: chromiumos.config.api.ResourceConfig.Governor.powersave:type_name -> chromiumos.config.api.ResourceConfig.PowersaveGovernor 1463 5, // 6: chromiumos.config.api.ResourceConfig.Governor.schedutil:type_name -> chromiumos.config.api.ResourceConfig.SchedutilGovernor 1464 6, // 7: chromiumos.config.api.ResourceConfig.Governor.userspace:type_name -> chromiumos.config.api.ResourceConfig.UserspaceGovernor 1465 8, // 8: chromiumos.config.api.ResourceConfig.EnergyPerformancePreference.default:type_name -> chromiumos.config.api.ResourceConfig.DefaultEpp 1466 9, // 9: chromiumos.config.api.ResourceConfig.EnergyPerformancePreference.performance:type_name -> chromiumos.config.api.ResourceConfig.PerformanceEpp 1467 10, // 10: chromiumos.config.api.ResourceConfig.EnergyPerformancePreference.balance_performance:type_name -> chromiumos.config.api.ResourceConfig.BalancePerformanceEpp 1468 11, // 11: chromiumos.config.api.ResourceConfig.EnergyPerformancePreference.balance_power:type_name -> chromiumos.config.api.ResourceConfig.BalancePowerEpp 1469 12, // 12: chromiumos.config.api.ResourceConfig.EnergyPerformancePreference.power:type_name -> chromiumos.config.api.ResourceConfig.PowerEpp 1470 14, // 13: chromiumos.config.api.ResourceConfig.CpuOfflinePreference.small_core:type_name -> chromiumos.config.api.ResourceConfig.CpuOfflineSmallCore 1471 15, // 14: chromiumos.config.api.ResourceConfig.CpuOfflinePreference.smt:type_name -> chromiumos.config.api.ResourceConfig.CpuOfflineSMT 1472 16, // 15: chromiumos.config.api.ResourceConfig.CpuOfflinePreference.half:type_name -> chromiumos.config.api.ResourceConfig.CpuOfflineHalf 1473 7, // 16: chromiumos.config.api.ResourceConfig.PowerPreferences.governor:type_name -> chromiumos.config.api.ResourceConfig.Governor 1474 13, // 17: chromiumos.config.api.ResourceConfig.PowerPreferences.epp:type_name -> chromiumos.config.api.ResourceConfig.EnergyPerformancePreference 1475 17, // 18: chromiumos.config.api.ResourceConfig.PowerPreferences.cpu_offline:type_name -> chromiumos.config.api.ResourceConfig.CpuOfflinePreference 1476 18, // 19: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.default_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1477 18, // 20: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.web_rtc_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1478 18, // 21: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.fullscreen_video_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1479 18, // 22: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.vm_boot_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1480 18, // 23: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.borealis_gaming_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1481 18, // 24: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.arcvm_gaming_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1482 18, // 25: chromiumos.config.api.ResourceConfig.PowerSourcePreferences.battery_saver_power_preferences:type_name -> chromiumos.config.api.ResourceConfig.PowerPreferences 1483 26, // [26:26] is the sub-list for method output_type 1484 26, // [26:26] is the sub-list for method input_type 1485 26, // [26:26] is the sub-list for extension type_name 1486 26, // [26:26] is the sub-list for extension extendee 1487 0, // [0:26] is the sub-list for field type_name 1488} 1489 1490func init() { file_chromiumos_config_api_resource_config_proto_init() } 1491func file_chromiumos_config_api_resource_config_proto_init() { 1492 if File_chromiumos_config_api_resource_config_proto != nil { 1493 return 1494 } 1495 if !protoimpl.UnsafeEnabled { 1496 file_chromiumos_config_api_resource_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1497 switch v := v.(*ResourceConfig); i { 1498 case 0: 1499 return &v.state 1500 case 1: 1501 return &v.sizeCache 1502 case 2: 1503 return &v.unknownFields 1504 default: 1505 return nil 1506 } 1507 } 1508 file_chromiumos_config_api_resource_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1509 switch v := v.(*ResourceConfig_ConservativeGovernor); i { 1510 case 0: 1511 return &v.state 1512 case 1: 1513 return &v.sizeCache 1514 case 2: 1515 return &v.unknownFields 1516 default: 1517 return nil 1518 } 1519 } 1520 file_chromiumos_config_api_resource_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1521 switch v := v.(*ResourceConfig_OndemandGovernor); i { 1522 case 0: 1523 return &v.state 1524 case 1: 1525 return &v.sizeCache 1526 case 2: 1527 return &v.unknownFields 1528 default: 1529 return nil 1530 } 1531 } 1532 file_chromiumos_config_api_resource_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1533 switch v := v.(*ResourceConfig_PerformanceGovernor); i { 1534 case 0: 1535 return &v.state 1536 case 1: 1537 return &v.sizeCache 1538 case 2: 1539 return &v.unknownFields 1540 default: 1541 return nil 1542 } 1543 } 1544 file_chromiumos_config_api_resource_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1545 switch v := v.(*ResourceConfig_PowersaveGovernor); i { 1546 case 0: 1547 return &v.state 1548 case 1: 1549 return &v.sizeCache 1550 case 2: 1551 return &v.unknownFields 1552 default: 1553 return nil 1554 } 1555 } 1556 file_chromiumos_config_api_resource_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1557 switch v := v.(*ResourceConfig_SchedutilGovernor); i { 1558 case 0: 1559 return &v.state 1560 case 1: 1561 return &v.sizeCache 1562 case 2: 1563 return &v.unknownFields 1564 default: 1565 return nil 1566 } 1567 } 1568 file_chromiumos_config_api_resource_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1569 switch v := v.(*ResourceConfig_UserspaceGovernor); i { 1570 case 0: 1571 return &v.state 1572 case 1: 1573 return &v.sizeCache 1574 case 2: 1575 return &v.unknownFields 1576 default: 1577 return nil 1578 } 1579 } 1580 file_chromiumos_config_api_resource_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1581 switch v := v.(*ResourceConfig_Governor); i { 1582 case 0: 1583 return &v.state 1584 case 1: 1585 return &v.sizeCache 1586 case 2: 1587 return &v.unknownFields 1588 default: 1589 return nil 1590 } 1591 } 1592 file_chromiumos_config_api_resource_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1593 switch v := v.(*ResourceConfig_DefaultEpp); i { 1594 case 0: 1595 return &v.state 1596 case 1: 1597 return &v.sizeCache 1598 case 2: 1599 return &v.unknownFields 1600 default: 1601 return nil 1602 } 1603 } 1604 file_chromiumos_config_api_resource_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1605 switch v := v.(*ResourceConfig_PerformanceEpp); i { 1606 case 0: 1607 return &v.state 1608 case 1: 1609 return &v.sizeCache 1610 case 2: 1611 return &v.unknownFields 1612 default: 1613 return nil 1614 } 1615 } 1616 file_chromiumos_config_api_resource_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1617 switch v := v.(*ResourceConfig_BalancePerformanceEpp); i { 1618 case 0: 1619 return &v.state 1620 case 1: 1621 return &v.sizeCache 1622 case 2: 1623 return &v.unknownFields 1624 default: 1625 return nil 1626 } 1627 } 1628 file_chromiumos_config_api_resource_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1629 switch v := v.(*ResourceConfig_BalancePowerEpp); i { 1630 case 0: 1631 return &v.state 1632 case 1: 1633 return &v.sizeCache 1634 case 2: 1635 return &v.unknownFields 1636 default: 1637 return nil 1638 } 1639 } 1640 file_chromiumos_config_api_resource_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1641 switch v := v.(*ResourceConfig_PowerEpp); i { 1642 case 0: 1643 return &v.state 1644 case 1: 1645 return &v.sizeCache 1646 case 2: 1647 return &v.unknownFields 1648 default: 1649 return nil 1650 } 1651 } 1652 file_chromiumos_config_api_resource_config_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1653 switch v := v.(*ResourceConfig_EnergyPerformancePreference); i { 1654 case 0: 1655 return &v.state 1656 case 1: 1657 return &v.sizeCache 1658 case 2: 1659 return &v.unknownFields 1660 default: 1661 return nil 1662 } 1663 } 1664 file_chromiumos_config_api_resource_config_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1665 switch v := v.(*ResourceConfig_CpuOfflineSmallCore); i { 1666 case 0: 1667 return &v.state 1668 case 1: 1669 return &v.sizeCache 1670 case 2: 1671 return &v.unknownFields 1672 default: 1673 return nil 1674 } 1675 } 1676 file_chromiumos_config_api_resource_config_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1677 switch v := v.(*ResourceConfig_CpuOfflineSMT); i { 1678 case 0: 1679 return &v.state 1680 case 1: 1681 return &v.sizeCache 1682 case 2: 1683 return &v.unknownFields 1684 default: 1685 return nil 1686 } 1687 } 1688 file_chromiumos_config_api_resource_config_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1689 switch v := v.(*ResourceConfig_CpuOfflineHalf); i { 1690 case 0: 1691 return &v.state 1692 case 1: 1693 return &v.sizeCache 1694 case 2: 1695 return &v.unknownFields 1696 default: 1697 return nil 1698 } 1699 } 1700 file_chromiumos_config_api_resource_config_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1701 switch v := v.(*ResourceConfig_CpuOfflinePreference); i { 1702 case 0: 1703 return &v.state 1704 case 1: 1705 return &v.sizeCache 1706 case 2: 1707 return &v.unknownFields 1708 default: 1709 return nil 1710 } 1711 } 1712 file_chromiumos_config_api_resource_config_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 1713 switch v := v.(*ResourceConfig_PowerPreferences); i { 1714 case 0: 1715 return &v.state 1716 case 1: 1717 return &v.sizeCache 1718 case 2: 1719 return &v.unknownFields 1720 default: 1721 return nil 1722 } 1723 } 1724 file_chromiumos_config_api_resource_config_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 1725 switch v := v.(*ResourceConfig_PowerSourcePreferences); i { 1726 case 0: 1727 return &v.state 1728 case 1: 1729 return &v.sizeCache 1730 case 2: 1731 return &v.unknownFields 1732 default: 1733 return nil 1734 } 1735 } 1736 } 1737 file_chromiumos_config_api_resource_config_proto_msgTypes[7].OneofWrappers = []interface{}{ 1738 (*ResourceConfig_Governor_Conservative)(nil), 1739 (*ResourceConfig_Governor_Ondemand)(nil), 1740 (*ResourceConfig_Governor_Performance)(nil), 1741 (*ResourceConfig_Governor_Powersave)(nil), 1742 (*ResourceConfig_Governor_Schedutil)(nil), 1743 (*ResourceConfig_Governor_Userspace)(nil), 1744 } 1745 file_chromiumos_config_api_resource_config_proto_msgTypes[13].OneofWrappers = []interface{}{ 1746 (*ResourceConfig_EnergyPerformancePreference_Default)(nil), 1747 (*ResourceConfig_EnergyPerformancePreference_Performance)(nil), 1748 (*ResourceConfig_EnergyPerformancePreference_BalancePerformance)(nil), 1749 (*ResourceConfig_EnergyPerformancePreference_BalancePower)(nil), 1750 (*ResourceConfig_EnergyPerformancePreference_Power)(nil), 1751 } 1752 file_chromiumos_config_api_resource_config_proto_msgTypes[17].OneofWrappers = []interface{}{ 1753 (*ResourceConfig_CpuOfflinePreference_SmallCore)(nil), 1754 (*ResourceConfig_CpuOfflinePreference_Smt)(nil), 1755 (*ResourceConfig_CpuOfflinePreference_Half)(nil), 1756 } 1757 type x struct{} 1758 out := protoimpl.TypeBuilder{ 1759 File: protoimpl.DescBuilder{ 1760 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1761 RawDescriptor: file_chromiumos_config_api_resource_config_proto_rawDesc, 1762 NumEnums: 0, 1763 NumMessages: 20, 1764 NumExtensions: 0, 1765 NumServices: 0, 1766 }, 1767 GoTypes: file_chromiumos_config_api_resource_config_proto_goTypes, 1768 DependencyIndexes: file_chromiumos_config_api_resource_config_proto_depIdxs, 1769 MessageInfos: file_chromiumos_config_api_resource_config_proto_msgTypes, 1770 }.Build() 1771 File_chromiumos_config_api_resource_config_proto = out.File 1772 file_chromiumos_config_api_resource_config_proto_rawDesc = nil 1773 file_chromiumos_config_api_resource_config_proto_goTypes = nil 1774 file_chromiumos_config_api_resource_config_proto_depIdxs = nil 1775} 1776