gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/extensions/common/matching/v3/extension_matcher.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/extensions/common/matching/v3/extension_matcher.proto
     6  
     7  package envoy_extensions_common_matching_v3
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	v31 "github.com/cncf/xds/go/xds/type/matcher/v3"
    12  	_ "gitee.com/ks-custle/core-gm/go-control-plane/envoy/annotations"
    13  	v3 "gitee.com/ks-custle/core-gm/go-control-plane/envoy/config/common/matcher/v3"
    14  	v32 "gitee.com/ks-custle/core-gm/go-control-plane/envoy/config/core/v3"
    15  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    16  	proto "github.com/golang/protobuf/proto"
    17  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    18  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    19  	reflect "reflect"
    20  	sync "sync"
    21  )
    22  
    23  const (
    24  	// Verify that this generated code is sufficiently up-to-date.
    25  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    26  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    27  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    28  )
    29  
    30  // This is a compile-time assertion that a sufficiently up-to-date version
    31  // of the legacy proto package is being used.
    32  const _ = proto.ProtoPackageIsVersion4
    33  
    34  // Wrapper around an existing extension that provides an associated matcher. This allows
    35  // decorating an existing extension with a matcher, which can be used to match against
    36  // relevant protocol data.
    37  //
    38  // [#alpha:]
    39  type ExtensionWithMatcher struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The associated matcher. This is deprecated in favor of xds_matcher.
    45  	//
    46  	// Deprecated: Do not use.
    47  	Matcher *v3.Matcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"`
    48  	// The associated matcher.
    49  	XdsMatcher *v31.Matcher `protobuf:"bytes,3,opt,name=xds_matcher,json=xdsMatcher,proto3" json:"xds_matcher,omitempty"`
    50  	// The underlying extension config.
    51  	ExtensionConfig *v32.TypedExtensionConfig `protobuf:"bytes,2,opt,name=extension_config,json=extensionConfig,proto3" json:"extension_config,omitempty"`
    52  }
    53  
    54  func (x *ExtensionWithMatcher) Reset() {
    55  	*x = ExtensionWithMatcher{}
    56  	if protoimpl.UnsafeEnabled {
    57  		mi := &file_envoy_extensions_common_matching_v3_extension_matcher_proto_msgTypes[0]
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		ms.StoreMessageInfo(mi)
    60  	}
    61  }
    62  
    63  func (x *ExtensionWithMatcher) String() string {
    64  	return protoimpl.X.MessageStringOf(x)
    65  }
    66  
    67  func (*ExtensionWithMatcher) ProtoMessage() {}
    68  
    69  func (x *ExtensionWithMatcher) ProtoReflect() protoreflect.Message {
    70  	mi := &file_envoy_extensions_common_matching_v3_extension_matcher_proto_msgTypes[0]
    71  	if protoimpl.UnsafeEnabled && x != nil {
    72  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    73  		if ms.LoadMessageInfo() == nil {
    74  			ms.StoreMessageInfo(mi)
    75  		}
    76  		return ms
    77  	}
    78  	return mi.MessageOf(x)
    79  }
    80  
    81  // Deprecated: Use ExtensionWithMatcher.ProtoReflect.Descriptor instead.
    82  func (*ExtensionWithMatcher) Descriptor() ([]byte, []int) {
    83  	return file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescGZIP(), []int{0}
    84  }
    85  
    86  // Deprecated: Do not use.
    87  func (x *ExtensionWithMatcher) GetMatcher() *v3.Matcher {
    88  	if x != nil {
    89  		return x.Matcher
    90  	}
    91  	return nil
    92  }
    93  
    94  func (x *ExtensionWithMatcher) GetXdsMatcher() *v31.Matcher {
    95  	if x != nil {
    96  		return x.XdsMatcher
    97  	}
    98  	return nil
    99  }
   100  
   101  func (x *ExtensionWithMatcher) GetExtensionConfig() *v32.TypedExtensionConfig {
   102  	if x != nil {
   103  		return x.ExtensionConfig
   104  	}
   105  	return nil
   106  }
   107  
   108  var File_envoy_extensions_common_matching_v3_extension_matcher_proto protoreflect.FileDescriptor
   109  
   110  var file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDesc = []byte{
   111  	0x0a, 0x3b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   112  	0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69,
   113  	0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
   114  	0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x65,
   115  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
   116  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x2e,
   117  	0x76, 0x33, 0x1a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   118  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f,
   119  	0x76, 0x33, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   120  	0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
   121  	0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
   122  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65,
   123  	0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x61, 0x74, 0x63,
   124  	0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   125  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70,
   126  	0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
   127  	0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   128  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
   129  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
   130  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x02, 0x0a, 0x14, 0x45, 0x78, 0x74, 0x65, 0x6e,
   131  	0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
   132  	0x4e, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   133  	0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   134  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76,
   135  	0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86,
   136  	0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
   137  	0x3d, 0x0a, 0x0b, 0x78, 0x64, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x03,
   138  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
   139  	0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68,
   140  	0x65, 0x72, 0x52, 0x0a, 0x78, 0x64, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x5f,
   141  	0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
   142  	0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   143  	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
   144  	0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
   145  	0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0f,
   146  	0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,
   147  	0x54, 0x0a, 0x31, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
   148  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
   149  	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e,
   150  	0x67, 0x2e, 0x76, 0x33, 0x42, 0x15, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d,
   151  	0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8,
   152  	0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   153  }
   154  
   155  var (
   156  	file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescOnce sync.Once
   157  	file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescData = file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDesc
   158  )
   159  
   160  func file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescGZIP() []byte {
   161  	file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescOnce.Do(func() {
   162  		file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescData)
   163  	})
   164  	return file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDescData
   165  }
   166  
   167  var file_envoy_extensions_common_matching_v3_extension_matcher_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   168  var file_envoy_extensions_common_matching_v3_extension_matcher_proto_goTypes = []interface{}{
   169  	(*ExtensionWithMatcher)(nil),     // 0: envoy.extensions.common.matching.v3.ExtensionWithMatcher
   170  	(*v3.Matcher)(nil),               // 1: envoy.config.common.matcher.v3.Matcher
   171  	(*v31.Matcher)(nil),              // 2: xds.type.matcher.v3.Matcher
   172  	(*v32.TypedExtensionConfig)(nil), // 3: envoy.config.core.v3.TypedExtensionConfig
   173  }
   174  var file_envoy_extensions_common_matching_v3_extension_matcher_proto_depIdxs = []int32{
   175  	1, // 0: envoy.extensions.common.matching.v3.ExtensionWithMatcher.matcher:type_name -> envoy.config.common.matcher.v3.Matcher
   176  	2, // 1: envoy.extensions.common.matching.v3.ExtensionWithMatcher.xds_matcher:type_name -> xds.type.matcher.v3.Matcher
   177  	3, // 2: envoy.extensions.common.matching.v3.ExtensionWithMatcher.extension_config:type_name -> envoy.config.core.v3.TypedExtensionConfig
   178  	3, // [3:3] is the sub-list for method output_type
   179  	3, // [3:3] is the sub-list for method input_type
   180  	3, // [3:3] is the sub-list for extension type_name
   181  	3, // [3:3] is the sub-list for extension extendee
   182  	0, // [0:3] is the sub-list for field type_name
   183  }
   184  
   185  func init() { file_envoy_extensions_common_matching_v3_extension_matcher_proto_init() }
   186  func file_envoy_extensions_common_matching_v3_extension_matcher_proto_init() {
   187  	if File_envoy_extensions_common_matching_v3_extension_matcher_proto != nil {
   188  		return
   189  	}
   190  	if !protoimpl.UnsafeEnabled {
   191  		file_envoy_extensions_common_matching_v3_extension_matcher_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   192  			switch v := v.(*ExtensionWithMatcher); i {
   193  			case 0:
   194  				return &v.state
   195  			case 1:
   196  				return &v.sizeCache
   197  			case 2:
   198  				return &v.unknownFields
   199  			default:
   200  				return nil
   201  			}
   202  		}
   203  	}
   204  	type x struct{}
   205  	out := protoimpl.TypeBuilder{
   206  		File: protoimpl.DescBuilder{
   207  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   208  			RawDescriptor: file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDesc,
   209  			NumEnums:      0,
   210  			NumMessages:   1,
   211  			NumExtensions: 0,
   212  			NumServices:   0,
   213  		},
   214  		GoTypes:           file_envoy_extensions_common_matching_v3_extension_matcher_proto_goTypes,
   215  		DependencyIndexes: file_envoy_extensions_common_matching_v3_extension_matcher_proto_depIdxs,
   216  		MessageInfos:      file_envoy_extensions_common_matching_v3_extension_matcher_proto_msgTypes,
   217  	}.Build()
   218  	File_envoy_extensions_common_matching_v3_extension_matcher_proto = out.File
   219  	file_envoy_extensions_common_matching_v3_extension_matcher_proto_rawDesc = nil
   220  	file_envoy_extensions_common_matching_v3_extension_matcher_proto_goTypes = nil
   221  	file_envoy_extensions_common_matching_v3_extension_matcher_proto_depIdxs = nil
   222  }