public static enum MLServerProto.Rule.Tag extends Enum<MLServerProto.Rule.Tag> implements com.google.protobuf.ProtocolMessageEnum
lt_ml_server.Rule.Tag
Enum Constant and Description |
---|
academic
academic = 1; |
clarity
clarity = 2; |
creative
creative = 4; |
customer
customer = 5; |
elegant
elegant = 8; |
jobapp
jobapp = 6; |
objective
objective = 7; |
picky
picky = 0; |
professional
professional = 3; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
academic_VALUE
academic = 1; |
static int |
clarity_VALUE
clarity = 2; |
static int |
creative_VALUE
creative = 4; |
static int |
customer_VALUE
customer = 5; |
static int |
elegant_VALUE
elegant = 8; |
static int |
jobapp_VALUE
jobapp = 6; |
static int |
objective_VALUE
objective = 7; |
static int |
picky_VALUE
picky = 0; |
static int |
professional_VALUE
professional = 3; |
Modifier and Type | Method and Description |
---|---|
static MLServerProto.Rule.Tag |
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.Rule.Tag> |
internalGetValueMap() |
static MLServerProto.Rule.Tag |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MLServerProto.Rule.Tag |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MLServerProto.Rule.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLServerProto.Rule.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MLServerProto.Rule.Tag picky
picky = 0;
public static final MLServerProto.Rule.Tag academic
academic = 1;
public static final MLServerProto.Rule.Tag clarity
clarity = 2;
public static final MLServerProto.Rule.Tag professional
professional = 3;
public static final MLServerProto.Rule.Tag creative
creative = 4;
public static final MLServerProto.Rule.Tag customer
customer = 5;
public static final MLServerProto.Rule.Tag jobapp
jobapp = 6;
public static final MLServerProto.Rule.Tag objective
objective = 7;
public static final MLServerProto.Rule.Tag elegant
elegant = 8;
public static final MLServerProto.Rule.Tag UNRECOGNIZED
public static final int picky_VALUE
picky = 0;
public static final int academic_VALUE
academic = 1;
public static final int clarity_VALUE
clarity = 2;
public static final int professional_VALUE
professional = 3;
public static final int creative_VALUE
creative = 4;
public static final int customer_VALUE
customer = 5;
public static final int jobapp_VALUE
jobapp = 6;
public static final int objective_VALUE
objective = 7;
public static final int elegant_VALUE
elegant = 8;
public static MLServerProto.Rule.Tag[] values()
for (MLServerProto.Rule.Tag c : MLServerProto.Rule.Tag.values()) System.out.println(c);
public static MLServerProto.Rule.Tag 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.Rule.Tag valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MLServerProto.Rule.Tag forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MLServerProto.Rule.Tag> 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.Rule.Tag valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)