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 TypeMethodDescriptionThe DNS cache configuration that the filter will attach to.The DNS cache configuration that the filter will attach to.intThe port number to connect to the upstream.booleanWhen this flag is set, the filter will add the resolved upstream address in the filter state.booleanThe DNS cache configuration that the filter will attach to.booleanThe port number to connect to the upstream.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 [(.validate.rules) = { ... }- 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 [(.validate.rules) = { ... }- 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 [(.validate.rules) = { ... } -
hasPortValue
boolean hasPortValue()The port number to connect to the upstream.
uint32 port_value = 2 [(.validate.rules) = { ... }- Returns:
- Whether the portValue field is set.
-
getPortValue
int getPortValue()The port number to connect to the upstream.
uint32 port_value = 2 [(.validate.rules) = { ... }- Returns:
- The portValue.
-
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 = 3;- Returns:
- The saveUpstreamAddress.
-
getPortSpecifierCase
FilterConfig.PortSpecifierCase getPortSpecifierCase()
-