public static final class TcpProxy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder> implements TcpProxyOrBuilder
envoy.config.filter.network.tcp_proxy.v2.TcpProxy| Modifier and Type | Method and Description |
|---|---|
TcpProxy.Builder |
addAccessLog(AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
addAccessLog(AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
addAccessLog(int index,
AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
addAccessLog(int index,
AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
AccessLog.Builder |
addAccessLogBuilder()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
AccessLog.Builder |
addAccessLogBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
addAllAccessLog(Iterable<? extends AccessLog> values)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TcpProxy |
build() |
TcpProxy |
buildPartial() |
TcpProxy.Builder |
clear() |
TcpProxy.Builder |
clearAccessLog()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
clearCluster()
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
TcpProxy.Builder |
clearClusterSpecifier() |
TcpProxy.Builder |
clearDeprecatedV1()
Deprecated.
|
TcpProxy.Builder |
clearDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
TcpProxy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TcpProxy.Builder |
clearIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter.
|
TcpProxy.Builder |
clearMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
TcpProxy.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria.
|
TcpProxy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TcpProxy.Builder |
clearStatPrefix()
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
TcpProxy.Builder |
clearUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
TcpProxy.Builder |
clearWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
TcpProxy.Builder |
clone() |
AccessLog |
getAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
AccessLog.Builder |
getAccessLogBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
List<AccessLog.Builder> |
getAccessLogBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
int |
getAccessLogCount()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
List<AccessLog> |
getAccessLogList()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
AccessLogOrBuilder |
getAccessLogOrBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
List<? extends AccessLogOrBuilder> |
getAccessLogOrBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
String |
getCluster()
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
com.google.protobuf.ByteString |
getClusterBytes()
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
TcpProxy.ClusterSpecifierCase |
getClusterSpecifierCase() |
TcpProxy |
getDefaultInstanceForType() |
TcpProxy.DeprecatedV1 |
getDeprecatedV1()
Deprecated.
|
TcpProxy.DeprecatedV1.Builder |
getDeprecatedV1Builder()
Deprecated.
|
TcpProxy.DeprecatedV1OrBuilder |
getDeprecatedV1OrBuilder()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
com.google.protobuf.Duration.Builder |
getDownstreamIdleTimeoutBuilder()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
com.google.protobuf.DurationOrBuilder |
getDownstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
com.google.protobuf.Duration |
getIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter.
|
com.google.protobuf.Duration.Builder |
getIdleTimeoutBuilder()
The idle timeout for connections managed by the TCP proxy filter.
|
com.google.protobuf.DurationOrBuilder |
getIdleTimeoutOrBuilder()
The idle timeout for connections managed by the TCP proxy filter.
|
com.google.protobuf.UInt32Value |
getMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
com.google.protobuf.UInt32Value.Builder |
getMaxConnectAttemptsBuilder()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConnectAttemptsOrBuilder()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria.
|
Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria.
|
String |
getStatPrefix()
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
com.google.protobuf.Duration |
getUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
com.google.protobuf.Duration.Builder |
getUpstreamIdleTimeoutBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
com.google.protobuf.DurationOrBuilder |
getUpstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
TcpProxy.WeightedCluster |
getWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
TcpProxy.WeightedCluster.Builder |
getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route.
|
TcpProxy.WeightedClusterOrBuilder |
getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route.
|
boolean |
hasDeprecatedV1()
Deprecated.
|
boolean |
hasDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
boolean |
hasIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter.
|
boolean |
hasMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria.
|
boolean |
hasUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
boolean |
hasWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TcpProxy.Builder |
mergeDeprecatedV1(TcpProxy.DeprecatedV1 value)
Deprecated.
|
TcpProxy.Builder |
mergeDownstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
TcpProxy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TcpProxy.Builder |
mergeFrom(com.google.protobuf.Message other) |
TcpProxy.Builder |
mergeFrom(TcpProxy other) |
TcpProxy.Builder |
mergeIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections managed by the TCP proxy filter.
|
TcpProxy.Builder |
mergeMaxConnectAttempts(com.google.protobuf.UInt32Value value)
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
TcpProxy.Builder |
mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria.
|
TcpProxy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TcpProxy.Builder |
mergeUpstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
TcpProxy.Builder |
mergeWeightedClusters(TcpProxy.WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
TcpProxy.Builder |
removeAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
setAccessLog(int index,
AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
setAccessLog(int index,
AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
TcpProxy.Builder |
setCluster(String value)
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
TcpProxy.Builder |
setClusterBytes(com.google.protobuf.ByteString value)
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
TcpProxy.Builder |
setDeprecatedV1(TcpProxy.DeprecatedV1.Builder builderForValue)
Deprecated.
|
TcpProxy.Builder |
setDeprecatedV1(TcpProxy.DeprecatedV1 value)
Deprecated.
|
TcpProxy.Builder |
setDownstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
TcpProxy.Builder |
setDownstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
TcpProxy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TcpProxy.Builder |
setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
The idle timeout for connections managed by the TCP proxy filter.
|
TcpProxy.Builder |
setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections managed by the TCP proxy filter.
|
TcpProxy.Builder |
setMaxConnectAttempts(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
TcpProxy.Builder |
setMaxConnectAttempts(com.google.protobuf.UInt32Value value)
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
TcpProxy.Builder |
setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria.
|
TcpProxy.Builder |
setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria.
|
TcpProxy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TcpProxy.Builder |
setStatPrefix(String value)
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
TcpProxy.Builder |
setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
TcpProxy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TcpProxy.Builder |
setUpstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
TcpProxy.Builder |
setUpstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
TcpProxy.Builder |
setWeightedClusters(TcpProxy.WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route.
|
TcpProxy.Builder |
setWeightedClusters(TcpProxy.WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TcpProxy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TcpProxy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TcpProxy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.Builder>public TcpProxy.Builder mergeFrom(TcpProxy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public TcpProxy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.Builder>IOExceptionpublic TcpProxy.ClusterSpecifierCase getClusterSpecifierCase()
getClusterSpecifierCase in interface TcpProxyOrBuilderpublic TcpProxy.Builder clearClusterSpecifier()
public String getStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }getStatPrefix in interface TcpProxyOrBuilderpublic com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }getStatPrefixBytes in interface TcpProxyOrBuilderpublic TcpProxy.Builder setStatPrefix(String value)
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }public TcpProxy.Builder clearStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }public TcpProxy.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }public String getCluster()
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;getCluster in interface TcpProxyOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;getClusterBytes in interface TcpProxyOrBuilderpublic TcpProxy.Builder setCluster(String value)
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;public TcpProxy.Builder clearCluster()
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;public TcpProxy.Builder setClusterBytes(com.google.protobuf.ByteString value)
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;public boolean hasWeightedClusters()
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;hasWeightedClusters in interface TcpProxyOrBuilderpublic TcpProxy.WeightedCluster getWeightedClusters()
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;getWeightedClusters in interface TcpProxyOrBuilderpublic TcpProxy.Builder setWeightedClusters(TcpProxy.WeightedCluster value)
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;public TcpProxy.Builder setWeightedClusters(TcpProxy.WeightedCluster.Builder builderForValue)
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;public TcpProxy.Builder mergeWeightedClusters(TcpProxy.WeightedCluster value)
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;public TcpProxy.Builder clearWeightedClusters()
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;public TcpProxy.WeightedCluster.Builder getWeightedClustersBuilder()
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;public TcpProxy.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
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. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;getWeightedClustersOrBuilder in interface TcpProxyOrBuilderpublic boolean hasMetadataMatch()
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;hasMetadataMatch in interface TcpProxyOrBuilderpublic Metadata getMetadataMatch()
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;getMetadataMatch in interface TcpProxyOrBuilderpublic TcpProxy.Builder setMetadataMatch(Metadata value)
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;public TcpProxy.Builder setMetadataMatch(Metadata.Builder builderForValue)
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;public TcpProxy.Builder mergeMetadataMatch(Metadata value)
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;public TcpProxy.Builder clearMetadataMatch()
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;public Metadata.Builder getMetadataMatchBuilder()
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;public MetadataOrBuilder getMetadataMatchOrBuilder()
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*.
.envoy.api.v2.core.Metadata metadata_match = 9;getMetadataMatchOrBuilder in interface TcpProxyOrBuilderpublic boolean hasIdleTimeout()
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }hasIdleTimeout in interface TcpProxyOrBuilderpublic com.google.protobuf.Duration getIdleTimeout()
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }getIdleTimeout in interface TcpProxyOrBuilderpublic TcpProxy.Builder setIdleTimeout(com.google.protobuf.Duration value)
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public TcpProxy.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public TcpProxy.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public TcpProxy.Builder clearIdleTimeout()
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
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, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }getIdleTimeoutOrBuilder in interface TcpProxyOrBuilderpublic boolean hasDownstreamIdleTimeout()
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;hasDownstreamIdleTimeout in interface TcpProxyOrBuilderpublic com.google.protobuf.Duration getDownstreamIdleTimeout()
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;getDownstreamIdleTimeout in interface TcpProxyOrBuilderpublic TcpProxy.Builder setDownstreamIdleTimeout(com.google.protobuf.Duration value)
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;public TcpProxy.Builder setDownstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;public TcpProxy.Builder mergeDownstreamIdleTimeout(com.google.protobuf.Duration value)
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;public TcpProxy.Builder clearDownstreamIdleTimeout()
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;public com.google.protobuf.Duration.Builder getDownstreamIdleTimeoutBuilder()
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;public com.google.protobuf.DurationOrBuilder getDownstreamIdleTimeoutOrBuilder()
[#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.
.google.protobuf.Duration downstream_idle_timeout = 3;getDownstreamIdleTimeoutOrBuilder in interface TcpProxyOrBuilderpublic boolean hasUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;hasUpstreamIdleTimeout in interface TcpProxyOrBuilderpublic com.google.protobuf.Duration getUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;getUpstreamIdleTimeout in interface TcpProxyOrBuilderpublic TcpProxy.Builder setUpstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;public TcpProxy.Builder setUpstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;public TcpProxy.Builder mergeUpstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;public TcpProxy.Builder clearUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;public com.google.protobuf.Duration.Builder getUpstreamIdleTimeoutBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;public com.google.protobuf.DurationOrBuilder getUpstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;getUpstreamIdleTimeoutOrBuilder in interface TcpProxyOrBuilderpublic List<AccessLog> getAccessLogList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;getAccessLogList in interface TcpProxyOrBuilderpublic int getAccessLogCount()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;getAccessLogCount in interface TcpProxyOrBuilderpublic AccessLog getAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;getAccessLog in interface TcpProxyOrBuilderpublic TcpProxy.Builder setAccessLog(int index, AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder setAccessLog(int index, AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder addAccessLog(AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder addAccessLog(int index, AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder addAccessLog(AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder addAccessLog(int index, AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder addAllAccessLog(Iterable<? extends AccessLog> values)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder clearAccessLog()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public TcpProxy.Builder removeAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public AccessLog.Builder getAccessLogBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public AccessLogOrBuilder getAccessLogOrBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;getAccessLogOrBuilder in interface TcpProxyOrBuilderpublic List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;getAccessLogOrBuilderList in interface TcpProxyOrBuilderpublic AccessLog.Builder addAccessLogBuilder()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public AccessLog.Builder addAccessLogBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;public List<AccessLog.Builder> getAccessLogBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;@Deprecated public boolean hasDeprecatedV1()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];hasDeprecatedV1 in interface TcpProxyOrBuilder@Deprecated public TcpProxy.DeprecatedV1 getDeprecatedV1()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];getDeprecatedV1 in interface TcpProxyOrBuilder@Deprecated public TcpProxy.Builder setDeprecatedV1(TcpProxy.DeprecatedV1 value)
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated public TcpProxy.Builder setDeprecatedV1(TcpProxy.DeprecatedV1.Builder builderForValue)
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated public TcpProxy.Builder mergeDeprecatedV1(TcpProxy.DeprecatedV1 value)
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated public TcpProxy.Builder clearDeprecatedV1()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated public TcpProxy.DeprecatedV1.Builder getDeprecatedV1Builder()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated public TcpProxy.DeprecatedV1OrBuilder getDeprecatedV1OrBuilder()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];getDeprecatedV1OrBuilder in interface TcpProxyOrBuilderpublic boolean hasMaxConnectAttempts()
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }hasMaxConnectAttempts in interface TcpProxyOrBuilderpublic com.google.protobuf.UInt32Value getMaxConnectAttempts()
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }getMaxConnectAttempts in interface TcpProxyOrBuilderpublic TcpProxy.Builder setMaxConnectAttempts(com.google.protobuf.UInt32Value value)
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }public TcpProxy.Builder setMaxConnectAttempts(com.google.protobuf.UInt32Value.Builder builderForValue)
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }public TcpProxy.Builder mergeMaxConnectAttempts(com.google.protobuf.UInt32Value value)
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }public TcpProxy.Builder clearMaxConnectAttempts()
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }public com.google.protobuf.UInt32Value.Builder getMaxConnectAttemptsBuilder()
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }public com.google.protobuf.UInt32ValueOrBuilder getMaxConnectAttemptsOrBuilder()
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.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }getMaxConnectAttemptsOrBuilder in interface TcpProxyOrBuilderpublic final TcpProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>public final TcpProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.