...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/config/cluster/v4alpha/circuit_breaker.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/config/cluster/v4alpha

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

View as plain text