public static enum GrpcConcept.DataType extends Enum<GrpcConcept.DataType> implements com.google.protobuf.ProtocolMessageEnum
ai.grakn.rpc.generated.DataType| Enum Constant and Description |
|---|
Boolean
Boolean = 1; |
Date
Date = 6; |
Double
Double = 5; |
Float
Float = 4; |
Integer
Integer = 2; |
Long
Long = 3; |
String
String = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Boolean_VALUE
Boolean = 1; |
static int |
Date_VALUE
Date = 6; |
static int |
Double_VALUE
Double = 5; |
static int |
Float_VALUE
Float = 4; |
static int |
Integer_VALUE
Integer = 2; |
static int |
Long_VALUE
Long = 3; |
static int |
String_VALUE
String = 0; |
| Modifier and Type | Method and Description |
|---|---|
static GrpcConcept.DataType |
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<GrpcConcept.DataType> |
internalGetValueMap() |
static GrpcConcept.DataType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GrpcConcept.DataType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GrpcConcept.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcConcept.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcConcept.DataType String
String = 0;public static final GrpcConcept.DataType Boolean
Boolean = 1;public static final GrpcConcept.DataType Integer
Integer = 2;public static final GrpcConcept.DataType Long
Long = 3;public static final GrpcConcept.DataType Float
Float = 4;public static final GrpcConcept.DataType Double
Double = 5;public static final GrpcConcept.DataType Date
Date = 6;public static final GrpcConcept.DataType UNRECOGNIZED
public static final int String_VALUE
String = 0;public static final int Boolean_VALUE
Boolean = 1;public static final int Integer_VALUE
Integer = 2;public static final int Long_VALUE
Long = 3;public static final int Float_VALUE
Float = 4;public static final int Double_VALUE
Double = 5;public static final int Date_VALUE
Date = 6;public static GrpcConcept.DataType[] values()
for (GrpcConcept.DataType c : GrpcConcept.DataType.values()) System.out.println(c);
public static GrpcConcept.DataType 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 GrpcConcept.DataType valueOf(int value)
forNumber(int) instead.public static GrpcConcept.DataType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GrpcConcept.DataType> 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 GrpcConcept.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.