public static enum StringMatcher.MatchPatternCase extends Enum<StringMatcher.MatchPatternCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CONTAINS |
EXACT |
MATCHPATTERN_NOT_SET |
PREFIX |
SAFE_REGEX |
SUFFIX |
| Modifier and Type | Method and Description |
|---|---|
static StringMatcher.MatchPatternCase |
forNumber(int value) |
int |
getNumber() |
static StringMatcher.MatchPatternCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StringMatcher.MatchPatternCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringMatcher.MatchPatternCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringMatcher.MatchPatternCase EXACT
public static final StringMatcher.MatchPatternCase PREFIX
public static final StringMatcher.MatchPatternCase SUFFIX
public static final StringMatcher.MatchPatternCase SAFE_REGEX
public static final StringMatcher.MatchPatternCase CONTAINS
public static final StringMatcher.MatchPatternCase MATCHPATTERN_NOT_SET
public static StringMatcher.MatchPatternCase[] values()
for (StringMatcher.MatchPatternCase c : StringMatcher.MatchPatternCase.values()) System.out.println(c);
public static StringMatcher.MatchPatternCase 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 StringMatcher.MatchPatternCase valueOf(int value)
forNumber(int) instead.public static StringMatcher.MatchPatternCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.