github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/type/matcher/value.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/type/matcher/value.proto 6 7 package envoy_type_matcher 8 9 import ( 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 19 const ( 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. 28 const _ = 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] 33 type 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 50 func (x *ValueMatcher) Reset() { 51 *x = ValueMatcher{} 52 if protoimpl.UnsafeEnabled { 53 mi := &file_envoy_type_matcher_value_proto_msgTypes[0] 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 ms.StoreMessageInfo(mi) 56 } 57 } 58 59 func (x *ValueMatcher) String() string { 60 return protoimpl.X.MessageStringOf(x) 61 } 62 63 func (*ValueMatcher) ProtoMessage() {} 64 65 func (x *ValueMatcher) ProtoReflect() protoreflect.Message { 66 mi := &file_envoy_type_matcher_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. 78 func (*ValueMatcher) Descriptor() ([]byte, []int) { 79 return file_envoy_type_matcher_value_proto_rawDescGZIP(), []int{0} 80 } 81 82 func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern { 83 if m != nil { 84 return m.MatchPattern 85 } 86 return nil 87 } 88 89 func (x *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch { 90 if x, ok := x.GetMatchPattern().(*ValueMatcher_NullMatch_); ok { 91 return x.NullMatch 92 } 93 return nil 94 } 95 96 func (x *ValueMatcher) GetDoubleMatch() *DoubleMatcher { 97 if x, ok := x.GetMatchPattern().(*ValueMatcher_DoubleMatch); ok { 98 return x.DoubleMatch 99 } 100 return nil 101 } 102 103 func (x *ValueMatcher) GetStringMatch() *StringMatcher { 104 if x, ok := x.GetMatchPattern().(*ValueMatcher_StringMatch); ok { 105 return x.StringMatch 106 } 107 return nil 108 } 109 110 func (x *ValueMatcher) GetBoolMatch() bool { 111 if x, ok := x.GetMatchPattern().(*ValueMatcher_BoolMatch); ok { 112 return x.BoolMatch 113 } 114 return false 115 } 116 117 func (x *ValueMatcher) GetPresentMatch() bool { 118 if x, ok := x.GetMatchPattern().(*ValueMatcher_PresentMatch); ok { 119 return x.PresentMatch 120 } 121 return false 122 } 123 124 func (x *ValueMatcher) GetListMatch() *ListMatcher { 125 if x, ok := x.GetMatchPattern().(*ValueMatcher_ListMatch); ok { 126 return x.ListMatch 127 } 128 return nil 129 } 130 131 type isValueMatcher_MatchPattern interface { 132 isValueMatcher_MatchPattern() 133 } 134 135 type 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 140 type 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 146 type 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 152 type 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 158 type 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 165 type 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 171 func (*ValueMatcher_NullMatch_) isValueMatcher_MatchPattern() {} 172 173 func (*ValueMatcher_DoubleMatch) isValueMatcher_MatchPattern() {} 174 175 func (*ValueMatcher_StringMatch) isValueMatcher_MatchPattern() {} 176 177 func (*ValueMatcher_BoolMatch) isValueMatcher_MatchPattern() {} 178 179 func (*ValueMatcher_PresentMatch) isValueMatcher_MatchPattern() {} 180 181 func (*ValueMatcher_ListMatch) isValueMatcher_MatchPattern() {} 182 183 // Specifies the way to match a list value. 184 type 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 194 func (x *ListMatcher) Reset() { 195 *x = ListMatcher{} 196 if protoimpl.UnsafeEnabled { 197 mi := &file_envoy_type_matcher_value_proto_msgTypes[1] 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 ms.StoreMessageInfo(mi) 200 } 201 } 202 203 func (x *ListMatcher) String() string { 204 return protoimpl.X.MessageStringOf(x) 205 } 206 207 func (*ListMatcher) ProtoMessage() {} 208 209 func (x *ListMatcher) ProtoReflect() protoreflect.Message { 210 mi := &file_envoy_type_matcher_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. 222 func (*ListMatcher) Descriptor() ([]byte, []int) { 223 return file_envoy_type_matcher_value_proto_rawDescGZIP(), []int{1} 224 } 225 226 func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern { 227 if m != nil { 228 return m.MatchPattern 229 } 230 return nil 231 } 232 233 func (x *ListMatcher) GetOneOf() *ValueMatcher { 234 if x, ok := x.GetMatchPattern().(*ListMatcher_OneOf); ok { 235 return x.OneOf 236 } 237 return nil 238 } 239 240 type isListMatcher_MatchPattern interface { 241 isListMatcher_MatchPattern() 242 } 243 244 type 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 249 func (*ListMatcher_OneOf) isListMatcher_MatchPattern() {} 250 251 // NullMatch is an empty message to specify a null value. 252 type ValueMatcher_NullMatch struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256 } 257 258 func (x *ValueMatcher_NullMatch) Reset() { 259 *x = ValueMatcher_NullMatch{} 260 if protoimpl.UnsafeEnabled { 261 mi := &file_envoy_type_matcher_value_proto_msgTypes[2] 262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 263 ms.StoreMessageInfo(mi) 264 } 265 } 266 267 func (x *ValueMatcher_NullMatch) String() string { 268 return protoimpl.X.MessageStringOf(x) 269 } 270 271 func (*ValueMatcher_NullMatch) ProtoMessage() {} 272 273 func (x *ValueMatcher_NullMatch) ProtoReflect() protoreflect.Message { 274 mi := &file_envoy_type_matcher_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. 286 func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int) { 287 return file_envoy_type_matcher_value_proto_rawDescGZIP(), []int{0, 0} 288 } 289 290 var File_envoy_type_matcher_value_proto protoreflect.FileDescriptor 291 292 var file_envoy_type_matcher_value_proto_rawDesc = []byte{ 293 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 294 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 295 0x12, 0x12, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 296 0x63, 0x68, 0x65, 0x72, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 297 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 298 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 299 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 300 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 301 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 302 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 303 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 304 0x03, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 305 0x4b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 306 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 307 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 308 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 309 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x46, 0x0a, 0x0c, 310 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 311 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 312 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x4d, 0x61, 313 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x4d, 314 0x61, 0x74, 0x63, 0x68, 0x12, 0x46, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 315 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 316 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 317 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 318 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0a, 319 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 320 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x25, 0x0a, 321 0x0d, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 322 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x4d, 323 0x61, 0x74, 0x63, 0x68, 0x12, 0x40, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6d, 0x61, 0x74, 324 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 325 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4c, 0x69, 326 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 327 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x0b, 0x0a, 0x09, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 328 0x74, 0x63, 0x68, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 329 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x5e, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 330 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x06, 0x6f, 0x6e, 0x65, 0x5f, 331 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 332 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x56, 0x61, 333 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x6e, 334 0x65, 0x4f, 0x66, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 335 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x38, 0x0a, 0x20, 0x69, 0x6f, 0x2e, 336 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 337 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x0a, 0x56, 338 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 339 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 340 } 341 342 var ( 343 file_envoy_type_matcher_value_proto_rawDescOnce sync.Once 344 file_envoy_type_matcher_value_proto_rawDescData = file_envoy_type_matcher_value_proto_rawDesc 345 ) 346 347 func file_envoy_type_matcher_value_proto_rawDescGZIP() []byte { 348 file_envoy_type_matcher_value_proto_rawDescOnce.Do(func() { 349 file_envoy_type_matcher_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_matcher_value_proto_rawDescData) 350 }) 351 return file_envoy_type_matcher_value_proto_rawDescData 352 } 353 354 var file_envoy_type_matcher_value_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 355 var file_envoy_type_matcher_value_proto_goTypes = []interface{}{ 356 (*ValueMatcher)(nil), // 0: envoy.type.matcher.ValueMatcher 357 (*ListMatcher)(nil), // 1: envoy.type.matcher.ListMatcher 358 (*ValueMatcher_NullMatch)(nil), // 2: envoy.type.matcher.ValueMatcher.NullMatch 359 (*DoubleMatcher)(nil), // 3: envoy.type.matcher.DoubleMatcher 360 (*StringMatcher)(nil), // 4: envoy.type.matcher.StringMatcher 361 } 362 var file_envoy_type_matcher_value_proto_depIdxs = []int32{ 363 2, // 0: envoy.type.matcher.ValueMatcher.null_match:type_name -> envoy.type.matcher.ValueMatcher.NullMatch 364 3, // 1: envoy.type.matcher.ValueMatcher.double_match:type_name -> envoy.type.matcher.DoubleMatcher 365 4, // 2: envoy.type.matcher.ValueMatcher.string_match:type_name -> envoy.type.matcher.StringMatcher 366 1, // 3: envoy.type.matcher.ValueMatcher.list_match:type_name -> envoy.type.matcher.ListMatcher 367 0, // 4: envoy.type.matcher.ListMatcher.one_of:type_name -> envoy.type.matcher.ValueMatcher 368 5, // [5:5] is the sub-list for method output_type 369 5, // [5:5] is the sub-list for method input_type 370 5, // [5:5] is the sub-list for extension type_name 371 5, // [5:5] is the sub-list for extension extendee 372 0, // [0:5] is the sub-list for field type_name 373 } 374 375 func init() { file_envoy_type_matcher_value_proto_init() } 376 func file_envoy_type_matcher_value_proto_init() { 377 if File_envoy_type_matcher_value_proto != nil { 378 return 379 } 380 file_envoy_type_matcher_number_proto_init() 381 file_envoy_type_matcher_string_proto_init() 382 if !protoimpl.UnsafeEnabled { 383 file_envoy_type_matcher_value_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 384 switch v := v.(*ValueMatcher); i { 385 case 0: 386 return &v.state 387 case 1: 388 return &v.sizeCache 389 case 2: 390 return &v.unknownFields 391 default: 392 return nil 393 } 394 } 395 file_envoy_type_matcher_value_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 396 switch v := v.(*ListMatcher); 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_value_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 408 switch v := v.(*ValueMatcher_NullMatch); 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 } 420 file_envoy_type_matcher_value_proto_msgTypes[0].OneofWrappers = []interface{}{ 421 (*ValueMatcher_NullMatch_)(nil), 422 (*ValueMatcher_DoubleMatch)(nil), 423 (*ValueMatcher_StringMatch)(nil), 424 (*ValueMatcher_BoolMatch)(nil), 425 (*ValueMatcher_PresentMatch)(nil), 426 (*ValueMatcher_ListMatch)(nil), 427 } 428 file_envoy_type_matcher_value_proto_msgTypes[1].OneofWrappers = []interface{}{ 429 (*ListMatcher_OneOf)(nil), 430 } 431 type x struct{} 432 out := protoimpl.TypeBuilder{ 433 File: protoimpl.DescBuilder{ 434 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 435 RawDescriptor: file_envoy_type_matcher_value_proto_rawDesc, 436 NumEnums: 0, 437 NumMessages: 3, 438 NumExtensions: 0, 439 NumServices: 0, 440 }, 441 GoTypes: file_envoy_type_matcher_value_proto_goTypes, 442 DependencyIndexes: file_envoy_type_matcher_value_proto_depIdxs, 443 MessageInfos: file_envoy_type_matcher_value_proto_msgTypes, 444 }.Build() 445 File_envoy_type_matcher_value_proto = out.File 446 file_envoy_type_matcher_value_proto_rawDesc = nil 447 file_envoy_type_matcher_value_proto_goTypes = nil 448 file_envoy_type_matcher_value_proto_depIdxs = nil 449 }