Enum DnsLookupFamily
java.lang.Object
java.lang.Enum<DnsLookupFamily>
io.envoyproxy.envoy.extensions.clusters.common.dns.v3.DnsLookupFamily
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DnsLookupFamily>,java.lang.constant.Constable
public enum DnsLookupFamily
extends Enum<DnsLookupFamily>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
envoy.extensions.clusters.common.dns.v3.DnsLookupFamily-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionALL = 5;AUTO = 1;UNSPECIFIED = 0;V4_ONLY = 2;V4_PREFERRED = 4;V6_ONLY = 3; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intALL = 5;static final intAUTO = 1;static final intUNSPECIFIED = 0;static final intV4_ONLY = 2;static final intV4_PREFERRED = 4;static final intV6_ONLY = 3; -
Method Summary
Modifier and TypeMethodDescriptionstatic DnsLookupFamilyforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DnsLookupFamily>static DnsLookupFamilyvalueOf(int value) Deprecated.static DnsLookupFamilyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DnsLookupFamilyReturns the enum constant of this type with the specified name.static DnsLookupFamily[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
UNSPECIFIED = 0; -
AUTO
AUTO = 1; -
V4_ONLY
V4_ONLY = 2; -
V6_ONLY
V6_ONLY = 3; -
V4_PREFERRED
V4_PREFERRED = 4; -
ALL
ALL = 5; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEUNSPECIFIED = 0;- See Also:
-
AUTO_VALUE
public static final int AUTO_VALUEAUTO = 1;- See Also:
-
V4_ONLY_VALUE
public static final int V4_ONLY_VALUEV4_ONLY = 2;- See Also:
-
V6_ONLY_VALUE
public static final int V6_ONLY_VALUEV6_ONLY = 3;- See Also:
-
V4_PREFERRED_VALUE
public static final int V4_PREFERRED_VALUEV4_PREFERRED = 4;- See Also:
-
ALL_VALUE
public static final int ALL_VALUEALL = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-