public static enum MLServerProto.SuggestedReplacement.SuggestionType extends Enum<MLServerProto.SuggestedReplacement.SuggestionType> implements com.google.protobuf.ProtocolMessageEnum
lt_ml_server.SuggestedReplacement.SuggestionType| Enum Constant and Description |
|---|
Curated
Curated = 2; |
Default
Default = 0; |
Translation
Translation = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Curated_VALUE
Curated = 2; |
static int |
Default_VALUE
Default = 0; |
static int |
Translation_VALUE
Translation = 1; |
| Modifier and Type | Method and Description |
|---|---|
static MLServerProto.SuggestedReplacement.SuggestionType |
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.SuggestedReplacement.SuggestionType> |
internalGetValueMap() |
static MLServerProto.SuggestedReplacement.SuggestionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MLServerProto.SuggestedReplacement.SuggestionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MLServerProto.SuggestedReplacement.SuggestionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLServerProto.SuggestedReplacement.SuggestionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MLServerProto.SuggestedReplacement.SuggestionType Default
Default = 0;public static final MLServerProto.SuggestedReplacement.SuggestionType Translation
Translation = 1;public static final MLServerProto.SuggestedReplacement.SuggestionType Curated
Curated = 2;public static final MLServerProto.SuggestedReplacement.SuggestionType UNRECOGNIZED
public static final int Default_VALUE
Default = 0;public static final int Translation_VALUE
Translation = 1;public static final int Curated_VALUE
Curated = 2;public static MLServerProto.SuggestedReplacement.SuggestionType[] values()
for (MLServerProto.SuggestedReplacement.SuggestionType c : MLServerProto.SuggestedReplacement.SuggestionType.values()) System.out.println(c);
public static MLServerProto.SuggestedReplacement.SuggestionType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MLServerProto.SuggestedReplacement.SuggestionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MLServerProto.SuggestedReplacement.SuggestionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MLServerProto.SuggestedReplacement.SuggestionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MLServerProto.SuggestedReplacement.SuggestionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)