Class TcpProxy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
- io.envoyproxy.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TcpProxyOrBuilder,Cloneable
- Enclosing class:
- TcpProxy
public static final class TcpProxy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder> implements TcpProxyOrBuilder
[#next-free-field: 15]
Protobuf typeenvoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpProxy.BuilderaddAccessLog(int index, AccessLog value)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderaddAccessLog(int index, AccessLog.Builder builderForValue)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderaddAccessLog(AccessLog value)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderaddAccessLog(AccessLog.Builder builderForValue)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.AccessLog.BuilderaddAccessLogBuilder()Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.AccessLog.BuilderaddAccessLogBuilder(int index)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderaddAllAccessLog(Iterable<? extends AccessLog> values)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderaddAllHashPolicy(Iterable<? extends HashPolicy> values)Optional configuration for TCP proxy hash policy.TcpProxy.BuilderaddHashPolicy(int index, HashPolicy value)Optional configuration for TCP proxy hash policy.TcpProxy.BuilderaddHashPolicy(int index, HashPolicy.Builder builderForValue)Optional configuration for TCP proxy hash policy.TcpProxy.BuilderaddHashPolicy(HashPolicy value)Optional configuration for TCP proxy hash policy.TcpProxy.BuilderaddHashPolicy(HashPolicy.Builder builderForValue)Optional configuration for TCP proxy hash policy.HashPolicy.BuilderaddHashPolicyBuilder()Optional configuration for TCP proxy hash policy.HashPolicy.BuilderaddHashPolicyBuilder(int index)Optional configuration for TCP proxy hash policy.TcpProxy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcpProxybuild()TcpProxybuildPartial()TcpProxy.Builderclear()TcpProxy.BuilderclearAccessLog()Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderclearCluster()The upstream cluster to connect to.TcpProxy.BuilderclearClusterSpecifier()TcpProxy.BuilderclearDownstreamIdleTimeout()[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TcpProxy.BuilderclearHashPolicy()Optional configuration for TCP proxy hash policy.TcpProxy.BuilderclearIdleTimeout()The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuilderclearMaxConnectAttempts()The maximum number of unsuccessful connection attempts that will be made before giving up.TcpProxy.BuilderclearMaxDownstreamConnectionDuration()The maximum duration of a connection.TcpProxy.BuilderclearMetadataMatch()Optional endpoint metadata match criteria.TcpProxy.BuilderclearOnDemand()The on demand policy for the upstream cluster.TcpProxy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TcpProxy.BuilderclearStatPrefix()The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.TcpProxy.BuilderclearTunnelingConfig()If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.TcpProxy.BuilderclearUpstreamIdleTimeout()[#not-implemented-hide:]TcpProxy.BuilderclearWeightedClusters()Multiple upstream clusters can be specified for a given route.TcpProxy.Builderclone()AccessLoggetAccessLog(int index)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.AccessLog.BuildergetAccessLogBuilder(int index)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.List<AccessLog.Builder>getAccessLogBuilderList()Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.intgetAccessLogCount()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.AccessLogOrBuildergetAccessLogOrBuilder(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.StringgetCluster()The upstream cluster to connect to.com.google.protobuf.ByteStringgetClusterBytes()The upstream cluster to connect to.TcpProxy.ClusterSpecifierCasegetClusterSpecifierCase()TcpProxygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetDownstreamIdleTimeout()[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.Duration.BuildergetDownstreamIdleTimeoutBuilder()[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.DurationOrBuildergetDownstreamIdleTimeoutOrBuilder()[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.HashPolicygetHashPolicy(int index)Optional configuration for TCP proxy hash policy.HashPolicy.BuildergetHashPolicyBuilder(int index)Optional configuration for TCP proxy hash policy.List<HashPolicy.Builder>getHashPolicyBuilderList()Optional configuration for TCP proxy hash policy.intgetHashPolicyCount()Optional configuration for TCP proxy hash policy.List<HashPolicy>getHashPolicyList()Optional configuration for TCP proxy hash policy.HashPolicyOrBuildergetHashPolicyOrBuilder(int index)Optional configuration for TCP proxy hash policy.List<? extends HashPolicyOrBuilder>getHashPolicyOrBuilderList()Optional configuration for TCP proxy hash policy.com.google.protobuf.DurationgetIdleTimeout()The idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.Duration.BuildergetIdleTimeoutBuilder()The idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()The idle timeout for connections managed by the TCP proxy filter.com.google.protobuf.UInt32ValuegetMaxConnectAttempts()The maximum number of unsuccessful connection attempts that will be made before giving up.com.google.protobuf.UInt32Value.BuildergetMaxConnectAttemptsBuilder()The maximum number of unsuccessful connection attempts that will be made before giving up.com.google.protobuf.UInt32ValueOrBuildergetMaxConnectAttemptsOrBuilder()The maximum number of unsuccessful connection attempts that will be made before giving up.com.google.protobuf.DurationgetMaxDownstreamConnectionDuration()The maximum duration of a connection.com.google.protobuf.Duration.BuildergetMaxDownstreamConnectionDurationBuilder()The maximum duration of a connection.com.google.protobuf.DurationOrBuildergetMaxDownstreamConnectionDurationOrBuilder()The maximum duration of a connection.MetadatagetMetadataMatch()Optional endpoint metadata match criteria.Metadata.BuildergetMetadataMatchBuilder()Optional endpoint metadata match criteria.MetadataOrBuildergetMetadataMatchOrBuilder()Optional endpoint metadata match criteria.TcpProxy.OnDemandgetOnDemand()The on demand policy for the upstream cluster.TcpProxy.OnDemand.BuildergetOnDemandBuilder()The on demand policy for the upstream cluster.TcpProxy.OnDemandOrBuildergetOnDemandOrBuilder()The on demand policy for the upstream cluster.StringgetStatPrefix()The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.com.google.protobuf.ByteStringgetStatPrefixBytes()The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.TcpProxy.TunnelingConfiggetTunnelingConfig()If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.TcpProxy.TunnelingConfig.BuildergetTunnelingConfigBuilder()If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.TcpProxy.TunnelingConfigOrBuildergetTunnelingConfigOrBuilder()If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.com.google.protobuf.DurationgetUpstreamIdleTimeout()[#not-implemented-hide:]com.google.protobuf.Duration.BuildergetUpstreamIdleTimeoutBuilder()[#not-implemented-hide:]com.google.protobuf.DurationOrBuildergetUpstreamIdleTimeoutOrBuilder()[#not-implemented-hide:]TcpProxy.WeightedClustergetWeightedClusters()Multiple upstream clusters can be specified for a given route.TcpProxy.WeightedCluster.BuildergetWeightedClustersBuilder()Multiple upstream clusters can be specified for a given route.TcpProxy.WeightedClusterOrBuildergetWeightedClustersOrBuilder()Multiple upstream clusters can be specified for a given route.booleanhasCluster()The upstream cluster to connect to.booleanhasDownstreamIdleTimeout()[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.booleanhasIdleTimeout()The idle timeout for connections managed by the TCP proxy filter.booleanhasMaxConnectAttempts()The maximum number of unsuccessful connection attempts that will be made before giving up.booleanhasMaxDownstreamConnectionDuration()The maximum duration of a connection.booleanhasMetadataMatch()Optional endpoint metadata match criteria.booleanhasOnDemand()The on demand policy for the upstream cluster.booleanhasTunnelingConfig()If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.booleanhasUpstreamIdleTimeout()[#not-implemented-hide:]booleanhasWeightedClusters()Multiple upstream clusters can be specified for a given route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TcpProxy.BuildermergeDownstreamIdleTimeout(com.google.protobuf.Duration value)[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TcpProxy.BuildermergeFrom(com.google.protobuf.Message other)TcpProxy.BuildermergeFrom(TcpProxy other)TcpProxy.BuildermergeIdleTimeout(com.google.protobuf.Duration value)The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuildermergeMaxConnectAttempts(com.google.protobuf.UInt32Value value)The maximum number of unsuccessful connection attempts that will be made before giving up.TcpProxy.BuildermergeMaxDownstreamConnectionDuration(com.google.protobuf.Duration value)The maximum duration of a connection.TcpProxy.BuildermergeMetadataMatch(Metadata value)Optional endpoint metadata match criteria.TcpProxy.BuildermergeOnDemand(TcpProxy.OnDemand value)The on demand policy for the upstream cluster.TcpProxy.BuildermergeTunnelingConfig(TcpProxy.TunnelingConfig value)If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.TcpProxy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TcpProxy.BuildermergeUpstreamIdleTimeout(com.google.protobuf.Duration value)[#not-implemented-hide:]TcpProxy.BuildermergeWeightedClusters(TcpProxy.WeightedCluster value)Multiple upstream clusters can be specified for a given route.TcpProxy.BuilderremoveAccessLog(int index)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuilderremoveHashPolicy(int index)Optional configuration for TCP proxy hash policy.TcpProxy.BuildersetAccessLog(int index, AccessLog value)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuildersetAccessLog(int index, AccessLog.Builder builderForValue)Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.TcpProxy.BuildersetCluster(String value)The upstream cluster to connect to.TcpProxy.BuildersetClusterBytes(com.google.protobuf.ByteString value)The upstream cluster to connect to.TcpProxy.BuildersetDownstreamIdleTimeout(com.google.protobuf.Duration value)[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuildersetDownstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcpProxy.BuildersetHashPolicy(int index, HashPolicy value)Optional configuration for TCP proxy hash policy.TcpProxy.BuildersetHashPolicy(int index, HashPolicy.Builder builderForValue)Optional configuration for TCP proxy hash policy.TcpProxy.BuildersetIdleTimeout(com.google.protobuf.Duration value)The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuildersetIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)The idle timeout for connections managed by the TCP proxy filter.TcpProxy.BuildersetMaxConnectAttempts(com.google.protobuf.UInt32Value value)The maximum number of unsuccessful connection attempts that will be made before giving up.TcpProxy.BuildersetMaxConnectAttempts(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of unsuccessful connection attempts that will be made before giving up.TcpProxy.BuildersetMaxDownstreamConnectionDuration(com.google.protobuf.Duration value)The maximum duration of a connection.TcpProxy.BuildersetMaxDownstreamConnectionDuration(com.google.protobuf.Duration.Builder builderForValue)The maximum duration of a connection.TcpProxy.BuildersetMetadataMatch(Metadata value)Optional endpoint metadata match criteria.TcpProxy.BuildersetMetadataMatch(Metadata.Builder builderForValue)Optional endpoint metadata match criteria.TcpProxy.BuildersetOnDemand(TcpProxy.OnDemand value)The on demand policy for the upstream cluster.TcpProxy.BuildersetOnDemand(TcpProxy.OnDemand.Builder builderForValue)The on demand policy for the upstream cluster.TcpProxy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TcpProxy.BuildersetStatPrefix(String value)The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.TcpProxy.BuildersetStatPrefixBytes(com.google.protobuf.ByteString value)The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.TcpProxy.BuildersetTunnelingConfig(TcpProxy.TunnelingConfig value)If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.TcpProxy.BuildersetTunnelingConfig(TcpProxy.TunnelingConfig.Builder builderForValue)If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT.TcpProxy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TcpProxy.BuildersetUpstreamIdleTimeout(com.google.protobuf.Duration value)[#not-implemented-hide:]TcpProxy.BuildersetUpstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)[#not-implemented-hide:]TcpProxy.BuildersetWeightedClusters(TcpProxy.WeightedCluster value)Multiple upstream clusters can be specified for a given route.TcpProxy.BuildersetWeightedClusters(TcpProxy.WeightedCluster.Builder builderForValue)Multiple upstream clusters can be specified for a given route.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<TcpProxy.Builder>
-
clear
public TcpProxy.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
getDefaultInstanceForType
public TcpProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TcpProxy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TcpProxy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TcpProxy.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
setField
public TcpProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
clearField
public TcpProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
clearOneof
public TcpProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
setRepeatedField
public TcpProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
addRepeatedField
public TcpProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
mergeFrom
public TcpProxy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProxy.Builder>
-
mergeFrom
public TcpProxy.Builder mergeFrom(TcpProxy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
mergeFrom
public TcpProxy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProxy.Builder>- Throws:
IOException
-
getClusterSpecifierCase
public TcpProxy.ClusterSpecifierCase getClusterSpecifierCase()
- Specified by:
getClusterSpecifierCasein interfaceTcpProxyOrBuilder
-
clearClusterSpecifier
public TcpProxy.Builder clearClusterSpecifier()
-
getStatPrefix
public String 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.
-
setStatPrefix
public TcpProxy.Builder setStatPrefix(String value)
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }- Parameters:
value- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
public TcpProxy.Builder clearStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setStatPrefixBytes
public TcpProxy.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
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
public String 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.
-
setCluster
public TcpProxy.Builder setCluster(String value)
The upstream cluster to connect to.
string cluster = 2;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
public TcpProxy.Builder clearCluster()
The upstream cluster to connect to.
string cluster = 2;- Returns:
- This builder for chaining.
-
setClusterBytes
public TcpProxy.Builder setClusterBytes(com.google.protobuf.ByteString value)
The upstream cluster to connect to.
string cluster = 2;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
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.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
hasWeightedClustersin interfaceTcpProxyOrBuilder- Returns:
- Whether the weightedClusters field is set.
-
getWeightedClusters
public 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.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;- Specified by:
getWeightedClustersin interfaceTcpProxyOrBuilder- Returns:
- The weightedClusters.
-
setWeightedClusters
public TcpProxy.Builder setWeightedClusters(TcpProxy.WeightedCluster value)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
-
setWeightedClusters
public TcpProxy.Builder setWeightedClusters(TcpProxy.WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
-
mergeWeightedClusters
public TcpProxy.Builder mergeWeightedClusters(TcpProxy.WeightedCluster value)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
-
clearWeightedClusters
public TcpProxy.Builder clearWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
-
getWeightedClustersBuilder
public TcpProxy.WeightedCluster.Builder getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
-
getWeightedClustersOrBuilder
public TcpProxy.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.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
public TcpProxy.OnDemand 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.
-
setOnDemand
public TcpProxy.Builder setOnDemand(TcpProxy.OnDemand value)
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;
-
setOnDemand
public TcpProxy.Builder setOnDemand(TcpProxy.OnDemand.Builder builderForValue)
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;
-
mergeOnDemand
public TcpProxy.Builder mergeOnDemand(TcpProxy.OnDemand value)
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;
-
clearOnDemand
public TcpProxy.Builder clearOnDemand()
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;
-
getOnDemandBuilder
public TcpProxy.OnDemand.Builder getOnDemandBuilder()
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;
-
getOnDemandOrBuilder
public TcpProxy.OnDemandOrBuilder 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. 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.config.core.v3.Metadata metadata_match = 9;- Specified by:
hasMetadataMatchin interfaceTcpProxyOrBuilder- Returns:
- Whether the metadataMatch field is set.
-
getMetadataMatch
public 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.config.core.v3.Metadata metadata_match = 9;- Specified by:
getMetadataMatchin interfaceTcpProxyOrBuilder- Returns:
- The metadataMatch.
-
setMetadataMatch
public TcpProxy.Builder setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;
-
setMetadataMatch
public TcpProxy.Builder setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;
-
mergeMetadataMatch
public TcpProxy.Builder mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;
-
clearMetadataMatch
public TcpProxy.Builder clearMetadataMatch()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;
-
getMetadataMatchBuilder
public Metadata.Builder getMetadataMatchBuilder()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 9;
-
getMetadataMatchOrBuilder
public MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as ``envoy.lb``.
.envoy.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 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.
-
setIdleTimeout
public TcpProxy.Builder setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, 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;
-
setIdleTimeout
public TcpProxy.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, 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;
-
mergeIdleTimeout
public TcpProxy.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, 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;
-
clearIdleTimeout
public TcpProxy.Builder clearIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, 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;
-
getIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, 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
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.
-
setDownstreamIdleTimeout
public TcpProxy.Builder setDownstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;
-
setDownstreamIdleTimeout
public TcpProxy.Builder setDownstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;
-
mergeDownstreamIdleTimeout
public TcpProxy.Builder mergeDownstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;
-
clearDownstreamIdleTimeout
public TcpProxy.Builder clearDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;
-
getDownstreamIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getDownstreamIdleTimeoutBuilder()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;
-
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.
-
setUpstreamIdleTimeout
public TcpProxy.Builder setUpstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;
-
setUpstreamIdleTimeout
public TcpProxy.Builder setUpstreamIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;
-
mergeUpstreamIdleTimeout
public TcpProxy.Builder mergeUpstreamIdleTimeout(com.google.protobuf.Duration value)
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;
-
clearUpstreamIdleTimeout
public TcpProxy.Builder clearUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;
-
getUpstreamIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getUpstreamIdleTimeoutBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;
-
getUpstreamIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getUpstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;- Specified by:
getUpstreamIdleTimeoutOrBuilderin interfaceTcpProxyOrBuilder
-
getAccessLogList
public List<AccessLog> getAccessLogList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogListin interfaceTcpProxyOrBuilder
-
getAccessLogCount
public int getAccessLogCount()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogCountin interfaceTcpProxyOrBuilder
-
getAccessLog
public AccessLog getAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogin interfaceTcpProxyOrBuilder
-
setAccessLog
public TcpProxy.Builder setAccessLog(int index, AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
setAccessLog
public TcpProxy.Builder setAccessLog(int index, AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
addAccessLog
public TcpProxy.Builder addAccessLog(AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
addAccessLog
public TcpProxy.Builder addAccessLog(int index, AccessLog value)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
addAccessLog
public TcpProxy.Builder addAccessLog(AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
addAccessLog
public TcpProxy.Builder addAccessLog(int index, AccessLog.Builder builderForValue)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
addAllAccessLog
public TcpProxy.Builder addAllAccessLog(Iterable<? extends AccessLog> values)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
clearAccessLog
public TcpProxy.Builder clearAccessLog()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
removeAccessLog
public TcpProxy.Builder removeAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
getAccessLogBuilder
public AccessLog.Builder getAccessLogBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
getAccessLogOrBuilder
public AccessLogOrBuilder getAccessLogOrBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogOrBuilderin interfaceTcpProxyOrBuilder
-
getAccessLogOrBuilderList
public List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;- Specified by:
getAccessLogOrBuilderListin interfaceTcpProxyOrBuilder
-
addAccessLogBuilder
public AccessLog.Builder addAccessLogBuilder()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
addAccessLogBuilder
public AccessLog.Builder addAccessLogBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
getAccessLogBuilderList
public List<AccessLog.Builder> getAccessLogBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
-
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.
-
setMaxConnectAttempts
public TcpProxy.Builder setMaxConnectAttempts(com.google.protobuf.UInt32Value value)
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
-
setMaxConnectAttempts
public TcpProxy.Builder setMaxConnectAttempts(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
-
mergeMaxConnectAttempts
public TcpProxy.Builder mergeMaxConnectAttempts(com.google.protobuf.UInt32Value value)
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
-
clearMaxConnectAttempts
public TcpProxy.Builder clearMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
-
getMaxConnectAttemptsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxConnectAttemptsBuilder()
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
-
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
public 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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyListin 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
public 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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyin interfaceTcpProxyOrBuilder
-
setHashPolicy
public TcpProxy.Builder setHashPolicy(int index, HashPolicy value)
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) = { ... }
-
setHashPolicy
public TcpProxy.Builder setHashPolicy(int index, HashPolicy.Builder builderForValue)
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) = { ... }
-
addHashPolicy
public TcpProxy.Builder addHashPolicy(HashPolicy value)
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) = { ... }
-
addHashPolicy
public TcpProxy.Builder addHashPolicy(int index, HashPolicy value)
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) = { ... }
-
addHashPolicy
public TcpProxy.Builder addHashPolicy(HashPolicy.Builder builderForValue)
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) = { ... }
-
addHashPolicy
public TcpProxy.Builder addHashPolicy(int index, HashPolicy.Builder builderForValue)
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) = { ... }
-
addAllHashPolicy
public TcpProxy.Builder addAllHashPolicy(Iterable<? extends HashPolicy> values)
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) = { ... }
-
clearHashPolicy
public TcpProxy.Builder clearHashPolicy()
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) = { ... }
-
removeHashPolicy
public TcpProxy.Builder removeHashPolicy(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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
-
getHashPolicyBuilder
public HashPolicy.Builder getHashPolicyBuilder(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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
-
getHashPolicyOrBuilder
public 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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyOrBuilderin interfaceTcpProxyOrBuilder
-
getHashPolicyOrBuilderList
public 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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }- Specified by:
getHashPolicyOrBuilderListin interfaceTcpProxyOrBuilder
-
addHashPolicyBuilder
public HashPolicy.Builder addHashPolicyBuilder()
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) = { ... }
-
addHashPolicyBuilder
public HashPolicy.Builder addHashPolicyBuilder(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.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
-
getHashPolicyBuilderList
public List<HashPolicy.Builder> getHashPolicyBuilderList()
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) = { ... }
-
hasTunnelingConfig
public boolean hasTunnelingConfig()
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
hasTunnelingConfigin interfaceTcpProxyOrBuilder- Returns:
- Whether the tunnelingConfig field is set.
-
getTunnelingConfig
public TcpProxy.TunnelingConfig getTunnelingConfig()
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigin interfaceTcpProxyOrBuilder- Returns:
- The tunnelingConfig.
-
setTunnelingConfig
public TcpProxy.Builder setTunnelingConfig(TcpProxy.TunnelingConfig value)
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
-
setTunnelingConfig
public TcpProxy.Builder setTunnelingConfig(TcpProxy.TunnelingConfig.Builder builderForValue)
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
-
mergeTunnelingConfig
public TcpProxy.Builder mergeTunnelingConfig(TcpProxy.TunnelingConfig value)
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
-
clearTunnelingConfig
public TcpProxy.Builder clearTunnelingConfig()
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
-
getTunnelingConfigBuilder
public TcpProxy.TunnelingConfig.Builder getTunnelingConfigBuilder()
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
-
getTunnelingConfigOrBuilder
public TcpProxy.TunnelingConfigOrBuilder getTunnelingConfigOrBuilder()
If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
.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 max duration. When max_downstream_connection_duration is reached the connection will be closed. 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 max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }- Specified by:
getMaxDownstreamConnectionDurationin interfaceTcpProxyOrBuilder- Returns:
- The maxDownstreamConnectionDuration.
-
setMaxDownstreamConnectionDuration
public TcpProxy.Builder setMaxDownstreamConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
-
setMaxDownstreamConnectionDuration
public TcpProxy.Builder setMaxDownstreamConnectionDuration(com.google.protobuf.Duration.Builder builderForValue)
The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
-
mergeMaxDownstreamConnectionDuration
public TcpProxy.Builder mergeMaxDownstreamConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
-
clearMaxDownstreamConnectionDuration
public TcpProxy.Builder clearMaxDownstreamConnectionDuration()
The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
-
getMaxDownstreamConnectionDurationBuilder
public com.google.protobuf.Duration.Builder getMaxDownstreamConnectionDurationBuilder()
The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
-
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 max duration. When max_downstream_connection_duration is reached the connection will be closed. Duration must be at least 1ms.
.google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }- Specified by:
getMaxDownstreamConnectionDurationOrBuilderin interfaceTcpProxyOrBuilder
-
setUnknownFields
public final TcpProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
mergeUnknownFields
public final TcpProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
-
-