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