public static enum GrpcConcept.BaseType extends Enum<GrpcConcept.BaseType> implements com.google.protobuf.ProtocolMessageEnum
ai.grakn.rpc.generated.BaseType| Enum Constant and Description |
|---|
Attribute
Attribute = 2; |
AttributeType
AttributeType = 5; |
Entity
Entity = 0; |
EntityType
EntityType = 3; |
MetaType
This represents the top-level meta type only
|
Relationship
Relationship = 1; |
RelationshipType
RelationshipType = 4; |
Role
Role = 6; |
Rule
Rule = 7; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Attribute_VALUE
Attribute = 2; |
static int |
AttributeType_VALUE
AttributeType = 5; |
static int |
Entity_VALUE
Entity = 0; |
static int |
EntityType_VALUE
EntityType = 3; |
static int |
MetaType_VALUE
This represents the top-level meta type only
|
static int |
Relationship_VALUE
Relationship = 1; |
static int |
RelationshipType_VALUE
RelationshipType = 4; |
static int |
Role_VALUE
Role = 6; |
static int |
Rule_VALUE
Rule = 7; |
| Modifier and Type | Method and Description |
|---|---|
static GrpcConcept.BaseType |
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.BaseType> |
internalGetValueMap() |
static GrpcConcept.BaseType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GrpcConcept.BaseType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GrpcConcept.BaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcConcept.BaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcConcept.BaseType Entity
Entity = 0;public static final GrpcConcept.BaseType Relationship
Relationship = 1;public static final GrpcConcept.BaseType Attribute
Attribute = 2;public static final GrpcConcept.BaseType EntityType
EntityType = 3;public static final GrpcConcept.BaseType RelationshipType
RelationshipType = 4;public static final GrpcConcept.BaseType AttributeType
AttributeType = 5;public static final GrpcConcept.BaseType Role
Role = 6;public static final GrpcConcept.BaseType Rule
Rule = 7;public static final GrpcConcept.BaseType MetaType
This represents the top-level meta type only
MetaType = 8;public static final GrpcConcept.BaseType UNRECOGNIZED
public static final int Entity_VALUE
Entity = 0;public static final int Relationship_VALUE
Relationship = 1;public static final int Attribute_VALUE
Attribute = 2;public static final int EntityType_VALUE
EntityType = 3;public static final int RelationshipType_VALUE
RelationshipType = 4;public static final int AttributeType_VALUE
AttributeType = 5;public static final int Role_VALUE
Role = 6;public static final int Rule_VALUE
Rule = 7;public static final int MetaType_VALUE
This represents the top-level meta type only
MetaType = 8;public static GrpcConcept.BaseType[] values()
for (GrpcConcept.BaseType c : GrpcConcept.BaseType.values()) System.out.println(c);
public static GrpcConcept.BaseType 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.BaseType valueOf(int value)
forNumber(int) instead.public static GrpcConcept.BaseType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GrpcConcept.BaseType> 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.BaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.