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