// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/type/matcher/v3/value.proto package envoy_type_matcher_v3 import ( fmt "fmt" _ "github.com/cncf/udpa/go/udpa/annotations" _ "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 ValueMatcher struct { // Types that are valid to be assigned to MatchPattern: // *ValueMatcher_NullMatch_ // *ValueMatcher_DoubleMatch // *ValueMatcher_StringMatch // *ValueMatcher_BoolMatch // *ValueMatcher_PresentMatch // *ValueMatcher_ListMatch MatchPattern isValueMatcher_MatchPattern `protobuf_oneof:"match_pattern"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ValueMatcher) Reset() { *m = ValueMatcher{} } func (m *ValueMatcher) String() string { return proto.CompactTextString(m) } func (*ValueMatcher) ProtoMessage() {} func (*ValueMatcher) Descriptor() ([]byte, []int) { return fileDescriptor_bd6368dfc3b13d42, []int{0} } func (m *ValueMatcher) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValueMatcher.Unmarshal(m, b) } func (m *ValueMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ValueMatcher.Marshal(b, m, deterministic) } func (m *ValueMatcher) XXX_Merge(src proto.Message) { xxx_messageInfo_ValueMatcher.Merge(m, src) } func (m *ValueMatcher) XXX_Size() int { return xxx_messageInfo_ValueMatcher.Size(m) } func (m *ValueMatcher) XXX_DiscardUnknown() { xxx_messageInfo_ValueMatcher.DiscardUnknown(m) } var xxx_messageInfo_ValueMatcher proto.InternalMessageInfo type isValueMatcher_MatchPattern interface { isValueMatcher_MatchPattern() } type ValueMatcher_NullMatch_ struct { NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,proto3,oneof"` } type ValueMatcher_DoubleMatch struct { DoubleMatch *DoubleMatcher `protobuf:"bytes,2,opt,name=double_match,json=doubleMatch,proto3,oneof"` } type ValueMatcher_StringMatch struct { StringMatch *StringMatcher `protobuf:"bytes,3,opt,name=string_match,json=stringMatch,proto3,oneof"` } type ValueMatcher_BoolMatch struct { BoolMatch bool `protobuf:"varint,4,opt,name=bool_match,json=boolMatch,proto3,oneof"` } type ValueMatcher_PresentMatch struct { PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"` } type ValueMatcher_ListMatch struct { ListMatch *ListMatcher `protobuf:"bytes,6,opt,name=list_match,json=listMatch,proto3,oneof"` } func (*ValueMatcher_NullMatch_) isValueMatcher_MatchPattern() {} func (*ValueMatcher_DoubleMatch) isValueMatcher_MatchPattern() {} func (*ValueMatcher_StringMatch) isValueMatcher_MatchPattern() {} func (*ValueMatcher_BoolMatch) isValueMatcher_MatchPattern() {} func (*ValueMatcher_PresentMatch) isValueMatcher_MatchPattern() {} func (*ValueMatcher_ListMatch) isValueMatcher_MatchPattern() {} func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern { if m != nil { return m.MatchPattern } return nil } func (m *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch { if x, ok := m.GetMatchPattern().(*ValueMatcher_NullMatch_); ok { return x.NullMatch } return nil } func (m *ValueMatcher) GetDoubleMatch() *DoubleMatcher { if x, ok := m.GetMatchPattern().(*ValueMatcher_DoubleMatch); ok { return x.DoubleMatch } return nil } func (m *ValueMatcher) GetStringMatch() *StringMatcher { if x, ok := m.GetMatchPattern().(*ValueMatcher_StringMatch); ok { return x.StringMatch } return nil } func (m *ValueMatcher) GetBoolMatch() bool { if x, ok := m.GetMatchPattern().(*ValueMatcher_BoolMatch); ok { return x.BoolMatch } return false } func (m *ValueMatcher) GetPresentMatch() bool { if x, ok := m.GetMatchPattern().(*ValueMatcher_PresentMatch); ok { return x.PresentMatch } return false } func (m *ValueMatcher) GetListMatch() *ListMatcher { if x, ok := m.GetMatchPattern().(*ValueMatcher_ListMatch); ok { return x.ListMatch } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*ValueMatcher) XXX_OneofWrappers() []interface{} { return []interface{}{ (*ValueMatcher_NullMatch_)(nil), (*ValueMatcher_DoubleMatch)(nil), (*ValueMatcher_StringMatch)(nil), (*ValueMatcher_BoolMatch)(nil), (*ValueMatcher_PresentMatch)(nil), (*ValueMatcher_ListMatch)(nil), } } type ValueMatcher_NullMatch struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ValueMatcher_NullMatch) Reset() { *m = ValueMatcher_NullMatch{} } func (m *ValueMatcher_NullMatch) String() string { return proto.CompactTextString(m) } func (*ValueMatcher_NullMatch) ProtoMessage() {} func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int) { return fileDescriptor_bd6368dfc3b13d42, []int{0, 0} } func (m *ValueMatcher_NullMatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValueMatcher_NullMatch.Unmarshal(m, b) } func (m *ValueMatcher_NullMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ValueMatcher_NullMatch.Marshal(b, m, deterministic) } func (m *ValueMatcher_NullMatch) XXX_Merge(src proto.Message) { xxx_messageInfo_ValueMatcher_NullMatch.Merge(m, src) } func (m *ValueMatcher_NullMatch) XXX_Size() int { return xxx_messageInfo_ValueMatcher_NullMatch.Size(m) } func (m *ValueMatcher_NullMatch) XXX_DiscardUnknown() { xxx_messageInfo_ValueMatcher_NullMatch.DiscardUnknown(m) } var xxx_messageInfo_ValueMatcher_NullMatch proto.InternalMessageInfo type ListMatcher struct { // Types that are valid to be assigned to MatchPattern: // *ListMatcher_OneOf MatchPattern isListMatcher_MatchPattern `protobuf_oneof:"match_pattern"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListMatcher) Reset() { *m = ListMatcher{} } func (m *ListMatcher) String() string { return proto.CompactTextString(m) } func (*ListMatcher) ProtoMessage() {} func (*ListMatcher) Descriptor() ([]byte, []int) { return fileDescriptor_bd6368dfc3b13d42, []int{1} } func (m *ListMatcher) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMatcher.Unmarshal(m, b) } func (m *ListMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListMatcher.Marshal(b, m, deterministic) } func (m *ListMatcher) XXX_Merge(src proto.Message) { xxx_messageInfo_ListMatcher.Merge(m, src) } func (m *ListMatcher) XXX_Size() int { return xxx_messageInfo_ListMatcher.Size(m) } func (m *ListMatcher) XXX_DiscardUnknown() { xxx_messageInfo_ListMatcher.DiscardUnknown(m) } var xxx_messageInfo_ListMatcher proto.InternalMessageInfo type isListMatcher_MatchPattern interface { isListMatcher_MatchPattern() } type ListMatcher_OneOf struct { OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"` } func (*ListMatcher_OneOf) isListMatcher_MatchPattern() {} func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern { if m != nil { return m.MatchPattern } return nil } func (m *ListMatcher) GetOneOf() *ValueMatcher { if x, ok := m.GetMatchPattern().(*ListMatcher_OneOf); ok { return x.OneOf } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*ListMatcher) XXX_OneofWrappers() []interface{} { return []interface{}{ (*ListMatcher_OneOf)(nil), } } func init() { proto.RegisterType((*ValueMatcher)(nil), "envoy.type.matcher.v3.ValueMatcher") proto.RegisterType((*ValueMatcher_NullMatch)(nil), "envoy.type.matcher.v3.ValueMatcher.NullMatch") proto.RegisterType((*ListMatcher)(nil), "envoy.type.matcher.v3.ListMatcher") } func init() { proto.RegisterFile("envoy/type/matcher/v3/value.proto", fileDescriptor_bd6368dfc3b13d42) } var fileDescriptor_bd6368dfc3b13d42 = []byte{ // 431 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0xcb, 0xd3, 0x30, 0x18, 0xc7, 0xd7, 0xcd, 0x15, 0xf7, 0x6c, 0x03, 0x29, 0x8a, 0x32, 0x70, 0x3f, 0x3a, 0x27, 0x13, 0xb1, 0x15, 0x77, 0x9b, 0x7a, 0xa9, 0x1e, 0x26, 0xe8, 0x1c, 0x13, 0xbc, 0x8e, 0xd4, 0x66, 0x5a, 0xc8, 0x92, 0x92, 0xa4, 0xc5, 0xdd, 0x3c, 0xee, 0x6f, 0xf0, 0x4f, 0xf1, 0x2e, 0x78, 0xf5, 0xbf, 0xf1, 0x24, 0x92, 0x34, 0xb5, 0x85, 0xb7, 0x7b, 0xdf, 0xf7, 0x96, 0x3c, 0xf9, 0x7c, 0xbf, 0xf9, 0x3e, 0x4f, 0x02, 0x13, 0x4c, 0x33, 0x76, 0xf4, 0xe5, 0x31, 0xc1, 0xfe, 0x01, 0xc9, 0x4f, 0x5f, 0x30, 0xf7, 0xb3, 0x85, 0x9f, 0x21, 0x92, 0x62, 0x2f, 0xe1, 0x4c, 0x32, 0xe7, 0x8e, 0x46, 0x3c, 0x85, 0x78, 0x06, 0xf1, 0xb2, 0xc5, 0xc0, 0xad, 0x57, 0xd2, 0xf4, 0x10, 0x62, 0x9e, 0x4b, 0xcf, 0x31, 0x42, 0xf2, 0x98, 0x7e, 0x36, 0xcc, 0xfd, 0x34, 0x4a, 0x90, 0x8f, 0x28, 0x65, 0x12, 0xc9, 0x98, 0x51, 0xe1, 0x0b, 0x89, 0x64, 0x2a, 0xcc, 0xf1, 0xe4, 0xc2, 0x71, 0x86, 0xb9, 0x88, 0x19, 0x2d, 0x1d, 0xee, 0x66, 0x88, 0xc4, 0x11, 0x92, 0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