Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 186 lines (164 sloc) 8.43 KB
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/api/v2/cluster/circuit_breaker.proto
package cluster
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type CircuitBreakers struct {
Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CircuitBreakers) Reset() { *m = CircuitBreakers{} }
func (m *CircuitBreakers) String() string { return proto.CompactTextString(m) }
func (*CircuitBreakers) ProtoMessage() {}
func (*CircuitBreakers) Descriptor() ([]byte, []int) {
return fileDescriptor_circuit_breaker_6d322bb388c83ee8, []int{0}
}
func (m *CircuitBreakers) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CircuitBreakers.Unmarshal(m, b)
}
func (m *CircuitBreakers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CircuitBreakers.Marshal(b, m, deterministic)
}
func (dst *CircuitBreakers) XXX_Merge(src proto.Message) {
xxx_messageInfo_CircuitBreakers.Merge(dst, src)
}
func (m *CircuitBreakers) XXX_Size() int {
return xxx_messageInfo_CircuitBreakers.Size(m)
}
func (m *CircuitBreakers) XXX_DiscardUnknown() {
xxx_messageInfo_CircuitBreakers.DiscardUnknown(m)
}
var xxx_messageInfo_CircuitBreakers proto.InternalMessageInfo
func (m *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds {
if m != nil {
return m.Thresholds
}
return nil
}
type CircuitBreakers_Thresholds struct {
Priority base.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.api.v2.core.RoutingPriority" json:"priority,omitempty"`
MaxConnections *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
MaxPendingRequests *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"`
MaxRequests *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"`
MaxRetries *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
TrackRemaining bool `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"`
MaxConnectionPools *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CircuitBreakers_Thresholds) Reset() { *m = CircuitBreakers_Thresholds{} }
func (m *CircuitBreakers_Thresholds) String() string { return proto.CompactTextString(m) }
func (*CircuitBreakers_Thresholds) ProtoMessage() {}
func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int) {
return fileDescriptor_circuit_breaker_6d322bb388c83ee8, []int{0, 0}
}
func (m *CircuitBreakers_Thresholds) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CircuitBreakers_Thresholds.Unmarshal(m, b)
}
func (m *CircuitBreakers_Thresholds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CircuitBreakers_Thresholds.Marshal(b, m, deterministic)
}
func (dst *CircuitBreakers_Thresholds) XXX_Merge(src proto.Message) {
xxx_messageInfo_CircuitBreakers_Thresholds.Merge(dst, src)
}
func (m *CircuitBreakers_Thresholds) XXX_Size() int {
return xxx_messageInfo_CircuitBreakers_Thresholds.Size(m)
}
func (m *CircuitBreakers_Thresholds) XXX_DiscardUnknown() {
xxx_messageInfo_CircuitBreakers_Thresholds.DiscardUnknown(m)
}
var xxx_messageInfo_CircuitBreakers_Thresholds proto.InternalMessageInfo
func (m *CircuitBreakers_Thresholds) GetPriority() base.RoutingPriority {
if m != nil {
return m.Priority
}
return base.RoutingPriority_DEFAULT
}
func (m *CircuitBreakers_Thresholds) GetMaxConnections() *wrappers.UInt32Value {
if m != nil {
return m.MaxConnections
}
return nil
}
func (m *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrappers.UInt32Value {
if m != nil {
return m.MaxPendingRequests
}
return nil
}
func (m *CircuitBreakers_Thresholds) GetMaxRequests() *wrappers.UInt32Value {
if m != nil {
return m.MaxRequests
}
return nil
}
func (m *CircuitBreakers_Thresholds) GetMaxRetries() *wrappers.UInt32Value {
if m != nil {
return m.MaxRetries
}
return nil
}
func (m *CircuitBreakers_Thresholds) GetTrackRemaining() bool {
if m != nil {
return m.TrackRemaining
}
return false
}
func (m *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrappers.UInt32Value {
if m != nil {
return m.MaxConnectionPools
}
return nil
}
func init() {
proto.RegisterType((*CircuitBreakers)(nil), "envoy.api.v2.cluster.CircuitBreakers")
proto.RegisterType((*CircuitBreakers_Thresholds)(nil), "envoy.api.v2.cluster.CircuitBreakers.Thresholds")
}
func init() {
proto.RegisterFile("envoy/api/v2/cluster/circuit_breaker.proto", fileDescriptor_circuit_breaker_6d322bb388c83ee8)
}
var fileDescriptor_circuit_breaker_6d322bb388c83ee8 = []byte{
// 422 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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