Enum DnsFilterConfig.ServerContextConfig.ConfigSourceCase
- java.lang.Object
-
- java.lang.Enum<DnsFilterConfig.ServerContextConfig.ConfigSourceCase>
-
- io.envoyproxy.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig.ConfigSourceCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<DnsFilterConfig.ServerContextConfig.ConfigSourceCase>
- Enclosing class:
- DnsFilterConfig.ServerContextConfig
public static enum DnsFilterConfig.ServerContextConfig.ConfigSourceCase extends Enum<DnsFilterConfig.ServerContextConfig.ConfigSourceCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGSOURCE_NOT_SETEXTERNAL_DNS_TABLEINLINE_DNS_TABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DnsFilterConfig.ServerContextConfig.ConfigSourceCaseforNumber(int value)intgetNumber()static DnsFilterConfig.ServerContextConfig.ConfigSourceCasevalueOf(int value)Deprecated.static DnsFilterConfig.ServerContextConfig.ConfigSourceCasevalueOf(String name)Returns the enum constant of this type with the specified name.static DnsFilterConfig.ServerContextConfig.ConfigSourceCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INLINE_DNS_TABLE
public static final DnsFilterConfig.ServerContextConfig.ConfigSourceCase INLINE_DNS_TABLE
-
EXTERNAL_DNS_TABLE
public static final DnsFilterConfig.ServerContextConfig.ConfigSourceCase EXTERNAL_DNS_TABLE
-
CONFIGSOURCE_NOT_SET
public static final DnsFilterConfig.ServerContextConfig.ConfigSourceCase CONFIGSOURCE_NOT_SET
-
-
Method Detail
-
values
public static DnsFilterConfig.ServerContextConfig.ConfigSourceCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DnsFilterConfig.ServerContextConfig.ConfigSourceCase c : DnsFilterConfig.ServerContextConfig.ConfigSourceCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DnsFilterConfig.ServerContextConfig.ConfigSourceCase valueOf(String name)
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
-
valueOf
@Deprecated public static DnsFilterConfig.ServerContextConfig.ConfigSourceCase valueOf(int value)
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
public static DnsFilterConfig.ServerContextConfig.ConfigSourceCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-