public static enum MatchField.MatchType extends Enum<MatchField.MatchType> implements com.google.protobuf.ProtocolMessageEnum
p4.config.MatchField.MatchType
Enum Constant and Description |
---|
EXACT
EXACT = 2; |
LPM
LPM = 3; |
RANGE
RANGE = 5; |
TERNARY
TERNARY = 4; |
UNRECOGNIZED |
UNSPECIFIED
UNSPECIFIED = 0; |
VALID
VALID = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
EXACT_VALUE
EXACT = 2; |
static int |
LPM_VALUE
LPM = 3; |
static int |
RANGE_VALUE
RANGE = 5; |
static int |
TERNARY_VALUE
TERNARY = 4; |
static int |
UNSPECIFIED_VALUE
UNSPECIFIED = 0; |
static int |
VALID_VALUE
VALID = 1; |
Modifier and Type | Method and Description |
---|---|
static MatchField.MatchType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MatchField.MatchType> |
internalGetValueMap() |
static MatchField.MatchType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MatchField.MatchType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MatchField.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchField.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchField.MatchType UNSPECIFIED
UNSPECIFIED = 0;
public static final MatchField.MatchType VALID
VALID = 1;
public static final MatchField.MatchType EXACT
EXACT = 2;
public static final MatchField.MatchType LPM
LPM = 3;
public static final MatchField.MatchType TERNARY
TERNARY = 4;
public static final MatchField.MatchType RANGE
RANGE = 5;
public static final MatchField.MatchType UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
UNSPECIFIED = 0;
public static final int VALID_VALUE
VALID = 1;
public static final int EXACT_VALUE
EXACT = 2;
public static final int LPM_VALUE
LPM = 3;
public static final int TERNARY_VALUE
TERNARY = 4;
public static final int RANGE_VALUE
RANGE = 5;
public static MatchField.MatchType[] values()
for (MatchField.MatchType c : MatchField.MatchType.values()) System.out.println(c);
public static MatchField.MatchType 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static MatchField.MatchType valueOf(int value)
forNumber(int)
instead.public static MatchField.MatchType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<MatchField.MatchType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MatchField.MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 OpenDaylight. All rights reserved.