// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v7.35.1
// source: envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto

package tcp_proxyv2

import (
	_ "github.com/cncf/xds/go/udpa/annotations"
	core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
	v2 "github.com/envoyproxy/go-control-plane/envoy/config/filter/accesslog/v2"
	_type "github.com/envoyproxy/go-control-plane/envoy/type"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// [#next-free-field: 13]
type TcpProxy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The prefix to use when emitting :ref:`statistics
	// <config_network_filters_tcp_proxy_stats>`.
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// Types that are valid to be assigned to ClusterSpecifier:
	//
	//	*TcpProxy_Cluster
	//	*TcpProxy_WeightedClusters
	ClusterSpecifier isTcpProxy_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
	// Optional endpoint metadata match criteria. Only endpoints in the upstream
	// cluster with metadata matching that set in metadata_match will be
	// considered. The filter name should be specified as *envoy.lb*.
	MetadataMatch *core.Metadata `protobuf:"bytes,9,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	// The idle timeout for connections managed by the TCP proxy filter. The idle timeout
	// is defined as the period in which there are no bytes sent or received on either
	// the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set
	// to 0s, the timeout will be disabled.
	//
	// .. warning::
	//
	//	Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
	//	FIN packets, etc.
	IdleTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// [#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
	// filter. The idle timeout is defined as the period in which there is no
	// active traffic. If not set, there is no idle timeout. When the idle timeout
	// is reached the connection will be closed. The distinction between
	// downstream_idle_timeout/upstream_idle_timeout provides a means to set
	// timeout based on the last byte sent on the downstream/upstream connection.
	DownstreamIdleTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=downstream_idle_timeout,json=downstreamIdleTimeout,proto3" json:"downstream_idle_timeout,omitempty"`
	// [#not-implemented-hide:]
	UpstreamIdleTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=upstream_idle_timeout,json=upstreamIdleTimeout,proto3" json:"upstream_idle_timeout,omitempty"`
	// Configuration for :ref:`access logs <arch_overview_access_logs>`
	// emitted by the this tcp_proxy.
	AccessLog []*v2.AccessLog `protobuf:"bytes,5,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	// [#not-implemented-hide:] Deprecated.
	//
	// Deprecated: Marked as deprecated in envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto.
	DeprecatedV1 *TcpProxy_DeprecatedV1 `protobuf:"bytes,6,opt,name=deprecated_v1,json=deprecatedV1,proto3" json:"deprecated_v1,omitempty"`
	// The maximum number of unsuccessful connection attempts that will be made before
	// giving up. If the parameter is not specified, 1 connection attempt will be made.
	MaxConnectAttempts *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=max_connect_attempts,json=maxConnectAttempts,proto3" json:"max_connect_attempts,omitempty"`
	// Optional configuration for TCP proxy hash policy. If hash_policy is not set, the hash-based
	// load balancing algorithms will select a host randomly. Currently the number of hash policies is
	// limited to 1.
	HashPolicy []*_type.HashPolicy `protobuf:"bytes,11,rep,name=hash_policy,json=hashPolicy,proto3" json:"hash_policy,omitempty"`
	// [#not-implemented-hide:] feature in progress
	// If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP
	// payloads over a shared HTTP/2 tunnel. If this message is absent, the payload
	// will be proxied upstream as per usual.
	TunnelingConfig *TcpProxy_TunnelingConfig `protobuf:"bytes,12,opt,name=tunneling_config,json=tunnelingConfig,proto3" json:"tunneling_config,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *TcpProxy) Reset() {
	*x = TcpProxy{}
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TcpProxy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TcpProxy) ProtoMessage() {}

func (x *TcpProxy) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TcpProxy.ProtoReflect.Descriptor instead.
func (*TcpProxy) Descriptor() ([]byte, []int) {
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP(), []int{0}
}

func (x *TcpProxy) GetStatPrefix() string {
	if x != nil {
		return x.StatPrefix
	}
	return ""
}

func (x *TcpProxy) GetClusterSpecifier() isTcpProxy_ClusterSpecifier {
	if x != nil {
		return x.ClusterSpecifier
	}
	return nil
}

func (x *TcpProxy) GetCluster() string {
	if x != nil {
		if x, ok := x.ClusterSpecifier.(*TcpProxy_Cluster); ok {
			return x.Cluster
		}
	}
	return ""
}

func (x *TcpProxy) GetWeightedClusters() *TcpProxy_WeightedCluster {
	if x != nil {
		if x, ok := x.ClusterSpecifier.(*TcpProxy_WeightedClusters); ok {
			return x.WeightedClusters
		}
	}
	return nil
}

func (x *TcpProxy) GetMetadataMatch() *core.Metadata {
	if x != nil {
		return x.MetadataMatch
	}
	return nil
}

func (x *TcpProxy) GetIdleTimeout() *durationpb.Duration {
	if x != nil {
		return x.IdleTimeout
	}
	return nil
}

func (x *TcpProxy) GetDownstreamIdleTimeout() *durationpb.Duration {
	if x != nil {
		return x.DownstreamIdleTimeout
	}
	return nil
}

func (x *TcpProxy) GetUpstreamIdleTimeout() *durationpb.Duration {
	if x != nil {
		return x.UpstreamIdleTimeout
	}
	return nil
}

func (x *TcpProxy) GetAccessLog() []*v2.AccessLog {
	if x != nil {
		return x.AccessLog
	}
	return nil
}

// Deprecated: Marked as deprecated in envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto.
func (x *TcpProxy) GetDeprecatedV1() *TcpProxy_DeprecatedV1 {
	if x != nil {
		return x.DeprecatedV1
	}
	return nil
}

func (x *TcpProxy) GetMaxConnectAttempts() *wrapperspb.UInt32Value {
	if x != nil {
		return x.MaxConnectAttempts
	}
	return nil
}

func (x *TcpProxy) GetHashPolicy() []*_type.HashPolicy {
	if x != nil {
		return x.HashPolicy
	}
	return nil
}

func (x *TcpProxy) GetTunnelingConfig() *TcpProxy_TunnelingConfig {
	if x != nil {
		return x.TunnelingConfig
	}
	return nil
}

type isTcpProxy_ClusterSpecifier interface {
	isTcpProxy_ClusterSpecifier()
}

type TcpProxy_Cluster struct {
	// The upstream cluster to connect to.
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"`
}

