// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/config/cluster/redis/redis_cluster.proto

package envoy_config_cluster_redis

import (
	fmt "fmt"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	proto "github.com/golang/protobuf/proto"
	duration "github.com/golang/protobuf/ptypes/duration"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	math "math"
)

// 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.ProtoPackageIsVersion3 // please upgrade the proto package

type RedisClusterConfig struct {
	ClusterRefreshRate           *duration.Duration    `protobuf:"bytes,1,opt,name=cluster_refresh_rate,json=clusterRefreshRate,proto3" json:"cluster_refresh_rate,omitempty"`
	ClusterRefreshTimeout        *duration.Duration    `protobuf:"bytes,2,opt,name=cluster_refresh_timeout,json=clusterRefreshTimeout,proto3" json:"cluster_refresh_timeout,omitempty"`
	RedirectRefreshInterval      *duration.Duration    `protobuf:"bytes,3,opt,name=redirect_refresh_interval,json=redirectRefreshInterval,proto3" json:"redirect_refresh_interval,omitempty"`
	RedirectRefreshThreshold     *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=redirect_refresh_threshold,json=redirectRefreshThreshold,proto3" json:"redirect_refresh_threshold,omitempty"`
	FailureRefreshThreshold      uint32                `protobuf:"varint,5,opt,name=failure_refresh_threshold,json=failureRefreshThreshold,proto3" json:"failure_refresh_threshold,omitempty"`
	HostDegradedRefreshThreshold uint32                `protobuf:"varint,6,opt,name=host_degraded_refresh_threshold,json=hostDegradedRefreshThreshold,proto3" json:"host_degraded_refresh_threshold,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}              `json:"-"`
	XXX_unrecognized             []byte                `json:"-"`
	XXX_sizecache                int32                 `json:"-"`
}

func (m *RedisClusterConfig) Reset()         { *m = RedisClusterConfig{} }
func (m *RedisClusterConfig) String() string { return proto.CompactTextString(m) }
func (*RedisClusterConfig) ProtoMessage()    {}
func (*RedisClusterConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_6d6593a6ec218c02, []int{0}
}

func (m *RedisClusterConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RedisClusterConfig.Unmarshal(m, b)
}
func (m *RedisClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RedisClusterConfig.Marshal(b, m, deterministic)
}
func (m *RedisClusterConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RedisClusterConfig.Merge(m, src)
}
func (m *RedisClusterConfig) XXX_Size() int {
	return xxx_messageInfo_RedisClusterConfig.Size(m)
}
func (m *RedisClusterConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_RedisClusterConfig.DiscardUnknown(m)
}

var xxx_messageInfo_RedisClusterConfig proto.InternalMessageInfo

func (m *RedisClusterConfig) GetClusterRefreshRate() *duration.Duration {
	if m != nil {
		return m.ClusterRefreshRate
	}
	return nil
}

func (m *RedisClusterConfig) GetClusterRefreshTimeout() *duration.Duration {
	if m != nil {
		return m.ClusterRefreshTimeout
	}
	return nil
}

func (m *RedisClusterConfig) GetRedirectRefreshInterval() *duration.Duration {
	if m != nil {
		return m.RedirectRefreshInterval
	}
	return nil
}

func (m *RedisClusterConfig) GetRedirectRefreshThreshold() *wrappers.UInt32Value {
	if m != nil {
		return m.RedirectRefreshThreshold
	}
	return nil
}

func (m *RedisClusterConfig) GetFailureRefreshThreshold() uint32 {
	if m != nil {
		return m.FailureRefreshThreshold
	}
	return 0
}

func (m *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32 {
	if m != nil {
		return m.HostDegradedRefreshThreshold
	}
	return 0
}

func init() {
	proto.RegisterType((*RedisClusterConfig)(nil), "envoy.config.cluster.redis.RedisClusterConfig")
}

func init() {
	proto.RegisterFile("envoy/config/cluster/redis/redis_cluster.proto", fileDescriptor_6d6593a6ec218c02)
}

var fileDescriptor_6d6593a6ec218c02 = []byte{
	// 363 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x4b, 0xeb, 0x40,
	0x14, 0x85, 0x5f, 0xda, 0xd7, 0xf2, 0x98, 0xc7, 0x5b, 0xbc, 0x41, 0x49, 0x5a, 0x8a, 0x16, 0x57,
	0xc5, 0xc5, 0x04, 0xda, 0x9d, 0x1b, 0x21, 0xad, 0x8b, 0xee, 0x4a, 0x68, 0x5d, 0xe8, 0x22, 0x4c,
	0x9b, 0x9b, 0x74, 0x20, 0x66, 0xc2, 0xcd, 0xa4, 0xda, 0xbf, 0xe4, 0x4f, 0x74, 0x21, 0x92, 0xcc,
	0x44, 0xb4, 0xa9, 0xe8, 0x26, 0x09, 0x39, 0xe7, 0x7c, 0x67, 0xee, 0x70, 0x09, 0x83, 0x74, 0x27,
	0xf7, 0xee, 0x46, 0xa6, 0x91, 0x88, 0xdd, 0x4d, 0x52, 0xe4, 0x0a, 0xd0, 0x45, 0x08, 0x45, 0xae,
	0x9f, 0x81, 0xf9, 0xc7, 0x32, 0x94, 0x4a, 0xd2, 0x7e, 0xe5, 0x67, 0xda, 0xcf, 0x6a, 0xad, 0x72,
	0xf6, 0xcf, 0x62, 0x29, 0xe3, 0x04, 0xdc, 0xca, 0xb9, 0x2e, 0x22, 0x37, 0x2c, 0x90, 0x2b, 0x21,
	0x53, 0x9d, 0x6d, 0xea, 0x8f, 0xc8, 0xb3, 0x0c, 0x30, 0x37, 0xba, 0xbd, 0xe3, 0x89, 0x08, 0xb9,
	0x02, 0xb7, 0xfe, 0xd0, 0xc2, 0xc5, 0x6b, 0x9b, 0x50, 0xbf, 0xac, 0x98, 0xea, 0xbe, 0x69, 0xd5,
	0x4e, 0x57, 0xe4, 0xc4, 0x1c, 0x20, 0x40, 0x88, 0x10, 0xf2, 0x6d, 0x80, 0x5c, 0x81, 0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