gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/config/cluster/dynamic_forward_proxy/v2alpha/cluster.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/config/cluster/dynamic_forward_proxy/v2alpha/cluster.proto
     6  
     7  package envoy_config_cluster_dynamic_forward_proxy_v2alpha
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	v2alpha "gitee.com/zhaochuninhefei/gmgo/go-control-plane/envoy/config/common/dynamic_forward_proxy/v2alpha"
    12  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    13  	proto "github.com/golang/protobuf/proto"
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  // This is a compile-time assertion that a sufficiently up-to-date version
    28  // of the legacy proto package is being used.
    29  const _ = proto.ProtoPackageIsVersion4
    30  
    31  // Configuration for the dynamic forward proxy cluster. See the :ref:`architecture overview
    32  // <arch_overview_http_dynamic_forward_proxy>` for more information.
    33  // [#extension: envoy.clusters.dynamic_forward_proxy]
    34  type ClusterConfig struct {
    35  	state         protoimpl.MessageState
    36  	sizeCache     protoimpl.SizeCache
    37  	unknownFields protoimpl.UnknownFields
    38  
    39  	// The DNS cache configuration that the cluster will attach to. Note this configuration must
    40  	// match that of associated :ref:`dynamic forward proxy HTTP filter configuration
    41  	// <envoy_api_field_config.filter.http.dynamic_forward_proxy.v2alpha.FilterConfig.dns_cache_config>`.
    42  	DnsCacheConfig *v2alpha.DnsCacheConfig `protobuf:"bytes,1,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"`
    43  }
    44  
    45  func (x *ClusterConfig) Reset() {
    46  	*x = ClusterConfig{}
    47  	if protoimpl.UnsafeEnabled {
    48  		mi := &file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_msgTypes[0]
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		ms.StoreMessageInfo(mi)
    51  	}
    52  }
    53  
    54  func (x *ClusterConfig) String() string {
    55  	return protoimpl.X.MessageStringOf(x)
    56  }
    57  
    58  func (*ClusterConfig) ProtoMessage() {}
    59  
    60  func (x *ClusterConfig) ProtoReflect() protoreflect.Message {
    61  	mi := &file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_msgTypes[0]
    62  	if protoimpl.UnsafeEnabled && x != nil {
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		if ms.LoadMessageInfo() == nil {
    65  			ms.StoreMessageInfo(mi)
    66  		}
    67  		return ms
    68  	}
    69  	return mi.MessageOf(x)
    70  }
    71  
    72  // Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.
    73  func (*ClusterConfig) Descriptor() ([]byte, []int) {
    74  	return file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *ClusterConfig) GetDnsCacheConfig() *v2alpha.DnsCacheConfig {
    78  	if x != nil {
    79  		return x.DnsCacheConfig
    80  	}
    81  	return nil
    82  }
    83  
    84  var File_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto protoreflect.FileDescriptor
    85  
    86  var file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDesc = []byte{
    87  	0x0a, 0x40, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
    88  	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66,
    89  	0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x32, 0x61,
    90  	0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
    91  	0x74, 0x6f, 0x12, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
    92  	0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
    93  	0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76,
    94  	0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x41, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
    95  	0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x64, 0x79, 0x6e, 0x61,
    96  	0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78,
    97  	0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x61,
    98  	0x63, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f,
    99  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72,
   100  	0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f,
   101  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74,
   102  	0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
   103  	0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   104  	0x6f, 0x22, 0x86, 0x01, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e,
   105  	0x66, 0x69, 0x67, 0x12, 0x75, 0x0a, 0x10, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65,
   106  	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e,
   107  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d,
   108  	0x6d, 0x6f, 0x6e, 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77,
   109  	0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
   110  	0x61, 0x2e, 0x44, 0x6e, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   111  	0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0e, 0x64, 0x6e, 0x73, 0x43,
   112  	0x61, 0x63, 0x68, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x94, 0x01, 0x0a, 0x40, 0x69,
   113  	0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
   114  	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
   115  	0x72, 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72,
   116  	0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42,
   117  	0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2,
   118  	0x98, 0xfe, 0x8f, 0x05, 0x34, 0x12, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
   119  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
   120  	0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
   121  	0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10,
   122  	0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   123  }
   124  
   125  var (
   126  	file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescOnce sync.Once
   127  	file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescData = file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDesc
   128  )
   129  
   130  func file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescGZIP() []byte {
   131  	file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescOnce.Do(func() {
   132  		file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescData)
   133  	})
   134  	return file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDescData
   135  }
   136  
   137  var file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   138  var file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_goTypes = []interface{}{
   139  	(*ClusterConfig)(nil),          // 0: envoy.config.cluster.dynamic_forward_proxy.v2alpha.ClusterConfig
   140  	(*v2alpha.DnsCacheConfig)(nil), // 1: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig
   141  }
   142  var file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_depIdxs = []int32{
   143  	1, // 0: envoy.config.cluster.dynamic_forward_proxy.v2alpha.ClusterConfig.dns_cache_config:type_name -> envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig
   144  	1, // [1:1] is the sub-list for method output_type
   145  	1, // [1:1] is the sub-list for method input_type
   146  	1, // [1:1] is the sub-list for extension type_name
   147  	1, // [1:1] is the sub-list for extension extendee
   148  	0, // [0:1] is the sub-list for field type_name
   149  }
   150  
   151  func init() { file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_init() }
   152  func file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_init() {
   153  	if File_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto != nil {
   154  		return
   155  	}
   156  	if !protoimpl.UnsafeEnabled {
   157  		file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   158  			switch v := v.(*ClusterConfig); i {
   159  			case 0:
   160  				return &v.state
   161  			case 1:
   162  				return &v.sizeCache
   163  			case 2:
   164  				return &v.unknownFields
   165  			default:
   166  				return nil
   167  			}
   168  		}
   169  	}
   170  	type x struct{}
   171  	out := protoimpl.TypeBuilder{
   172  		File: protoimpl.DescBuilder{
   173  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   174  			RawDescriptor: file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDesc,
   175  			NumEnums:      0,
   176  			NumMessages:   1,
   177  			NumExtensions: 0,
   178  			NumServices:   0,
   179  		},
   180  		GoTypes:           file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_goTypes,
   181  		DependencyIndexes: file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_depIdxs,
   182  		MessageInfos:      file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_msgTypes,
   183  	}.Build()
   184  	File_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto = out.File
   185  	file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_rawDesc = nil
   186  	file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_goTypes = nil
   187  	file_envoy_config_cluster_dynamic_forward_proxy_v2alpha_cluster_proto_depIdxs = nil
   188  }