type TcpProxy_WeightedClusters struct {
	// Multiple upstream clusters can be specified for a given route. The
	// request is routed to one of the upstream clusters based on weights
	// assigned to each cluster.
	WeightedClusters *TcpProxy_WeightedCluster `protobuf:"bytes,10,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"`
}

func (*TcpProxy_Cluster) isTcpProxy_ClusterSpecifier() {}

func (*TcpProxy_WeightedClusters) isTcpProxy_ClusterSpecifier() {}

// [#not-implemented-hide:] Deprecated.
// TCP Proxy filter configuration using V1 format.
//
// Deprecated: Marked as deprecated in envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto.
type TcpProxy_DeprecatedV1 struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The route table for the filter. All filter instances must have a route
	// table, even if it is empty.
	Routes        []*TcpProxy_DeprecatedV1_TCPRoute `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TcpProxy_DeprecatedV1) Reset() {
	*x = TcpProxy_DeprecatedV1{}
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TcpProxy_DeprecatedV1) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TcpProxy_DeprecatedV1) ProtoMessage() {}

func (x *TcpProxy_DeprecatedV1) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TcpProxy_DeprecatedV1.ProtoReflect.Descriptor instead.
func (*TcpProxy_DeprecatedV1) Descriptor() ([]byte, []int) {
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP(), []int{0, 0}
}

func (x *TcpProxy_DeprecatedV1) GetRoutes() []*TcpProxy_DeprecatedV1_TCPRoute {
	if x != nil {
		return x.Routes
	}
	return nil
}

// Allows for specification of multiple upstream clusters along with weights
// that indicate the percentage of traffic to be forwarded to each cluster.
// The router selects an upstream cluster based on these weights.
type TcpProxy_WeightedCluster struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Specifies one or more upstream clusters associated with the route.
	Clusters      []*TcpProxy_WeightedCluster_ClusterWeight `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TcpProxy_WeightedCluster) Reset() {
	*x = TcpProxy_WeightedCluster{}
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TcpProxy_WeightedCluster) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TcpProxy_WeightedCluster) ProtoMessage() {}

