// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/type/token_bucket.proto

package envoy_type

import (
	fmt "fmt"
	_ "github.com/cncf/udpa/go/udpa/annotations"
	_ "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 TokenBucket struct {
	MaxTokens            uint32                `protobuf:"varint,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"`
	TokensPerFill        *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=tokens_per_fill,json=tokensPerFill,proto3" json:"tokens_per_fill,omitempty"`
	FillInterval         *duration.Duration    `protobuf:"bytes,3,opt,name=fill_interval,json=fillInterval,proto3" json:"fill_interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

var xxx_messageInfo_TokenBucket proto.InternalMessageInfo

func (m *TokenBucket) GetMaxTokens() uint32 {
	if m != nil {
		return m.MaxTokens
	}
	return 0
}

func (m *TokenBucket) GetTokensPerFill() *wrappers.UInt32Value {
	if m != nil {
		return m.TokensPerFill
	}
	return nil
}

func (m *TokenBucket) GetFillInterval() *duration.Duration {
	if m != nil {
		return m.FillInterval
	}
	return nil
}

func init() {
	proto.RegisterType((*TokenBucket)(nil), "envoy.type.TokenBucket")
}

func init() { proto.RegisterFile("envoy/type/token_bucket.proto", fileDescriptor_04e870b436501a80) }

var fileDescriptor_04e870b436501a80 = []byte{
	// 311 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xc3, 0x30,
	0x1c, 0xc6, 0x97, 0x39, 0x36, 0xcd, 0x1c, 0x8e, 0x5e, 0xac, 0xe2, 0x64, 0x78, 0x90, 0xb1, 0x43,
	0x02, 0x1b, 0xf8, 0x00, 0x41, 0x84, 0x09, 0xc2, 0x18, 0xea, 0xb5, 0x64, 0x36, 0x1b, 0x61, 0x59,
	0x12, 0xd2, 0xa4, 0xb6, 0x37, 0x9f, 0xc7, 0x47, 0xf0, 0x09, 0x3c, 0xea, 0xeb, 0xec, 0x24, 0x4d,
	0x5b, 0x26, 0xec, 0x16, 0xf8, 0x7d, 0xdf, 0x97, 0xef, 0xff, 0xc1, 0x01, 0x93, 0xa9, 0xca, 0xb1,
	0xcd, 0x35, 0xc3, 0x56, 0x6d, 0x98, 0x8c, 0x96, 0xee, 0x6d, 0xc3, 0x2c, 0xd2, 0x46, 0x59, 0x15,
	0x40, 0x8f, 0x51, 0x81, 0x2f, 0xaf, 0xd7, 0x4a, 0xad, 0x05, 0xc3, 0x9e, 0x2c,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