public static enum GrpcGrakn.TxType extends Enum<GrpcGrakn.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 GrpcGrakn.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<GrpcGrakn.TxType> |
internalGetValueMap() |
static GrpcGrakn.TxType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GrpcGrakn.TxType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GrpcGrakn.TxType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcGrakn.TxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcGrakn.TxType Read
Read = 0;public static final GrpcGrakn.TxType Write
Write = 1;public static final GrpcGrakn.TxType Batch
Batch = 2;public static final GrpcGrakn.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 GrpcGrakn.TxType[] values()
for (GrpcGrakn.TxType c : GrpcGrakn.TxType.values()) System.out.println(c);
public static GrpcGrakn.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 GrpcGrakn.TxType valueOf(int value)
forNumber(int) instead.public static GrpcGrakn.TxType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GrpcGrakn.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 GrpcGrakn.TxType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.