Package lgraph
Enum Lgraph.ProtoFieldType
- java.lang.Object
-
- java.lang.Enum<Lgraph.ProtoFieldType>
-
- lgraph.Lgraph.ProtoFieldType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Lgraph.ProtoFieldType>
- Enclosing class:
- Lgraph
public static enum Lgraph.ProtoFieldType extends Enum<Lgraph.ProtoFieldType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumlgraph.ProtoFieldType
-
-
Field Summary
Fields Modifier and Type Field Description static intBLOB_VALUEBLOB = 11;static intBOOL_VALUEBOOL = 1;static intDATE_VALUEDATE = 8;static intDATETIME_VALUEDATETIME = 9;static intDOUBLE_VALUEDOUBLE = 7;static intFLOAT_VALUEFLOAT = 6;static intINT16_VALUEINT16 = 3;static intINT32_VALUEINT32 = 4;static intINT64_VALUEINT64 = 5;static intINT8_VALUEINT8 = 2;static intNUL_VALUENUL = 0;static intSTRING_VALUESTRING = 10;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Lgraph.ProtoFieldTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Lgraph.ProtoFieldType>internalGetValueMap()static Lgraph.ProtoFieldTypevalueOf(int value)Deprecated.static Lgraph.ProtoFieldTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Lgraph.ProtoFieldTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Lgraph.ProtoFieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUL
public static final Lgraph.ProtoFieldType NUL
NUL = 0;
-
BOOL
public static final Lgraph.ProtoFieldType BOOL
BOOL = 1;
-
INT8
public static final Lgraph.ProtoFieldType INT8
INT8 = 2;
-
INT16
public static final Lgraph.ProtoFieldType INT16
INT16 = 3;
-
INT32
public static final Lgraph.ProtoFieldType INT32
INT32 = 4;
-
INT64
public static final Lgraph.ProtoFieldType INT64
INT64 = 5;
-
FLOAT
public static final Lgraph.ProtoFieldType FLOAT
FLOAT = 6;
-
DOUBLE
public static final Lgraph.ProtoFieldType DOUBLE
DOUBLE = 7;
-
DATE
public static final Lgraph.ProtoFieldType DATE
DATE = 8;
-
DATETIME
public static final Lgraph.ProtoFieldType DATETIME
DATETIME = 9;
-
STRING
public static final Lgraph.ProtoFieldType STRING
STRING = 10;
-
BLOB
public static final Lgraph.ProtoFieldType BLOB
BLOB = 11;
-
-
Field Detail
-
NUL_VALUE
public static final int NUL_VALUE
NUL = 0;- See Also:
- Constant Field Values
-
BOOL_VALUE
public static final int BOOL_VALUE
BOOL = 1;- See Also:
- Constant Field Values
-
INT8_VALUE
public static final int INT8_VALUE
INT8 = 2;- See Also:
- Constant Field Values
-
INT16_VALUE
public static final int INT16_VALUE
INT16 = 3;- See Also:
- Constant Field Values
-
INT32_VALUE
public static final int INT32_VALUE
INT32 = 4;- See Also:
- Constant Field Values
-
INT64_VALUE
public static final int INT64_VALUE
INT64 = 5;- See Also:
- Constant Field Values
-
FLOAT_VALUE
public static final int FLOAT_VALUE
FLOAT = 6;- See Also:
- Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
DOUBLE = 7;- See Also:
- Constant Field Values
-
DATE_VALUE
public static final int DATE_VALUE
DATE = 8;- See Also:
- Constant Field Values
-
DATETIME_VALUE
public static final int DATETIME_VALUE
DATETIME = 9;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 10;- See Also:
- Constant Field Values
-
BLOB_VALUE
public static final int BLOB_VALUE
BLOB = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Lgraph.ProtoFieldType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Lgraph.ProtoFieldType c : Lgraph.ProtoFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Lgraph.ProtoFieldType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Lgraph.ProtoFieldType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Lgraph.ProtoFieldType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Lgraph.ProtoFieldType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Lgraph.ProtoFieldType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-