Debian Codegraph @

envoy/config/overload/v3/overload.pb.go

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