java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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: 23]
 
Protobuf type envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • clear

      public TcpProxy.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • getDefaultInstanceForType

      public TcpProxy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TcpProxy build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TcpProxy buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public TcpProxy.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • setField

      public TcpProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • clearField

      public TcpProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • clearOneof

      public TcpProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • setRepeatedField

      public TcpProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • addRepeatedField

      public TcpProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • mergeFrom

      public TcpProxy.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.Builder>
    • mergeFrom

      public TcpProxy.Builder mergeFrom(TcpProxy other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.Builder>
      Throws:
      IOException
    • getClusterSpecifierCase

      public TcpProxy.ClusterSpecifierCase getClusterSpecifierCase()
      Specified by:
      getClusterSpecifierCase in interface TcpProxyOrBuilder
    • 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:
      getStatPrefix in interface TcpProxyOrBuilder
      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:
      getStatPrefixBytes in interface TcpProxyOrBuilder
      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:
      hasCluster in interface TcpProxyOrBuilder
      Returns:
      Whether the cluster field is set.
    • getCluster

      public String getCluster()
       The upstream cluster to connect to.
       
      string cluster = 2;
      Specified by:
      getCluster in interface TcpProxyOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       The upstream cluster to connect to.
       
      string cluster = 2;
      Specified by:
      getClusterBytes in interface TcpProxyOrBuilder
      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. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
      Specified by:
      hasWeightedClusters in interface TcpProxyOrBuilder
      Returns:
      Whether the weightedClusters field is set.
    • getWeightedClusters

      public TcpProxy.WeightedCluster getWeightedClusters()
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
      Specified by:
      getWeightedClusters in interface TcpProxyOrBuilder
      Returns:
      The weightedClusters.
    • setWeightedClusters

      public TcpProxy.Builder setWeightedClusters(TcpProxy.WeightedCluster value)
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
    • setWeightedClusters

      public TcpProxy.Builder setWeightedClusters(TcpProxy.WeightedCluster.Builder builderForValue)
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
    • mergeWeightedClusters

      public TcpProxy.Builder mergeWeightedClusters(TcpProxy.WeightedCluster value)
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
    • clearWeightedClusters

      public TcpProxy.Builder clearWeightedClusters()
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
    • getWeightedClustersBuilder

      public TcpProxy.WeightedCluster.Builder getWeightedClustersBuilder()
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
    • getWeightedClustersOrBuilder

      public TcpProxy.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
       Multiple upstream clusters can be specified. The request is routed to one of the upstream clusters
       based on the weights assigned to each cluster.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
      Specified by:
      getWeightedClustersOrBuilder in interface TcpProxyOrBuilder
    • 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:
      hasOnDemand in interface TcpProxyOrBuilder
      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:
      getOnDemand in interface TcpProxyOrBuilder
      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:
      getOnDemandOrBuilder in interface TcpProxyOrBuilder
    • hasMetadataMatch

      public boolean hasMetadataMatch()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
      Specified by:
      hasMetadataMatch in interface TcpProxyOrBuilder
      Returns:
      Whether the metadataMatch field is set.
    • getMetadataMatch

      public Metadata getMetadataMatch()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
      Specified by:
      getMetadataMatch in interface TcpProxyOrBuilder
      Returns:
      The metadataMatch.
    • setMetadataMatch

      public TcpProxy.Builder setMetadataMatch(Metadata value)
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
    • setMetadataMatch

      public TcpProxy.Builder setMetadataMatch(Metadata.Builder builderForValue)
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
    • mergeMetadataMatch

      public TcpProxy.Builder mergeMetadataMatch(Metadata value)
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
    • clearMetadataMatch

      public TcpProxy.Builder clearMetadataMatch()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
    • getMetadataMatchBuilder

      public Metadata.Builder getMetadataMatchBuilder()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
    • getMetadataMatchOrBuilder

      public MetadataOrBuilder getMetadataMatchOrBuilder()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 9;
      Specified by:
      getMetadataMatchOrBuilder in interface TcpProxyOrBuilder
    • hasIdleTimeout

      public boolean hasIdleTimeout()
       The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the
       period in which there are no bytes sent or received on either the upstream or downstream connection.
       If not set, the default idle timeout is 1 hour. If set to ``0s``, the timeout is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
      Specified by:
      hasIdleTimeout in interface TcpProxyOrBuilder
      Returns:
      Whether the idleTimeout field is set.
    • getIdleTimeout

      public com.google.protobuf.Duration getIdleTimeout()
       The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the
       period in which there are no bytes sent or received on either the upstream or downstream connection.
       If not set, the default idle timeout is 1 hour. If set to ``0s``, the timeout is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
      Specified by:
      getIdleTimeout in interface TcpProxyOrBuilder
      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 is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
    • 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 is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
    • 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 is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
    • 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 is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
    • 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 is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
    • getIdleTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
       The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the
       period in which there are no bytes sent or received on either the upstream or downstream connection.
       If not set, the default idle timeout is 1 hour. If set to ``0s``, the timeout is disabled.
       It is possible to dynamically override this configuration by setting a per-connection filter state
       object for the key ``envoy.tcp_proxy.per_connection_idle_timeout_ms``.
      
       .. warning::
         Disabling this timeout is likely to yield connection leaks due to lost TCP FIN packets, etc.
       
      .google.protobuf.Duration idle_timeout = 8;
      Specified by:
      getIdleTimeoutOrBuilder in interface TcpProxyOrBuilder
    • 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:
      hasDownstreamIdleTimeout in interface TcpProxyOrBuilder
      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:
      getDownstreamIdleTimeout in interface TcpProxyOrBuilder
      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:
      getDownstreamIdleTimeoutOrBuilder in interface TcpProxyOrBuilder
    • hasUpstreamIdleTimeout

      public boolean hasUpstreamIdleTimeout()
       [#not-implemented-hide:]
       
      .google.protobuf.Duration upstream_idle_timeout = 4;
      Specified by:
      hasUpstreamIdleTimeout in interface TcpProxyOrBuilder
      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:
      getUpstreamIdleTimeout in interface TcpProxyOrBuilder
      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:
      getUpstreamIdleTimeoutOrBuilder in interface TcpProxyOrBuilder
    • getAccessLogList

      public List<AccessLog> getAccessLogList()
       Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
      Specified by:
      getAccessLogList in interface TcpProxyOrBuilder
    • getAccessLogCount

      public int getAccessLogCount()
       Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
      Specified by:
      getAccessLogCount in interface TcpProxyOrBuilder
    • getAccessLog

      public AccessLog getAccessLog(int index)
       Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
      Specified by:
      getAccessLog in interface TcpProxyOrBuilder
    • setAccessLog

      public TcpProxy.Builder setAccessLog(int index, AccessLog value)
       Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by 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 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 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 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 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 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 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 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 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 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 this TCP proxy.
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
      Specified by:
      getAccessLogOrBuilder in interface TcpProxyOrBuilder
    • getAccessLogOrBuilderList

      public List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
       Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by this TCP proxy.
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
      Specified by:
      getAccessLogOrBuilderList in interface TcpProxyOrBuilder
    • addAccessLogBuilder

      public AccessLog.Builder addAccessLogBuilder()
       Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by 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 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 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:
      hasMaxConnectAttempts in interface TcpProxyOrBuilder
      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:
      getMaxConnectAttempts in interface TcpProxyOrBuilder
      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:
      getMaxConnectAttemptsOrBuilder in interface TcpProxyOrBuilder
    • hasBackoffOptions

      public boolean hasBackoffOptions()
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
      Specified by:
      hasBackoffOptions in interface TcpProxyOrBuilder
      Returns:
      Whether the backoffOptions field is set.
    • getBackoffOptions

      public BackoffStrategy getBackoffOptions()
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
      Specified by:
      getBackoffOptions in interface TcpProxyOrBuilder
      Returns:
      The backoffOptions.
    • setBackoffOptions

      public TcpProxy.Builder setBackoffOptions(BackoffStrategy value)
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
    • setBackoffOptions

      public TcpProxy.Builder setBackoffOptions(BackoffStrategy.Builder builderForValue)
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
    • mergeBackoffOptions

      public TcpProxy.Builder mergeBackoffOptions(BackoffStrategy value)
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
    • clearBackoffOptions

      public TcpProxy.Builder clearBackoffOptions()
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
    • getBackoffOptionsBuilder

      public BackoffStrategy.Builder getBackoffOptionsBuilder()
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
    • getBackoffOptionsOrBuilder

      public BackoffStrategyOrBuilder getBackoffOptionsOrBuilder()
       Sets the backoff strategy. If not set, the retries are performed without backoff.
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 18;
      Specified by:
      getBackoffOptionsOrBuilder in interface TcpProxyOrBuilder
    • 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:
      getHashPolicyList in interface TcpProxyOrBuilder
    • 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:
      getHashPolicyCount in interface TcpProxyOrBuilder
    • 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:
      getHashPolicy in interface TcpProxyOrBuilder
    • 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:
      getHashPolicyOrBuilder in interface TcpProxyOrBuilder
    • 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:
      getHashPolicyOrBuilderList in interface TcpProxyOrBuilder
    • 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, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
      Specified by:
      hasTunnelingConfig in interface TcpProxyOrBuilder
      Returns:
      Whether the tunnelingConfig field is set.
    • getTunnelingConfig

      public TcpProxy.TunnelingConfig getTunnelingConfig()
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
      Specified by:
      getTunnelingConfig in interface TcpProxyOrBuilder
      Returns:
      The tunnelingConfig.
    • setTunnelingConfig

      public TcpProxy.Builder setTunnelingConfig(TcpProxy.TunnelingConfig value)
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
    • setTunnelingConfig

      public TcpProxy.Builder setTunnelingConfig(TcpProxy.TunnelingConfig.Builder builderForValue)
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
    • mergeTunnelingConfig

      public TcpProxy.Builder mergeTunnelingConfig(TcpProxy.TunnelingConfig value)
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
    • clearTunnelingConfig

      public TcpProxy.Builder clearTunnelingConfig()
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
    • getTunnelingConfigBuilder

      public TcpProxy.TunnelingConfig.Builder getTunnelingConfigBuilder()
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
    • getTunnelingConfigOrBuilder

      public TcpProxy.TunnelingConfigOrBuilder getTunnelingConfigOrBuilder()
       If set, this configures tunneling, for example configuration options to tunnel TCP payload over
       HTTP CONNECT. If this message is absent, the payload is proxied upstream as usual.
       It is possible to dynamically override this configuration and disable tunneling per connection by
       setting a per-connection filter state object for the key ``envoy.tcp_proxy.disable_tunneling``.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
      Specified by:
      getTunnelingConfigOrBuilder in interface TcpProxyOrBuilder
    • hasMaxDownstreamConnectionDuration

      public boolean hasMaxDownstreamConnectionDuration()
       The maximum duration of a connection. The duration is defined as the period since a connection was
       established. If not set, there is no maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
      Specified by:
      hasMaxDownstreamConnectionDuration in interface TcpProxyOrBuilder
      Returns:
      Whether the maxDownstreamConnectionDuration field is set.
    • getMaxDownstreamConnectionDuration

      public com.google.protobuf.Duration getMaxDownstreamConnectionDuration()
       The maximum duration of a connection. The duration is defined as the period since a connection was
       established. If not set, there is no maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
      Specified by:
      getMaxDownstreamConnectionDuration in interface TcpProxyOrBuilder
      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 maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
    • 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 maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
    • 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 maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
    • 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 maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
    • 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 maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
    • getMaxDownstreamConnectionDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getMaxDownstreamConnectionDurationOrBuilder()
       The maximum duration of a connection. The duration is defined as the period since a connection was
       established. If not set, there is no maximum duration. When ``max_downstream_connection_duration`` is
       reached, the connection is closed. The duration must be at least ``1ms``.
       
      .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
      Specified by:
      getMaxDownstreamConnectionDurationOrBuilder in interface TcpProxyOrBuilder
    • hasMaxDownstreamConnectionDurationJitterPercentage

      public boolean hasMaxDownstreamConnectionDurationJitterPercentage()
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
      Specified by:
      hasMaxDownstreamConnectionDurationJitterPercentage in interface TcpProxyOrBuilder
      Returns:
      Whether the maxDownstreamConnectionDurationJitterPercentage field is set.
    • getMaxDownstreamConnectionDurationJitterPercentage

      public Percent getMaxDownstreamConnectionDurationJitterPercentage()
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
      Specified by:
      getMaxDownstreamConnectionDurationJitterPercentage in interface TcpProxyOrBuilder
      Returns:
      The maxDownstreamConnectionDurationJitterPercentage.
    • setMaxDownstreamConnectionDurationJitterPercentage

      public TcpProxy.Builder setMaxDownstreamConnectionDurationJitterPercentage(Percent value)
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
    • setMaxDownstreamConnectionDurationJitterPercentage

      public TcpProxy.Builder setMaxDownstreamConnectionDurationJitterPercentage(Percent.Builder builderForValue)
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
    • mergeMaxDownstreamConnectionDurationJitterPercentage

      public TcpProxy.Builder mergeMaxDownstreamConnectionDurationJitterPercentage(Percent value)
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
    • clearMaxDownstreamConnectionDurationJitterPercentage

      public TcpProxy.Builder clearMaxDownstreamConnectionDurationJitterPercentage()
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
    • getMaxDownstreamConnectionDurationJitterPercentageBuilder

      public Percent.Builder getMaxDownstreamConnectionDurationJitterPercentageBuilder()
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
    • getMaxDownstreamConnectionDurationJitterPercentageOrBuilder

      public PercentOrBuilder getMaxDownstreamConnectionDurationJitterPercentageOrBuilder()
       Percentage-based jitter for ``max_downstream_connection_duration``. The jitter increases the
       ``max_downstream_connection_duration`` by a random duration up to the provided percentage.
       This field is ignored if ``max_downstream_connection_duration`` is not set. If not set, no jitter
       is added.
       
      .envoy.type.v3.Percent max_downstream_connection_duration_jitter_percentage = 20;
      Specified by:
      getMaxDownstreamConnectionDurationJitterPercentageOrBuilder in interface TcpProxyOrBuilder
    • hasAccessLogFlushInterval

      @Deprecated public boolean hasAccessLogFlushInterval()
      Deprecated.
      envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.access_log_flush_interval is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=304
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
      Specified by:
      hasAccessLogFlushInterval in interface TcpProxyOrBuilder
      Returns:
      Whether the accessLogFlushInterval field is set.
    • getAccessLogFlushInterval

      @Deprecated public com.google.protobuf.Duration getAccessLogFlushInterval()
      Deprecated.
      envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.access_log_flush_interval is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=304
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
      Specified by:
      getAccessLogFlushInterval in interface TcpProxyOrBuilder
      Returns:
      The accessLogFlushInterval.
    • setAccessLogFlushInterval

      @Deprecated public TcpProxy.Builder setAccessLogFlushInterval(com.google.protobuf.Duration value)
      Deprecated.
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
    • setAccessLogFlushInterval

      @Deprecated public TcpProxy.Builder setAccessLogFlushInterval(com.google.protobuf.Duration.Builder builderForValue)
      Deprecated.
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
    • mergeAccessLogFlushInterval

      @Deprecated public TcpProxy.Builder mergeAccessLogFlushInterval(com.google.protobuf.Duration value)
      Deprecated.
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
    • clearAccessLogFlushInterval

      @Deprecated public TcpProxy.Builder clearAccessLogFlushInterval()
      Deprecated.
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
    • getAccessLogFlushIntervalBuilder

      @Deprecated public com.google.protobuf.Duration.Builder getAccessLogFlushIntervalBuilder()
      Deprecated.
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
    • getAccessLogFlushIntervalOrBuilder

      @Deprecated public com.google.protobuf.DurationOrBuilder getAccessLogFlushIntervalOrBuilder()
      Deprecated.
       If both this field and :ref:`access_log_flush_interval
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`access_log_flush_interval
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.access_log_flush_interval>`.
       
      .google.protobuf.Duration access_log_flush_interval = 15 [deprecated = true, (.validate.rules) = { ... }
      Specified by:
      getAccessLogFlushIntervalOrBuilder in interface TcpProxyOrBuilder
    • getFlushAccessLogOnConnected

      @Deprecated public boolean getFlushAccessLogOnConnected()
      Deprecated.
      envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.flush_access_log_on_connected is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=318
       If both this field and :ref:`flush_access_log_on_connected
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`flush_access_log_on_connected
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`.
       
      bool flush_access_log_on_connected = 16 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getFlushAccessLogOnConnected in interface TcpProxyOrBuilder
      Returns:
      The flushAccessLogOnConnected.
    • setFlushAccessLogOnConnected

      @Deprecated public TcpProxy.Builder setFlushAccessLogOnConnected(boolean value)
      Deprecated.
      envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.flush_access_log_on_connected is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=318
       If both this field and :ref:`flush_access_log_on_connected
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`flush_access_log_on_connected
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`.
       
      bool flush_access_log_on_connected = 16 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Parameters:
      value - The flushAccessLogOnConnected to set.
      Returns:
      This builder for chaining.
    • clearFlushAccessLogOnConnected

      @Deprecated public TcpProxy.Builder clearFlushAccessLogOnConnected()
      Deprecated.
      envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.flush_access_log_on_connected is deprecated. See envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto;l=318
       If both this field and :ref:`flush_access_log_on_connected
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`
       are specified, the former (deprecated field) is ignored.
      
       .. attention::
         This field is deprecated in favor of
         :ref:`flush_access_log_on_connected
         <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.flush_access_log_on_connected>`.
       
      bool flush_access_log_on_connected = 16 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Returns:
      This builder for chaining.
    • hasAccessLogOptions

      public boolean hasAccessLogOptions()
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
      Specified by:
      hasAccessLogOptions in interface TcpProxyOrBuilder
      Returns:
      Whether the accessLogOptions field is set.
    • getAccessLogOptions

      public TcpProxy.TcpAccessLogOptions getAccessLogOptions()
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
      Specified by:
      getAccessLogOptions in interface TcpProxyOrBuilder
      Returns:
      The accessLogOptions.
    • setAccessLogOptions

      public TcpProxy.Builder setAccessLogOptions(TcpProxy.TcpAccessLogOptions value)
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
    • setAccessLogOptions

      public TcpProxy.Builder setAccessLogOptions(TcpProxy.TcpAccessLogOptions.Builder builderForValue)
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
    • mergeAccessLogOptions

      public TcpProxy.Builder mergeAccessLogOptions(TcpProxy.TcpAccessLogOptions value)
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
    • clearAccessLogOptions

      public TcpProxy.Builder clearAccessLogOptions()
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
    • getAccessLogOptionsBuilder

      public TcpProxy.TcpAccessLogOptions.Builder getAccessLogOptionsBuilder()
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
    • getAccessLogOptionsOrBuilder

      public TcpProxy.TcpAccessLogOptionsOrBuilder getAccessLogOptionsOrBuilder()
       Additional access log options for the TCP proxy.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions access_log_options = 17;
      Specified by:
      getAccessLogOptionsOrBuilder in interface TcpProxyOrBuilder
    • getProxyProtocolTlvsList

      public List<TlvEntry> getProxyProtocolTlvsList()
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
      Specified by:
      getProxyProtocolTlvsList in interface TcpProxyOrBuilder
    • getProxyProtocolTlvsCount

      public int getProxyProtocolTlvsCount()
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
      Specified by:
      getProxyProtocolTlvsCount in interface TcpProxyOrBuilder
    • getProxyProtocolTlvs

      public TlvEntry getProxyProtocolTlvs(int index)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
      Specified by:
      getProxyProtocolTlvs in interface TcpProxyOrBuilder
    • setProxyProtocolTlvs

      public TcpProxy.Builder setProxyProtocolTlvs(int index, TlvEntry value)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • setProxyProtocolTlvs

      public TcpProxy.Builder setProxyProtocolTlvs(int index, TlvEntry.Builder builderForValue)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • addProxyProtocolTlvs

      public TcpProxy.Builder addProxyProtocolTlvs(TlvEntry value)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • addProxyProtocolTlvs

      public TcpProxy.Builder addProxyProtocolTlvs(int index, TlvEntry value)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • addProxyProtocolTlvs

      public TcpProxy.Builder addProxyProtocolTlvs(TlvEntry.Builder builderForValue)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • addProxyProtocolTlvs

      public TcpProxy.Builder addProxyProtocolTlvs(int index, TlvEntry.Builder builderForValue)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • addAllProxyProtocolTlvs

      public TcpProxy.Builder addAllProxyProtocolTlvs(Iterable<? extends TlvEntry> values)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • clearProxyProtocolTlvs

      public TcpProxy.Builder clearProxyProtocolTlvs()
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • removeProxyProtocolTlvs

      public TcpProxy.Builder removeProxyProtocolTlvs(int index)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • getProxyProtocolTlvsBuilder

      public TlvEntry.Builder getProxyProtocolTlvsBuilder(int index)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • getProxyProtocolTlvsOrBuilder

      public TlvEntryOrBuilder getProxyProtocolTlvsOrBuilder(int index)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
      Specified by:
      getProxyProtocolTlvsOrBuilder in interface TcpProxyOrBuilder
    • getProxyProtocolTlvsOrBuilderList

      public List<? extends TlvEntryOrBuilder> getProxyProtocolTlvsOrBuilderList()
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
      Specified by:
      getProxyProtocolTlvsOrBuilderList in interface TcpProxyOrBuilder
    • addProxyProtocolTlvsBuilder

      public TlvEntry.Builder addProxyProtocolTlvsBuilder()
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • addProxyProtocolTlvsBuilder

      public TlvEntry.Builder addProxyProtocolTlvsBuilder(int index)
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • getProxyProtocolTlvsBuilderList

      public List<TlvEntry.Builder> getProxyProtocolTlvsBuilderList()
       If set, the specified ``PROXY`` protocol TLVs (Type-Length-Value) are added to the ``PROXY`` protocol state
       created by the TCP proxy filter. These TLVs are sent in the PROXY protocol v2 header to the upstream.
      
       This field only takes effect when the TCP proxy filter is creating new ``PROXY`` protocol state and an
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains ``PROXY`` protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       upstream proxy protocol transport socket is configured in the cluster. If the connection already
       contains PROXY protocol state (including any TLVs) parsed by a downstream proxy protocol listener
       filter, the TLVs specified here are ignored.
      
       .. note::
         To ensure the specified TLVs are allowed in the upstream ``PROXY`` protocol header, you must also
         configure passthrough TLVs on the upstream proxy protocol transport. See
         :ref:`core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>`
         for details.
       
      repeated .envoy.config.core.v3.TlvEntry proxy_protocol_tlvs = 19;
    • getUpstreamConnectModeValue

      public int getUpstreamConnectModeValue()
       Specifies when to establish the upstream connection.
      
       When not specified, defaults to ``IMMEDIATE`` for backward compatibility.
      
       .. attention::
         Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }
      Specified by:
      getUpstreamConnectModeValue in interface TcpProxyOrBuilder
      Returns:
      The enum numeric value on the wire for upstreamConnectMode.
    • setUpstreamConnectModeValue

      public TcpProxy.Builder setUpstreamConnectModeValue(int value)
       Specifies when to establish the upstream connection.
      
       When not specified, defaults to ``IMMEDIATE`` for backward compatibility.
      
       .. attention::
         Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }
      Parameters:
      value - The enum numeric value on the wire for upstreamConnectMode to set.
      Returns:
      This builder for chaining.
    • getUpstreamConnectMode

      public UpstreamConnectMode getUpstreamConnectMode()
       Specifies when to establish the upstream connection.
      
       When not specified, defaults to ``IMMEDIATE`` for backward compatibility.
      
       .. attention::
         Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }
      Specified by:
      getUpstreamConnectMode in interface TcpProxyOrBuilder
      Returns:
      The upstreamConnectMode.
    • setUpstreamConnectMode

      public TcpProxy.Builder setUpstreamConnectMode(UpstreamConnectMode value)
       Specifies when to establish the upstream connection.
      
       When not specified, defaults to ``IMMEDIATE`` for backward compatibility.
      
       .. attention::
         Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }
      Parameters:
      value - The upstreamConnectMode to set.
      Returns:
      This builder for chaining.
    • clearUpstreamConnectMode

      public TcpProxy.Builder clearUpstreamConnectMode()
       Specifies when to establish the upstream connection.
      
       When not specified, defaults to ``IMMEDIATE`` for backward compatibility.
      
       .. attention::
         Server-first protocols (e.g., SMTP, MySQL, POP3) require ``IMMEDIATE`` mode.
       
      .envoy.extensions.filters.network.tcp_proxy.v3.UpstreamConnectMode upstream_connect_mode = 21 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • hasMaxEarlyDataBytes

      public boolean hasMaxEarlyDataBytes()
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
      Specified by:
      hasMaxEarlyDataBytes in interface TcpProxyOrBuilder
      Returns:
      Whether the maxEarlyDataBytes field is set.
    • getMaxEarlyDataBytes

      public com.google.protobuf.UInt32Value getMaxEarlyDataBytes()
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
      Specified by:
      getMaxEarlyDataBytes in interface TcpProxyOrBuilder
      Returns:
      The maxEarlyDataBytes.
    • setMaxEarlyDataBytes

      public TcpProxy.Builder setMaxEarlyDataBytes(com.google.protobuf.UInt32Value value)
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
    • setMaxEarlyDataBytes

      public TcpProxy.Builder setMaxEarlyDataBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
    • mergeMaxEarlyDataBytes

      public TcpProxy.Builder mergeMaxEarlyDataBytes(com.google.protobuf.UInt32Value value)
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
    • clearMaxEarlyDataBytes

      public TcpProxy.Builder clearMaxEarlyDataBytes()
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
    • getMaxEarlyDataBytesBuilder

      public com.google.protobuf.UInt32Value.Builder getMaxEarlyDataBytesBuilder()
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
    • getMaxEarlyDataBytesOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getMaxEarlyDataBytesOrBuilder()
       Maximum bytes of early data to buffer from the downstream connection before
       the upstream connection is established.
      
       If not set, the TCP proxy will read-disable the downstream connection until the
       upstream connection is established (legacy behavior).
      
       If set, enables ``receive_before_connect`` mode where the filter allows the filter
       chain to read downstream data before the upstream connection exists. The data is
       buffered and forwarded once the upstream connection is ready. When the buffer exceeds
       this limit, the downstream connection is read-disabled to prevent excessive memory usage.
      
       This field is required when ``upstream_connect_mode`` is ``ON_DOWNSTREAM_DATA``.
      
       .. note::
         Use this carefully with server-first protocols. The upstream may send data before
         receiving anything from downstream, which could fill the early data buffer.
       
      .google.protobuf.UInt32Value max_early_data_bytes = 22 [(.validate.rules) = { ... }
      Specified by:
      getMaxEarlyDataBytesOrBuilder in interface TcpProxyOrBuilder
    • setUnknownFields

      public final TcpProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>
    • mergeUnknownFields

      public final TcpProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.Builder>