Enum HeaderMatcher.HeaderMatchSpecifierCase
- java.lang.Object
-
- java.lang.Enum<HeaderMatcher.HeaderMatchSpecifierCase>
-
- io.envoyproxy.envoy.config.route.v3.HeaderMatcher.HeaderMatchSpecifierCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<HeaderMatcher.HeaderMatchSpecifierCase>
- Enclosing class:
- HeaderMatcher
public static enum HeaderMatcher.HeaderMatchSpecifierCase extends java.lang.Enum<HeaderMatcher.HeaderMatchSpecifierCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS_MATCH
Deprecated.EXACT_MATCH
Deprecated.HEADERMATCHSPECIFIER_NOT_SET
PREFIX_MATCH
Deprecated.PRESENT_MATCH
RANGE_MATCH
SAFE_REGEX_MATCH
Deprecated.STRING_MATCH
SUFFIX_MATCH
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
HeaderMatchSpecifierCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HeaderMatcher.HeaderMatchSpecifierCase
forNumber(int value)
int
getNumber()
static HeaderMatcher.HeaderMatchSpecifierCase
valueOf(int value)
Deprecated.static HeaderMatcher.HeaderMatchSpecifierCase
valueOf(java.lang.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
@Deprecated public static final HeaderMatcher.HeaderMatchSpecifierCase EXACT_MATCH
Deprecated.
-
SAFE_REGEX_MATCH
@Deprecated public static final HeaderMatcher.HeaderMatchSpecifierCase SAFE_REGEX_MATCH
Deprecated.
-
RANGE_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase RANGE_MATCH
-
PRESENT_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase PRESENT_MATCH
-
PREFIX_MATCH
@Deprecated public static final HeaderMatcher.HeaderMatchSpecifierCase PREFIX_MATCH
Deprecated.
-
SUFFIX_MATCH
@Deprecated public static final HeaderMatcher.HeaderMatchSpecifierCase SUFFIX_MATCH
Deprecated.
-
CONTAINS_MATCH
@Deprecated public static final HeaderMatcher.HeaderMatchSpecifierCase CONTAINS_MATCH
Deprecated.
-
STRING_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase STRING_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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static HeaderMatcher.HeaderMatchSpecifierCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-