Debian Codegraph @

envoy/config/overload/v2alpha/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/v2alpha/overload.proto
6
7 package v2alpha
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 anypb "google.golang.org/protobuf/types/known/anypb"
15 durationpb "google.golang.org/protobuf/types/known/durationpb"
16 structpb "google.golang.org/protobuf/types/known/structpb"
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 ResourceMonitor struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // The name of the resource monitor to instantiate. Must match a registered
34 // resource monitor type. The built-in resource monitors are:
35 //
36 // - :ref:`envoy.resource_monitors.fixed_heap
37 // <envoy_api_msg_config.resource_monitor.fixed_heap.v2alpha.FixedHeapConfig>`
38 // - :ref:`envoy.resource_monitors.injected_resource
39 // <envoy_api_msg_config.resource_monitor.injected_resource.v2alpha.InjectedResourceConfig>`
40 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
41 // Configuration for the resource monitor being instantiated.
42 //
43 // Types that are assignable to ConfigType:
44 //
45 // *ResourceMonitor_Config
46 // *ResourceMonitor_TypedConfig
47 ConfigType isResourceMonitor_ConfigType `protobuf_oneof:"config_type"`
48 }
49
50 func (x *ResourceMonitor) Reset() {
51 *x = ResourceMonitor{}
52 if protoimpl.UnsafeEnabled {
53 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57 }
58
59 func (x *ResourceMonitor) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*ResourceMonitor) ProtoMessage() {}
64
65 func (x *ResourceMonitor) ProtoReflect() protoreflect.Message {
66 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[0]
67 if protoimpl.UnsafeEnabled && x != nil {
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 if ms.LoadMessageInfo() == nil {
70 ms.StoreMessageInfo(mi)
71 }
72 return ms
73 }
74 return mi.MessageOf(x)
75 }
76
77 // Deprecated: Use ResourceMonitor.ProtoReflect.Descriptor instead.
78 func (*ResourceMonitor) Descriptor() ([]byte, []int) {
79 return file_envoy_config_overload_v2alpha_overload_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *ResourceMonitor) GetName() string {
83 if x != nil {
84 return x.Name
85 }
86 return ""
87 }
88
89 func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType {
90 if m != nil {
91 return m.ConfigType
92 }
93 return nil
94 }
95
96 // Deprecated: Marked as deprecated in envoy/config/overload/v2alpha/overload.proto.
97 func (x *ResourceMonitor) GetConfig() *structpb.Struct {
98 if x, ok := x.GetConfigType().(*ResourceMonitor_Config); ok {
99 return x.Config
100 }
101 return nil
102 }
103
104 func (x *ResourceMonitor) GetTypedConfig() *anypb.Any {
105 if x, ok := x.GetConfigType().(*ResourceMonitor_TypedConfig); ok {
106 return x.TypedConfig
107 }
108 return nil
109 }
110
111 type isResourceMonitor_ConfigType interface {
112 isResourceMonitor_ConfigType()
113 }
114
115 type ResourceMonitor_Config struct {
116 // Deprecated: Marked as deprecated in envoy/config/overload/v2alpha/overload.proto.
117 Config *structpb.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
118 }
119
120 type ResourceMonitor_TypedConfig struct {
121 TypedConfig *anypb.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
122 }
123
124 func (*ResourceMonitor_Config) isResourceMonitor_ConfigType() {}
125
126 func (*ResourceMonitor_TypedConfig) isResourceMonitor_ConfigType() {}
127
128 type ThresholdTrigger struct {
129 state protoimpl.MessageState
130 sizeCache protoimpl.SizeCache
131 unknownFields protoimpl.UnknownFields
132
133 // If the resource pressure is greater than or equal to this value, the trigger
134 // will fire.
135 Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
136 }
137
138 func (x *ThresholdTrigger) Reset() {
139 *x = ThresholdTrigger{}
140 if protoimpl.UnsafeEnabled {
141 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[1]
142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
143 ms.StoreMessageInfo(mi)
144 }
145 }
146
147 func (x *ThresholdTrigger) String() string {
148 return protoimpl.X.MessageStringOf(x)
149 }
150
151 func (*ThresholdTrigger) ProtoMessage() {}
152
153 func (x *ThresholdTrigger) ProtoReflect() protoreflect.Message {
154 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[1]
155 if protoimpl.UnsafeEnabled && x != nil {
156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157 if ms.LoadMessageInfo() == nil {
158 ms.StoreMessageInfo(mi)
159 }
160 return ms
161 }
162 return mi.MessageOf(x)
163 }
164
165 // Deprecated: Use ThresholdTrigger.ProtoReflect.Descriptor instead.
166 func (*ThresholdTrigger) Descriptor() ([]byte, []int) {
167 return file_envoy_config_overload_v2alpha_overload_proto_rawDescGZIP(), []int{1}
168 }
169
170 func (x *ThresholdTrigger) GetValue() float64 {
171 if x != nil {
172 return x.Value
173 }
174 return 0
175 }
176
177 type Trigger struct {
178 state protoimpl.MessageState
179 sizeCache protoimpl.SizeCache
180 unknownFields protoimpl.UnknownFields
181
182 // The name of the resource this is a trigger for.
183 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
184 // Types that are assignable to TriggerOneof:
185 //
186 // *Trigger_Threshold
187 TriggerOneof isTrigger_TriggerOneof `protobuf_oneof:"trigger_oneof"`
188 }
189
190 func (x *Trigger) Reset() {
191 *x = Trigger{}
192 if protoimpl.UnsafeEnabled {
193 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[2]
194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195 ms.StoreMessageInfo(mi)
196 }
197 }
198
199 func (x *Trigger) String() string {
200 return protoimpl.X.MessageStringOf(x)
201 }
202
203 func (*Trigger) ProtoMessage() {}
204
205 func (x *Trigger) ProtoReflect() protoreflect.Message {
206 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[2]
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 Trigger.ProtoReflect.Descriptor instead.
218 func (*Trigger) Descriptor() ([]byte, []int) {
219 return file_envoy_config_overload_v2alpha_overload_proto_rawDescGZIP(), []int{2}
220 }
221
222 func (x *Trigger) GetName() string {
223 if x != nil {
224 return x.Name
225 }
226 return ""
227 }
228
229 func (m *Trigger) GetTriggerOneof() isTrigger_TriggerOneof {
230 if m != nil {
231 return m.TriggerOneof
232 }
233 return nil
234 }
235
236 func (x *Trigger) GetThreshold() *ThresholdTrigger {
237 if x, ok := x.GetTriggerOneof().(*Trigger_Threshold); ok {
238 return x.Threshold
239 }
240 return nil
241 }
242
243 type isTrigger_TriggerOneof interface {
244 isTrigger_TriggerOneof()
245 }
246
247 type Trigger_Threshold struct {
248 Threshold *ThresholdTrigger `protobuf:"bytes,2,opt,name=threshold,proto3,oneof"`
249 }
250
251 func (*Trigger_Threshold) isTrigger_TriggerOneof() {}
252
253 type OverloadAction struct {
254 state protoimpl.MessageState
255 sizeCache protoimpl.SizeCache
256 unknownFields protoimpl.UnknownFields
257
258 // The name of the overload action. This is just a well-known string that listeners can
259 // use for registering callbacks. Custom overload actions should be named using reverse
260 // DNS to ensure uniqueness.
261 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
262 // A set of triggers for this action. If any of these triggers fire the overload action
263 // is activated. Listeners are notified when the overload action transitions from
264 // inactivated to activated, or vice versa.
265 Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"`
266 }
267
268 func (x *OverloadAction) Reset() {
269 *x = OverloadAction{}
270 if protoimpl.UnsafeEnabled {
271 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[3]
272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
273 ms.StoreMessageInfo(mi)
274 }
275 }
276
277 func (x *OverloadAction) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*OverloadAction) ProtoMessage() {}
282
283 func (x *OverloadAction) ProtoReflect() protoreflect.Message {
284 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[3]
285 if protoimpl.UnsafeEnabled && x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use OverloadAction.ProtoReflect.Descriptor instead.
296 func (*OverloadAction) Descriptor() ([]byte, []int) {
297 return file_envoy_config_overload_v2alpha_overload_proto_rawDescGZIP(), []int{3}
298 }
299
300 func (x *OverloadAction) GetName() string {
301 if x != nil {
302 return x.Name
303 }
304 return ""
305 }
306
307 func (x *OverloadAction) GetTriggers() []*Trigger {
308 if x != nil {
309 return x.Triggers
310 }
311 return nil
312 }
313
314 type OverloadManager struct {
315 state protoimpl.MessageState
316 sizeCache protoimpl.SizeCache
317 unknownFields protoimpl.UnknownFields
318
319 // The interval for refreshing resource usage.
320 RefreshInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=refresh_interval,json=refreshInterval,proto3" json:"refresh_interval,omitempty"`
321 // The set of resources to monitor.
322 ResourceMonitors []*ResourceMonitor `protobuf:"bytes,2,rep,name=resource_monitors,json=resourceMonitors,proto3" json:"resource_monitors,omitempty"`
323 // The set of overload actions.
324 Actions []*OverloadAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
325 }
326
327 func (x *OverloadManager) Reset() {
328 *x = OverloadManager{}
329 if protoimpl.UnsafeEnabled {
330 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[4]
331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
332 ms.StoreMessageInfo(mi)
333 }
334 }
335
336 func (x *OverloadManager) String() string {
337 return protoimpl.X.MessageStringOf(x)
338 }
339
340 func (*OverloadManager) ProtoMessage() {}
341
342 func (x *OverloadManager) ProtoReflect() protoreflect.Message {
343 mi := &file_envoy_config_overload_v2alpha_overload_proto_msgTypes[4]
344 if protoimpl.UnsafeEnabled && x != nil {
345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346 if ms.LoadMessageInfo() == nil {
347 ms.StoreMessageInfo(mi)
348 }
349 return ms
350 }
351 return mi.MessageOf(x)
352 }
353
354 // Deprecated: Use OverloadManager.ProtoReflect.Descriptor instead.
355 func (*OverloadManager) Descriptor() ([]byte, []int) {
356 return file_envoy_config_overload_v2alpha_overload_proto_rawDescGZIP(), []int{4}
357 }
358
359 func (x *OverloadManager) GetRefreshInterval() *durationpb.Duration {
360 if x != nil {
361 return x.RefreshInterval
362 }
363 return nil
364 }
365
366 func (x *OverloadManager) GetResourceMonitors() []*ResourceMonitor {
367 if x != nil {
368 return x.ResourceMonitors
369 }
370 return nil
371 }
372
373 func (x *OverloadManager) GetActions() []*OverloadAction {
374 if x != nil {
375 return x.Actions
376 }
377 return nil
378 }
379
380 var File_envoy_config_overload_v2alpha_overload_proto protoreflect.FileDescriptor
381
382 var file_envoy_config_overload_v2alpha_overload_proto_rawDesc = []byte{
383 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6f,
384 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
385 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d,
386 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65,
387 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x19, 0x67,
388 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
389 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
390 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
391 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
392 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
393 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
394 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
395 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
396 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf,
397 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
398 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
399 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
400 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
401 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
402 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06,
403 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f,
404 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
405 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
406 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69,
407 0x67, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65,
408 0x22, 0x41, 0x0a, 0x10, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x69,
409 0x67, 0x67, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
410 0x01, 0x28, 0x01, 0x42, 0x17, 0xfa, 0x42, 0x14, 0x12, 0x12, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00,
411 0x00, 0xf0, 0x3f, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x05, 0x76, 0x61,
412 0x6c, 0x75, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12,
413 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
414 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x09,
415 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
416 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f,
417 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
418 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
419 0x48, 0x00, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42, 0x14, 0x0a,
420 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x12, 0x03,
421 0xf8, 0x42, 0x01, 0x22, 0x7b, 0x0a, 0x0e, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x41,
422 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
423 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61,
424 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x02,
425 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
426 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61,
427 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42,
428 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73,
429 0x22, 0x87, 0x02, 0x0a, 0x0f, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e,
430 0x61, 0x67, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f,
431 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
432 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
433 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x72, 0x65,
434 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x65, 0x0a, 0x11, 0x72, 0x65,
435 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x18,
436 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
437 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32,
438 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f,
439 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52,
440 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
441 0x73, 0x12, 0x47, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03,
442 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
443 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
444 0x68, 0x61, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f,
445 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x8c, 0x01, 0xba, 0x80, 0xc8,
446 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a, 0x2b, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
447 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
448 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
449 0x68, 0x61, 0x42, 0x0d, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74,
450 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
451 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f,
452 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
453 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61,
454 0x64, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
455 0x33,
456 }
457
458 var (
459 file_envoy_config_overload_v2alpha_overload_proto_rawDescOnce sync.Once
460 file_envoy_config_overload_v2alpha_overload_proto_rawDescData = file_envoy_config_overload_v2alpha_overload_proto_rawDesc
461 )
462
463 func file_envoy_config_overload_v2alpha_overload_proto_rawDescGZIP() []byte {
464 file_envoy_config_overload_v2alpha_overload_proto_rawDescOnce.Do(func() {
465 file_envoy_config_overload_v2alpha_overload_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_overload_v2alpha_overload_proto_rawDescData)
466 })
467 return file_envoy_config_overload_v2alpha_overload_proto_rawDescData
468 }
469
470 var file_envoy_config_overload_v2alpha_overload_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
471 var file_envoy_config_overload_v2alpha_overload_proto_goTypes = []interface{}{
472 (*ResourceMonitor)(nil), // 0: envoy.config.overload.v2alpha.ResourceMonitor
473 (*ThresholdTrigger)(nil), // 1: envoy.config.overload.v2alpha.ThresholdTrigger
474 (*Trigger)(nil), // 2: envoy.config.overload.v2alpha.Trigger
475 (*OverloadAction)(nil), // 3: envoy.config.overload.v2alpha.OverloadAction
476 (*OverloadManager)(nil), // 4: envoy.config.overload.v2alpha.OverloadManager
477 (*structpb.Struct)(nil), // 5: google.protobuf.Struct
478 (*anypb.Any)(nil), // 6: google.protobuf.Any
479 (*durationpb.Duration)(nil), // 7: google.protobuf.Duration
480 }
481 var file_envoy_config_overload_v2alpha_overload_proto_depIdxs = []int32{
482 5, // 0: envoy.config.overload.v2alpha.ResourceMonitor.config:type_name -> google.protobuf.Struct
483 6, // 1: envoy.config.overload.v2alpha.ResourceMonitor.typed_config:type_name -> google.protobuf.Any
484 1, // 2: envoy.config.overload.v2alpha.Trigger.threshold:type_name -> envoy.config.overload.v2alpha.ThresholdTrigger
485 2, // 3: envoy.config.overload.v2alpha.OverloadAction.triggers:type_name -> envoy.config.overload.v2alpha.Trigger
486 7, // 4: envoy.config.overload.v2alpha.OverloadManager.refresh_interval:type_name -> google.protobuf.Duration
487 0, // 5: envoy.config.overload.v2alpha.OverloadManager.resource_monitors:type_name -> envoy.config.overload.v2alpha.ResourceMonitor
488 3, // 6: envoy.config.overload.v2alpha.OverloadManager.actions:type_name -> envoy.config.overload.v2alpha.OverloadAction
489 7, // [7:7] is the sub-list for method output_type
490 7, // [7:7] is the sub-list for method input_type
491 7, // [7:7] is the sub-list for extension type_name
492 7, // [7:7] is the sub-list for extension extendee
493 0, // [0:7] is the sub-list for field type_name
494 }
495
496 func init() { file_envoy_config_overload_v2alpha_overload_proto_init() }
497 func file_envoy_config_overload_v2alpha_overload_proto_init() {
498 if File_envoy_config_overload_v2alpha_overload_proto != nil {
499 return
500 }
501 if !protoimpl.UnsafeEnabled {
502 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
503 switch v := v.(*ResourceMonitor); i {
504 case 0:
505 return &v.state
506 case 1:
507 return &v.sizeCache
508 case 2:
509 return &v.unknownFields
510 default:
511 return nil
512 }
513 }
514 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
515 switch v := v.(*ThresholdTrigger); i {
516 case 0:
517 return &v.state
518 case 1:
519 return &v.sizeCache
520 case 2:
521 return &v.unknownFields
522 default:
523 return nil
524 }
525 }
526 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
527 switch v := v.(*Trigger); i {
528 case 0:
529 return &v.state
530 case 1:
531 return &v.sizeCache
532 case 2:
533 return &v.unknownFields
534 default:
535 return nil
536 }
537 }
538 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
539 switch v := v.(*OverloadAction); i {
540 case 0:
541 return &v.state
542 case 1:
543 return &v.sizeCache
544 case 2:
545 return &v.unknownFields
546 default:
547 return nil
548 }
549 }
550 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
551 switch v := v.(*OverloadManager); i {
552 case 0:
553 return &v.state
554 case 1:
555 return &v.sizeCache
556 case 2:
557 return &v.unknownFields
558 default:
559 return nil
560 }
561 }
562 }
563 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[0].OneofWrappers = []interface{}{
564 (*ResourceMonitor_Config)(nil),
565 (*ResourceMonitor_TypedConfig)(nil),
566 }
567 file_envoy_config_overload_v2alpha_overload_proto_msgTypes[2].OneofWrappers = []interface{}{
568 (*Trigger_Threshold)(nil),
569 }
570 type x struct{}
571 out := protoimpl.TypeBuilder{
572 File: protoimpl.DescBuilder{
573 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
574 RawDescriptor: file_envoy_config_overload_v2alpha_overload_proto_rawDesc,
575 NumEnums: 0,
576 NumMessages: 5,
577 NumExtensions: 0,
578 NumServices: 0,
579 },
580 GoTypes: file_envoy_config_overload_v2alpha_overload_proto_goTypes,
581 DependencyIndexes: file_envoy_config_overload_v2alpha_overload_proto_depIdxs,
582 MessageInfos: file_envoy_config_overload_v2alpha_overload_proto_msgTypes,
583 }.Build()
584 File_envoy_config_overload_v2alpha_overload_proto = out.File
585 file_envoy_config_overload_v2alpha_overload_proto_rawDesc = nil
586 file_envoy_config_overload_v2alpha_overload_proto_goTypes = nil
587 file_envoy_config_overload_v2alpha_overload_proto_depIdxs = nil
588 }