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| Modifier and Type | Class and Description |
|---|---|
static class |
TcpProxy.Builder
[#next-free-field: 13]
Protobuf type
envoy.config.filter.network.tcp_proxy.v2.TcpProxy |
static class |
TcpProxy.ClusterSpecifierCase |
static class |
TcpProxy.DeprecatedV1
Deprecated.
|
static interface |
TcpProxy.DeprecatedV1OrBuilder
Deprecated.
|
static class |
TcpProxy.TunnelingConfig
Configuration for tunneling TCP over other transports or application layers.
|
static interface |
TcpProxy.TunnelingConfigOrBuilder |
static class |
TcpProxy.WeightedCluster
Allows for specification of multiple upstream clusters along with weights
that indicate the percentage of traffic to be forwarded to each cluster.
|
static interface |
TcpProxy.WeightedClusterOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_LOG_FIELD_NUMBER |
static int |
CLUSTER_FIELD_NUMBER |
static int |
DEPRECATED_V1_FIELD_NUMBER |
static int |
DOWNSTREAM_IDLE_TIMEOUT_FIELD_NUMBER |
static int |
HASH_POLICY_FIELD_NUMBER |
static int |
IDLE_TIMEOUT_FIELD_NUMBER |
static int |
MAX_CONNECT_ATTEMPTS_FIELD_NUMBER |
static int |
METADATA_MATCH_FIELD_NUMBER |
static int |
STAT_PREFIX_FIELD_NUMBER |
static int |
TUNNELING_CONFIG_FIELD_NUMBER |
static int |
UPSTREAM_IDLE_TIMEOUT_FIELD_NUMBER |
static int |
WEIGHTED_CLUSTERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AccessLog |
getAccessLog(int index)
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.
|
com.google.protobuf.ByteString |
getClusterBytes()
The upstream cluster to connect to.
|
TcpProxy.ClusterSpecifierCase |
getClusterSpecifierCase() |
static TcpProxy |
getDefaultInstance() |
TcpProxy |
getDefaultInstanceForType() |
TcpProxy.DeprecatedV1 |
getDeprecatedV1()
Deprecated.
|
TcpProxy.DeprecatedV1OrBuilder |
getDeprecatedV1OrBuilder()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Duration |
getDownstreamIdleTimeout()
[#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.
|
HashPolicy |
getHashPolicy(int index)
Optional configuration for TCP proxy hash policy.
|
int |
getHashPolicyCount()
Optional configuration for TCP proxy hash policy.
|
List<HashPolicy> |
getHashPolicyList()
Optional configuration for TCP proxy hash policy.
|
HashPolicyOrBuilder |
getHashPolicyOrBuilder(int index)
Optional configuration for TCP proxy hash policy.
|
List<? extends HashPolicyOrBuilder> |
getHashPolicyOrBuilderList()
Optional configuration for TCP proxy hash policy.
|
com.google.protobuf.Duration |
getIdleTimeout()
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.UInt32ValueOrBuilder |
getMaxConnectAttemptsOrBuilder()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria.
|
com.google.protobuf.Parser<TcpProxy> |
getParserForType() |
int |
getSerializedSize() |
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>`.
|
TcpProxy.TunnelingConfig |
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.
|
TcpProxy.TunnelingConfigOrBuilder |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Duration |
getUpstreamIdleTimeout()
[#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.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.
|
int |
hashCode() |
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 |
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.
|
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() |
static TcpProxy.Builder |
newBuilder() |
static TcpProxy.Builder |
newBuilder(TcpProxy prototype) |
TcpProxy.Builder |
newBuilderForType() |
protected TcpProxy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TcpProxy |
parseDelimitedFrom(InputStream input) |
static TcpProxy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy |
parseFrom(byte[] data) |
static TcpProxy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy |
parseFrom(ByteBuffer data) |
static TcpProxy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy |
parseFrom(com.google.protobuf.ByteString data) |
static TcpProxy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TcpProxy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy |
parseFrom(InputStream input) |
static TcpProxy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TcpProxy> |
parser() |
TcpProxy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STAT_PREFIX_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
public static final int WEIGHTED_CLUSTERS_FIELD_NUMBER
public static final int METADATA_MATCH_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
public static final int DOWNSTREAM_IDLE_TIMEOUT_FIELD_NUMBER
public static final int UPSTREAM_IDLE_TIMEOUT_FIELD_NUMBER
public static final int ACCESS_LOG_FIELD_NUMBER
public static final int DEPRECATED_V1_FIELD_NUMBER
public static final int MAX_CONNECT_ATTEMPTS_FIELD_NUMBER
public static final int HASH_POLICY_FIELD_NUMBER
public static final int TUNNELING_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public TcpProxy.ClusterSpecifierCase getClusterSpecifierCase()
getClusterSpecifierCase in interface TcpProxyOrBuilderpublic 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 String getCluster()
The upstream cluster to connect to.
string cluster = 2;getCluster in interface TcpProxyOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
The upstream cluster to connect to.
string cluster = 2;getClusterBytes in interface TcpProxyOrBuilderpublic 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;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.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;getWeightedClusters in interface TcpProxyOrBuilderpublic 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.
.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 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, 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;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, 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;getIdleTimeout in interface TcpProxyOrBuilderpublic 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;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 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 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 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 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 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 TcpProxyOrBuilder@Deprecated public boolean hasDeprecatedV1()
[#not-implemented-hide:] Deprecated.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];hasDeprecatedV1 in interface TcpProxyOrBuilder@Deprecated public TcpProxy.DeprecatedV1 getDeprecatedV1()
[#not-implemented-hide:] Deprecated.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];getDeprecatedV1 in interface TcpProxyOrBuilder@Deprecated public TcpProxy.DeprecatedV1OrBuilder getDeprecatedV1OrBuilder()
[#not-implemented-hide:] Deprecated.
.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 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 List<HashPolicy> 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) = { ... }getHashPolicyList in interface TcpProxyOrBuilderpublic List<? extends HashPolicyOrBuilder> 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) = { ... }getHashPolicyOrBuilderList in interface TcpProxyOrBuilderpublic 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) = { ... }getHashPolicyCount in interface TcpProxyOrBuilderpublic HashPolicy getHashPolicy(int index)
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) = { ... }getHashPolicy in interface TcpProxyOrBuilderpublic HashPolicyOrBuilder getHashPolicyOrBuilder(int index)
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) = { ... }getHashPolicyOrBuilder in interface TcpProxyOrBuilderpublic 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;hasTunnelingConfig in interface TcpProxyOrBuilderpublic TcpProxy.TunnelingConfig 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;getTunnelingConfig in interface TcpProxyOrBuilderpublic TcpProxy.TunnelingConfigOrBuilder 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;getTunnelingConfigOrBuilder in interface TcpProxyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TcpProxy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy parseFrom(InputStream input) throws IOException
IOExceptionpublic static TcpProxy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TcpProxy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TcpProxy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TcpProxy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TcpProxy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TcpProxy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TcpProxy.Builder newBuilder()
public static TcpProxy.Builder newBuilder(TcpProxy prototype)
public TcpProxy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TcpProxy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TcpProxy getDefaultInstance()
public static com.google.protobuf.Parser<TcpProxy> parser()
public com.google.protobuf.Parser<TcpProxy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TcpProxy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.