public static enum HeaderMatcher.HeaderMatchSpecifierCase extends Enum<HeaderMatcher.HeaderMatchSpecifierCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CONTAINS_MATCH |
EXACT_MATCH |
HEADERMATCHSPECIFIER_NOT_SET |
PREFIX_MATCH |
PRESENT_MATCH |
RANGE_MATCH |
SAFE_REGEX_MATCH |
SUFFIX_MATCH |
Modifier and Type | Method and Description |
---|---|
static HeaderMatcher.HeaderMatchSpecifierCase |
forNumber(int value) |
int |
getNumber() |
static HeaderMatcher.HeaderMatchSpecifierCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HeaderMatcher.HeaderMatchSpecifierCase |
valueOf(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.
|
public static final HeaderMatcher.HeaderMatchSpecifierCase EXACT_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase SAFE_REGEX_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase RANGE_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase PRESENT_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase PREFIX_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase SUFFIX_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase CONTAINS_MATCH
public static final HeaderMatcher.HeaderMatchSpecifierCase HEADERMATCHSPECIFIER_NOT_SET
public static HeaderMatcher.HeaderMatchSpecifierCase[] values()
for (HeaderMatcher.HeaderMatchSpecifierCase c : HeaderMatcher.HeaderMatchSpecifierCase.values()) System.out.println(c);
public static HeaderMatcher.HeaderMatchSpecifierCase 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 null@Deprecated public static HeaderMatcher.HeaderMatchSpecifierCase valueOf(int value)
forNumber(int)
instead.public static HeaderMatcher.HeaderMatchSpecifierCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2018–2021 The Envoy Project. All rights reserved.