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