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