public static enum MLServerProto.Match.MatchType extends Enum<MLServerProto.Match.MatchType> implements com.google.protobuf.ProtocolMessageEnum
lt_ml_server.Match.MatchType
Enum Constant and Description |
---|
Hint
Style errors, typically light blue.
|
Other
Other errors (including grammar), typically yellow/orange.
|
UnknownWord
Spelling errors, typically red.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
Hint_VALUE
Style errors, typically light blue.
|
static int |
Other_VALUE
Other errors (including grammar), typically yellow/orange.
|
static int |
UnknownWord_VALUE
Spelling errors, typically red.
|
Modifier and Type | Method and Description |
---|---|
static MLServerProto.Match.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<MLServerProto.Match.MatchType> |
internalGetValueMap() |
static MLServerProto.Match.MatchType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MLServerProto.Match.MatchType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MLServerProto.Match.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLServerProto.Match.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MLServerProto.Match.MatchType UnknownWord
Spelling errors, typically red.
UnknownWord = 0;
public static final MLServerProto.Match.MatchType Hint
Style errors, typically light blue.
Hint = 1;
public static final MLServerProto.Match.MatchType Other
Other errors (including grammar), typically yellow/orange.
Other = 2;
public static final MLServerProto.Match.MatchType UNRECOGNIZED
public static final int UnknownWord_VALUE
Spelling errors, typically red.
UnknownWord = 0;
public static final int Hint_VALUE
Style errors, typically light blue.
Hint = 1;
public static final int Other_VALUE
Other errors (including grammar), typically yellow/orange.
Other = 2;
public static MLServerProto.Match.MatchType[] values()
for (MLServerProto.Match.MatchType c : MLServerProto.Match.MatchType.values()) System.out.println(c);
public static MLServerProto.Match.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 MLServerProto.Match.MatchType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MLServerProto.Match.MatchType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MLServerProto.Match.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 MLServerProto.Match.MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)