Class TcpProxy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.config.filter.network.tcp_proxy.v2.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: 13]Protobuf type
envoy.config.filter.network.tcp_proxy.v2.TcpProxy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 13]static enumstatic final classDeprecated.static interfaceDeprecated.static final classConfiguration for tunneling TCP over other transports or application layers.static interfacestatic final classAllows for specification of multiple upstream clusters along with weights that indicate the percentage of traffic to be 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 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 the this tcp_proxy.intConfiguration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.getAccessLogOrBuilder(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.List<? extends AccessLogOrBuilder>Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.The upstream cluster to connect to.com.google.protobuf.ByteStringThe upstream cluster to connect to.static TcpProxyDeprecated.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1 is deprecated.Deprecated.static 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.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.Optional endpoint metadata match criteria.Optional endpoint metadata match criteria.com.google.protobuf.Parser<TcpProxy>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>`.[#not-implemented-hide:] feature in progress If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP/2 tunnel.[#not-implemented-hide:] feature in progress If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP/2 tunnel.com.google.protobuf.Duration[#not-implemented-hide:]com.google.protobuf.DurationOrBuilder[#not-implemented-hide:]Multiple upstream clusters can be specified for a given route.Multiple upstream clusters can be specified for a given route.booleanThe upstream cluster to connect to.booleanDeprecated.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1 is deprecated.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.booleanOptional endpoint metadata match criteria.boolean[#not-implemented-hide:] feature in progress If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP/2 tunnel.boolean[#not-implemented-hide:]booleanMultiple upstream clusters can be specified for a given route.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:
-
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:
-
DEPRECATED_V1_FIELD_NUMBER
public static final int DEPRECATED_V1_FIELD_NUMBER- See Also:
-
MAX_CONNECT_ATTEMPTS_FIELD_NUMBER
public static final int MAX_CONNECT_ATTEMPTS_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:
-
-
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 for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
hasWeightedClustersin interfaceTcpProxyOrBuilder- Returns:
- Whether the weightedClusters field is set.
-
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.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
getWeightedClustersin interfaceTcpProxyOrBuilder- Returns:
- The weightedClusters.
-
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.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
getWeightedClustersOrBuilderin interfaceTcpProxyOrBuilder
-
hasMetadataMatch
public 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;- Specified by:
hasMetadataMatchin interfaceTcpProxyOrBuilder- Returns:
- Whether the metadataMatch field is set.
-
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;- Specified by:
getMetadataMatchin interfaceTcpProxyOrBuilder- Returns:
- The metadataMatch.
-
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;- 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 will be disabled. .. warning:: Disabling this timeout has a highly likelihood of yielding 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 will be disabled. .. warning:: Disabling this timeout has a highly likelihood of yielding 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 will be disabled. .. warning:: Disabling this timeout has a highly likelihood of yielding 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 the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;- Specified by:
getAccessLogListin interfaceTcpProxyOrBuilder
-
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;- Specified by:
getAccessLogOrBuilderListin interfaceTcpProxyOrBuilder
-
getAccessLogCount
public 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;- Specified by:
getAccessLogCountin interfaceTcpProxyOrBuilder
-
getAccessLog
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;- Specified by:
getAccessLogin interfaceTcpProxyOrBuilder
-
getAccessLogOrBuilder
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;- Specified by:
getAccessLogOrBuilderin interfaceTcpProxyOrBuilder
-
hasDeprecatedV1
Deprecated.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1 is deprecated. See envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto;l=168[#not-implemented-hide:] Deprecated.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];- Specified by:
hasDeprecatedV1in interfaceTcpProxyOrBuilder- Returns:
- Whether the deprecatedV1 field is set.
-
getDeprecatedV1
Deprecated.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1 is deprecated. See envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.proto;l=168[#not-implemented-hide:] Deprecated.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];- Specified by:
getDeprecatedV1in interfaceTcpProxyOrBuilder- Returns:
- The deprecatedV1.
-
getDeprecatedV1OrBuilder
Deprecated.[#not-implemented-hide:] Deprecated.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];- Specified by:
getDeprecatedV1OrBuilderin 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
-
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.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.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.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.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.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyOrBuilderin interfaceTcpProxyOrBuilder
-
hasTunnelingConfig
public boolean hasTunnelingConfig()[#not-implemented-hide:] feature in progress If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP/2 tunnel. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
hasTunnelingConfigin interfaceTcpProxyOrBuilder- Returns:
- Whether the tunnelingConfig field is set.
-
getTunnelingConfig
[#not-implemented-hide:] feature in progress If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP/2 tunnel. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigin interfaceTcpProxyOrBuilder- Returns:
- The tunnelingConfig.
-
getTunnelingConfigOrBuilder
[#not-implemented-hide:] feature in progress If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP/2 tunnel. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigOrBuilderin 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
-