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/v4alpha/value.proto 6 7package envoy_type_matcher_v4alpha 8 9import ( 10 _ "github.com/cncf/udpa/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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_value_proto_rawDescGZIP(), []int{0, 0} 288} 289 290var File_envoy_type_matcher_v4alpha_value_proto protoreflect.FileDescriptor 291 292var file_envoy_type_matcher_v4alpha_value_proto_rawDesc = []byte{ 293 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 294 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x76, 0x61, 0x6c, 295 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 296 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x61, 297 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 298 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 299 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 300 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 301 0x72, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 302 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 303 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 304 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 305 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 306 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 307 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 308 0x6f, 0x22, 0x98, 0x04, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 309 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 310 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 311 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x61, 0x6c, 312 0x70, 0x68, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 313 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 314 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x4e, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 315 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 316 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 317 0x65, 0x72, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 318 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 319 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x4e, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 320 0x67, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 321 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 322 0x65, 0x72, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 323 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 324 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 325 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 326 0x6f, 0x6f, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x73, 327 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 328 0x00, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 329 0x48, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 330 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 331 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 332 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 333 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x40, 0x0a, 0x09, 0x4e, 0x75, 0x6c, 334 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x33, 0x9a, 0xc5, 0x88, 0x1e, 0x2e, 0x0a, 0x2c, 0x65, 335 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 336 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 337 0x72, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 338 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 339 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 340 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 341 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x90, 0x01, 0x0a, 342 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x06, 343 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 344 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 345 0x72, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 346 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x6e, 0x65, 0x4f, 0x66, 0x3a, 347 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23, 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 348 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 349 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 350 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 351 0x40, 0x0a, 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 352 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 353 0x68, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0a, 0x56, 0x61, 0x6c, 354 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 355 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 356} 357 358var ( 359 file_envoy_type_matcher_v4alpha_value_proto_rawDescOnce sync.Once 360 file_envoy_type_matcher_v4alpha_value_proto_rawDescData = file_envoy_type_matcher_v4alpha_value_proto_rawDesc 361) 362 363func file_envoy_type_matcher_v4alpha_value_proto_rawDescGZIP() []byte { 364 file_envoy_type_matcher_v4alpha_value_proto_rawDescOnce.Do(func() { 365 file_envoy_type_matcher_v4alpha_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_matcher_v4alpha_value_proto_rawDescData) 366 }) 367 return file_envoy_type_matcher_v4alpha_value_proto_rawDescData 368} 369 370var file_envoy_type_matcher_v4alpha_value_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 371var file_envoy_type_matcher_v4alpha_value_proto_goTypes = []interface{}{ 372 (*ValueMatcher)(nil), // 0: envoy.type.matcher.v4alpha.ValueMatcher 373 (*ListMatcher)(nil), // 1: envoy.type.matcher.v4alpha.ListMatcher 374 (*ValueMatcher_NullMatch)(nil), // 2: envoy.type.matcher.v4alpha.ValueMatcher.NullMatch 375 (*DoubleMatcher)(nil), // 3: envoy.type.matcher.v4alpha.DoubleMatcher 376 (*StringMatcher)(nil), // 4: envoy.type.matcher.v4alpha.StringMatcher 377} 378var file_envoy_type_matcher_v4alpha_value_proto_depIdxs = []int32{ 379 2, // 0: envoy.type.matcher.v4alpha.ValueMatcher.null_match:type_name -> envoy.type.matcher.v4alpha.ValueMatcher.NullMatch 380 3, // 1: envoy.type.matcher.v4alpha.ValueMatcher.double_match:type_name -> envoy.type.matcher.v4alpha.DoubleMatcher 381 4, // 2: envoy.type.matcher.v4alpha.ValueMatcher.string_match:type_name -> envoy.type.matcher.v4alpha.StringMatcher 382 1, // 3: envoy.type.matcher.v4alpha.ValueMatcher.list_match:type_name -> envoy.type.matcher.v4alpha.ListMatcher 383 0, // 4: envoy.type.matcher.v4alpha.ListMatcher.one_of:type_name -> envoy.type.matcher.v4alpha.ValueMatcher 384 5, // [5:5] is the sub-list for method output_type 385 5, // [5:5] is the sub-list for method input_type 386 5, // [5:5] is the sub-list for extension type_name 387 5, // [5:5] is the sub-list for extension extendee 388 0, // [0:5] is the sub-list for field type_name 389} 390 391func init() { file_envoy_type_matcher_v4alpha_value_proto_init() } 392func file_envoy_type_matcher_v4alpha_value_proto_init() { 393 if File_envoy_type_matcher_v4alpha_value_proto != nil { 394 return 395 } 396 file_envoy_type_matcher_v4alpha_number_proto_init() 397 file_envoy_type_matcher_v4alpha_string_proto_init() 398 if !protoimpl.UnsafeEnabled { 399 file_envoy_type_matcher_v4alpha_value_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 400 switch v := v.(*ValueMatcher); i { 401 case 0: 402 return &v.state 403 case 1: 404 return &v.sizeCache 405 case 2: 406 return &v.unknownFields 407 default: 408 return nil 409 } 410 } 411 file_envoy_type_matcher_v4alpha_value_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 412 switch v := v.(*ListMatcher); i { 413 case 0: 414 return &v.state 415 case 1: 416 return &v.sizeCache 417 case 2: 418 return &v.unknownFields 419 default: 420 return nil 421 } 422 } 423 file_envoy_type_matcher_v4alpha_value_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 424 switch v := v.(*ValueMatcher_NullMatch); i { 425 case 0: 426 return &v.state 427 case 1: 428 return &v.sizeCache 429 case 2: 430 return &v.unknownFields 431 default: 432 return nil 433 } 434 } 435 } 436 file_envoy_type_matcher_v4alpha_value_proto_msgTypes[0].OneofWrappers = []interface{}{ 437 (*ValueMatcher_NullMatch_)(nil), 438 (*ValueMatcher_DoubleMatch)(nil), 439 (*ValueMatcher_StringMatch)(nil), 440 (*ValueMatcher_BoolMatch)(nil), 441 (*ValueMatcher_PresentMatch)(nil), 442 (*ValueMatcher_ListMatch)(nil), 443 } 444 file_envoy_type_matcher_v4alpha_value_proto_msgTypes[1].OneofWrappers = []interface{}{ 445 (*ListMatcher_OneOf)(nil), 446 } 447 type x struct{} 448 out := protoimpl.TypeBuilder{ 449 File: protoimpl.DescBuilder{ 450 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 451 RawDescriptor: file_envoy_type_matcher_v4alpha_value_proto_rawDesc, 452 NumEnums: 0, 453 NumMessages: 3, 454 NumExtensions: 0, 455 NumServices: 0, 456 }, 457 GoTypes: file_envoy_type_matcher_v4alpha_value_proto_goTypes, 458 DependencyIndexes: file_envoy_type_matcher_v4alpha_value_proto_depIdxs, 459 MessageInfos: file_envoy_type_matcher_v4alpha_value_proto_msgTypes, 460 }.Build() 461 File_envoy_type_matcher_v4alpha_value_proto = out.File 462 file_envoy_type_matcher_v4alpha_value_proto_rawDesc = nil 463 file_envoy_type_matcher_v4alpha_value_proto_goTypes = nil 464 file_envoy_type_matcher_v4alpha_value_proto_depIdxs = nil 465} 466