Class TcpProxy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TcpProxyOrBuilder,Serializable
public final class TcpProxy
extends com.google.protobuf.GeneratedMessageV3
implements TcpProxyOrBuilder
[#next-free-field: 23]Protobuf type
envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 23]static enumstatic final classProtobuf typeenvoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemandstatic interfacestatic final classProtobuf typeenvoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptionsstatic interfacestatic final classConfiguration for tunneling TCP over other transports or application layers.static interfacestatic final classAllows specification of multiple upstream clusters along with weights indicating the percentage of traffic forwarded to each cluster.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAccessLog(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.intConfiguration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.com.google.protobuf.DurationDeprecated.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.access_log_flush_interval is deprecated.com.google.protobuf.DurationOrBuilderDeprecated.Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.Additional access log options for the TCP proxy.Additional access log options for the TCP proxy.getAccessLogOrBuilder(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.List<? extends AccessLogOrBuilder>Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.Sets the backoff strategy.Sets the backoff strategy.The upstream cluster to connect to.com.google.protobuf.ByteStringThe upstream cluster to connect to.static TcpProxystatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Duration[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.DurationOrBuilder[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.booleanDeprecated.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.flush_access_log_on_connected is deprecated.getHashPolicy(int index) Optional configuration for TCP proxy hash policy.intOptional configuration for TCP proxy hash policy.Optional configuration for TCP proxy hash policy.getHashPolicyOrBuilder(int index) Optional configuration for TCP proxy hash policy.List<? extends HashPolicyOrBuilder>Optional configuration for TCP proxy hash policy.com.google.protobuf.DurationThe idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.DurationOrBuilderThe idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.UInt32ValueThe maximum number of unsuccessful connection attempts that will be made before giving up.com.google.protobuf.UInt32ValueOrBuilderThe maximum number of unsuccessful connection attempts that will be made before giving up.com.google.protobuf.DurationThe maximum duration of a connection.Percentage-based jitter for ``max_downstream_connection_duration``.Percentage-based jitter for ``max_downstream_connection_duration``.com.google.protobuf.DurationOrBuilderThe maximum duration of a connection.com.google.protobuf.UInt32ValueMaximum bytes of early data to buffer from the downstream connection before the upstream connection is established.com.google.protobuf.UInt32ValueOrBuilderMaximum bytes of early data to buffer from the downstream connection before the upstream connection is established.Optional endpoint metadata match criteria used by the subset load balancer.Optional endpoint metadata match criteria used by the subset load balancer.The on demand policy for the upstream cluster.The on demand policy for the upstream cluster.com.google.protobuf.Parser<TcpProxy>getProxyProtocolTlvs(int index) If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter.intIf set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter.If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter.getProxyProtocolTlvsOrBuilder(int index) If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter.List<? extends TlvEntryOrBuilder>If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter.intThe prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.com.google.protobuf.ByteStringThe prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.If set, this configures tunneling, for example configuration options to tunnel TCP payload over HTTP CONNECT.If set, this configures tunneling, for example configuration options to tunnel TCP payload over HTTP CONNECT.Specifies when to establish the upstream connection.intSpecifies when to establish the upstream connection.com.google.protobuf.Duration[#not-implemented-hide:]com.google.protobuf.DurationOrBuilder[#not-implemented-hide:]Multiple upstream clusters can be specified.Multiple upstream clusters can be specified.booleanDeprecated.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.access_log_flush_interval is deprecated.booleanAdditional access log options for the TCP proxy.booleanSets the backoff strategy.booleanThe upstream cluster to connect to.boolean[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.inthashCode()booleanThe idle timeout for connections managed by the TCP proxy filter.booleanThe maximum number of unsuccessful connection attempts that will be made before giving up.booleanThe maximum duration of a connection.booleanPercentage-based jitter for ``max_downstream_connection_duration``.booleanMaximum bytes of early data to buffer from the downstream connection before the upstream connection is established.booleanOptional endpoint metadata match criteria used by the subset load balancer.booleanThe on demand policy for the upstream cluster.booleanIf set, this configures tunneling, for example configuration options to tunnel TCP payload over HTTP CONNECT.boolean[#not-implemented-hide:]booleanMultiple upstream clusters can be specified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic TcpProxy.Builderstatic TcpProxy.BuildernewBuilder(TcpProxy prototype) protected TcpProxy.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TcpProxyparseDelimitedFrom(InputStream input) static TcpProxyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TcpProxyparseFrom(byte[] data) static TcpProxyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TcpProxyparseFrom(com.google.protobuf.ByteString data) static TcpProxyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TcpProxyparseFrom(com.google.protobuf.CodedInputStream input) static TcpProxyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TcpProxyparseFrom(InputStream input) static TcpProxyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TcpProxyparseFrom(ByteBuffer data) static TcpProxyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TcpProxy>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STAT_PREFIX_FIELD_NUMBER
public static final int STAT_PREFIX_FIELD_NUMBER- See Also:
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
WEIGHTED_CLUSTERS_FIELD_NUMBER
public static final int WEIGHTED_CLUSTERS_FIELD_NUMBER- See Also:
-
ON_DEMAND_FIELD_NUMBER
public static final int ON_DEMAND_FIELD_NUMBER- See Also:
-
METADATA_MATCH_FIELD_NUMBER
public static final int METADATA_MATCH_FIELD_NUMBER- See Also:
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER- See Also:
-
DOWNSTREAM_IDLE_TIMEOUT_FIELD_NUMBER
public static final int DOWNSTREAM_IDLE_TIMEOUT_FIELD_NUMBER- See Also:
-
UPSTREAM_IDLE_TIMEOUT_FIELD_NUMBER
public static final int UPSTREAM_IDLE_TIMEOUT_FIELD_NUMBER- See Also:
-
ACCESS_LOG_FIELD_NUMBER
public static final int ACCESS_LOG_FIELD_NUMBER- See Also:
-
MAX_CONNECT_ATTEMPTS_FIELD_NUMBER
public static final int MAX_CONNECT_ATTEMPTS_FIELD_NUMBER- See Also:
-
BACKOFF_OPTIONS_FIELD_NUMBER
public static final int BACKOFF_OPTIONS_FIELD_NUMBER- See Also:
-
HASH_POLICY_FIELD_NUMBER
public static final int HASH_POLICY_FIELD_NUMBER- See Also:
-
TUNNELING_CONFIG_FIELD_NUMBER
public static final int TUNNELING_CONFIG_FIELD_NUMBER- See Also:
-
MAX_DOWNSTREAM_CONNECTION_DURATION_FIELD_NUMBER
public static final int MAX_DOWNSTREAM_CONNECTION_DURATION_FIELD_NUMBER- See Also:
-
MAX_DOWNSTREAM_CONNECTION_DURATION_JITTER_PERCENTAGE_FIELD_NUMBER
public static final int MAX_DOWNSTREAM_CONNECTION_DURATION_JITTER_PERCENTAGE_FIELD_NUMBER- See Also:
-
ACCESS_LOG_FLUSH_INTERVAL_FIELD_NUMBER
public static final int ACCESS_LOG_FLUSH_INTERVAL_FIELD_NUMBER- See Also:
-
FLUSH_ACCESS_LOG_ON_CONNECTED_FIELD_NUMBER
public static final int FLUSH_ACCESS_LOG_ON_CONNECTED_FIELD_NUMBER- See Also:
-
ACCESS_LOG_OPTIONS_FIELD_NUMBER
public static final int ACCESS_LOG_OPTIONS_FIELD_NUMBER- See Also:
-
PROXY_PROTOCOL_TLVS_FIELD_NUMBER
public static final int PROXY_PROTOCOL_TLVS_FIELD_NUMBER- See Also:
-
UPSTREAM_CONNECT_MODE_FIELD_NUMBER
public static final int UPSTREAM_CONNECT_MODE_FIELD_NUMBER- See Also:
-
MAX_EARLY_DATA_BYTES_FIELD_NUMBER
public static final int MAX_EARLY_DATA_BYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getClusterSpecifierCase
- Specified by:
getClusterSpecifierCasein interfaceTcpProxyOrBuilder
-
getStatPrefix
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceTcpProxyOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public 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) = { ... }- Specified by:
getStatPrefixBytesin interfaceTcpProxyOrBuilder- Returns:
- The bytes for statPrefix.
-
hasCluster
public boolean hasCluster()The upstream cluster to connect to.
string cluster = 2;- Specified by:
hasClusterin interfaceTcpProxyOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
The upstream cluster to connect to.
string cluster = 2;- Specified by:
getClusterin interfaceTcpProxyOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()The upstream cluster to connect to.
string cluster = 2;- Specified by:
getClusterBytesin interfaceTcpProxyOrBuilder- Returns:
- The bytes for cluster.
-
hasWeightedClusters
public boolean hasWeightedClusters()Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters based on the weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
hasWeightedClustersin interfaceTcpProxyOrBuilder- Returns:
- Whether the weightedClusters field is set.
-
getWeightedClusters
Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters based on the weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
getWeightedClustersin interfaceTcpProxyOrBuilder- Returns:
- The weightedClusters.
-
getWeightedClustersOrBuilder
Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters based on the weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
getWeightedClustersOrBuilderin interfaceTcpProxyOrBuilder
-
hasOnDemand
public boolean hasOnDemand()The on demand policy for the upstream cluster. It applies to both :ref:`TcpProxy.cluster <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.cluster>` and :ref:`TcpProxy.weighted_clusters <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.weighted_clusters>`.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand on_demand = 14;- Specified by:
hasOnDemandin interfaceTcpProxyOrBuilder- Returns:
- Whether the onDemand field is set.
-
getOnDemand
The on demand policy for the upstream cluster. It applies to both :ref:`TcpProxy.cluster <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.cluster>` and :ref:`TcpProxy.weighted_clusters <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.weighted_clusters>`.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand on_demand = 14;- Specified by:
getOnDemandin interfaceTcpProxyOrBuilder- Returns:
- The onDemand.
-
getOnDemandOrBuilder
The on demand policy for the upstream cluster. It applies to both :ref:`TcpProxy.cluster <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.cluster>` and :ref:`TcpProxy.weighted_clusters <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.weighted_clusters>`.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand on_demand = 14;- Specified by:
getOnDemandOrBuilderin interfaceTcpProxyOrBuilder
-
hasMetadataMatch
public boolean hasMetadataMatch()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. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;- Specified by:
hasMetadataMatchin interfaceTcpProxyOrBuilder- Returns:
- Whether the metadataMatch field is set.
-
getMetadataMatch
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. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;- Specified by:
getMetadataMatchin interfaceTcpProxyOrBuilder- Returns:
- The metadataMatch.
-
getMetadataMatchOrBuilder
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. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;- Specified by:
getMetadataMatchOrBuilderin interfaceTcpProxyOrBuilder
-
hasIdleTimeout
public 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, the default idle timeout is 1 hour. If set to ``0s``, the timeout is disabled. It is possible to dynamically override this configuration by setting a per-connection filter state object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``. .. warning:: Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 8;- Specified by:
hasIdleTimeoutin interfaceTcpProxyOrBuilder- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public 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, the default idle timeout is 1 hour. If set to ``0s``, the timeout is disabled. It is possible to dynamically override this configuration by setting a per-connection filter state object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``. .. warning:: Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 8;- Specified by:
getIdleTimeoutin interfaceTcpProxyOrBuilder- Returns:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
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, the default idle timeout is 1 hour. If set to ``0s``, the timeout is disabled. It is possible to dynamically override this configuration by setting a per-connection filter state object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``. .. warning:: Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 8;- Specified by:
getIdleTimeoutOrBuilderin interfaceTcpProxyOrBuilder
-
hasDownstreamIdleTimeout
public 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;- Specified by:
hasDownstreamIdleTimeoutin interfaceTcpProxyOrBuilder- Returns:
- Whether the downstreamIdleTimeout field is set.
-
getDownstreamIdleTimeout
public 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;- Specified by:
getDownstreamIdleTimeoutin interfaceTcpProxyOrBuilder- Returns:
- The downstreamIdleTimeout.
-
getDownstreamIdleTimeoutOrBuilder
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;- Specified by:
getDownstreamIdleTimeoutOrBuilderin interfaceTcpProxyOrBuilder
-
hasUpstreamIdleTimeout
public boolean hasUpstreamIdleTimeout()[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;- Specified by:
hasUpstreamIdleTimeoutin interfaceTcpProxyOrBuilder- Returns:
- Whether the upstreamIdleTimeout field is set.
-
getUpstreamIdleTimeout
public com.google.protobuf.Duration getUpstreamIdleTimeout()[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;- Specified by:
getUpstreamIdleTimeoutin interfaceTcpProxyOrBuilder- Returns:
- The upstreamIdleTimeout.
-
getUpstreamIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getUpstreamIdleTimeoutOrBuilder()[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;- Specified by:
getUpstreamIdleTimeoutOrBuilderin interfaceTcpProxyOrBuilder
-
getAccessLogList
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogListin interfaceTcpProxyOrBuilder
-
getAccessLogOrBuilderList
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogOrBuilderListin interfaceTcpProxyOrBuilder
-
getAccessLogCount
public int getAccessLogCount()Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogCountin interfaceTcpProxyOrBuilder
-
getAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogin interfaceTcpProxyOrBuilder
-
getAccessLogOrBuilder
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogOrBuilderin interfaceTcpProxyOrBuilder
-
hasMaxConnectAttempts
public 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) = { ... }- Specified by:
hasMaxConnectAttemptsin interfaceTcpProxyOrBuilder- Returns:
- Whether the maxConnectAttempts field is set.
-
getMaxConnectAttempts
public 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) = { ... }- Specified by:
getMaxConnectAttemptsin interfaceTcpProxyOrBuilder- Returns:
- The maxConnectAttempts.
-
getMaxConnectAttemptsOrBuilder
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) = { ... }- Specified by:
getMaxConnectAttemptsOrBuilderin interfaceTcpProxyOrBuilder
-
hasBackoffOptions
public boolean hasBackoffOptions()Sets the backoff strategy. If not set, the retries are performed without backoff.
.envoy.config.core.v3.BackoffStrategy backoff_options = 18;- Specified by:
hasBackoffOptionsin interfaceTcpProxyOrBuilder- Returns:
- Whether the backoffOptions field is set.
-
getBackoffOptions
Sets the backoff strategy. If not set, the retries are performed without backoff.
.envoy.config.core.v3.BackoffStrategy backoff_options = 18;- Specified by:
getBackoffOptionsin interfaceTcpProxyOrBuilder- Returns:
- The backoffOptions.
-
getBackoffOptionsOrBuilder
Sets the backoff strategy. If not set, the retries are performed without backoff.
.envoy.config.core.v3.BackoffStrategy backoff_options = 18;- Specified by:
getBackoffOptionsOrBuilderin interfaceTcpProxyOrBuilder
-
getHashPolicyList
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.
repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyListin interfaceTcpProxyOrBuilder
-
getHashPolicyOrBuilderList
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.
repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyOrBuilderListin interfaceTcpProxyOrBuilder
-
getHashPolicyCount
public int getHashPolicyCount()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.
repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyCountin interfaceTcpProxyOrBuilder
-
getHashPolicy
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.
repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyin interfaceTcpProxyOrBuilder
-
getHashPolicyOrBuilder
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.
repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyOrBuilderin interfaceTcpProxyOrBuilder
-
hasTunnelingConfig
public boolean hasTunnelingConfig()If set, this configures tunneling, for example configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual. It is possible to dynamically override this configuration and disable tunneling per connection by setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
hasTunnelingConfigin interfaceTcpProxyOrBuilder- Returns:
- Whether the tunnelingConfig field is set.
-
getTunnelingConfig
If set, this configures tunneling, for example configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual. It is possible to dynamically override this configuration and disable tunneling per connection by setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigin interfaceTcpProxyOrBuilder- Returns:
- The tunnelingConfig.
-
getTunnelingConfigOrBuilder
If set, this configures tunneling, for example configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual. It is possible to dynamically override this configuration and disable tunneling per connection by setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigOrBuilderin interfaceTcpProxyOrBuilder
-
hasMaxDownstreamConnectionDuration
public boolean hasMaxDownstreamConnectionDuration()The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no maximum duration. When ``max_downstream_connection_duration`` is reached, the connection is closed. The duration must be at least ``1ms``.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }- Specified by:
hasMaxDownstreamConnectionDurationin interfaceTcpProxyOrBuilder- Returns:
- Whether the maxDownstreamConnectionDuration field is set.
-
getMaxDownstreamConnectionDuration
public com.google.protobuf.Duration getMaxDownstreamConnectionDuration()The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no maximum duration. When ``max_downstream_connection_duration`` is reached, the connection is closed. The duration must be at least ``1ms``.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }- Specified by:
getMaxDownstreamConnectionDurationin interfaceTcpProxyOrBuilder- Returns:
- The maxDownstreamConnectionDuration.
-
getMaxDownstreamConnectionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxDownstreamConnectionDurationOrBuilder()The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no maximum duration. When ``max_downstream_connection_duration`` is reached, the connection is closed. The duration must be at least ``1ms``.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }- Specified by:
getMaxDownstreamConnectionDurationOrBuilderin interfaceTcpProxyOrBuilder
-
hasMaxDownstreamConnectionDurationJitterPercentage
public boolean hasMaxDownstreamConnectionDurationJitterPercentage()Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the ``max_downstream_connection_duration`` by a random duration up to the provided percentage. This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter is added.
.envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;- Specified by:
hasMaxDownstreamConnectionDurationJitterPercentagein interfaceTcpProxyOrBuilder- Returns:
- Whether the maxDownstreamConnectionDurationJitterPercentage field is set.
-
getMaxDownstreamConnectionDurationJitterPercentage
Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the ``max_downstream_connection_duration`` by a random duration up to the provided percentage. This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter is added.
.envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;- Specified by:
getMaxDownstreamConnectionDurationJitterPercentagein interfaceTcpProxyOrBuilder- Returns:
- The maxDownstreamConnectionDurationJitterPercentage.
-
getMaxDownstreamConnectionDurationJitterPercentageOrBuilder
Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the ``max_downstream_connection_duration`` by a random duration up to the provided percentage. This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter is added.
.envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;- Specified by:
getMaxDownstreamConnectionDurationJitterPercentageOrBuilderin interfaceTcpProxyOrBuilder
-
hasAccessLogFlushInterval
Deprecated.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.access_log_flush_interval is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=304If both this field and :ref:`access_log_flush_interval <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>` are specified, the former (deprecated field) is ignored. .. attention:: This field is deprecated in favor of :ref:`access_log_flush_interval <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
.google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }- Specified by:
hasAccessLogFlushIntervalin interfaceTcpProxyOrBuilder- Returns:
- Whether the accessLogFlushInterval field is set.
-
getAccessLogFlushInterval
Deprecated.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.access_log_flush_interval is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=304If both this field and :ref:`access_log_flush_interval <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>` are specified, the former (deprecated field) is ignored. .. attention:: This field is deprecated in favor of :ref:`access_log_flush_interval <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
.google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getAccessLogFlushIntervalin interfaceTcpProxyOrBuilder- Returns:
- The accessLogFlushInterval.
-
getAccessLogFlushIntervalOrBuilder
Deprecated.If both this field and :ref:`access_log_flush_interval <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>` are specified, the former (deprecated field) is ignored. .. attention:: This field is deprecated in favor of :ref:`access_log_flush_interval <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
.google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getAccessLogFlushIntervalOrBuilderin interfaceTcpProxyOrBuilder
-
getFlushAccessLogOnConnected
Deprecated.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.flush_access_log_on_connected is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=318If both this field and :ref:`flush_access_log_on_connected <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>` are specified, the former (deprecated field) is ignored. .. attention:: This field is deprecated in favor of :ref:`flush_access_log_on_connected <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`.
bool flush_access_log_on_connected = 16 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getFlushAccessLogOnConnectedin interfaceTcpProxyOrBuilder- Returns:
- The flushAccessLogOnConnected.
-
hasAccessLogOptions
public boolean hasAccessLogOptions()Additional access log options for the TCP proxy.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;- Specified by:
hasAccessLogOptionsin interfaceTcpProxyOrBuilder- Returns:
- Whether the accessLogOptions field is set.
-
getAccessLogOptions
Additional access log options for the TCP proxy.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;- Specified by:
getAccessLogOptionsin interfaceTcpProxyOrBuilder- Returns:
- The accessLogOptions.
-
getAccessLogOptionsOrBuilder
Additional access log options for the TCP proxy.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;- Specified by:
getAccessLogOptionsOrBuilderin interfaceTcpProxyOrBuilder
-
getProxyProtocolTlvsList
If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream. This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an upstream proxy protocol transport socket is configured in the cluster. If the connection already contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener upstream proxy protocol transport socket is configured in the cluster. If the connection already contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener filter, the TLVs specified here are ignored. .. note:: To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also configure passthrough TLVs on the upstream proxy protocol transport. See :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>` for details.
repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;- Specified by:
getProxyProtocolTlvsListin interfaceTcpProxyOrBuilder
-
getProxyProtocolTlvsOrBuilderList
If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream. This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an upstream proxy protocol transport socket is configured in the cluster. If the connection already contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener upstream proxy protocol transport socket is configured in the cluster. If the connection already contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener filter, the TLVs specified here are ignored. .. note:: To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also configure passthrough TLVs on the upstream proxy protocol transport. See :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>` for details.
repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;- Specified by:
getProxyProtocolTlvsOrBuilderListin interfaceTcpProxyOrBuilder
-
getProxyProtocolTlvsCount
public int getProxyProtocolTlvsCount()If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream. This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an upstream proxy protocol transport socket is configured in the cluster. If the connection already contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener upstream proxy protocol transport socket is configured in the cluster. If the connection already contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener filter, the TLVs specified here are ignored. .. note:: To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also configure passthrough TLVs on the upstream proxy protocol transport. See :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>` for details.
repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;- Specified by:
getProxyProtocolTlvsCountin interfaceTcpProxyOrBuilder
-
getProxyProtocolTlvs
If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream. This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an upstream proxy protocol transport socket is configured in the cluster. If the connection already contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener upstream proxy protocol transport socket is configured in the cluster. If the connection already contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener filter, the TLVs specified here are ignored. .. note:: To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also configure passthrough TLVs on the upstream proxy protocol transport. See :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>` for details.
repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;- Specified by:
getProxyProtocolTlvsin interfaceTcpProxyOrBuilder
-
getProxyProtocolTlvsOrBuilder
If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream. This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an upstream proxy protocol transport socket is configured in the cluster. If the connection already contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener upstream proxy protocol transport socket is configured in the cluster. If the connection already contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener filter, the TLVs specified here are ignored. .. note:: To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also configure passthrough TLVs on the upstream proxy protocol transport. See :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>` for details.
repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;- Specified by:
getProxyProtocolTlvsOrBuilderin interfaceTcpProxyOrBuilder
-
getUpstreamConnectModeValue
public int getUpstreamConnectModeValue()Specifies when to establish the upstream connection. When not specified, defaults to ``IMMEDIATE`` for backward compatibility. .. attention:: Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
.envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }- Specified by:
getUpstreamConnectModeValuein interfaceTcpProxyOrBuilder- Returns:
- The enum numeric value on the wire for upstreamConnectMode.
-
getUpstreamConnectMode
Specifies when to establish the upstream connection. When not specified, defaults to ``IMMEDIATE`` for backward compatibility. .. attention:: Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
.envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }- Specified by:
getUpstreamConnectModein interfaceTcpProxyOrBuilder- Returns:
- The upstreamConnectMode.
-
hasMaxEarlyDataBytes
public boolean hasMaxEarlyDataBytes()Maximum bytes of early data to buffer from the downstream connection before the upstream connection is established. If not set, the TCP proxy will read-disable the downstream connection until the upstream connection is established (legacy behavior). If set, enables ``receive_before_connect`` mode where the filter allows the filter chain to read downstream data before the upstream connection exists. The data is buffered and forwarded once the upstream connection is ready. When the buffer exceeds this limit, the downstream connection is read-disabled to prevent excessive memory usage. This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``. .. note:: Use this carefully with server-first protocols. The upstream may send data before receiving anything from downstream, which could fill the early data buffer.
.google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }- Specified by:
hasMaxEarlyDataBytesin interfaceTcpProxyOrBuilder- Returns:
- Whether the maxEarlyDataBytes field is set.
-
getMaxEarlyDataBytes
public com.google.protobuf.UInt32Value getMaxEarlyDataBytes()Maximum bytes of early data to buffer from the downstream connection before the upstream connection is established. If not set, the TCP proxy will read-disable the downstream connection until the upstream connection is established (legacy behavior). If set, enables ``receive_before_connect`` mode where the filter allows the filter chain to read downstream data before the upstream connection exists. The data is buffered and forwarded once the upstream connection is ready. When the buffer exceeds this limit, the downstream connection is read-disabled to prevent excessive memory usage. This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``. .. note:: Use this carefully with server-first protocols. The upstream may send data before receiving anything from downstream, which could fill the early data buffer.
.google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }- Specified by:
getMaxEarlyDataBytesin interfaceTcpProxyOrBuilder- Returns:
- The maxEarlyDataBytes.
-
getMaxEarlyDataBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxEarlyDataBytesOrBuilder()Maximum bytes of early data to buffer from the downstream connection before the upstream connection is established. If not set, the TCP proxy will read-disable the downstream connection until the upstream connection is established (legacy behavior). If set, enables ``receive_before_connect`` mode where the filter allows the filter chain to read downstream data before the upstream connection exists. The data is buffered and forwarded once the upstream connection is ready. When the buffer exceeds this limit, the downstream connection is read-disabled to prevent excessive memory usage. This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``. .. note:: Use this carefully with server-first protocols. The upstream may send data before receiving anything from downstream, which could fill the early data buffer.
.google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }- Specified by:
getMaxEarlyDataBytesOrBuilderin interfaceTcpProxyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TcpProxy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TcpProxy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TcpProxy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TcpProxy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TcpProxy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-