gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/overload/v3/overload.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/config/overload/v3/overload.proto 6 7 package envoy_config_overload_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "gitee.com/ks-custle/core-gm/go-control-plane/envoy/annotations" 12 v3 "gitee.com/ks-custle/core-gm/go-control-plane/envoy/type/v3" 13 _ "github.com/envoyproxy/protoc-gen-validate/validate" 14 proto "github.com/golang/protobuf/proto" 15 any "github.com/golang/protobuf/ptypes/any" 16 duration "github.com/golang/protobuf/ptypes/duration" 17 _struct "github.com/golang/protobuf/ptypes/struct" 18 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 19 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 20 reflect "reflect" 21 sync "sync" 22 ) 23 24 const ( 25 // Verify that this generated code is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 27 // Verify that runtime/protoimpl is sufficiently up-to-date. 28 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 29 ) 30 31 // This is a compile-time assertion that a sufficiently up-to-date version 32 // of the legacy proto package is being used. 33 const _ = proto.ProtoPackageIsVersion4 34 35 type ScaleTimersOverloadActionConfig_TimerType int32 36 37 const ( 38 // Unsupported value; users must explicitly specify the timer they want scaled. 39 ScaleTimersOverloadActionConfig_UNSPECIFIED ScaleTimersOverloadActionConfig_TimerType = 0 40 // Adjusts the idle timer for downstream HTTP connections that takes effect when there are no active streams. 41 // This affects the value of :ref:`HttpConnectionManager.common_http_protocol_options.idle_timeout 42 // <envoy_v3_api_field_config.core.v3.HttpProtocolOptions.idle_timeout>` 43 ScaleTimersOverloadActionConfig_HTTP_DOWNSTREAM_CONNECTION_IDLE ScaleTimersOverloadActionConfig_TimerType = 1 44 // Adjusts the idle timer for HTTP streams initiated by downstream clients. 45 // This affects the value of :ref:`RouteAction.idle_timeout <envoy_v3_api_field_config.route.v3.RouteAction.idle_timeout>` and 46 // :ref:`HttpConnectionManager.stream_idle_timeout 47 // <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>` 48 ScaleTimersOverloadActionConfig_HTTP_DOWNSTREAM_STREAM_IDLE ScaleTimersOverloadActionConfig_TimerType = 2 49 // Adjusts the timer for how long downstream clients have to finish transport-level negotiations 50 // before the connection is closed. 51 // This affects the value of 52 // :ref:`FilterChain.transport_socket_connect_timeout <envoy_v3_api_field_config.listener.v3.FilterChain.transport_socket_connect_timeout>`. 53 ScaleTimersOverloadActionConfig_TRANSPORT_SOCKET_CONNECT ScaleTimersOverloadActionConfig_TimerType = 3 54 ) 55 56 // Enum value maps for ScaleTimersOverloadActionConfig_TimerType. 57 var ( 58 ScaleTimersOverloadActionConfig_TimerType_name = map[int32]string{ 59 0: "UNSPECIFIED", 60 1: "HTTP_DOWNSTREAM_CONNECTION_IDLE", 61 2: "HTTP_DOWNSTREAM_STREAM_IDLE", 62 3: "TRANSPORT_SOCKET_CONNECT", 63 } 64 ScaleTimersOverloadActionConfig_TimerType_value = map[string]int32{ 65 "UNSPECIFIED": 0, 66 "HTTP_DOWNSTREAM_CONNECTION_IDLE": 1, 67 "HTTP_DOWNSTREAM_STREAM_IDLE": 2, 68 "TRANSPORT_SOCKET_CONNECT": 3, 69 } 70 ) 71 72 func (x ScaleTimersOverloadActionConfig_TimerType) Enum() *ScaleTimersOverloadActionConfig_TimerType { 73 p := new(ScaleTimersOverloadActionConfig_TimerType) 74 *p = x 75 return p 76 } 77 78 func (x ScaleTimersOverloadActionConfig_TimerType) String() string { 79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 80 } 81 82 func (ScaleTimersOverloadActionConfig_TimerType) Descriptor() protoreflect.EnumDescriptor { 83 return file_envoy_config_overload_v3_overload_proto_enumTypes[0].Descriptor() 84 } 85 86 func (ScaleTimersOverloadActionConfig_TimerType) Type() protoreflect.EnumType { 87 return &file_envoy_config_overload_v3_overload_proto_enumTypes[0] 88 } 89 90 func (x ScaleTimersOverloadActionConfig_TimerType) Number() protoreflect.EnumNumber { 91 return protoreflect.EnumNumber(x) 92 } 93 94 // Deprecated: Use ScaleTimersOverloadActionConfig_TimerType.Descriptor instead. 95 func (ScaleTimersOverloadActionConfig_TimerType) EnumDescriptor() ([]byte, []int) { 96 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{4, 0} 97 } 98 99 type ResourceMonitor struct { 100 state protoimpl.MessageState 101 sizeCache protoimpl.SizeCache 102 unknownFields protoimpl.UnknownFields 103 104 // The name of the resource monitor to instantiate. Must match a registered 105 // resource monitor type. 106 // See the :ref:`extensions listed in typed_config below <extension_category_envoy.resource_monitors>` for the default list of available resource monitor. 107 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 108 // Configuration for the resource monitor being instantiated. 109 // [#extension-category: envoy.resource_monitors] 110 // 111 // Types that are assignable to ConfigType: 112 // *ResourceMonitor_TypedConfig 113 // *ResourceMonitor_HiddenEnvoyDeprecatedConfig 114 ConfigType isResourceMonitor_ConfigType `protobuf_oneof:"config_type"` 115 } 116 117 func (x *ResourceMonitor) Reset() { 118 *x = ResourceMonitor{} 119 if protoimpl.UnsafeEnabled { 120 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[0] 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 ms.StoreMessageInfo(mi) 123 } 124 } 125 126 func (x *ResourceMonitor) String() string { 127 return protoimpl.X.MessageStringOf(x) 128 } 129 130 func (*ResourceMonitor) ProtoMessage() {} 131 132 func (x *ResourceMonitor) ProtoReflect() protoreflect.Message { 133 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[0] 134 if protoimpl.UnsafeEnabled && x != nil { 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 if ms.LoadMessageInfo() == nil { 137 ms.StoreMessageInfo(mi) 138 } 139 return ms 140 } 141 return mi.MessageOf(x) 142 } 143 144 // Deprecated: Use ResourceMonitor.ProtoReflect.Descriptor instead. 145 func (*ResourceMonitor) Descriptor() ([]byte, []int) { 146 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{0} 147 } 148 149 func (x *ResourceMonitor) GetName() string { 150 if x != nil { 151 return x.Name 152 } 153 return "" 154 } 155 156 func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType { 157 if m != nil { 158 return m.ConfigType 159 } 160 return nil 161 } 162 163 func (x *ResourceMonitor) GetTypedConfig() *any.Any { 164 if x, ok := x.GetConfigType().(*ResourceMonitor_TypedConfig); ok { 165 return x.TypedConfig 166 } 167 return nil 168 } 169 170 // Deprecated: Do not use. 171 func (x *ResourceMonitor) GetHiddenEnvoyDeprecatedConfig() *_struct.Struct { 172 if x, ok := x.GetConfigType().(*ResourceMonitor_HiddenEnvoyDeprecatedConfig); ok { 173 return x.HiddenEnvoyDeprecatedConfig 174 } 175 return nil 176 } 177 178 type isResourceMonitor_ConfigType interface { 179 isResourceMonitor_ConfigType() 180 } 181 182 type ResourceMonitor_TypedConfig struct { 183 TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"` 184 } 185 186 type ResourceMonitor_HiddenEnvoyDeprecatedConfig struct { 187 // Deprecated: Do not use. 188 HiddenEnvoyDeprecatedConfig *_struct.Struct `protobuf:"bytes,2,opt,name=hidden_envoy_deprecated_config,json=hiddenEnvoyDeprecatedConfig,proto3,oneof"` 189 } 190 191 func (*ResourceMonitor_TypedConfig) isResourceMonitor_ConfigType() {} 192 193 func (*ResourceMonitor_HiddenEnvoyDeprecatedConfig) isResourceMonitor_ConfigType() {} 194 195 type ThresholdTrigger struct { 196 state protoimpl.MessageState 197 sizeCache protoimpl.SizeCache 198 unknownFields protoimpl.UnknownFields 199 200 // If the resource pressure is greater than or equal to this value, the trigger 201 // will enter saturation. 202 Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` 203 } 204 205 func (x *ThresholdTrigger) Reset() { 206 *x = ThresholdTrigger{} 207 if protoimpl.UnsafeEnabled { 208 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[1] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 ms.StoreMessageInfo(mi) 211 } 212 } 213 214 func (x *ThresholdTrigger) String() string { 215 return protoimpl.X.MessageStringOf(x) 216 } 217 218 func (*ThresholdTrigger) ProtoMessage() {} 219 220 func (x *ThresholdTrigger) ProtoReflect() protoreflect.Message { 221 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[1] 222 if protoimpl.UnsafeEnabled && x != nil { 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 if ms.LoadMessageInfo() == nil { 225 ms.StoreMessageInfo(mi) 226 } 227 return ms 228 } 229 return mi.MessageOf(x) 230 } 231 232 // Deprecated: Use ThresholdTrigger.ProtoReflect.Descriptor instead. 233 func (*ThresholdTrigger) Descriptor() ([]byte, []int) { 234 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{1} 235 } 236 237 func (x *ThresholdTrigger) GetValue() float64 { 238 if x != nil { 239 return x.Value 240 } 241 return 0 242 } 243 244 type ScaledTrigger struct { 245 state protoimpl.MessageState 246 sizeCache protoimpl.SizeCache 247 unknownFields protoimpl.UnknownFields 248 249 // If the resource pressure is greater than this value, the trigger will be in the 250 // :ref:`scaling <arch_overview_overload_manager-triggers-state>` state with value 251 // `(pressure - scaling_threshold) / (saturation_threshold - scaling_threshold)`. 252 ScalingThreshold float64 `protobuf:"fixed64,1,opt,name=scaling_threshold,json=scalingThreshold,proto3" json:"scaling_threshold,omitempty"` 253 // If the resource pressure is greater than this value, the trigger will enter saturation. 254 SaturationThreshold float64 `protobuf:"fixed64,2,opt,name=saturation_threshold,json=saturationThreshold,proto3" json:"saturation_threshold,omitempty"` 255 } 256 257 func (x *ScaledTrigger) Reset() { 258 *x = ScaledTrigger{} 259 if protoimpl.UnsafeEnabled { 260 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[2] 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 ms.StoreMessageInfo(mi) 263 } 264 } 265 266 func (x *ScaledTrigger) String() string { 267 return protoimpl.X.MessageStringOf(x) 268 } 269 270 func (*ScaledTrigger) ProtoMessage() {} 271 272 func (x *ScaledTrigger) ProtoReflect() protoreflect.Message { 273 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[2] 274 if protoimpl.UnsafeEnabled && x != nil { 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 if ms.LoadMessageInfo() == nil { 277 ms.StoreMessageInfo(mi) 278 } 279 return ms 280 } 281 return mi.MessageOf(x) 282 } 283 284 // Deprecated: Use ScaledTrigger.ProtoReflect.Descriptor instead. 285 func (*ScaledTrigger) Descriptor() ([]byte, []int) { 286 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{2} 287 } 288 289 func (x *ScaledTrigger) GetScalingThreshold() float64 { 290 if x != nil { 291 return x.ScalingThreshold 292 } 293 return 0 294 } 295 296 func (x *ScaledTrigger) GetSaturationThreshold() float64 { 297 if x != nil { 298 return x.SaturationThreshold 299 } 300 return 0 301 } 302 303 type Trigger struct { 304 state protoimpl.MessageState 305 sizeCache protoimpl.SizeCache 306 unknownFields protoimpl.UnknownFields 307 308 // The name of the resource this is a trigger for. 309 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 310 // Types that are assignable to TriggerOneof: 311 // *Trigger_Threshold 312 // *Trigger_Scaled 313 TriggerOneof isTrigger_TriggerOneof `protobuf_oneof:"trigger_oneof"` 314 } 315 316 func (x *Trigger) Reset() { 317 *x = Trigger{} 318 if protoimpl.UnsafeEnabled { 319 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[3] 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 ms.StoreMessageInfo(mi) 322 } 323 } 324 325 func (x *Trigger) String() string { 326 return protoimpl.X.MessageStringOf(x) 327 } 328 329 func (*Trigger) ProtoMessage() {} 330 331 func (x *Trigger) ProtoReflect() protoreflect.Message { 332 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[3] 333 if protoimpl.UnsafeEnabled && x != nil { 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 335 if ms.LoadMessageInfo() == nil { 336 ms.StoreMessageInfo(mi) 337 } 338 return ms 339 } 340 return mi.MessageOf(x) 341 } 342 343 // Deprecated: Use Trigger.ProtoReflect.Descriptor instead. 344 func (*Trigger) Descriptor() ([]byte, []int) { 345 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{3} 346 } 347 348 func (x *Trigger) GetName() string { 349 if x != nil { 350 return x.Name 351 } 352 return "" 353 } 354 355 func (m *Trigger) GetTriggerOneof() isTrigger_TriggerOneof { 356 if m != nil { 357 return m.TriggerOneof 358 } 359 return nil 360 } 361 362 func (x *Trigger) GetThreshold() *ThresholdTrigger { 363 if x, ok := x.GetTriggerOneof().(*Trigger_Threshold); ok { 364 return x.Threshold 365 } 366 return nil 367 } 368 369 func (x *Trigger) GetScaled() *ScaledTrigger { 370 if x, ok := x.GetTriggerOneof().(*Trigger_Scaled); ok { 371 return x.Scaled 372 } 373 return nil 374 } 375 376 type isTrigger_TriggerOneof interface { 377 isTrigger_TriggerOneof() 378 } 379 380 type Trigger_Threshold struct { 381 Threshold *ThresholdTrigger `protobuf:"bytes,2,opt,name=threshold,proto3,oneof"` 382 } 383 384 type Trigger_Scaled struct { 385 Scaled *ScaledTrigger `protobuf:"bytes,3,opt,name=scaled,proto3,oneof"` 386 } 387 388 func (*Trigger_Threshold) isTrigger_TriggerOneof() {} 389 390 func (*Trigger_Scaled) isTrigger_TriggerOneof() {} 391 392 // Typed configuration for the "envoy.overload_actions.reduce_timeouts" action. See 393 // :ref:`the docs <config_overload_manager_reducing_timeouts>` for an example of how to configure 394 // the action with different timeouts and minimum values. 395 type ScaleTimersOverloadActionConfig struct { 396 state protoimpl.MessageState 397 sizeCache protoimpl.SizeCache 398 unknownFields protoimpl.UnknownFields 399 400 // A set of timer scaling rules to be applied. 401 TimerScaleFactors []*ScaleTimersOverloadActionConfig_ScaleTimer `protobuf:"bytes,1,rep,name=timer_scale_factors,json=timerScaleFactors,proto3" json:"timer_scale_factors,omitempty"` 402 } 403 404 func (x *ScaleTimersOverloadActionConfig) Reset() { 405 *x = ScaleTimersOverloadActionConfig{} 406 if protoimpl.UnsafeEnabled { 407 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[4] 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 ms.StoreMessageInfo(mi) 410 } 411 } 412 413 func (x *ScaleTimersOverloadActionConfig) String() string { 414 return protoimpl.X.MessageStringOf(x) 415 } 416 417 func (*ScaleTimersOverloadActionConfig) ProtoMessage() {} 418 419 func (x *ScaleTimersOverloadActionConfig) ProtoReflect() protoreflect.Message { 420 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[4] 421 if protoimpl.UnsafeEnabled && x != nil { 422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 423 if ms.LoadMessageInfo() == nil { 424 ms.StoreMessageInfo(mi) 425 } 426 return ms 427 } 428 return mi.MessageOf(x) 429 } 430 431 // Deprecated: Use ScaleTimersOverloadActionConfig.ProtoReflect.Descriptor instead. 432 func (*ScaleTimersOverloadActionConfig) Descriptor() ([]byte, []int) { 433 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{4} 434 } 435 436 func (x *ScaleTimersOverloadActionConfig) GetTimerScaleFactors() []*ScaleTimersOverloadActionConfig_ScaleTimer { 437 if x != nil { 438 return x.TimerScaleFactors 439 } 440 return nil 441 } 442 443 type OverloadAction struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 448 // The name of the overload action. This is just a well-known string that listeners can 449 // use for registering callbacks. Custom overload actions should be named using reverse 450 // DNS to ensure uniqueness. 451 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 452 // A set of triggers for this action. The state of the action is the maximum 453 // state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners 454 // are notified when the overload action changes state. 455 Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"` 456 // Configuration for the action being instantiated. 457 TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` 458 } 459 460 func (x *OverloadAction) Reset() { 461 *x = OverloadAction{} 462 if protoimpl.UnsafeEnabled { 463 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[5] 464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 465 ms.StoreMessageInfo(mi) 466 } 467 } 468 469 func (x *OverloadAction) String() string { 470 return protoimpl.X.MessageStringOf(x) 471 } 472 473 func (*OverloadAction) ProtoMessage() {} 474 475 func (x *OverloadAction) ProtoReflect() protoreflect.Message { 476 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[5] 477 if protoimpl.UnsafeEnabled && x != nil { 478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 479 if ms.LoadMessageInfo() == nil { 480 ms.StoreMessageInfo(mi) 481 } 482 return ms 483 } 484 return mi.MessageOf(x) 485 } 486 487 // Deprecated: Use OverloadAction.ProtoReflect.Descriptor instead. 488 func (*OverloadAction) Descriptor() ([]byte, []int) { 489 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{5} 490 } 491 492 func (x *OverloadAction) GetName() string { 493 if x != nil { 494 return x.Name 495 } 496 return "" 497 } 498 499 func (x *OverloadAction) GetTriggers() []*Trigger { 500 if x != nil { 501 return x.Triggers 502 } 503 return nil 504 } 505 506 func (x *OverloadAction) GetTypedConfig() *any.Any { 507 if x != nil { 508 return x.TypedConfig 509 } 510 return nil 511 } 512 513 // Configuration for which accounts the WatermarkBuffer Factories should 514 // track. 515 type BufferFactoryConfig struct { 516 state protoimpl.MessageState 517 sizeCache protoimpl.SizeCache 518 unknownFields protoimpl.UnknownFields 519 520 // The minimum power of two at which Envoy starts tracking an account. 521 // 522 // Envoy has 8 power of two buckets starting with the provided exponent below. 523 // Concretely the 1st bucket contains accounts for streams that use 524 // [2^minimum_account_to_track_power_of_two, 525 // 2^(minimum_account_to_track_power_of_two + 1)) bytes. 526 // With the 8th bucket tracking accounts 527 // >= 128 * 2^minimum_account_to_track_power_of_two. 528 // 529 // The maximum value is 56, since we're using uint64_t for bytes counting, 530 // and that's the last value that would use the 8 buckets. In practice, 531 // we don't expect the proxy to be holding 2^56 bytes. 532 // 533 // If omitted, Envoy should not do any tracking. 534 MinimumAccountToTrackPowerOfTwo uint32 `protobuf:"varint,1,opt,name=minimum_account_to_track_power_of_two,json=minimumAccountToTrackPowerOfTwo,proto3" json:"minimum_account_to_track_power_of_two,omitempty"` 535 } 536 537 func (x *BufferFactoryConfig) Reset() { 538 *x = BufferFactoryConfig{} 539 if protoimpl.UnsafeEnabled { 540 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[6] 541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 542 ms.StoreMessageInfo(mi) 543 } 544 } 545 546 func (x *BufferFactoryConfig) String() string { 547 return protoimpl.X.MessageStringOf(x) 548 } 549 550 func (*BufferFactoryConfig) ProtoMessage() {} 551 552 func (x *BufferFactoryConfig) ProtoReflect() protoreflect.Message { 553 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[6] 554 if protoimpl.UnsafeEnabled && x != nil { 555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 556 if ms.LoadMessageInfo() == nil { 557 ms.StoreMessageInfo(mi) 558 } 559 return ms 560 } 561 return mi.MessageOf(x) 562 } 563 564 // Deprecated: Use BufferFactoryConfig.ProtoReflect.Descriptor instead. 565 func (*BufferFactoryConfig) Descriptor() ([]byte, []int) { 566 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{6} 567 } 568 569 func (x *BufferFactoryConfig) GetMinimumAccountToTrackPowerOfTwo() uint32 { 570 if x != nil { 571 return x.MinimumAccountToTrackPowerOfTwo 572 } 573 return 0 574 } 575 576 type OverloadManager struct { 577 state protoimpl.MessageState 578 sizeCache protoimpl.SizeCache 579 unknownFields protoimpl.UnknownFields 580 581 // The interval for refreshing resource usage. 582 RefreshInterval *duration.Duration `protobuf:"bytes,1,opt,name=refresh_interval,json=refreshInterval,proto3" json:"refresh_interval,omitempty"` 583 // The set of resources to monitor. 584 ResourceMonitors []*ResourceMonitor `protobuf:"bytes,2,rep,name=resource_monitors,json=resourceMonitors,proto3" json:"resource_monitors,omitempty"` 585 // The set of overload actions. 586 Actions []*OverloadAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` 587 // Configuration for buffer factory. 588 BufferFactoryConfig *BufferFactoryConfig `protobuf:"bytes,4,opt,name=buffer_factory_config,json=bufferFactoryConfig,proto3" json:"buffer_factory_config,omitempty"` 589 } 590 591 func (x *OverloadManager) Reset() { 592 *x = OverloadManager{} 593 if protoimpl.UnsafeEnabled { 594 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[7] 595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 596 ms.StoreMessageInfo(mi) 597 } 598 } 599 600 func (x *OverloadManager) String() string { 601 return protoimpl.X.MessageStringOf(x) 602 } 603 604 func (*OverloadManager) ProtoMessage() {} 605 606 func (x *OverloadManager) ProtoReflect() protoreflect.Message { 607 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[7] 608 if protoimpl.UnsafeEnabled && x != nil { 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 if ms.LoadMessageInfo() == nil { 611 ms.StoreMessageInfo(mi) 612 } 613 return ms 614 } 615 return mi.MessageOf(x) 616 } 617 618 // Deprecated: Use OverloadManager.ProtoReflect.Descriptor instead. 619 func (*OverloadManager) Descriptor() ([]byte, []int) { 620 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{7} 621 } 622 623 func (x *OverloadManager) GetRefreshInterval() *duration.Duration { 624 if x != nil { 625 return x.RefreshInterval 626 } 627 return nil 628 } 629 630 func (x *OverloadManager) GetResourceMonitors() []*ResourceMonitor { 631 if x != nil { 632 return x.ResourceMonitors 633 } 634 return nil 635 } 636 637 func (x *OverloadManager) GetActions() []*OverloadAction { 638 if x != nil { 639 return x.Actions 640 } 641 return nil 642 } 643 644 func (x *OverloadManager) GetBufferFactoryConfig() *BufferFactoryConfig { 645 if x != nil { 646 return x.BufferFactoryConfig 647 } 648 return nil 649 } 650 651 type ScaleTimersOverloadActionConfig_ScaleTimer struct { 652 state protoimpl.MessageState 653 sizeCache protoimpl.SizeCache 654 unknownFields protoimpl.UnknownFields 655 656 // The type of timer this minimum applies to. 657 Timer ScaleTimersOverloadActionConfig_TimerType `protobuf:"varint,1,opt,name=timer,proto3,enum=envoy.config.overload.v3.ScaleTimersOverloadActionConfig_TimerType" json:"timer,omitempty"` 658 // Types that are assignable to OverloadAdjust: 659 // *ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout 660 // *ScaleTimersOverloadActionConfig_ScaleTimer_MinScale 661 OverloadAdjust isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust `protobuf_oneof:"overload_adjust"` 662 } 663 664 func (x *ScaleTimersOverloadActionConfig_ScaleTimer) Reset() { 665 *x = ScaleTimersOverloadActionConfig_ScaleTimer{} 666 if protoimpl.UnsafeEnabled { 667 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[8] 668 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 669 ms.StoreMessageInfo(mi) 670 } 671 } 672 673 func (x *ScaleTimersOverloadActionConfig_ScaleTimer) String() string { 674 return protoimpl.X.MessageStringOf(x) 675 } 676 677 func (*ScaleTimersOverloadActionConfig_ScaleTimer) ProtoMessage() {} 678 679 func (x *ScaleTimersOverloadActionConfig_ScaleTimer) ProtoReflect() protoreflect.Message { 680 mi := &file_envoy_config_overload_v3_overload_proto_msgTypes[8] 681 if protoimpl.UnsafeEnabled && x != nil { 682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 683 if ms.LoadMessageInfo() == nil { 684 ms.StoreMessageInfo(mi) 685 } 686 return ms 687 } 688 return mi.MessageOf(x) 689 } 690 691 // Deprecated: Use ScaleTimersOverloadActionConfig_ScaleTimer.ProtoReflect.Descriptor instead. 692 func (*ScaleTimersOverloadActionConfig_ScaleTimer) Descriptor() ([]byte, []int) { 693 return file_envoy_config_overload_v3_overload_proto_rawDescGZIP(), []int{4, 0} 694 } 695 696 func (x *ScaleTimersOverloadActionConfig_ScaleTimer) GetTimer() ScaleTimersOverloadActionConfig_TimerType { 697 if x != nil { 698 return x.Timer 699 } 700 return ScaleTimersOverloadActionConfig_UNSPECIFIED 701 } 702 703 func (m *ScaleTimersOverloadActionConfig_ScaleTimer) GetOverloadAdjust() isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust { 704 if m != nil { 705 return m.OverloadAdjust 706 } 707 return nil 708 } 709 710 func (x *ScaleTimersOverloadActionConfig_ScaleTimer) GetMinTimeout() *duration.Duration { 711 if x, ok := x.GetOverloadAdjust().(*ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout); ok { 712 return x.MinTimeout 713 } 714 return nil 715 } 716 717 func (x *ScaleTimersOverloadActionConfig_ScaleTimer) GetMinScale() *v3.Percent { 718 if x, ok := x.GetOverloadAdjust().(*ScaleTimersOverloadActionConfig_ScaleTimer_MinScale); ok { 719 return x.MinScale 720 } 721 return nil 722 } 723 724 type isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust interface { 725 isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust() 726 } 727 728 type ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout struct { 729 // Sets the minimum duration as an absolute value. 730 MinTimeout *duration.Duration `protobuf:"bytes,2,opt,name=min_timeout,json=minTimeout,proto3,oneof"` 731 } 732 733 type ScaleTimersOverloadActionConfig_ScaleTimer_MinScale struct { 734 // Sets the minimum duration as a percentage of the maximum value. 735 MinScale *v3.Percent `protobuf:"bytes,3,opt,name=min_scale,json=minScale,proto3,oneof"` 736 } 737 738 func (*ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout) isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust() { 739 } 740 741 func (*ScaleTimersOverloadActionConfig_ScaleTimer_MinScale) isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust() { 742 } 743 744 var File_envoy_config_overload_v3_overload_proto protoreflect.FileDescriptor 745 746 var file_envoy_config_overload_v3_overload_proto_rawDesc = []byte{ 747 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6f, 748 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 749 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 750 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 751 0x2e, 0x76, 0x33, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 752 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 753 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 754 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 755 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 756 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 757 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 758 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 759 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 760 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 761 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 762 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 763 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 764 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 765 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 766 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x02, 0x0a, 0x0f, 0x52, 0x65, 767 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 768 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 769 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 770 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 771 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 772 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 773 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x6b, 0x0a, 0x1e, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 774 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 775 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 776 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 777 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 778 0x33, 0x2e, 0x30, 0x48, 0x00, 0x52, 0x1b, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 779 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 780 0x69, 0x67, 0x3a, 0x34, 0x9a, 0xc5, 0x88, 0x1e, 0x2f, 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 781 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 782 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 783 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 784 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x78, 0x0a, 0x10, 0x54, 0x68, 0x72, 0x65, 0x73, 785 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x05, 0x76, 786 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x17, 0xfa, 0x42, 0x14, 0x12, 787 0x12, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x3f, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 788 0x00, 0x00, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x35, 0x9a, 0xc5, 0x88, 0x1e, 789 0x30, 0x0a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 790 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 791 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 792 0x72, 0x22, 0xa1, 0x01, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x54, 0x72, 0x69, 0x67, 793 0x67, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x11, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x74, 794 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x17, 795 0xfa, 0x42, 0x14, 0x12, 0x12, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x3f, 0x29, 0x00, 796 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x10, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 797 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x4a, 0x0a, 0x14, 0x73, 0x61, 0x74, 798 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 799 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x17, 0xfa, 0x42, 0x14, 0x12, 0x12, 0x19, 0x00, 800 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x3f, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 801 0x52, 0x13, 0x73, 0x61, 0x74, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 802 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0xf9, 0x01, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 803 0x72, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 804 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 805 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 806 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 807 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x68, 0x72, 808 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x48, 0x00, 0x52, 809 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x41, 0x0a, 0x06, 0x73, 0x63, 810 0x61, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 811 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 812 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x54, 0x72, 0x69, 0x67, 813 0x67, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x3a, 0x2c, 0x9a, 814 0xc5, 0x88, 0x1e, 0x27, 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 815 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 816 0x70, 0x68, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x14, 0x0a, 0x0d, 0x74, 817 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x12, 0x03, 0xf8, 0x42, 818 0x01, 0x22, 0xa7, 0x04, 0x0a, 0x1f, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x72, 819 0x73, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 820 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7e, 0x0a, 0x13, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x5f, 0x73, 821 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 822 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 823 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 824 0x61, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 825 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x63, 826 0x61, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 827 0x08, 0x01, 0x52, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 828 0x63, 0x74, 0x6f, 0x72, 0x73, 0x1a, 0x80, 0x02, 0x0a, 0x0a, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x54, 829 0x69, 0x6d, 0x65, 0x72, 0x12, 0x65, 0x0a, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 830 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 831 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x53, 832 0x63, 0x61, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 833 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 834 0x69, 0x6d, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x82, 0x01, 0x04, 835 0x10, 0x01, 0x20, 0x00, 0x52, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x0b, 0x6d, 836 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 837 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 838 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x6d, 839 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 840 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 841 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 842 0x63, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x53, 0x63, 0x61, 0x6c, 0x65, 843 0x42, 0x16, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x61, 0x64, 0x6a, 844 0x75, 0x73, 0x74, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x80, 0x01, 0x0a, 0x09, 0x54, 0x69, 0x6d, 845 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 846 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x48, 0x54, 0x54, 0x50, 0x5f, 847 0x44, 0x4f, 0x57, 0x4e, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 848 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 849 0x48, 0x54, 0x54, 0x50, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 850 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x1c, 0x0a, 851 0x18, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x4f, 0x43, 0x4b, 0x45, 852 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x03, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 853 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 854 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 855 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x74, 856 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 857 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 858 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 859 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 860 0x67, 0x65, 0x72, 0x73, 0x12, 0x37, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 861 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 862 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 863 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x33, 0x9a, 864 0xc5, 0x88, 0x1e, 0x2e, 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 865 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 866 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 867 0x6f, 0x6e, 0x22, 0x70, 0x0a, 0x13, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x46, 0x61, 0x63, 0x74, 868 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x59, 0x0a, 0x25, 0x6d, 0x69, 0x6e, 869 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 870 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x74, 871 0x77, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04, 0x18, 872 0x38, 0x28, 0x0a, 0x52, 0x1f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x41, 0x63, 0x63, 0x6f, 873 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4f, 874 0x66, 0x54, 0x77, 0x6f, 0x22, 0x96, 0x03, 0x0a, 0x0f, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 875 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x72, 876 0x65, 0x73, 0x68, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 877 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 878 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x72, 879 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x60, 880 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 881 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 882 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 883 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 884 0x69, 0x74, 0x6f, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x10, 885 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 886 0x12, 0x42, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 887 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 888 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x76, 0x65, 889 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 890 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x61, 0x0a, 0x15, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x66, 891 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 892 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 893 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x42, 894 0x75, 0x66, 0x66, 0x65, 0x72, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 895 0x69, 0x67, 0x52, 0x13, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 896 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x34, 0x9a, 0xc5, 0x88, 0x1e, 0x2f, 0x0a, 0x2d, 897 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 898 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x76, 899 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x42, 0x41, 0x0a, 900 0x26, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 901 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 902 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 903 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 904 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 905 } 906 907 var ( 908 file_envoy_config_overload_v3_overload_proto_rawDescOnce sync.Once 909 file_envoy_config_overload_v3_overload_proto_rawDescData = file_envoy_config_overload_v3_overload_proto_rawDesc 910 ) 911 912 func file_envoy_config_overload_v3_overload_proto_rawDescGZIP() []byte { 913 file_envoy_config_overload_v3_overload_proto_rawDescOnce.Do(func() { 914 file_envoy_config_overload_v3_overload_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_overload_v3_overload_proto_rawDescData) 915 }) 916 return file_envoy_config_overload_v3_overload_proto_rawDescData 917 } 918 919 var file_envoy_config_overload_v3_overload_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 920 var file_envoy_config_overload_v3_overload_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 921 var file_envoy_config_overload_v3_overload_proto_goTypes = []interface{}{ 922 (ScaleTimersOverloadActionConfig_TimerType)(0), // 0: envoy.config.overload.v3.ScaleTimersOverloadActionConfig.TimerType 923 (*ResourceMonitor)(nil), // 1: envoy.config.overload.v3.ResourceMonitor 924 (*ThresholdTrigger)(nil), // 2: envoy.config.overload.v3.ThresholdTrigger 925 (*ScaledTrigger)(nil), // 3: envoy.config.overload.v3.ScaledTrigger 926 (*Trigger)(nil), // 4: envoy.config.overload.v3.Trigger 927 (*ScaleTimersOverloadActionConfig)(nil), // 5: envoy.config.overload.v3.ScaleTimersOverloadActionConfig 928 (*OverloadAction)(nil), // 6: envoy.config.overload.v3.OverloadAction 929 (*BufferFactoryConfig)(nil), // 7: envoy.config.overload.v3.BufferFactoryConfig 930 (*OverloadManager)(nil), // 8: envoy.config.overload.v3.OverloadManager 931 (*ScaleTimersOverloadActionConfig_ScaleTimer)(nil), // 9: envoy.config.overload.v3.ScaleTimersOverloadActionConfig.ScaleTimer 932 (*any.Any)(nil), // 10: google.protobuf.Any 933 (*_struct.Struct)(nil), // 11: google.protobuf.Struct 934 (*duration.Duration)(nil), // 12: google.protobuf.Duration 935 (*v3.Percent)(nil), // 13: envoy.type.v3.Percent 936 } 937 var file_envoy_config_overload_v3_overload_proto_depIdxs = []int32{ 938 10, // 0: envoy.config.overload.v3.ResourceMonitor.typed_config:type_name -> google.protobuf.Any 939 11, // 1: envoy.config.overload.v3.ResourceMonitor.hidden_envoy_deprecated_config:type_name -> google.protobuf.Struct 940 2, // 2: envoy.config.overload.v3.Trigger.threshold:type_name -> envoy.config.overload.v3.ThresholdTrigger 941 3, // 3: envoy.config.overload.v3.Trigger.scaled:type_name -> envoy.config.overload.v3.ScaledTrigger 942 9, // 4: envoy.config.overload.v3.ScaleTimersOverloadActionConfig.timer_scale_factors:type_name -> envoy.config.overload.v3.ScaleTimersOverloadActionConfig.ScaleTimer 943 4, // 5: envoy.config.overload.v3.OverloadAction.triggers:type_name -> envoy.config.overload.v3.Trigger 944 10, // 6: envoy.config.overload.v3.OverloadAction.typed_config:type_name -> google.protobuf.Any 945 12, // 7: envoy.config.overload.v3.OverloadManager.refresh_interval:type_name -> google.protobuf.Duration 946 1, // 8: envoy.config.overload.v3.OverloadManager.resource_monitors:type_name -> envoy.config.overload.v3.ResourceMonitor 947 6, // 9: envoy.config.overload.v3.OverloadManager.actions:type_name -> envoy.config.overload.v3.OverloadAction 948 7, // 10: envoy.config.overload.v3.OverloadManager.buffer_factory_config:type_name -> envoy.config.overload.v3.BufferFactoryConfig 949 0, // 11: envoy.config.overload.v3.ScaleTimersOverloadActionConfig.ScaleTimer.timer:type_name -> envoy.config.overload.v3.ScaleTimersOverloadActionConfig.TimerType 950 12, // 12: envoy.config.overload.v3.ScaleTimersOverloadActionConfig.ScaleTimer.min_timeout:type_name -> google.protobuf.Duration 951 13, // 13: envoy.config.overload.v3.ScaleTimersOverloadActionConfig.ScaleTimer.min_scale:type_name -> envoy.type.v3.Percent 952 14, // [14:14] is the sub-list for method output_type 953 14, // [14:14] is the sub-list for method input_type 954 14, // [14:14] is the sub-list for extension type_name 955 14, // [14:14] is the sub-list for extension extendee 956 0, // [0:14] is the sub-list for field type_name 957 } 958 959 func init() { file_envoy_config_overload_v3_overload_proto_init() } 960 func file_envoy_config_overload_v3_overload_proto_init() { 961 if File_envoy_config_overload_v3_overload_proto != nil { 962 return 963 } 964 if !protoimpl.UnsafeEnabled { 965 file_envoy_config_overload_v3_overload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 966 switch v := v.(*ResourceMonitor); i { 967 case 0: 968 return &v.state 969 case 1: 970 return &v.sizeCache 971 case 2: 972 return &v.unknownFields 973 default: 974 return nil 975 } 976 } 977 file_envoy_config_overload_v3_overload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 978 switch v := v.(*ThresholdTrigger); i { 979 case 0: 980 return &v.state 981 case 1: 982 return &v.sizeCache 983 case 2: 984 return &v.unknownFields 985 default: 986 return nil 987 } 988 } 989 file_envoy_config_overload_v3_overload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 990 switch v := v.(*ScaledTrigger); i { 991 case 0: 992 return &v.state 993 case 1: 994 return &v.sizeCache 995 case 2: 996 return &v.unknownFields 997 default: 998 return nil 999 } 1000 } 1001 file_envoy_config_overload_v3_overload_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1002 switch v := v.(*Trigger); i { 1003 case 0: 1004 return &v.state 1005 case 1: 1006 return &v.sizeCache 1007 case 2: 1008 return &v.unknownFields 1009 default: 1010 return nil 1011 } 1012 } 1013 file_envoy_config_overload_v3_overload_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1014 switch v := v.(*ScaleTimersOverloadActionConfig); i { 1015 case 0: 1016 return &v.state 1017 case 1: 1018 return &v.sizeCache 1019 case 2: 1020 return &v.unknownFields 1021 default: 1022 return nil 1023 } 1024 } 1025 file_envoy_config_overload_v3_overload_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1026 switch v := v.(*OverloadAction); i { 1027 case 0: 1028 return &v.state 1029 case 1: 1030 return &v.sizeCache 1031 case 2: 1032 return &v.unknownFields 1033 default: 1034 return nil 1035 } 1036 } 1037 file_envoy_config_overload_v3_overload_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1038 switch v := v.(*BufferFactoryConfig); i { 1039 case 0: 1040 return &v.state 1041 case 1: 1042 return &v.sizeCache 1043 case 2: 1044 return &v.unknownFields 1045 default: 1046 return nil 1047 } 1048 } 1049 file_envoy_config_overload_v3_overload_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1050 switch v := v.(*OverloadManager); i { 1051 case 0: 1052 return &v.state 1053 case 1: 1054 return &v.sizeCache 1055 case 2: 1056 return &v.unknownFields 1057 default: 1058 return nil 1059 } 1060 } 1061 file_envoy_config_overload_v3_overload_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1062 switch v := v.(*ScaleTimersOverloadActionConfig_ScaleTimer); i { 1063 case 0: 1064 return &v.state 1065 case 1: 1066 return &v.sizeCache 1067 case 2: 1068 return &v.unknownFields 1069 default: 1070 return nil 1071 } 1072 } 1073 } 1074 file_envoy_config_overload_v3_overload_proto_msgTypes[0].OneofWrappers = []interface{}{ 1075 (*ResourceMonitor_TypedConfig)(nil), 1076 (*ResourceMonitor_HiddenEnvoyDeprecatedConfig)(nil), 1077 } 1078 file_envoy_config_overload_v3_overload_proto_msgTypes[3].OneofWrappers = []interface{}{ 1079 (*Trigger_Threshold)(nil), 1080 (*Trigger_Scaled)(nil), 1081 } 1082 file_envoy_config_overload_v3_overload_proto_msgTypes[8].OneofWrappers = []interface{}{ 1083 (*ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout)(nil), 1084 (*ScaleTimersOverloadActionConfig_ScaleTimer_MinScale)(nil), 1085 } 1086 type x struct{} 1087 out := protoimpl.TypeBuilder{ 1088 File: protoimpl.DescBuilder{ 1089 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1090 RawDescriptor: file_envoy_config_overload_v3_overload_proto_rawDesc, 1091 NumEnums: 1, 1092 NumMessages: 9, 1093 NumExtensions: 0, 1094 NumServices: 0, 1095 }, 1096 GoTypes: file_envoy_config_overload_v3_overload_proto_goTypes, 1097 DependencyIndexes: file_envoy_config_overload_v3_overload_proto_depIdxs, 1098 EnumInfos: file_envoy_config_overload_v3_overload_proto_enumTypes, 1099 MessageInfos: file_envoy_config_overload_v3_overload_proto_msgTypes, 1100 }.Build() 1101 File_envoy_config_overload_v3_overload_proto = out.File 1102 file_envoy_config_overload_v3_overload_proto_rawDesc = nil 1103 file_envoy_config_overload_v3_overload_proto_goTypes = nil 1104 file_envoy_config_overload_v3_overload_proto_depIdxs = nil 1105 }