Interface FilterConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FilterConfig,FilterConfig.Builder
public interface FilterConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhen this flag is set, the filter will check for the ``envoy.upstream.dynamic_host`` and/or ``envoy.upstream.dynamic_port`` filter state values before using the HTTP Host header for DNS resolution.The DNS cache configuration that the filter will attach to.The DNS cache configuration that the filter will attach to.booleanWhen this flag is set, the filter will add the resolved upstream address in the filter state.The configuration that the filter will use, when the related dynamic forward proxy cluster enabled sub clusters.The configuration that the filter will use, when the related dynamic forward proxy cluster enabled sub clusters.booleanThe DNS cache configuration that the filter will attach to.booleanThe configuration that the filter will use, when the related dynamic forward proxy cluster enabled sub clusters.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDnsCacheConfig
boolean hasDnsCacheConfig()The DNS cache configuration that the filter will attach to. Note this configuration must match that of associated :ref:`dynamic forward proxy cluster configuration <envoy_v3_api_field_extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig.dns_cache_config>`.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig dns_cache_config = 1;- Returns:
- Whether the dnsCacheConfig field is set.
-
getDnsCacheConfig
DnsCacheConfig getDnsCacheConfig()The DNS cache configuration that the filter will attach to. Note this configuration must match that of associated :ref:`dynamic forward proxy cluster configuration <envoy_v3_api_field_extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig.dns_cache_config>`.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig dns_cache_config = 1;- Returns:
- The dnsCacheConfig.
-
getDnsCacheConfigOrBuilder
DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder()The DNS cache configuration that the filter will attach to. Note this configuration must match that of associated :ref:`dynamic forward proxy cluster configuration <envoy_v3_api_field_extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig.dns_cache_config>`.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig dns_cache_config = 1; -
hasSubClusterConfig
boolean hasSubClusterConfig()The configuration that the filter will use, when the related dynamic forward proxy cluster enabled sub clusters.
.envoy.extensions.filters.http.dynamic_forward_proxy.v3.SubClusterConfig sub_cluster_config = 3;- Returns:
- Whether the subClusterConfig field is set.
-
getSubClusterConfig
SubClusterConfig getSubClusterConfig()The configuration that the filter will use, when the related dynamic forward proxy cluster enabled sub clusters.
.envoy.extensions.filters.http.dynamic_forward_proxy.v3.SubClusterConfig sub_cluster_config = 3;- Returns:
- The subClusterConfig.
-
getSubClusterConfigOrBuilder
SubClusterConfigOrBuilder getSubClusterConfigOrBuilder()The configuration that the filter will use, when the related dynamic forward proxy cluster enabled sub clusters.
.envoy.extensions.filters.http.dynamic_forward_proxy.v3.SubClusterConfig sub_cluster_config = 3; -
getSaveUpstreamAddress
boolean getSaveUpstreamAddress()When this flag is set, the filter will add the resolved upstream address in the filter state. The state should be saved with key ``envoy.stream.upstream_address`` (See :repo:`upstream_address.h<source/common/stream_info/upstream_address.h>`).
bool save_upstream_address = 2;- Returns:
- The saveUpstreamAddress.
-
getAllowDynamicHostFromFilterState
boolean getAllowDynamicHostFromFilterState()When this flag is set, the filter will check for the ``envoy.upstream.dynamic_host`` and/or ``envoy.upstream.dynamic_port`` filter state values before using the HTTP Host header for DNS resolution. This provides consistency with the :ref:`SNI dynamic forward proxy <envoy_v3_api_msg_extensions.filters.network.sni_dynamic_forward_proxy.v3.FilterConfig>` and :ref:`UDP dynamic forward proxy <envoy_v3_api_msg_extensions.filters.udp.udp_proxy.session.dynamic_forward_proxy.v3.FilterConfig>` filters behavior when enabled. If the flag is not set (default), the filter will use the HTTP Host header for DNS resolution, maintaining backward compatibility.
bool allow_dynamic_host_from_filter_state = 4;- Returns:
- The allowDynamicHostFromFilterState.
-
getImplementationSpecifierCase
FilterConfig.ImplementationSpecifierCase getImplementationSpecifierCase()
-