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

package envoy_type_matcher

import (
	fmt "fmt"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	proto "github.com/golang/protobuf/proto"
	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 StructMatcher struct {
	Path                 []*StructMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	Value                *ValueMatcher                `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

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

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

var xxx_messageInfo_StructMatcher proto.InternalMessageInfo

func (m *StructMatcher) GetPath() []*StructMatcher_PathSegment {
	if m != nil {
		return m.Path
	}
	return nil
}

func (m *StructMatcher) GetValue() *ValueMatcher {
	if m != nil {
		return m.Value
	}
	return nil
}

type StructMatcher_PathSegment struct {
	// Types that are valid to be assigned to Segment:
	//	*StructMatcher_PathSegment_Key
	Segment              isStructMatcher_PathSegment_Segment `protobuf_oneof:"segment"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

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

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

var xxx_messageInfo_StructMatcher_PathSegment proto.InternalMessageInfo

type isStructMatcher_PathSegment_Segment interface {
	isStructMatcher_PathSegment_Segment()
}

type StructMatcher_PathSegment_Key struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}

func (*StructMatcher_PathSegment_Key) isStructMatcher_PathSegment_Segment() {}

func (m *StructMatcher_PathSegment) GetSegment() isStructMatcher_PathSegment_Segment {
	if m != nil {
		return m.Segment
	}
	return nil
}

func (m *StructMatcher_PathSegment) GetKey() string {
	if x, ok := m.GetSegment().(*StructMatcher_PathSegment_Key); ok {
		return x.Key
	}
	return ""
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*StructMatcher_PathSegment) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*StructMatcher_PathSegment_Key)(nil),
	}
}

func init() {
	proto.RegisterType((*StructMatcher)(nil), "envoy.type.matcher.StructMatcher")
	proto.RegisterType((*StructMatcher_PathSegment)(nil), "envoy.type.matcher.StructMatcher.PathSegment")
}

func init() { proto.RegisterFile("envoy/type/matcher/struct.proto", fileDescriptor_80addaed29127401) }

var fileDescriptor_80addaed29127401 = []byte{
	// 259 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcd, 0x2b, 0xcb,
	0xaf, 0xd4, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0xcf, 0x4d, 0x2c, 0x49, 0xce, 0x48, 0x2d, 0xd2, 0x2f,
	0x2e, 0x29, 0x2a, 0x4d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x02, 0x2b, 0xd0,
	0x03, 0x29, 0xd0, 0x83, 0x2a, 0x90, 0x92, 0xc3, 0xa2, 0xa9, 0x2c, 0x31, 0xa7, 0x34, 0x15, 0xa2,
	0x47, 0x4a, 0xbc, 0x2c, 0x31, 0x27, 0x33, 0x25, 0xb1, 0x24, 0x55, 0x1f, 0xc6, 0x80, 0x48, 0x28,
	0xdd, 0x62, 0xe4, 0xe2, 0x0d, 0x06, 0x9b, 0xee, 0x0b, 0xd1, 0x26, 0xe4, 0xcd, 0xc5, 0x52, 0x90,
	0x58, 0x92, 0x21, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, 0x6d, 0xa4, 0xab, 0x87, 0x69, 0x9b, 0x1e, 0x8a,
	0x06, 0xbd, 0x80, 0xc4, 0x92, 0x8c, 0xe0, 0xd4, 0xf4, 0xdc, 0xd4, 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