Package com.github.xds.type.matcher.v3
Enum Matcher.MatcherList.Predicate.MatchTypeCase
- java.lang.Object
-
- java.lang.Enum<Matcher.MatcherList.Predicate.MatchTypeCase>
-
- com.github.xds.type.matcher.v3.Matcher.MatcherList.Predicate.MatchTypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<Matcher.MatcherList.Predicate.MatchTypeCase>
- Enclosing class:
- Matcher.MatcherList.Predicate
public static enum Matcher.MatcherList.Predicate.MatchTypeCase extends java.lang.Enum<Matcher.MatcherList.Predicate.MatchTypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND_MATCHER
MATCHTYPE_NOT_SET
NOT_MATCHER
OR_MATCHER
SINGLE_PREDICATE
-
Field Summary
Fields Modifier and Type Field Description private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
MatchTypeCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Matcher.MatcherList.Predicate.MatchTypeCase
forNumber(int value)
int
getNumber()
static Matcher.MatcherList.Predicate.MatchTypeCase
valueOf(int value)
Deprecated.static Matcher.MatcherList.Predicate.MatchTypeCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Matcher.MatcherList.Predicate.MatchTypeCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_PREDICATE
public static final Matcher.MatcherList.Predicate.MatchTypeCase SINGLE_PREDICATE
-
OR_MATCHER
public static final Matcher.MatcherList.Predicate.MatchTypeCase OR_MATCHER
-
AND_MATCHER
public static final Matcher.MatcherList.Predicate.MatchTypeCase AND_MATCHER
-
NOT_MATCHER
public static final Matcher.MatcherList.Predicate.MatchTypeCase NOT_MATCHER
-
MATCHTYPE_NOT_SET
public static final Matcher.MatcherList.Predicate.MatchTypeCase MATCHTYPE_NOT_SET
-
-
Method Detail
-
values
public static Matcher.MatcherList.Predicate.MatchTypeCase[] 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 (Matcher.MatcherList.Predicate.MatchTypeCase c : Matcher.MatcherList.Predicate.MatchTypeCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Matcher.MatcherList.Predicate.MatchTypeCase 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 Matcher.MatcherList.Predicate.MatchTypeCase 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 Matcher.MatcherList.Predicate.MatchTypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-