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