func (x *TcpProxy_WeightedCluster) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TcpProxy_WeightedCluster.ProtoReflect.Descriptor instead.
func (*TcpProxy_WeightedCluster) Descriptor() ([]byte, []int) {
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP(), []int{0, 1}
}

func (x *TcpProxy_WeightedCluster) GetClusters() []*TcpProxy_WeightedCluster_ClusterWeight {
	if x != nil {
		return x.Clusters
	}
	return nil
}

// Configuration for tunneling TCP over other transports or application layers.
// Currently, only HTTP/2 is supported. When other options exist, HTTP/2 will
// remain the default.
type TcpProxy_TunnelingConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The hostname to send in the synthesized CONNECT headers to the upstream proxy.
	Hostname      string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TcpProxy_TunnelingConfig) Reset() {
	*x = TcpProxy_TunnelingConfig{}
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TcpProxy_TunnelingConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TcpProxy_TunnelingConfig) ProtoMessage() {}

func (x *TcpProxy_TunnelingConfig) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TcpProxy_TunnelingConfig.ProtoReflect.Descriptor instead.
func (*TcpProxy_TunnelingConfig) Descriptor() ([]byte, []int) {
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP(), []int{0, 2}
}

func (x *TcpProxy_TunnelingConfig) GetHostname() string {
	if x != nil {
		return x.Hostname
	}
	return ""
}

