gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/api/v2/cluster/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/api/v2/cluster/circuit_breaker.proto
     6  
     7  package envoy_api_v2_cluster
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	core "gitee.com/ks-custle/core-gm/go-control-plane/envoy/api/v2/core"
    12  	_type "gitee.com/ks-custle/core-gm/go-control-plane/envoy/type"
    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_api_msg_cluster.CircuitBreakers.Thresholds>`
    41  	// are defined with the same :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`,
    42  	// the first one in the list is used. If no Thresholds is defined for a given
    43  	// :ref:`RoutingPriority<envoy_api_enum_core.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_api_v2_cluster_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_api_v2_cluster_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_api_v2_cluster_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_api_enum_core.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_api_enum_core.RoutingPriority>`
    96  	// the specified CircuitBreaker settings apply to.
    97  	Priority core.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.api.v2.core.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_api_v2_cluster_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_api_v2_cluster_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_api_v2_cluster_circuit_breaker_proto_rawDescGZIP(), []int{0, 0}
   165  }
   166  
   167  func (x *CircuitBreakers_Thresholds) GetPriority() core.RoutingPriority {
   168  	if x != nil {
   169  		return x.Priority
   170  	}
   171  	return core.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 *_type.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_api_v2_cluster_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_api_v2_cluster_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_api_v2_cluster_circuit_breaker_proto_rawDescGZIP(), []int{0, 0, 0}
   271  }
   272  
   273  func (x *CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent() *_type.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_api_v2_cluster_circuit_breaker_proto protoreflect.FileDescriptor
   288  
   289  var file_envoy_api_v2_cluster_circuit_breaker_proto_rawDesc = []byte{
   290  	0x0a, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
   291  	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x62,
   292  	0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x65, 0x6e,
   293  	0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74,
   294  	0x65, 0x72, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,
   295  	0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   296  	0x1a, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x70, 0x65, 0x72,
   297  	0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
   298  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70,
   299  	0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61,
   300  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67,
   301  	0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61,
   302  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61,
   303  	0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64,
   304  	0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   305  	0x74, 0x6f, 0x22, 0xcb, 0x06, 0x0a, 0x0f, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72,
   306  	0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68,
   307  	0x6f, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, 0x6e, 0x76,
   308  	0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
   309  	0x72, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72,
   310  	0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x0a, 0x74, 0x68,
   311  	0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x1a, 0xe5, 0x05, 0x0a, 0x0a, 0x54, 0x68, 0x72,
   312  	0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72,
   313  	0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   314  	0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x6f,
   315  	0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x08, 0xfa,
   316  	0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74,
   317  	0x79, 0x12, 0x45, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
   318  	0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
   319  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e,
   320  	0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e,
   321  	0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4e, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f,
   322  	0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,
   323  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   324  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
   325  	0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
   326  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f,
   327  	0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
   328  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   329  	0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x6d, 0x61,
   330  	0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x61, 0x78,
   331  	0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
   332  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   333  	0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6d, 0x61,
   334  	0x78, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x72,
   335  	0x79, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c,
   336  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c,
   337  	0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65,
   338  	0x61, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73,
   339  	0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x0b, 0x72, 0x65,
   340  	0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61,
   341  	0x63, 0x6b, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01,
   342  	0x28, 0x08, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69,
   343  	0x6e, 0x67, 0x12, 0x4e, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
   344  	0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
   345  	0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   346  	0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12,
   347  	0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f,
   348  	0x6c, 0x73, 0x1a, 0x9b, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67,
   349  	0x65, 0x74, 0x12, 0x3a, 0x0a, 0x0e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x65, 0x72,
   350  	0x63, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x76,
   351  	0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52,
   352  	0x0d, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x50,
   353  	0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x63,
   354  	0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
   355  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   356  	0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x6d, 0x69, 0x6e,
   357  	0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79,
   358  	0x42, 0x94, 0x01, 0x0a, 0x22, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
   359  	0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
   360  	0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x13, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74,
   361  	0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xaa, 0x02,
   362  	0x16, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x32, 0x2e, 0x43, 0x6c,
   363  	0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x53, 0xea, 0x02, 0x16, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   364  	0x41, 0x70, 0x69, 0x2e, 0x56, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x53,
   365  	0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x19, 0x12, 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
   366  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0xba,
   367  	0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   368  }
   369  
   370  var (
   371  	file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescOnce sync.Once
   372  	file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescData = file_envoy_api_v2_cluster_circuit_breaker_proto_rawDesc
   373  )
   374  
   375  func file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescGZIP() []byte {
   376  	file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescOnce.Do(func() {
   377  		file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescData)
   378  	})
   379  	return file_envoy_api_v2_cluster_circuit_breaker_proto_rawDescData
   380  }
   381  
   382  var file_envoy_api_v2_cluster_circuit_breaker_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   383  var file_envoy_api_v2_cluster_circuit_breaker_proto_goTypes = []interface{}{
   384  	(*CircuitBreakers)(nil),                        // 0: envoy.api.v2.cluster.CircuitBreakers
   385  	(*CircuitBreakers_Thresholds)(nil),             // 1: envoy.api.v2.cluster.CircuitBreakers.Thresholds
   386  	(*CircuitBreakers_Thresholds_RetryBudget)(nil), // 2: envoy.api.v2.cluster.CircuitBreakers.Thresholds.RetryBudget
   387  	(core.RoutingPriority)(0),                      // 3: envoy.api.v2.core.RoutingPriority
   388  	(*wrappers.UInt32Value)(nil),                   // 4: google.protobuf.UInt32Value
   389  	(*_type.Percent)(nil),                          // 5: envoy.type.Percent
   390  }
   391  var file_envoy_api_v2_cluster_circuit_breaker_proto_depIdxs = []int32{
   392  	1,  // 0: envoy.api.v2.cluster.CircuitBreakers.thresholds:type_name -> envoy.api.v2.cluster.CircuitBreakers.Thresholds
   393  	3,  // 1: envoy.api.v2.cluster.CircuitBreakers.Thresholds.priority:type_name -> envoy.api.v2.core.RoutingPriority
   394  	4,  // 2: envoy.api.v2.cluster.CircuitBreakers.Thresholds.max_connections:type_name -> google.protobuf.UInt32Value
   395  	4,  // 3: envoy.api.v2.cluster.CircuitBreakers.Thresholds.max_pending_requests:type_name -> google.protobuf.UInt32Value
   396  	4,  // 4: envoy.api.v2.cluster.CircuitBreakers.Thresholds.max_requests:type_name -> google.protobuf.UInt32Value
   397  	4,  // 5: envoy.api.v2.cluster.CircuitBreakers.Thresholds.max_retries:type_name -> google.protobuf.UInt32Value
   398  	2,  // 6: envoy.api.v2.cluster.CircuitBreakers.Thresholds.retry_budget:type_name -> envoy.api.v2.cluster.CircuitBreakers.Thresholds.RetryBudget
   399  	4,  // 7: envoy.api.v2.cluster.CircuitBreakers.Thresholds.max_connection_pools:type_name -> google.protobuf.UInt32Value
   400  	5,  // 8: envoy.api.v2.cluster.CircuitBreakers.Thresholds.RetryBudget.budget_percent:type_name -> envoy.type.Percent
   401  	4,  // 9: envoy.api.v2.cluster.CircuitBreakers.Thresholds.RetryBudget.min_retry_concurrency:type_name -> google.protobuf.UInt32Value
   402  	10, // [10:10] is the sub-list for method output_type
   403  	10, // [10:10] is the sub-list for method input_type
   404  	10, // [10:10] is the sub-list for extension type_name
   405  	10, // [10:10] is the sub-list for extension extendee
   406  	0,  // [0:10] is the sub-list for field type_name
   407  }
   408  
   409  func init() { file_envoy_api_v2_cluster_circuit_breaker_proto_init() }
   410  func file_envoy_api_v2_cluster_circuit_breaker_proto_init() {
   411  	if File_envoy_api_v2_cluster_circuit_breaker_proto != nil {
   412  		return
   413  	}
   414  	if !protoimpl.UnsafeEnabled {
   415  		file_envoy_api_v2_cluster_circuit_breaker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   416  			switch v := v.(*CircuitBreakers); i {
   417  			case 0:
   418  				return &v.state
   419  			case 1:
   420  				return &v.sizeCache
   421  			case 2:
   422  				return &v.unknownFields
   423  			default:
   424  				return nil
   425  			}
   426  		}
   427  		file_envoy_api_v2_cluster_circuit_breaker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   428  			switch v := v.(*CircuitBreakers_Thresholds); i {
   429  			case 0:
   430  				return &v.state
   431  			case 1:
   432  				return &v.sizeCache
   433  			case 2:
   434  				return &v.unknownFields
   435  			default:
   436  				return nil
   437  			}
   438  		}
   439  		file_envoy_api_v2_cluster_circuit_breaker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   440  			switch v := v.(*CircuitBreakers_Thresholds_RetryBudget); i {
   441  			case 0:
   442  				return &v.state
   443  			case 1:
   444  				return &v.sizeCache
   445  			case 2:
   446  				return &v.unknownFields
   447  			default:
   448  				return nil
   449  			}
   450  		}
   451  	}
   452  	type x struct{}
   453  	out := protoimpl.TypeBuilder{
   454  		File: protoimpl.DescBuilder{
   455  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   456  			RawDescriptor: file_envoy_api_v2_cluster_circuit_breaker_proto_rawDesc,
   457  			NumEnums:      0,
   458  			NumMessages:   3,
   459  			NumExtensions: 0,
   460  			NumServices:   0,
   461  		},
   462  		GoTypes:           file_envoy_api_v2_cluster_circuit_breaker_proto_goTypes,
   463  		DependencyIndexes: file_envoy_api_v2_cluster_circuit_breaker_proto_depIdxs,
   464  		MessageInfos:      file_envoy_api_v2_cluster_circuit_breaker_proto_msgTypes,
   465  	}.Build()
   466  	File_envoy_api_v2_cluster_circuit_breaker_proto = out.File
   467  	file_envoy_api_v2_cluster_circuit_breaker_proto_rawDesc = nil
   468  	file_envoy_api_v2_cluster_circuit_breaker_proto_goTypes = nil
   469  	file_envoy_api_v2_cluster_circuit_breaker_proto_depIdxs = nil
   470  }