public static enum GraknOuterClass.TxType extends Enum<GraknOuterClass.TxType> implements com.google.protobuf.ProtocolMessageEnum
ai.grakn.rpc.generated.TxType| Enum Constant and Description |
|---|
Batch
Batch = 2; |
Read
Read = 0; |
UNRECOGNIZED |
Write
Write = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
Batch_VALUE
Batch = 2; |
static int |
Read_VALUE
Read = 0; |
static int |
Write_VALUE
Write = 1; |
| Modifier and Type | Method and Description |
|---|---|
static GraknOuterClass.TxType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GraknOuterClass.TxType> |
internalGetValueMap() |
static GraknOuterClass.TxType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GraknOuterClass.TxType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GraknOuterClass.TxType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraknOuterClass.TxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraknOuterClass.TxType Read
Read = 0;public static final GraknOuterClass.TxType Write
Write = 1;public static final GraknOuterClass.TxType Batch
Batch = 2;public static final GraknOuterClass.TxType UNRECOGNIZED
public static final int Read_VALUE
Read = 0;public static final int Write_VALUE
Write = 1;public static final int Batch_VALUE
Batch = 2;public static GraknOuterClass.TxType[] values()
for (GraknOuterClass.TxType c : GraknOuterClass.TxType.values()) System.out.println(c);
public static GraknOuterClass.TxType 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static GraknOuterClass.TxType valueOf(int value)
forNumber(int) instead.public static GraknOuterClass.TxType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GraknOuterClass.TxType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GraknOuterClass.TxType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.