// A TCP proxy route consists of a set of optional L4 criteria and the
// name of a cluster. If a downstream connection matches all the
// specified criteria, the cluster in the route is used for the
// corresponding upstream connection. Routes are tried in the order
// specified until a match is found. If no match is found, the connection
// is closed. A route with no criteria is valid and always produces a
// match.
// [#next-free-field: 6]
type TcpProxy_DeprecatedV1_TCPRoute struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The cluster to connect to when a the downstream network connection
	// matches the specified criteria.
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// An optional list of IP address subnets in the form
	// “ip_address/xx”. The criteria is satisfied if the destination IP
	// address of the downstream connection is contained in at least one of
	// the specified subnets. If the parameter is not specified or the list
	// is empty, the destination IP address is ignored. The destination IP
	// address of the downstream connection might be different from the
	// addresses on which the proxy is listening if the connection has been
	// redirected.
	DestinationIpList []*core.CidrRange `protobuf:"bytes,2,rep,name=destination_ip_list,json=destinationIpList,proto3" json:"destination_ip_list,omitempty"`
	// An optional string containing a comma-separated list of port numbers
	// or ranges. The criteria is satisfied if the destination port of the
	// downstream connection is contained in at least one of the specified
	// ranges. If the parameter is not specified, the destination port is
	// ignored. The destination port address of the downstream connection
	// might be different from the port on which the proxy is listening if
	// the connection has been redirected.
	DestinationPorts string `protobuf:"bytes,3,opt,name=destination_ports,json=destinationPorts,proto3" json:"destination_ports,omitempty"`
	// An optional list of IP address subnets in the form
	// “ip_address/xx”. The criteria is satisfied if the source IP address
	// of the downstream connection is contained in at least one of the
	// specified subnets. If the parameter is not specified or the list is
	// empty, the source IP address is ignored.
	SourceIpList []*core.CidrRange `protobuf:"bytes,4,rep,name=source_ip_list,json=sourceIpList,proto3" json:"source_ip_list,omitempty"`
	// An optional string containing a comma-separated list of port numbers
	// or ranges. The criteria is satisfied if the source port of the
	// downstream connection is contained in at least one of the specified
	// ranges. If the parameter is not specified, the source port is
	// ignored.
	SourcePorts   string `protobuf:"bytes,5,opt,name=source_ports,json=sourcePorts,proto3" json:"source_ports,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) Reset() {
	*x = TcpProxy_DeprecatedV1_TCPRoute{}
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TcpProxy_DeprecatedV1_TCPRoute) ProtoMessage() {}

func (x *TcpProxy_DeprecatedV1_TCPRoute) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TcpProxy_DeprecatedV1_TCPRoute.ProtoReflect.Descriptor instead.
func (*TcpProxy_DeprecatedV1_TCPRoute) Descriptor() ([]byte, []int) {
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP(), []int{0, 0, 0}
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) GetCluster() string {
	if x != nil {
		return x.Cluster
	}
	return ""
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) GetDestinationIpList() []*core.CidrRange {
	if x != nil {
		return x.DestinationIpList
	}
	return nil
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) GetDestinationPorts() string {
	if x != nil {
		return x.DestinationPorts
	}
	return ""
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) GetSourceIpList() []*core.CidrRange {
	if x != nil {
		return x.SourceIpList
	}
	return nil
}

func (x *TcpProxy_DeprecatedV1_TCPRoute) GetSourcePorts() string {
	if x != nil {
		return x.SourcePorts
	}
	return ""
}

type TcpProxy_WeightedCluster_ClusterWeight struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the upstream cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When a request matches the route, the choice of an upstream cluster is
	// determined by its weight. The sum of weights across all entries in the
	// clusters array determines the total weight.
	Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
	// in the upstream cluster with metadata matching what is set in this field will be considered
	// for load balancing. Note that this will be merged with what's provided in
	// :ref:`TcpProxy.metadata_match
	// <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.metadata_match>`, with values
	// here taking precedence. The filter name should be specified as *envoy.lb*.
	MetadataMatch *core.Metadata `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TcpProxy_WeightedCluster_ClusterWeight) Reset() {
	*x = TcpProxy_WeightedCluster_ClusterWeight{}
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TcpProxy_WeightedCluster_ClusterWeight) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TcpProxy_WeightedCluster_ClusterWeight) ProtoMessage() {}

func (x *TcpProxy_WeightedCluster_ClusterWeight) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TcpProxy_WeightedCluster_ClusterWeight.ProtoReflect.Descriptor instead.
func (*TcpProxy_WeightedCluster_ClusterWeight) Descriptor() ([]byte, []int) {
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP(), []int{0, 1, 0}
}

func (x *TcpProxy_WeightedCluster_ClusterWeight) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *TcpProxy_WeightedCluster_ClusterWeight) GetWeight() uint32 {
	if x != nil {
		return x.Weight
	}
	return 0
}

func (x *TcpProxy_WeightedCluster_ClusterWeight) GetMetadataMatch() *core.Metadata {
	if x != nil {
		return x.MetadataMatch
	}
	return nil
}

var File_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto protoreflect.FileDescriptor

const file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDesc = "" +
	"\n" +
	"8envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto\x12(envoy.config.filter.network.tcp_proxy.v2\x1a\x1fenvoy/api/v2/core/address.proto\x1a\x1cenvoy/api/v2/core/base.proto\x1a0envoy/config/filter/accesslog/v2/accesslog.proto\x1a\x1cenvoy/type/hash_policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1eudpa/annotations/migrate.proto\x1a\x1dudpa/annotations/status.proto\x1a\x17validate/validate.proto\"\xad\r\n" +
	"\bTcpProxy\x12(\n" +
	"\vstat_prefix\x18\x01 \x01(\tB\a\xfaB\x04r\x02 \x01R\n" +
	"statPrefix\x12\x1a\n" +
	"\acluster\x18\x02 \x01(\tH\x00R\acluster\x12q\n" +
	"\x11weighted_clusters\x18\n" +
	" \x01(\v2B.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedClusterH\x00R\x10weightedClusters\x12B\n" +
	"\x0emetadata_match\x18\t \x01(\v2\x1b.envoy.api.v2.core.MetadataR\rmetadataMatch\x12<\n" +
	"\fidle_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\vidleTimeout\x12Q\n" +
	"\x17downstream_idle_timeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x15downstreamIdleTimeout\x12M\n" +
	"\x15upstream_idle_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x13upstreamIdleTimeout\x12J\n" +
	"\n" +
	"access_log\x18\x05 \x03(\v2+.envoy.config.filter.accesslog.v2.AccessLogR\taccessLog\x12h\n" +
	"\rdeprecated_v1\x18\x06 \x01(\v2?.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1B\x02\x18\x01R\fdeprecatedV1\x12W\n" +
	"\x14max_connect_attempts\x18\a \x01(\v2\x1c.google.protobuf.UInt32ValueB\a\xfaB\x04*\x02(\x01R\x12maxConnectAttempts\x12A\n" +
	"\vhash_policy\x18\v \x03(\v2\x16.envoy.type.HashPolicyB\b\xfaB\x05\x92\x01\x02\x10\x01R\n" +
	"hashPolicy\x12m\n" +
	"\x10tunneling_config\x18\f \x01(\v2B.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.TunnelingConfigR\x0ftunnelingConfig\x1a\x90\x03\n" +
	"\fDeprecatedV1\x12j\n" +
	"\x06routes\x18\x01 \x03(\v2H.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRouteB\b\xfaB\x05\x92\x01\x02\b\x01R\x06routes\x1a\x8f\x02\n" +
	"\bTCPRoute\x12!\n" +
	"\acluster\x18\x01 \x01(\tB\a\xfaB\x04r\x02 \x01R\acluster\x12L\n" +
	"\x13destination_ip_list\x18\x02 \x03(\v2\x1c.envoy.api.v2.core.CidrRangeR\x11destinationIpList\x12+\n" +
	"\x11destination_ports\x18\x03 \x01(\tR\x10destinationPorts\x12B\n" +
	"\x0esource_ip_list\x18\x04 \x03(\v2\x1c.envoy.api.v2.core.CidrRangeR\fsourceIpList\x12!\n" +
	"\fsource_ports\x18\x05 \x01(\tR\vsourcePorts:\x02\x18\x01\x1a\x9d\x02\n" +
	"\x0fWeightedCluster\x12v\n" +
	"\bclusters\x18\x01 \x03(\v2P.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeightB\b\xfaB\x05\x92\x01\x02\b\x01R\bclusters\x1a\x91\x01\n" +
	"\rClusterWeight\x12\x1b\n" +
	"\x04name\x18\x01 \x01(\tB\a\xfaB\x04r\x02 \x01R\x04name\x12\x1f\n" +
	"\x06weight\x18\x02 \x01(\rB\a\xfaB\x04*\x02(\x01R\x06weight\x12B\n" +
	"\x0emetadata_match\x18\x03 \x01(\v2\x1b.envoy.api.v2.core.MetadataR\rmetadataMatch\x1a6\n" +
	"\x0fTunnelingConfig\x12#\n" +
	"\bhostname\x18\x01 \x01(\tB\a\xfaB\x04r\x02 \x01R\bhostnameB\x18\n" +
	"\x11cluster_specifier\x12\x03\xf8B\x01B\xe3\x01\xf2\x98\xfe\x8f\x05/\x12-envoy.extensions.filters.network.tcp_proxy.v3\xba\x80\xc8\xd1\x06\x02\x10\x01\n" +
	"6io.envoyproxy.envoy.config.filter.network.tcp_proxy.v2B\rTcpProxyProtoP\x01Z[github.com/envoyproxy/go-control-plane/envoy/config/filter/network/tcp_proxy/v2;tcp_proxyv2b\x06proto3"

var (
	file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescOnce sync.Once
	file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescData []byte
)

func file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescGZIP() []byte {
	file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescOnce.Do(func() {
		file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDesc), len(file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDesc)))
	})
	return file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDescData
}

var file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_goTypes = []any{
	(*TcpProxy)(nil),                               // 0: envoy.config.filter.network.tcp_proxy.v2.TcpProxy
	(*TcpProxy_DeprecatedV1)(nil),                  // 1: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1
	(*TcpProxy_WeightedCluster)(nil),               // 2: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster
	(*TcpProxy_TunnelingConfig)(nil),               // 3: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.TunnelingConfig
	(*TcpProxy_DeprecatedV1_TCPRoute)(nil),         // 4: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute
	(*TcpProxy_WeightedCluster_ClusterWeight)(nil), // 5: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight
	(*core.Metadata)(nil),                          // 6: envoy.api.v2.core.Metadata
	(*durationpb.Duration)(nil),                    // 7: google.protobuf.Duration
	(*v2.AccessLog)(nil),                           // 8: envoy.config.filter.accesslog.v2.AccessLog
	(*wrapperspb.UInt32Value)(nil),                 // 9: google.protobuf.UInt32Value
	(*_type.HashPolicy)(nil),                       // 10: envoy.type.HashPolicy
	(*core.CidrRange)(nil),                         // 11: envoy.api.v2.core.CidrRange
}
var file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_depIdxs = []int32{
	2,  // 0: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.weighted_clusters:type_name -> envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster
	6,  // 1: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.metadata_match:type_name -> envoy.api.v2.core.Metadata
	7,  // 2: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.idle_timeout:type_name -> google.protobuf.Duration
	7,  // 3: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.downstream_idle_timeout:type_name -> google.protobuf.Duration
	7,  // 4: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.upstream_idle_timeout:type_name -> google.protobuf.Duration
	8,  // 5: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.access_log:type_name -> envoy.config.filter.accesslog.v2.AccessLog
	1,  // 6: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1:type_name -> envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1
	9,  // 7: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.max_connect_attempts:type_name -> google.protobuf.UInt32Value
	10, // 8: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.hash_policy:type_name -> envoy.type.HashPolicy
	3,  // 9: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.tunneling_config:type_name -> envoy.config.filter.network.tcp_proxy.v2.TcpProxy.TunnelingConfig
	4,  // 10: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.routes:type_name -> envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute
	5,  // 11: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.clusters:type_name -> envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight
	11, // 12: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute.destination_ip_list:type_name -> envoy.api.v2.core.CidrRange
	11, // 13: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute.source_ip_list:type_name -> envoy.api.v2.core.CidrRange
	6,  // 14: envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight.metadata_match:type_name -> envoy.api.v2.core.Metadata
	15, // [15:15] is the sub-list for method output_type
	15, // [15:15] is the sub-list for method input_type
	15, // [15:15] is the sub-list for extension type_name
	15, // [15:15] is the sub-list for extension extendee
	0,  // [0:15] is the sub-list for field type_name
}

func init() { file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_init() }
func file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_init() {
	if File_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto != nil {
		return
	}
	file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes[0].OneofWrappers = []any{
		(*TcpProxy_Cluster)(nil),
		(*TcpProxy_WeightedClusters)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDesc), len(file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_goTypes,
		DependencyIndexes: file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_depIdxs,
		MessageInfos:      file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_msgTypes,
	}.Build()
	File_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto = out.File
	file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_goTypes = nil
	file_envoy_config_filter_network_tcp_proxy_v2_tcp_proxy_proto_depIdxs = nil
}
