...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/config/overload/v3/overload.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/config/overload/v3

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

View as plain text