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