public static enum AnswerProto.Answer.AnswerCase extends Enum<AnswerProto.Answer.AnswerCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ANSWER_NOT_SET |
ANSWERGROUP |
CONCEPTLIST |
CONCEPTMAP |
CONCEPTSET |
CONCEPTSETMEASURE |
VALUE |
| Modifier and Type | Method and Description |
|---|---|
static AnswerProto.Answer.AnswerCase |
forNumber(int value) |
int |
getNumber() |
static AnswerProto.Answer.AnswerCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnswerProto.Answer.AnswerCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnswerProto.Answer.AnswerCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnswerProto.Answer.AnswerCase ANSWERGROUP
public static final AnswerProto.Answer.AnswerCase CONCEPTMAP
public static final AnswerProto.Answer.AnswerCase CONCEPTLIST
public static final AnswerProto.Answer.AnswerCase CONCEPTSET
public static final AnswerProto.Answer.AnswerCase CONCEPTSETMEASURE
public static final AnswerProto.Answer.AnswerCase VALUE
public static final AnswerProto.Answer.AnswerCase ANSWER_NOT_SET
public static AnswerProto.Answer.AnswerCase[] values()
for (AnswerProto.Answer.AnswerCase c : AnswerProto.Answer.AnswerCase.values()) System.out.println(c);
public static AnswerProto.Answer.AnswerCase 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 AnswerProto.Answer.AnswerCase valueOf(int value)
forNumber(int) instead.public static AnswerProto.Answer.AnswerCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018 Grakn Labs Ltd. All rights reserved.