Debian Codegraph @

envoy/config/cluster/v3/circuit_breaker.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/cluster/v3/circuit_breaker.proto
6
7 package clusterv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 v31 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
13 _ "github.com/envoyproxy/protoc-gen-validate/validate"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
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 // :ref:`Circuit breaking<arch_overview_circuit_break>` settings can be
29 // specified individually for each defined priority.
30 type CircuitBreakers struct {
31 state protoimpl.MessageState
32 sizeCache protoimpl.SizeCache
33 unknownFields protoimpl.UnknownFields
34
35 // If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
36 // are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`,
37 // the first one in the list is used. If no Thresholds is defined for a given
38 // :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values
39 // are used.
40 Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
41 // Optional per-host limits which apply to each individual host in a cluster.
42 //
43 // .. note::
44 //
45 // currently only the :ref:`max_connections
46 // <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits.
47 //
48 // If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>`
49 // are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`,
50 // the first one in the list is used. If no per-host Thresholds are defined for a given
51 // :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`,
52 // the cluster will not have per-host limits.
53 PerHostThresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,2,rep,name=per_host_thresholds,json=perHostThresholds,proto3" json:"per_host_thresholds,omitempty"`
54 }
55
56 func (x *CircuitBreakers) Reset() {
57 *x = CircuitBreakers{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *CircuitBreakers) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*CircuitBreakers) ProtoMessage() {}
70
71 func (x *CircuitBreakers) ProtoReflect() protoreflect.Message {
72 mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83 // Deprecated: Use CircuitBreakers.ProtoReflect.Descriptor instead.
84 func (*CircuitBreakers) Descriptor() ([]byte, []int) {
85 return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds {
89 if x != nil {
90 return x.Thresholds
91 }
92 return nil
93 }
94
95 func (x *CircuitBreakers) GetPerHostThresholds() []*CircuitBreakers_Thresholds {
96 if x != nil {
97 return x.PerHostThresholds
98 }
99 return nil
100 }
101
102 // A Thresholds defines CircuitBreaker settings for a
103 // :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`.
104 // [#next-free-field: 9]
105 type CircuitBreakers_Thresholds struct {
106 state protoimpl.MessageState
107 sizeCache protoimpl.SizeCache
108 unknownFields protoimpl.UnknownFields
109
110 // The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`
111 // the specified CircuitBreaker settings apply to.
112 Priority v3.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.config.core.v3.RoutingPriority" json:"priority,omitempty"`
113 // The maximum number of connections that Envoy will make to the upstream
114 // cluster. If not specified, the default is 1024.
115 MaxConnections *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
116 // The maximum number of pending requests that Envoy will allow to the
117 // upstream cluster. If not specified, the default is 1024.
118 // This limit is applied as a connection limit for non-HTTP traffic.
119 MaxPendingRequests *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"`
120 // The maximum number of parallel requests that Envoy will make to the
121 // upstream cluster. If not specified, the default is 1024.
122 // This limit does not apply to non-HTTP traffic.
123 MaxRequests *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"`
124 // The maximum number of parallel retries that Envoy will allow to the
125 // upstream cluster. If not specified, the default is 3.
126 MaxRetries *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
127 // Specifies a limit on concurrent retries in relation to the number of active requests. This
128 // parameter is optional.
129 //
130 // .. note::
131 //
132 // If this field is set, the retry budget will override any configured retry circuit
133 // breaker.
134 RetryBudget *CircuitBreakers_Thresholds_RetryBudget `protobuf:"bytes,8,opt,name=retry_budget,json=retryBudget,proto3" json:"retry_budget,omitempty"`
135 // If track_remaining is true, then stats will be published that expose
136 // the number of resources remaining until the circuit breakers open. If
137 // not specified, the default is false.
138 //
139 // .. note::
140 //
141 // If a retry budget is used in lieu of the max_retries circuit breaker,
142 // the remaining retry resources remaining will not be tracked.
143 TrackRemaining bool `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"`
144 // The maximum number of connection pools per cluster that Envoy will concurrently support at
145 // once. If not specified, the default is unlimited. Set this for clusters which create a
146 // large number of connection pools. See
147 // :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for
148 // more details.
149 MaxConnectionPools *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"`
150 }
151
152 func (x *CircuitBreakers_Thresholds) Reset() {
153 *x = CircuitBreakers_Thresholds{}
154 if protoimpl.UnsafeEnabled {
155 mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[1]
156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157 ms.StoreMessageInfo(mi)
158 }
159 }
160
161 func (x *CircuitBreakers_Thresholds) String() string {
162 return protoimpl.X.MessageStringOf(x)
163 }
164
165 func (*CircuitBreakers_Thresholds) ProtoMessage() {}
166
167 func (x *CircuitBreakers_Thresholds) ProtoReflect() protoreflect.Message {
168 mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[1]
169 if protoimpl.UnsafeEnabled && x != nil {
170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171 if ms.LoadMessageInfo() == nil {
172 ms.StoreMessageInfo(mi)
173 }
174 return ms
175 }
176 return mi.MessageOf(x)
177 }
178
179 // Deprecated: Use CircuitBreakers_Thresholds.ProtoReflect.Descriptor instead.
180 func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int) {
181 return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP(), []int{0, 0}
182 }
183
184 func (x *CircuitBreakers_Thresholds) GetPriority() v3.RoutingPriority {
185 if x != nil {
186 return x.Priority
187 }
188 return v3.RoutingPriority(0)
189 }
190
191 func (x *CircuitBreakers_Thresholds) GetMaxConnections() *wrapperspb.UInt32Value {
192 if x != nil {
193 return x.MaxConnections
194 }
195 return nil
196 }
197
198 func (x *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrapperspb.UInt32Value {
199 if x != nil {
200 return x.MaxPendingRequests
201 }
202 return nil
203 }
204
205 func (x *CircuitBreakers_Thresholds) GetMaxRequests() *wrapperspb.UInt32Value {
206 if x != nil {
207 return x.MaxRequests
208 }
209 return nil
210 }
211
212 func (x *CircuitBreakers_Thresholds) GetMaxRetries() *wrapperspb.UInt32Value {
213 if x != nil {
214 return x.MaxRetries
215 }
216 return nil
217 }
218
219 func (x *CircuitBreakers_Thresholds) GetRetryBudget() *CircuitBreakers_Thresholds_RetryBudget {
220 if x != nil {
221 return x.RetryBudget
222 }
223 return nil
224 }
225
226 func (x *CircuitBreakers_Thresholds) GetTrackRemaining() bool {
227 if x != nil {
228 return x.TrackRemaining
229 }
230 return false
231 }
232
233 func (x *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrapperspb.UInt32Value {
234 if x != nil {
235 return x.MaxConnectionPools
236 }
237 return nil
238 }
239
240 type CircuitBreakers_Thresholds_RetryBudget struct {
241 state protoimpl.MessageState
242 sizeCache protoimpl.SizeCache
243 unknownFields protoimpl.UnknownFields
244
245 // Specifies the limit on concurrent retries as a percentage of the sum of active requests and
246 // active pending requests. For example, if there are 100 active requests and the
247 // budget_percent is set to 25, there may be 25 active retries.
248 //
249 // This parameter is optional. Defaults to 20%.
250 BudgetPercent *v31.Percent `protobuf:"bytes,1,opt,name=budget_percent,json=budgetPercent,proto3" json:"budget_percent,omitempty"`
251 // Specifies the minimum retry concurrency allowed for the retry budget. The limit on the
252 // number of active retries may never go below this number.
253 //
254 // This parameter is optional. Defaults to 3.
255 MinRetryConcurrency *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=min_retry_concurrency,json=minRetryConcurrency,proto3" json:"min_retry_concurrency,omitempty"`
256 }
257
258 func (x *CircuitBreakers_Thresholds_RetryBudget) Reset() {
259 *x = CircuitBreakers_Thresholds_RetryBudget{}
260 if protoimpl.UnsafeEnabled {
261 mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[2]
262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263 ms.StoreMessageInfo(mi)
264 }
265 }
266
267 func (x *CircuitBreakers_Thresholds_RetryBudget) String() string {
268 return protoimpl.X.MessageStringOf(x)
269 }
270
271 func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage() {}
272
273 func (x *CircuitBreakers_Thresholds_RetryBudget) ProtoReflect() protoreflect.Message {
274 mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[2]
275 if protoimpl.UnsafeEnabled && x != nil {
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 if ms.LoadMessageInfo() == nil {
278 ms.StoreMessageInfo(mi)
279 }
280 return ms
281 }
282 return mi.MessageOf(x)
283 }
284
285 // Deprecated: Use CircuitBreakers_Thresholds_RetryBudget.ProtoReflect.Descriptor instead.
286 func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor() ([]byte, []int) {
287 return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP(), []int{0, 0, 0}
288 }
289
290 func (x *CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent() *v31.Percent {
291 if x != nil {
292 return x.BudgetPercent
293 }
294 return nil
295 }
296
297 func (x *CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency() *wrapperspb.UInt32Value {
298 if x != nil {
299 return x.MinRetryConcurrency
300 }
301 return nil
302 }
303
304 var File_envoy_config_cluster_v3_circuit_breaker_proto protoreflect.FileDescriptor
305
306 var file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc = []byte{
307 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
308 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69,
309 0x74, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
310 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c,
311 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
312 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62,
313 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79,
314 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74,
315 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
316 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73,
317 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
318 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
319 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
320 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69,
321 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
322 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
323 0x6f, 0x22, 0xe5, 0x08, 0x0a, 0x0f, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65,
324 0x61, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
325 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
326 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
327 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b,
328 0x65, 0x72, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x0a,
329 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x63, 0x0a, 0x13, 0x70, 0x65,
330 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64,
331 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
332 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76,
333 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72,
334 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x11, 0x70, 0x65,
335 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x1a,
336 0xea, 0x06, 0x0a, 0x0a, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x4b,
337 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
338 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
339 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50,
340 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10,
341 0x01, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0f, 0x6d,
342 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02,
343 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
344 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c,
345 0x75, 0x65, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
346 0x6e, 0x73, 0x12, 0x4e, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e,
347 0x67, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
348 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
349 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12,
350 0x6d, 0x61, 0x78, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
351 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
352 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
353 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
354 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,
355 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69,
356 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
357 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
358 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x74, 0x72, 0x69,
359 0x65, 0x73, 0x12, 0x62, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x62, 0x75, 0x64, 0x67,
360 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
361 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e,
362 0x76, 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65,
363 0x72, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x2e, 0x52, 0x65,
364 0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79,
365 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f,
366 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
367 0x0e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12,
368 0x4e, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
369 0x6e, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
370 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
371 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78,
372 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x1a,
373 0xe2, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12,
374 0x3d, 0x0a, 0x0e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e,
375 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
376 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52,
377 0x0d, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x50,
378 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x63,
379 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
380 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
381 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x6d, 0x69, 0x6e,
382 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79,
383 0x3a, 0x42, 0x9a, 0xc5, 0x88, 0x1e, 0x3d, 0x0a, 0x3b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
384 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x69,
385 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x54, 0x68,
386 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x42, 0x75,
387 0x64, 0x67, 0x65, 0x74, 0x3a, 0x36, 0x9a, 0xc5, 0x88, 0x1e, 0x31, 0x0a, 0x2f, 0x65, 0x6e, 0x76,
388 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
389 0x72, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72,
390 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x3a, 0x2b, 0x9a, 0xc5,
391 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
392 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69,
393 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x42, 0x90, 0x01, 0xba, 0x80, 0xc8, 0xd1,
394 0x06, 0x02, 0x10, 0x02, 0x0a, 0x25, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
395 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
396 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x13, 0x43, 0x69, 0x72,
397 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
398 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65,
399 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e,
400 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
401 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f,
402 0x76, 0x33, 0x3b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72,
403 0x6f, 0x74, 0x6f, 0x33,
404 }
405
406 var (
407 file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescOnce sync.Once
408 file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData = file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc
409 )
410
411 func file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP() []byte {
412 file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescOnce.Do(func() {
413 file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData)
414 })
415 return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData
416 }
417
418 var file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
419 var file_envoy_config_cluster_v3_circuit_breaker_proto_goTypes = []interface{}{
420 (*CircuitBreakers)(nil), // 0: envoy.config.cluster.v3.CircuitBreakers
421 (*CircuitBreakers_Thresholds)(nil), // 1: envoy.config.cluster.v3.CircuitBreakers.Thresholds
422 (*CircuitBreakers_Thresholds_RetryBudget)(nil), // 2: envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget
423 (v3.RoutingPriority)(0), // 3: envoy.config.core.v3.RoutingPriority
424 (*wrapperspb.UInt32Value)(nil), // 4: google.protobuf.UInt32Value
425 (*v31.Percent)(nil), // 5: envoy.type.v3.Percent
426 }
427 var file_envoy_config_cluster_v3_circuit_breaker_proto_depIdxs = []int32{
428 1, // 0: envoy.config.cluster.v3.CircuitBreakers.thresholds:type_name -> envoy.config.cluster.v3.CircuitBreakers.Thresholds
429 1, // 1: envoy.config.cluster.v3.CircuitBreakers.per_host_thresholds:type_name -> envoy.config.cluster.v3.CircuitBreakers.Thresholds
430 3, // 2: envoy.config.cluster.v3.CircuitBreakers.Thresholds.priority:type_name -> envoy.config.core.v3.RoutingPriority
431 4, // 3: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_connections:type_name -> google.protobuf.UInt32Value
432 4, // 4: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_pending_requests:type_name -> google.protobuf.UInt32Value
433 4, // 5: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_requests:type_name -> google.protobuf.UInt32Value
434 4, // 6: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_retries:type_name -> google.protobuf.UInt32Value
435 2, // 7: envoy.config.cluster.v3.CircuitBreakers.Thresholds.retry_budget:type_name -> envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget
436 4, // 8: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_connection_pools:type_name -> google.protobuf.UInt32Value
437 5, // 9: envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget.budget_percent:type_name -> envoy.type.v3.Percent
438 4, // 10: envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget.min_retry_concurrency:type_name -> google.protobuf.UInt32Value
439 11, // [11:11] is the sub-list for method output_type
440 11, // [11:11] is the sub-list for method input_type
441 11, // [11:11] is the sub-list for extension type_name
442 11, // [11:11] is the sub-list for extension extendee
443 0, // [0:11] is the sub-list for field type_name
444 }
445
446 func init() { file_envoy_config_cluster_v3_circuit_breaker_proto_init() }
447 func file_envoy_config_cluster_v3_circuit_breaker_proto_init() {
448 if File_envoy_config_cluster_v3_circuit_breaker_proto != nil {
449 return
450 }
451 if !protoimpl.UnsafeEnabled {
452 file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
453 switch v := v.(*CircuitBreakers); i {
454 case 0:
455 return &v.state
456 case 1:
457 return &v.sizeCache
458 case 2:
459 return &v.unknownFields
460 default:
461 return nil
462 }
463 }
464 file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
465 switch v := v.(*CircuitBreakers_Thresholds); i {
466 case 0:
467 return &v.state
468 case 1:
469 return &v.sizeCache
470 case 2:
471 return &v.unknownFields
472 default:
473 return nil
474 }
475 }
476 file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
477 switch v := v.(*CircuitBreakers_Thresholds_RetryBudget); i {
478 case 0:
479 return &v.state
480 case 1:
481 return &v.sizeCache
482 case 2:
483 return &v.unknownFields
484 default:
485 return nil
486 }
487 }
488 }
489 type x struct{}
490 out := protoimpl.TypeBuilder{
491 File: protoimpl.DescBuilder{
492 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
493 RawDescriptor: file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc,
494 NumEnums: 0,
495 NumMessages: 3,
496 NumExtensions: 0,
497 NumServices: 0,
498 },
499 GoTypes: file_envoy_config_cluster_v3_circuit_breaker_proto_goTypes,
500 DependencyIndexes: file_envoy_config_cluster_v3_circuit_breaker_proto_depIdxs,
501 MessageInfos: file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes,
502 }.Build()
503 File_envoy_config_cluster_v3_circuit_breaker_proto = out.File
504 file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc = nil
505 file_envoy_config_cluster_v3_circuit_breaker_proto_goTypes = nil
506 file_envoy_config_cluster_v3_circuit_breaker_proto_depIdxs = nil
507 }