Interface FilterChainOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FilterChain, FilterChain.Builder

public interface FilterChainOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The criteria to use when matching a connection to this filter chain.
    The criteria to use when matching a connection to this filter chain.
    getFilters(int index)
    A list of individual network filters that make up the filter chain for connections established with the listener.
    int
    A list of individual network filters that make up the filter chain for connections established with the listener.
    A list of individual network filters that make up the filter chain for connections established with the listener.
    A list of individual network filters that make up the filter chain for connections established with the listener.
    A list of individual network filters that make up the filter chain for connections established with the listener.
    Filter chain metadata.
    Filter chain metadata.
    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.
    com.google.protobuf.ByteString
    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.
    Optional custom transport socket implementation to use for downstream connections.
    com.google.protobuf.Duration
    If present and nonzero, the amount of time to allow incoming connections to complete any transport socket negotiations.
    com.google.protobuf.DurationOrBuilder
    If present and nonzero, the amount of time to allow incoming connections to complete any transport socket negotiations.
    Optional custom transport socket implementation to use for downstream connections.
    com.google.protobuf.BoolValue
    Deprecated.
    envoy.config.listener.v3.FilterChain.use_proxy_proto is deprecated.
    com.google.protobuf.BoolValueOrBuilder
    Deprecated.
    boolean
    The criteria to use when matching a connection to this filter chain.
    boolean
    Filter chain metadata.
    boolean
    Optional custom transport socket implementation to use for downstream connections.
    boolean
    If present and nonzero, the amount of time to allow incoming connections to complete any transport socket negotiations.
    boolean
    Deprecated.
    envoy.config.listener.v3.FilterChain.use_proxy_proto is deprecated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasFilterChainMatch

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

      FilterChainMatch getFilterChainMatch()
       The criteria to use when matching a connection to this filter chain.
       
      .envoy.config.listener.v3.FilterChainMatch filter_chain_match = 1;
      Returns:
      The filterChainMatch.
    • getFilterChainMatchOrBuilder

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

      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;
    • getFilters

      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;
    • getFiltersCount

      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;
    • getFiltersOrBuilderList

      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;
    • getFiltersOrBuilder

      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;
    • hasUseProxyProto

      @Deprecated boolean hasUseProxyProto()
      Deprecated.
      envoy.config.listener.v3.FilterChain.use_proxy_proto is deprecated. See envoy/config/listener/v3/listener_components.proto;l=232
       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"];
      Returns:
      Whether the useProxyProto field is set.
    • getUseProxyProto

      @Deprecated 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=232
       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"];
      Returns:
      The useProxyProto.
    • getUseProxyProtoOrBuilder

      @Deprecated 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"];
    • hasMetadata

      boolean hasMetadata()
       Filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
      Returns:
      Whether the metadata field is set.
    • getMetadata

      Metadata getMetadata()
       Filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
      Returns:
      The metadata.
    • getMetadataOrBuilder

      MetadataOrBuilder getMetadataOrBuilder()
       Filter chain metadata.
       
      .envoy.config.core.v3.Metadata metadata = 5;
    • hasTransportSocket

      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;
      Returns:
      Whether the transportSocket field is set.
    • getTransportSocket

      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;
      Returns:
      The transportSocket.
    • getTransportSocketOrBuilder

      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;
    • hasTransportSocketConnectTimeout

      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;
      Returns:
      Whether the transportSocketConnectTimeout field is set.
    • getTransportSocketConnectTimeout

      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;
      Returns:
      The transportSocketConnectTimeout.
    • getTransportSocketConnectTimeoutOrBuilder

      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;
    • getName

      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;
      Returns:
      The name.
    • getNameBytes

      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;
      Returns:
      The bytes for name.