Package io.envoyproxy.envoy.api.v2.route
Enum HeaderMatcher.HeaderMatchSpecifierCase
- java.lang.Object
-
- java.lang.Enum<HeaderMatcher.HeaderMatchSpecifierCase>
-
- io.envoyproxy.envoy.api.v2.route.HeaderMatcher.HeaderMatchSpecifierCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<HeaderMatcher.HeaderMatchSpecifierCase>
- Enclosing class:
- HeaderMatcher
public static enum HeaderMatcher.HeaderMatchSpecifierCase extends Enum<HeaderMatcher.HeaderMatchSpecifierCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXACT_MATCHHEADERMATCHSPECIFIER_NOT_SETPREFIX_MATCHPRESENT_MATCHRANGE_MATCHREGEX_MATCHDeprecated.SAFE_REGEX_MATCHSUFFIX_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HeaderMatcher.HeaderMatchSpecifierCaseforNumber(int value)intgetNumber()static HeaderMatcher.HeaderMatchSpecifierCasevalueOf(int value)Deprecated.static HeaderMatcher.HeaderMatchSpecifierCasevalueOf(String name)Returns the enum constant of this type with the specified name.static HeaderMatcher.HeaderMatchSpecifierCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXACT_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase EXACT_MATCH
-
REGEX_MATCH
@Deprecated public static final HeaderMatcher.HeaderMatchSpecifierCase REGEX_MATCH
Deprecated.
-
SAFE_REGEX_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase SAFE_REGEX_MATCH
-
RANGE_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase RANGE_MATCH
-
PRESENT_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase PRESENT_MATCH
-
PREFIX_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase PREFIX_MATCH
-
SUFFIX_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase SUFFIX_MATCH
-
HEADERMATCHSPECIFIER_NOT_SET
public static final HeaderMatcher.HeaderMatchSpecifierCase HEADERMATCHSPECIFIER_NOT_SET
-
-
Method Detail
-
values
public static HeaderMatcher.HeaderMatchSpecifierCase[] 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 (HeaderMatcher.HeaderMatchSpecifierCase c : HeaderMatcher.HeaderMatchSpecifierCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HeaderMatcher.HeaderMatchSpecifierCase 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 HeaderMatcher.HeaderMatchSpecifierCase 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 HeaderMatcher.HeaderMatchSpecifierCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-