1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.25.0 4// protoc v3.14.0 5// source: envoy/type/matcher/v3/value.proto 6 7package envoy_type_matcher_v3 8 9import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17) 18 19const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24) 25 26// This is a compile-time assertion that a sufficiently up-to-date version 27// of the legacy proto package is being used. 28const _ = proto.ProtoPackageIsVersion4 29 30// Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. 31// StructValue is not supported and is always not matched. 32// [#next-free-field: 7] 33type ValueMatcher struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // Specifies how to match a value. 39 // 40 // Types that are assignable to MatchPattern: 41 // *ValueMatcher_NullMatch_ 42 // *ValueMatcher_DoubleMatch 43 // *ValueMatcher_StringMatch 44 // *ValueMatcher_BoolMatch 45 // *ValueMatcher_PresentMatch 46 // *ValueMatcher_ListMatch 47 MatchPattern isValueMatcher_MatchPattern `protobuf_oneof:"match_pattern"` 48} 49 50func (x *ValueMatcher) Reset() { 51 *x = ValueMatcher{} 52 if protoimpl.UnsafeEnabled { 53 mi := &file_envoy_type_matcher_v3_value_proto_msgTypes[0] 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 ms.StoreMessageInfo(mi) 56 } 57} 58 59func (x *ValueMatcher) String() string { 60 return protoimpl.X.MessageStringOf(x) 61} 62 63func (*ValueMatcher) ProtoMessage() {} 64 65func (x *ValueMatcher) ProtoReflect() protoreflect.Message { 66 mi := &file_envoy_type_matcher_v3_value_proto_msgTypes[0] 67 if protoimpl.UnsafeEnabled && x != nil { 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 if ms.LoadMessageInfo() == nil { 70 ms.StoreMessageInfo(mi) 71 } 72 return ms 73 } 74 return mi.MessageOf(x) 75} 76 77// Deprecated: Use ValueMatcher.ProtoReflect.Descriptor instead. 78func (*ValueMatcher) Descriptor() ([]byte, []int) { 79 return file_envoy_type_matcher_v3_value_proto_rawDescGZIP(), []int{0} 80} 81 82func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern { 83 if m != nil { 84 return m.MatchPattern 85 } 86 return nil 87} 88 89func (x *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch { 90 if x, ok := x.GetMatchPattern().(*ValueMatcher_NullMatch_); ok { 91 return x.NullMatch 92 } 93 return nil 94} 95 96func (x *ValueMatcher) GetDoubleMatch() *DoubleMatcher { 97 if x, ok := x.GetMatchPattern().(*ValueMatcher_DoubleMatch); ok { 98 return x.DoubleMatch 99 } 100 return nil 101} 102 103func (x *ValueMatcher) GetStringMatch() *StringMatcher { 104 if x, ok := x.GetMatchPattern().(*ValueMatcher_StringMatch); ok { 105 return x.StringMatch 106 } 107 return nil 108} 109 110func (x *ValueMatcher) GetBoolMatch() bool { 111 if x, ok := x.GetMatchPattern().(*ValueMatcher_BoolMatch); ok { 112 return x.BoolMatch 113 } 114 return false 115} 116 117func (x *ValueMatcher) GetPresentMatch() bool { 118 if x, ok := x.GetMatchPattern().(*ValueMatcher_PresentMatch); ok { 119 return x.PresentMatch 120 } 121 return false 122} 123 124func (x *ValueMatcher) GetListMatch() *ListMatcher { 125 if x, ok := x.GetMatchPattern().(*ValueMatcher_ListMatch); ok { 126 return x.ListMatch 127 } 128 return nil 129} 130 131type isValueMatcher_MatchPattern interface { 132 isValueMatcher_MatchPattern() 133} 134 135type ValueMatcher_NullMatch_ struct { 136 // If specified, a match occurs if and only if the target value is a NullValue. 137 NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,proto3,oneof"` 138} 139 140type ValueMatcher_DoubleMatch struct { 141 // If specified, a match occurs if and only if the target value is a double value and is 142 // matched to this field. 143 DoubleMatch *DoubleMatcher `protobuf:"bytes,2,opt,name=double_match,json=doubleMatch,proto3,oneof"` 144} 145 146type ValueMatcher_StringMatch struct { 147 // If specified, a match occurs if and only if the target value is a string value and is 148 // matched to this field. 149 StringMatch *StringMatcher `protobuf:"bytes,3,opt,name=string_match,json=stringMatch,proto3,oneof"` 150} 151 152type ValueMatcher_BoolMatch struct { 153 // If specified, a match occurs if and only if the target value is a bool value and is equal 154 // to this field. 155 BoolMatch bool `protobuf:"varint,4,opt,name=bool_match,json=boolMatch,proto3,oneof"` 156} 157 158type ValueMatcher_PresentMatch struct { 159 // If specified, value match will be performed based on whether the path is referring to a 160 // valid primitive value in the metadata. If the path is referring to a non-primitive value, 161 // the result is always not matched. 162 PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"` 163} 164 165type ValueMatcher_ListMatch struct { 166 // If specified, a match occurs if and only if the target value is a list value and 167 // is matched to this field. 168 ListMatch *ListMatcher `protobuf:"bytes,6,opt,name=list_match,json=listMatch,proto3,oneof"` 169} 170 171func (*ValueMatcher_NullMatch_) isValueMatcher_MatchPattern() {} 172 173func (*ValueMatcher_DoubleMatch) isValueMatcher_MatchPattern() {} 174 175func (*ValueMatcher_StringMatch) isValueMatcher_MatchPattern() {} 176 177func (*ValueMatcher_BoolMatch) isValueMatcher_MatchPattern() {} 178 179func (*ValueMatcher_PresentMatch) isValueMatcher_MatchPattern() {} 180 181func (*ValueMatcher_ListMatch) isValueMatcher_MatchPattern() {} 182 183// Specifies the way to match a list value. 184type ListMatcher struct { 185 state protoimpl.MessageState 186 sizeCache protoimpl.SizeCache 187 unknownFields protoimpl.UnknownFields 188 189 // Types that are assignable to MatchPattern: 190 // *ListMatcher_OneOf 191 MatchPattern isListMatcher_MatchPattern `protobuf_oneof:"match_pattern"` 192} 193 194func (x *ListMatcher) Reset() { 195 *x = ListMatcher{} 196 if protoimpl.UnsafeEnabled { 197 mi := &file_envoy_type_matcher_v3_value_proto_msgTypes[1] 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 ms.StoreMessageInfo(mi) 200 } 201} 202 203func (x *ListMatcher) String() string { 204 return protoimpl.X.MessageStringOf(x) 205} 206 207func (*ListMatcher) ProtoMessage() {} 208 209func (x *ListMatcher) ProtoReflect() protoreflect.Message { 210 mi := &file_envoy_type_matcher_v3_value_proto_msgTypes[1] 211 if protoimpl.UnsafeEnabled && x != nil { 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 if ms.LoadMessageInfo() == nil { 214 ms.StoreMessageInfo(mi) 215 } 216 return ms 217 } 218 return mi.MessageOf(x) 219} 220 221// Deprecated: Use ListMatcher.ProtoReflect.Descriptor instead. 222func (*ListMatcher) Descriptor() ([]byte, []int) { 223 return file_envoy_type_matcher_v3_value_proto_rawDescGZIP(), []int{1} 224} 225 226func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern { 227 if m != nil { 228 return m.MatchPattern 229 } 230 return nil 231} 232 233func (x *ListMatcher) GetOneOf() *ValueMatcher { 234 if x, ok := x.GetMatchPattern().(*ListMatcher_OneOf); ok { 235 return x.OneOf 236 } 237 return nil 238} 239 240type isListMatcher_MatchPattern interface { 241 isListMatcher_MatchPattern() 242} 243 244type ListMatcher_OneOf struct { 245 // If specified, at least one of the values in the list must match the value specified. 246 OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"` 247} 248 249func (*ListMatcher_OneOf) isListMatcher_MatchPattern() {} 250 251// NullMatch is an empty message to specify a null value. 252type ValueMatcher_NullMatch struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256} 257 258func (x *ValueMatcher_NullMatch) Reset() { 259 *x = ValueMatcher_NullMatch{} 260 if protoimpl.UnsafeEnabled { 261 mi := &file_envoy_type_matcher_v3_value_proto_msgTypes[2] 262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 263 ms.StoreMessageInfo(mi) 264 } 265} 266 267func (x *ValueMatcher_NullMatch) String() string { 268 return protoimpl.X.MessageStringOf(x) 269} 270 271func (*ValueMatcher_NullMatch) ProtoMessage() {} 272 273func (x *ValueMatcher_NullMatch) ProtoReflect() protoreflect.Message { 274 mi := &file_envoy_type_matcher_v3_value_proto_msgTypes[2] 275 if protoimpl.UnsafeEnabled && x != nil { 276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 277 if ms.LoadMessageInfo() == nil { 278 ms.StoreMessageInfo(mi) 279 } 280 return ms 281 } 282 return mi.MessageOf(x) 283} 284 285// Deprecated: Use ValueMatcher_NullMatch.ProtoReflect.Descriptor instead. 286func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int) { 287 return file_envoy_type_matcher_v3_value_proto_rawDescGZIP(), []int{0, 0} 288} 289 290var File_envoy_type_matcher_v3_value_proto protoreflect.FileDescriptor 291 292var file_envoy_type_matcher_v3_value_proto_rawDesc = []byte{ 293 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 294 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 295 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 296 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 297 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 298 0x33, 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 299 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 300 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 301 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 302 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 303 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 304 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 305 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 306 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfe, 0x03, 307 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4e, 308 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 309 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 310 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 311 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 312 0x68, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x49, 313 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 314 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 315 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6f, 0x75, 316 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 317 0x75, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x49, 0x0a, 0x0c, 0x73, 0x74, 0x72, 318 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 319 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 320 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 321 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 322 0x61, 0x74, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 323 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 324 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 325 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 326 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x43, 0x0a, 0x0a, 327 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 328 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 329 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 330 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 331 0x68, 0x1a, 0x3d, 0x0a, 0x09, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x30, 332 0x9a, 0xc5, 0x88, 0x1e, 0x2b, 0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 333 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 334 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 335 0x3a, 0x26, 0x9a, 0xc5, 0x88, 0x1e, 0x21, 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 336 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 337 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 338 0x68, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x88, 339 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x3c, 340 0x0a, 0x06, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 341 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 342 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 343 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x6e, 0x65, 0x4f, 0x66, 0x3a, 0x25, 0x9a, 0xc5, 344 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 345 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 346 0x68, 0x65, 0x72, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 347 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x3b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 348 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 349 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 350 0x42, 0x0a, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 351 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 352} 353 354var ( 355 file_envoy_type_matcher_v3_value_proto_rawDescOnce sync.Once 356 file_envoy_type_matcher_v3_value_proto_rawDescData = file_envoy_type_matcher_v3_value_proto_rawDesc 357) 358 359func file_envoy_type_matcher_v3_value_proto_rawDescGZIP() []byte { 360 file_envoy_type_matcher_v3_value_proto_rawDescOnce.Do(func() { 361 file_envoy_type_matcher_v3_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_matcher_v3_value_proto_rawDescData) 362 }) 363 return file_envoy_type_matcher_v3_value_proto_rawDescData 364} 365 366var file_envoy_type_matcher_v3_value_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 367var file_envoy_type_matcher_v3_value_proto_goTypes = []interface{}{ 368 (*ValueMatcher)(nil), // 0: envoy.type.matcher.v3.ValueMatcher 369 (*ListMatcher)(nil), // 1: envoy.type.matcher.v3.ListMatcher 370 (*ValueMatcher_NullMatch)(nil), // 2: envoy.type.matcher.v3.ValueMatcher.NullMatch 371 (*DoubleMatcher)(nil), // 3: envoy.type.matcher.v3.DoubleMatcher 372 (*StringMatcher)(nil), // 4: envoy.type.matcher.v3.StringMatcher 373} 374var file_envoy_type_matcher_v3_value_proto_depIdxs = []int32{ 375 2, // 0: envoy.type.matcher.v3.ValueMatcher.null_match:type_name -> envoy.type.matcher.v3.ValueMatcher.NullMatch 376 3, // 1: envoy.type.matcher.v3.ValueMatcher.double_match:type_name -> envoy.type.matcher.v3.DoubleMatcher 377 4, // 2: envoy.type.matcher.v3.ValueMatcher.string_match:type_name -> envoy.type.matcher.v3.StringMatcher 378 1, // 3: envoy.type.matcher.v3.ValueMatcher.list_match:type_name -> envoy.type.matcher.v3.ListMatcher 379 0, // 4: envoy.type.matcher.v3.ListMatcher.one_of:type_name -> envoy.type.matcher.v3.ValueMatcher 380 5, // [5:5] is the sub-list for method output_type 381 5, // [5:5] is the sub-list for method input_type 382 5, // [5:5] is the sub-list for extension type_name 383 5, // [5:5] is the sub-list for extension extendee 384 0, // [0:5] is the sub-list for field type_name 385} 386 387func init() { file_envoy_type_matcher_v3_value_proto_init() } 388func file_envoy_type_matcher_v3_value_proto_init() { 389 if File_envoy_type_matcher_v3_value_proto != nil { 390 return 391 } 392 file_envoy_type_matcher_v3_number_proto_init() 393 file_envoy_type_matcher_v3_string_proto_init() 394 if !protoimpl.UnsafeEnabled { 395 file_envoy_type_matcher_v3_value_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 396 switch v := v.(*ValueMatcher); i { 397 case 0: 398 return &v.state 399 case 1: 400 return &v.sizeCache 401 case 2: 402 return &v.unknownFields 403 default: 404 return nil 405 } 406 } 407 file_envoy_type_matcher_v3_value_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 408 switch v := v.(*ListMatcher); i { 409 case 0: 410 return &v.state 411 case 1: 412 return &v.sizeCache 413 case 2: 414 return &v.unknownFields 415 default: 416 return nil 417 } 418 } 419 file_envoy_type_matcher_v3_value_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 420 switch v := v.(*ValueMatcher_NullMatch); i { 421 case 0: 422 return &v.state 423 case 1: 424 return &v.sizeCache 425 case 2: 426 return &v.unknownFields 427 default: 428 return nil 429 } 430 } 431 } 432 file_envoy_type_matcher_v3_value_proto_msgTypes[0].OneofWrappers = []interface{}{ 433 (*ValueMatcher_NullMatch_)(nil), 434 (*ValueMatcher_DoubleMatch)(nil), 435 (*ValueMatcher_StringMatch)(nil), 436 (*ValueMatcher_BoolMatch)(nil), 437 (*ValueMatcher_PresentMatch)(nil), 438 (*ValueMatcher_ListMatch)(nil), 439 } 440 file_envoy_type_matcher_v3_value_proto_msgTypes[1].OneofWrappers = []interface{}{ 441 (*ListMatcher_OneOf)(nil), 442 } 443 type x struct{} 444 out := protoimpl.TypeBuilder{ 445 File: protoimpl.DescBuilder{ 446 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 447 RawDescriptor: file_envoy_type_matcher_v3_value_proto_rawDesc, 448 NumEnums: 0, 449 NumMessages: 3, 450 NumExtensions: 0, 451 NumServices: 0, 452 }, 453 GoTypes: file_envoy_type_matcher_v3_value_proto_goTypes, 454 DependencyIndexes: file_envoy_type_matcher_v3_value_proto_depIdxs, 455 MessageInfos: file_envoy_type_matcher_v3_value_proto_msgTypes, 456 }.Build() 457 File_envoy_type_matcher_v3_value_proto = out.File 458 file_envoy_type_matcher_v3_value_proto_rawDesc = nil 459 file_envoy_type_matcher_v3_value_proto_goTypes = nil 460 file_envoy_type_matcher_v3_value_proto_depIdxs = nil 461} 462