// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/extensions/filters/http/cache/v3alpha/cache.proto

package envoy_extensions_filters_http_cache_v3alpha

import (
	fmt "fmt"
	_ "github.com/cncf/udpa/go/udpa/annotations"
	v31 "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
	v3 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	proto "github.com/golang/protobuf/proto"
	any "github.com/golang/protobuf/ptypes/any"
	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 CacheConfig struct {
	TypedConfig          *any.Any                      `protobuf:"bytes,1,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	AllowedVaryHeaders   []*v3.StringMatcher           `protobuf:"bytes,2,rep,name=allowed_vary_headers,json=allowedVaryHeaders,proto3" json:"allowed_vary_headers,omitempty"`
	KeyCreatorParams     *CacheConfig_KeyCreatorParams `protobuf:"bytes,3,opt,name=key_creator_params,json=keyCreatorParams,proto3" json:"key_creator_params,omitempty"`
	MaxBodyBytes         uint32                        `protobuf:"varint,4,opt,name=max_body_bytes,json=maxBodyBytes,proto3" json:"max_body_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

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

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

var xxx_messageInfo_CacheConfig proto.InternalMessageInfo

func (m *CacheConfig) GetTypedConfig() *any.Any {
	if m != nil {
		return m.TypedConfig
	}
	return nil
}

func (m *CacheConfig) GetAllowedVaryHeaders() []*v3.StringMatcher {
	if m != nil {
		return m.AllowedVaryHeaders
	}
	return nil
}

func (m *CacheConfig) GetKeyCreatorParams() *CacheConfig_KeyCreatorParams {
	if m != nil {
		return m.KeyCreatorParams
	}
	return nil
}

func (m *CacheConfig) GetMaxBodyBytes() uint32 {
	if m != nil {
		return m.MaxBodyBytes
	}
	return 0
}

type CacheConfig_KeyCreatorParams struct {
	ExcludeScheme           bool                         `protobuf:"varint,1,opt,name=exclude_scheme,json=excludeScheme,proto3" json:"exclude_scheme,omitempty"`
	ExcludeHost             bool                         `protobuf:"varint,2,opt,name=exclude_host,json=excludeHost,proto3" json:"exclude_host,omitempty"`
	QueryParametersIncluded []*v31.QueryParameterMatcher `protobuf:"bytes,3,rep,name=query_parameters_included,json=queryParametersIncluded,proto3" json:"query_parameters_included,omitempty"`
	QueryParametersExcluded []*v31.QueryParameterMatcher `protobuf:"bytes,4,rep,name=query_parameters_excluded,json=queryParametersExcluded,proto3" json:"query_parameters_excluded,omitempty"`
	XXX_NoUnkeyedLiteral    struct{}                     `json:"-"`
	XXX_unrecognized        []byte                       `json:"-"`
	XXX_sizecache           int32                        `json:"-"`
}

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

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

var xxx_messageInfo_CacheConfig_KeyCreatorParams proto.InternalMessageInfo

func (m *CacheConfig_KeyCreatorParams) GetExcludeScheme() bool {
	if m != nil {
		return m.ExcludeScheme
	}
	return false
}

func (m *CacheConfig_KeyCreatorParams) GetExcludeHost() bool {
	if m != nil {
		return m.ExcludeHost
	}
	return false
}

func (m *CacheConfig_KeyCreatorParams) GetQueryParametersIncluded() []*v31.QueryParameterMatcher {
	if m != nil {
		return m.QueryParametersIncluded
	}
	return nil
}

func (m *CacheConfig_KeyCreatorParams) GetQueryParametersExcluded() []*v31.QueryParameterMatcher {
	if m != nil {
		return m.QueryParametersExcluded
	}
	return nil
}

func init() {
	proto.RegisterType((*CacheConfig)(nil), "envoy.extensions.filters.http.cache.v3alpha.CacheConfig")
	proto.RegisterType((*CacheConfig_KeyCreatorParams)(nil), "envoy.extensions.filters.http.cache.v3alpha.CacheConfig.KeyCreatorParams")
}

func init() {
	proto.RegisterFile("envoy/extensions/filters/http/cache/v3alpha/cache.proto", fileDescriptor_09e63ce5312e748b)
}

var fileDescriptor_09e63ce5312e748b = []byte{
	// 543 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x5d, 0x6b, 0xdb, 0x30,
	0x14, 0xc5, 0x69, 0x57, 0x82, 0x92, 0x96, 0x62, 0x0a, 0x75, 0xf3, 0x30, 0xd2, 0xd2, 0x41, 0x60,
	0x45, 0x86, 0x64, 0x30, 0xda, 0xb7, 0x3a, 0x14, 0x9a, 0x8d, 0x41, 0x96, 0x42, 0x5f, 0x8d, 0x62,
	0xdf, 0xc4, 0xa6, 0xb6, 0xe4, 0x4a, 0x8a, 0x6b, 0x3d, 0xee, 0x6d, 0xbf, 0x61, 0x8f, 0xfb, 0x2f,
	0xfb, 0x53, 0x63, 0x0f, 0x43, 0x1f, 0xa1, 0x4b, 0x19, 0x8c, 0xc0, 0xde, 0xec, 0xa3, 0x7b, 0xce,
	0x3d, 0xe7, 0x5e, 0x09, 0xbd, 0x07, 0x5a, 0x33, 0x15, 0x42, 0x23, 0x81, 0x8a, 0x9c, 0x51, 0x11,
	0x2e, 0xf2, 0x42, 0x02, 0x17, 0x61, 0x26, 0x65, 0x15, 0x26, 0x24, 0xc9, 0x20, 0xac, 0x47, 0xa4,
	0xa8, 0x32, 0x62, 0xff, 0x70, 0xc5, 0x99, 0x64, 0xfe, 0x5b, 0x43, 0xc4, 0xcf, 0x44, 0xec, 0x88,
	0x58, 0x13, 0xb1, 0x2d, 0x75, 0xc4, 0xde, 0x85, 0xed, 0x92, 0x30, 0xba, 0xc8, 0x97, 0x21, 0x67,
	0x2b, 0xa9, 0x45, 0xed, 0x47, 0x9c, 0xb0, 0xb2, 0x62, 0x14, 0xa8, 0x14, 0x56, 0xba, 0x77, 0x66,
	0xab, 0xa5, 0xaa, 0x20, 0x2c, 0x89, 0x4c, 0x32, 0xe0, 0xba, 0x5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