Class FilterChain.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FilterChain.Builder>
com.google.protobuf.GeneratedMessage.Builder<FilterChain.Builder>
io.envoyproxy.envoy.config.listener.v3.FilterChain.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FilterChainOrBuilder, Cloneable
Enclosing class:
FilterChain

public static final class FilterChain.Builder extends com.google.protobuf.GeneratedMessage.Builder<FilterChain.Builder> implements FilterChainOrBuilder
 A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and
 various other parameters.
 [#next-free-field: 10]
 
Protobuf type envoy.config.listener.v3.FilterChain
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FilterChain.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • clear

      public FilterChain.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.GeneratedMessage.Builder<FilterChain.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.GeneratedMessage.Builder<FilterChain.Builder>
    • getDefaultInstanceForType

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

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

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

      private void buildPartialRepeatedFields(FilterChain result)
    • buildPartial0

      private void buildPartial0(FilterChain result)
    • mergeFrom

      public FilterChain.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<FilterChain.Builder>
    • mergeFrom

      public FilterChain.Builder mergeFrom(FilterChain other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FilterChain.Builder>
    • mergeFrom

      public FilterChain.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<FilterChain.Builder>
      Throws:
      IOException
    • hasFilterChainMatch

      public boolean hasFilterChainMatch()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
      Specified by:
      hasFilterChainMatch in interface FilterChainOrBuilder
      Returns:
      Whether the filterChainMatch field is set.
    • getFilterChainMatch

      public FilterChainMatch getFilterChainMatch()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
      Specified by:
      getFilterChainMatch in interface FilterChainOrBuilder
      Returns:
      The filterChainMatch.
    • setFilterChainMatch

      public FilterChain.Builder setFilterChainMatch(FilterChainMatch value)
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
    • setFilterChainMatch

      public FilterChain.Builder setFilterChainMatch(FilterChainMatch.Builder builderForValue)
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
    • mergeFilterChainMatch

      public FilterChain.Builder mergeFilterChainMatch(FilterChainMatch value)
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
    • clearFilterChainMatch

      public FilterChain.Builder clearFilterChainMatch()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
    • getFilterChainMatchBuilder

      public FilterChainMatch.Builder getFilterChainMatchBuilder()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
    • getFilterChainMatchOrBuilder

      public FilterChainMatchOrBuilder getFilterChainMatchOrBuilder()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
      Specified by:
      getFilterChainMatchOrBuilder in interface FilterChainOrBuilder
    • internalGetFilterChainMatchFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<FilterChainMatch,FilterChainMatch.Builder,FilterChainMatchOrBuilder> internalGetFilterChainMatchFieldBuilder()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
    • ensureFiltersIsMutable

      private void ensureFiltersIsMutable()
    • getFiltersList

      public List<Filter> getFiltersList()
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
      Specified by:
      getFiltersList in interface FilterChainOrBuilder
    • getFiltersCount

      public int getFiltersCount()
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
      Specified by:
      getFiltersCount in interface FilterChainOrBuilder
    • getFilters

      public Filter getFilters(int index)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
      Specified by:
      getFilters in interface FilterChainOrBuilder
    • setFilters

      public FilterChain.Builder setFilters(int index, Filter value)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • setFilters

      public FilterChain.Builder setFilters(int index, Filter.Builder builderForValue)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • addFilters

      public FilterChain.Builder addFilters(Filter value)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • addFilters

      public FilterChain.Builder addFilters(int index, Filter value)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • addFilters

      public FilterChain.Builder addFilters(Filter.Builder builderForValue)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • addFilters

      public FilterChain.Builder addFilters(int index, Filter.Builder builderForValue)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • addAllFilters

      public FilterChain.Builder addAllFilters(Iterable<? extends Filter> values)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • clearFilters

      public FilterChain.Builder clearFilters()
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • removeFilters

      public FilterChain.Builder removeFilters(int index)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • getFiltersBuilder

      public Filter.Builder getFiltersBuilder(int index)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • getFiltersOrBuilder

      public FilterOrBuilder getFiltersOrBuilder(int index)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
      Specified by:
      getFiltersOrBuilder in interface FilterChainOrBuilder
    • getFiltersOrBuilderList

      public List<? extends FilterOrBuilder> getFiltersOrBuilderList()
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
      Specified by:
      getFiltersOrBuilderList in interface FilterChainOrBuilder
    • addFiltersBuilder

      public Filter.Builder addFiltersBuilder()
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • addFiltersBuilder

      public Filter.Builder addFiltersBuilder(int index)
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • getFiltersBuilderList

      public List<Filter.Builder> getFiltersBuilderList()
       A list of individual network filters that make up the filter chain for
       connections established with the listener. Order matters as the filters are
       processed sequentially as connection events happen. Note: If the filter
       list is empty, the connection will close by default.
      
       For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
       can be created, but due to differences in the connection implementation compared
       to TCP, the onData() method will never be called. Therefore, network filters
       for QUIC listeners should only expect to do work at the start of a new connection
       (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
       
      repeated .envoy.config.listener.v3.Filter filters = 3;
    • internalGetFiltersFieldBuilder

      private com.google.protobuf.RepeatedFieldBuilder<Filter,Filter.Builder,FilterOrBuilder> internalGetFiltersFieldBuilder()
    • hasUseProxyProto

      @Deprecated public boolean hasUseProxyProto()
      Deprecated.
      envoy.config.listener.v3.FilterChain.use_proxy_proto is deprecated. See envoy/config/listener/v3/listener_components.proto;l=247
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      hasUseProxyProto in interface FilterChainOrBuilder
      Returns:
      Whether the useProxyProto field is set.
    • getUseProxyProto

      @Deprecated public com.google.protobuf.BoolValue getUseProxyProto()
      Deprecated.
      envoy.config.listener.v3.FilterChain.use_proxy_proto is deprecated. See envoy/config/listener/v3/listener_components.proto;l=247
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getUseProxyProto in interface FilterChainOrBuilder
      Returns:
      The useProxyProto.
    • setUseProxyProto

      @Deprecated public FilterChain.Builder setUseProxyProto(com.google.protobuf.BoolValue value)
      Deprecated.
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • setUseProxyProto

      @Deprecated public FilterChain.Builder setUseProxyProto(com.google.protobuf.BoolValue.Builder builderForValue)
      Deprecated.
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • mergeUseProxyProto

      @Deprecated public FilterChain.Builder mergeUseProxyProto(com.google.protobuf.BoolValue value)
      Deprecated.
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • clearUseProxyProto

      @Deprecated public FilterChain.Builder clearUseProxyProto()
      Deprecated.
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getUseProxyProtoBuilder

      @Deprecated public com.google.protobuf.BoolValue.Builder getUseProxyProtoBuilder()
      Deprecated.
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getUseProxyProtoOrBuilder

      @Deprecated public com.google.protobuf.BoolValueOrBuilder getUseProxyProtoOrBuilder()
      Deprecated.
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getUseProxyProtoOrBuilder in interface FilterChainOrBuilder
    • internalGetUseProxyProtoFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> internalGetUseProxyProtoFieldBuilder()
       Whether the listener should expect a PROXY protocol V1 header on new
       connections. If this option is enabled, the listener will assume that that
       remote address of the connection is the one specified in the header. Some
       load balancers including the AWS ELB support this option. If the option is
       absent or set to false, Envoy will use the physical peer address of the
       connection as the remote address.
      
       This field is deprecated. Add a
       :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
       explicitly instead.
       
      .google.protobuf.BoolValue use_proxy_proto = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • hasMetadata

      public boolean hasMetadata()
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
      Specified by:
      hasMetadata in interface FilterChainOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public Metadata getMetadata()
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
      Specified by:
      getMetadata in interface FilterChainOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public FilterChain.Builder setMetadata(Metadata value)
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • setMetadata

      public FilterChain.Builder setMetadata(Metadata.Builder builderForValue)
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • mergeMetadata

      public FilterChain.Builder mergeMetadata(Metadata value)
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • clearMetadata

      public FilterChain.Builder clearMetadata()
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • getMetadataBuilder

      public Metadata.Builder getMetadataBuilder()
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • getMetadataOrBuilder

      public MetadataOrBuilder getMetadataOrBuilder()
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
      Specified by:
      getMetadataOrBuilder in interface FilterChainOrBuilder
    • internalGetMetadataFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> internalGetMetadataFieldBuilder()
       [#not-implemented-hide:] filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • hasTransportSocket

      public boolean hasTransportSocket()
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
      Specified by:
      hasTransportSocket in interface FilterChainOrBuilder
      Returns:
      Whether the transportSocket field is set.
    • getTransportSocket

      public TransportSocket getTransportSocket()
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
      Specified by:
      getTransportSocket in interface FilterChainOrBuilder
      Returns:
      The transportSocket.
    • setTransportSocket

      public FilterChain.Builder setTransportSocket(TransportSocket value)
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
    • setTransportSocket

      public FilterChain.Builder setTransportSocket(TransportSocket.Builder builderForValue)
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
    • mergeTransportSocket

      public FilterChain.Builder mergeTransportSocket(TransportSocket value)
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
    • clearTransportSocket

      public FilterChain.Builder clearTransportSocket()
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
    • getTransportSocketBuilder

      public TransportSocket.Builder getTransportSocketBuilder()
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
    • getTransportSocketOrBuilder

      public TransportSocketOrBuilder getTransportSocketOrBuilder()
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
      Specified by:
      getTransportSocketOrBuilder in interface FilterChainOrBuilder
    • internalGetTransportSocketFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<TransportSocket,TransportSocket.Builder,TransportSocketOrBuilder> internalGetTransportSocketFieldBuilder()
       Optional custom transport socket implementation to use for downstream connections.
       To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
       :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
       If no transport socket configuration is specified, new connections
       will be set up with plaintext.
       [#extension-category: envoy.transport_sockets.downstream]
       
      .envoy.config.core.v3.TransportSocket transport_socket = 6;
    • hasTransportSocketConnectTimeout

      public boolean hasTransportSocketConnectTimeout()
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
      Specified by:
      hasTransportSocketConnectTimeout in interface FilterChainOrBuilder
      Returns:
      Whether the transportSocketConnectTimeout field is set.
    • getTransportSocketConnectTimeout

      public com.google.protobuf.Duration getTransportSocketConnectTimeout()
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
      Specified by:
      getTransportSocketConnectTimeout in interface FilterChainOrBuilder
      Returns:
      The transportSocketConnectTimeout.
    • setTransportSocketConnectTimeout

      public FilterChain.Builder setTransportSocketConnectTimeout(com.google.protobuf.Duration value)
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
    • setTransportSocketConnectTimeout

      public FilterChain.Builder setTransportSocketConnectTimeout(com.google.protobuf.Duration.Builder builderForValue)
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
    • mergeTransportSocketConnectTimeout

      public FilterChain.Builder mergeTransportSocketConnectTimeout(com.google.protobuf.Duration value)
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
    • clearTransportSocketConnectTimeout

      public FilterChain.Builder clearTransportSocketConnectTimeout()
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
    • getTransportSocketConnectTimeoutBuilder

      public com.google.protobuf.Duration.Builder getTransportSocketConnectTimeoutBuilder()
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
    • getTransportSocketConnectTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getTransportSocketConnectTimeoutOrBuilder()
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
      Specified by:
      getTransportSocketConnectTimeoutOrBuilder in interface FilterChainOrBuilder
    • internalGetTransportSocketConnectTimeoutFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> internalGetTransportSocketConnectTimeoutFieldBuilder()
       If present and nonzero, the amount of time to allow incoming connections to complete any
       transport socket negotiations. If this expires before the transport reports connection
       establishment, the connection is summarily closed.
       
      .google.protobuf.Duration transport_socket_connect_timeout = 9;
    • getName

      public String getName()
       The unique name (or empty) by which this filter chain is known.
       Note: :ref:`filter_chain_matcher
       <envoy_v3_api_field_config.listener.v3.Listener.filter_chain_matcher>`
       requires that filter chains are uniquely named within a listener.
       
      string name = 7;
      Specified by:
      getName in interface FilterChainOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The unique name (or empty) by which this filter chain is known.
       Note: :ref:`filter_chain_matcher
       <envoy_v3_api_field_config.listener.v3.Listener.filter_chain_matcher>`
       requires that filter chains are uniquely named within a listener.
       
      string name = 7;
      Specified by:
      getNameBytes in interface FilterChainOrBuilder
      Returns:
      The bytes for name.
    • setName

      public FilterChain.Builder setName(String value)
       The unique name (or empty) by which this filter chain is known.
       Note: :ref:`filter_chain_matcher
       <envoy_v3_api_field_config.listener.v3.Listener.filter_chain_matcher>`
       requires that filter chains are uniquely named within a listener.
       
      string name = 7;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public FilterChain.Builder clearName()
       The unique name (or empty) by which this filter chain is known.
       Note: :ref:`filter_chain_matcher
       <envoy_v3_api_field_config.listener.v3.Listener.filter_chain_matcher>`
       requires that filter chains are uniquely named within a listener.
       
      string name = 7;
      Returns:
      This builder for chaining.
    • setNameBytes

      public FilterChain.Builder setNameBytes(com.google.protobuf.ByteString value)
       The unique name (or empty) by which this filter chain is known.
       Note: :ref:`filter_chain_matcher
       <envoy_v3_api_field_config.listener.v3.Listener.filter_chain_matcher>`
       requires that filter chains are uniquely named within a listener.
       
      string name = 7;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasOnDemandConfiguration

      public boolean hasOnDemandConfiguration()
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
      Specified by:
      hasOnDemandConfiguration in interface FilterChainOrBuilder
      Returns:
      Whether the onDemandConfiguration field is set.
    • getOnDemandConfiguration

      public FilterChain.OnDemandConfiguration getOnDemandConfiguration()
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
      Specified by:
      getOnDemandConfiguration in interface FilterChainOrBuilder
      Returns:
      The onDemandConfiguration.
    • setOnDemandConfiguration

      public FilterChain.Builder setOnDemandConfiguration(FilterChain.OnDemandConfiguration value)
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
    • setOnDemandConfiguration

      public FilterChain.Builder setOnDemandConfiguration(FilterChain.OnDemandConfiguration.Builder builderForValue)
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
    • mergeOnDemandConfiguration

      public FilterChain.Builder mergeOnDemandConfiguration(FilterChain.OnDemandConfiguration value)
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
    • clearOnDemandConfiguration

      public FilterChain.Builder clearOnDemandConfiguration()
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
    • getOnDemandConfigurationBuilder

      public FilterChain.OnDemandConfiguration.Builder getOnDemandConfigurationBuilder()
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
    • getOnDemandConfigurationOrBuilder

      public FilterChain.OnDemandConfigurationOrBuilder getOnDemandConfigurationOrBuilder()
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;
      Specified by:
      getOnDemandConfigurationOrBuilder in interface FilterChainOrBuilder
    • internalGetOnDemandConfigurationFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<FilterChain.OnDemandConfiguration,FilterChain.OnDemandConfiguration.Builder,FilterChain.OnDemandConfigurationOrBuilder> internalGetOnDemandConfigurationFieldBuilder()
       [#not-implemented-hide:] The configuration to specify whether the filter chain will be built on-demand.
       If this field is not empty, the filter chain will be built on-demand.
       Otherwise, the filter chain will be built normally and block listener warming.
       
      .envoy.config.listener.v3.FilterChain.OnDemandConfiguration on_demand_configuration = 8;