public static enum GrpcConcept.AttributeValue.ValueCase extends Enum<GrpcConcept.AttributeValue.ValueCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BOOLEAN |
DATE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
STRING |
VALUE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static GrpcConcept.AttributeValue.ValueCase |
forNumber(int value) |
int |
getNumber() |
static GrpcConcept.AttributeValue.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GrpcConcept.AttributeValue.ValueCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcConcept.AttributeValue.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcConcept.AttributeValue.ValueCase STRING
public static final GrpcConcept.AttributeValue.ValueCase BOOLEAN
public static final GrpcConcept.AttributeValue.ValueCase INTEGER
public static final GrpcConcept.AttributeValue.ValueCase LONG
public static final GrpcConcept.AttributeValue.ValueCase FLOAT
public static final GrpcConcept.AttributeValue.ValueCase DOUBLE
public static final GrpcConcept.AttributeValue.ValueCase DATE
public static final GrpcConcept.AttributeValue.ValueCase VALUE_NOT_SET
public static GrpcConcept.AttributeValue.ValueCase[] values()
for (GrpcConcept.AttributeValue.ValueCase c : GrpcConcept.AttributeValue.ValueCase.values()) System.out.println(c);
public static GrpcConcept.AttributeValue.ValueCase 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 null@Deprecated public static GrpcConcept.AttributeValue.ValueCase valueOf(int value)
forNumber(int) instead.public static GrpcConcept.AttributeValue.ValueCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018 Grakn Labs Ltd. All rights reserved.