public static enum MatchField.MatchCase extends Enum<MatchField.MatchCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
MATCH_NOT_SET |
MATCH_TYPE |
OTHER_MATCH_TYPE |
Modifier and Type | Method and Description |
---|---|
static MatchField.MatchCase |
forNumber(int value) |
int |
getNumber() |
static MatchField.MatchCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MatchField.MatchCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchField.MatchCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchField.MatchCase MATCH_TYPE
public static final MatchField.MatchCase OTHER_MATCH_TYPE
public static final MatchField.MatchCase MATCH_NOT_SET
public static MatchField.MatchCase[] values()
for (MatchField.MatchCase c : MatchField.MatchCase.values()) System.out.println(c);
public static MatchField.MatchCase 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 MatchField.MatchCase valueOf(int value)
forNumber(int)
instead.public static MatchField.MatchCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2018 OpenDaylight. All rights reserved.