public static enum Cluster.DnsLookupFamily extends Enum<Cluster.DnsLookupFamily> implements com.google.protobuf.ProtocolMessageEnum
When V4_ONLY is selected, the DNS resolver will only perform a lookup for addresses in the IPv4 family. If V6_ONLY is selected, the DNS resolver will only perform a lookup for addresses in the IPv6 family. If AUTO is specified, the DNS resolver will first perform a lookup for addresses in the IPv6 family and fallback to a lookup for addresses in the IPv4 family. For cluster types other than :ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v4alpha.Cluster.DiscoveryType.STRICT_DNS>` and :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v4alpha.Cluster.DiscoveryType.LOGICAL_DNS>`, this setting is ignored.Protobuf enum
envoy.config.cluster.v4alpha.Cluster.DnsLookupFamily| Enum Constant and Description |
|---|
AUTO
AUTO = 0; |
UNRECOGNIZED |
V4_ONLY
V4_ONLY = 1; |
V6_ONLY
V6_ONLY = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_VALUE
AUTO = 0; |
static int |
V4_ONLY_VALUE
V4_ONLY = 1; |
static int |
V6_ONLY_VALUE
V6_ONLY = 2; |
| Modifier and Type | Method and Description |
|---|---|
static Cluster.DnsLookupFamily |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Cluster.DnsLookupFamily> |
internalGetValueMap() |
static Cluster.DnsLookupFamily |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cluster.DnsLookupFamily |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.DnsLookupFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.DnsLookupFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.DnsLookupFamily AUTO
AUTO = 0;public static final Cluster.DnsLookupFamily V4_ONLY
V4_ONLY = 1;public static final Cluster.DnsLookupFamily V6_ONLY
V6_ONLY = 2;public static final Cluster.DnsLookupFamily UNRECOGNIZED
public static final int AUTO_VALUE
AUTO = 0;public static final int V4_ONLY_VALUE
V4_ONLY = 1;public static final int V6_ONLY_VALUE
V6_ONLY = 2;public static Cluster.DnsLookupFamily[] values()
for (Cluster.DnsLookupFamily c : Cluster.DnsLookupFamily.values()) System.out.println(c);
public static Cluster.DnsLookupFamily valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Cluster.DnsLookupFamily valueOf(int value)
forNumber(int) instead.public static Cluster.DnsLookupFamily forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cluster.DnsLookupFamily> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Cluster.DnsLookupFamily valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.