Package gql
Enum Class GqlTypes.GqlType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GqlTypes.GqlType>,Constable
- Enclosing class:
- GqlTypes
public static enum GqlTypes.GqlType
extends Enum<GqlTypes.GqlType>
implements com.google.protobuf.ProtocolMessageEnum
GQL type enumeration covering all types from ISO/IEC 39075.Protobuf enum
gql.GqlType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDynamicTYPE_BOOLEAN = 2;TYPE_BYTES = 60;TemporalDecimalTYPE_DURATION = 75;TYPE_EDGE = 91;TYPE_FLOAT128 = 33;Floating pointTYPE_FLOAT256 = 34;TYPE_FLOAT32 = 31;TYPE_FLOAT64 = 32;TYPE_INT128 = 14;TYPE_INT16 = 11;TYPE_INT256 = 15;TYPE_INT32 = 12;TYPE_INT64 = 13;Signed integersConstructedTYPE_LOCAL_DATETIME = 73;TYPE_LOCAL_TIME = 71;Graph elementsTYPE_NULL = 1;TYPE_PATH = 82;TYPE_PROPERTY_VALUE = 111;TYPE_RECORD = 81;String / bytesTYPE_UINT128 = 24;TYPE_UINT16 = 21;TYPE_UINT256 = 25;TYPE_UINT32 = 22;TYPE_UINT64 = 23;Unsigned integersTYPE_UNKNOWN = 0;TYPE_ZONED_DATETIME = 74;TYPE_ZONED_TIME = 72; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDynamicstatic final intTYPE_BOOLEAN = 2;static final intTYPE_BYTES = 60;static final intTemporalstatic final intDecimalstatic final intTYPE_DURATION = 75;static final intTYPE_EDGE = 91;static final intTYPE_FLOAT128 = 33;static final intFloating pointstatic final intTYPE_FLOAT256 = 34;static final intTYPE_FLOAT32 = 31;static final intTYPE_FLOAT64 = 32;static final intTYPE_INT128 = 14;static final intTYPE_INT16 = 11;static final intTYPE_INT256 = 15;static final intTYPE_INT32 = 12;static final intTYPE_INT64 = 13;static final intSigned integersstatic final intConstructedstatic final intTYPE_LOCAL_DATETIME = 73;static final intTYPE_LOCAL_TIME = 71;static final intGraph elementsstatic final intTYPE_NULL = 1;static final intTYPE_PATH = 82;static final intTYPE_PROPERTY_VALUE = 111;static final intTYPE_RECORD = 81;static final intString / bytesstatic final intTYPE_UINT128 = 24;static final intTYPE_UINT16 = 21;static final intTYPE_UINT256 = 25;static final intTYPE_UINT32 = 22;static final intTYPE_UINT64 = 23;static final intUnsigned integersstatic final intTYPE_UNKNOWN = 0;static final intTYPE_ZONED_DATETIME = 74;static final intTYPE_ZONED_TIME = 72; -
Method Summary
Modifier and TypeMethodDescriptionstatic GqlTypes.GqlTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GqlTypes.GqlType>static GqlTypes.GqlTypevalueOf(int value) Deprecated.static GqlTypes.GqlTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static GqlTypes.GqlTypeReturns the enum constant of this class with the specified name.static GqlTypes.GqlType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNKNOWN
TYPE_UNKNOWN = 0; -
TYPE_NULL
TYPE_NULL = 1; -
TYPE_BOOLEAN
TYPE_BOOLEAN = 2; -
TYPE_INT8
Signed integers
TYPE_INT8 = 10; -
TYPE_INT16
TYPE_INT16 = 11; -
TYPE_INT32
TYPE_INT32 = 12; -
TYPE_INT64
TYPE_INT64 = 13; -
TYPE_INT128
TYPE_INT128 = 14; -
TYPE_INT256
TYPE_INT256 = 15; -
TYPE_UINT8
Unsigned integers
TYPE_UINT8 = 20; -
TYPE_UINT16
TYPE_UINT16 = 21; -
TYPE_UINT32
TYPE_UINT32 = 22; -
TYPE_UINT64
TYPE_UINT64 = 23; -
TYPE_UINT128
TYPE_UINT128 = 24; -
TYPE_UINT256
TYPE_UINT256 = 25; -
TYPE_FLOAT16
Floating point
TYPE_FLOAT16 = 30; -
TYPE_FLOAT32
TYPE_FLOAT32 = 31; -
TYPE_FLOAT64
TYPE_FLOAT64 = 32; -
TYPE_FLOAT128
TYPE_FLOAT128 = 33; -
TYPE_FLOAT256
TYPE_FLOAT256 = 34; -
TYPE_DECIMAL
Decimal
TYPE_DECIMAL = 40; -
TYPE_STRING
String / bytes
TYPE_STRING = 50; -
TYPE_BYTES
TYPE_BYTES = 60; -
TYPE_DATE
Temporal
TYPE_DATE = 70; -
TYPE_LOCAL_TIME
TYPE_LOCAL_TIME = 71; -
TYPE_ZONED_TIME
TYPE_ZONED_TIME = 72; -
TYPE_LOCAL_DATETIME
TYPE_LOCAL_DATETIME = 73; -
TYPE_ZONED_DATETIME
TYPE_ZONED_DATETIME = 74; -
TYPE_DURATION
TYPE_DURATION = 75; -
TYPE_LIST
Constructed
TYPE_LIST = 80; -
TYPE_RECORD
TYPE_RECORD = 81; -
TYPE_PATH
TYPE_PATH = 82; -
TYPE_NODE
Graph elements
TYPE_NODE = 90; -
TYPE_EDGE
TYPE_EDGE = 91; -
TYPE_ANY
Dynamic
TYPE_ANY = 110; -
TYPE_PROPERTY_VALUE
TYPE_PROPERTY_VALUE = 111; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNKNOWN_VALUE
public static final int TYPE_UNKNOWN_VALUETYPE_UNKNOWN = 0;- See Also:
-
TYPE_NULL_VALUE
public static final int TYPE_NULL_VALUETYPE_NULL = 1;- See Also:
-
TYPE_BOOLEAN_VALUE
public static final int TYPE_BOOLEAN_VALUETYPE_BOOLEAN = 2;- See Also:
-
TYPE_INT8_VALUE
public static final int TYPE_INT8_VALUESigned integers
TYPE_INT8 = 10;- See Also:
-
TYPE_INT16_VALUE
public static final int TYPE_INT16_VALUETYPE_INT16 = 11;- See Also:
-
TYPE_INT32_VALUE
public static final int TYPE_INT32_VALUETYPE_INT32 = 12;- See Also:
-
TYPE_INT64_VALUE
public static final int TYPE_INT64_VALUETYPE_INT64 = 13;- See Also:
-
TYPE_INT128_VALUE
public static final int TYPE_INT128_VALUETYPE_INT128 = 14;- See Also:
-
TYPE_INT256_VALUE
public static final int TYPE_INT256_VALUETYPE_INT256 = 15;- See Also:
-
TYPE_UINT8_VALUE
public static final int TYPE_UINT8_VALUEUnsigned integers
TYPE_UINT8 = 20;- See Also:
-
TYPE_UINT16_VALUE
public static final int TYPE_UINT16_VALUETYPE_UINT16 = 21;- See Also:
-
TYPE_UINT32_VALUE
public static final int TYPE_UINT32_VALUETYPE_UINT32 = 22;- See Also:
-
TYPE_UINT64_VALUE
public static final int TYPE_UINT64_VALUETYPE_UINT64 = 23;- See Also:
-
TYPE_UINT128_VALUE
public static final int TYPE_UINT128_VALUETYPE_UINT128 = 24;- See Also:
-
TYPE_UINT256_VALUE
public static final int TYPE_UINT256_VALUETYPE_UINT256 = 25;- See Also:
-
TYPE_FLOAT16_VALUE
public static final int TYPE_FLOAT16_VALUEFloating point
TYPE_FLOAT16 = 30;- See Also:
-
TYPE_FLOAT32_VALUE
public static final int TYPE_FLOAT32_VALUETYPE_FLOAT32 = 31;- See Also:
-
TYPE_FLOAT64_VALUE
public static final int TYPE_FLOAT64_VALUETYPE_FLOAT64 = 32;- See Also:
-
TYPE_FLOAT128_VALUE
public static final int TYPE_FLOAT128_VALUETYPE_FLOAT128 = 33;- See Also:
-
TYPE_FLOAT256_VALUE
public static final int TYPE_FLOAT256_VALUETYPE_FLOAT256 = 34;- See Also:
-
TYPE_DECIMAL_VALUE
public static final int TYPE_DECIMAL_VALUEDecimal
TYPE_DECIMAL = 40;- See Also:
-
TYPE_STRING_VALUE
public static final int TYPE_STRING_VALUEString / bytes
TYPE_STRING = 50;- See Also:
-
TYPE_BYTES_VALUE
public static final int TYPE_BYTES_VALUETYPE_BYTES = 60;- See Also:
-
TYPE_DATE_VALUE
public static final int TYPE_DATE_VALUETemporal
TYPE_DATE = 70;- See Also:
-
TYPE_LOCAL_TIME_VALUE
public static final int TYPE_LOCAL_TIME_VALUETYPE_LOCAL_TIME = 71;- See Also:
-
TYPE_ZONED_TIME_VALUE
public static final int TYPE_ZONED_TIME_VALUETYPE_ZONED_TIME = 72;- See Also:
-
TYPE_LOCAL_DATETIME_VALUE
public static final int TYPE_LOCAL_DATETIME_VALUETYPE_LOCAL_DATETIME = 73;- See Also:
-
TYPE_ZONED_DATETIME_VALUE
public static final int TYPE_ZONED_DATETIME_VALUETYPE_ZONED_DATETIME = 74;- See Also:
-
TYPE_DURATION_VALUE
public static final int TYPE_DURATION_VALUETYPE_DURATION = 75;- See Also:
-
TYPE_LIST_VALUE
public static final int TYPE_LIST_VALUEConstructed
TYPE_LIST = 80;- See Also:
-
TYPE_RECORD_VALUE
public static final int TYPE_RECORD_VALUETYPE_RECORD = 81;- See Also:
-
TYPE_PATH_VALUE
public static final int TYPE_PATH_VALUETYPE_PATH = 82;- See Also:
-
TYPE_NODE_VALUE
public static final int TYPE_NODE_VALUEGraph elements
TYPE_NODE = 90;- See Also:
-
TYPE_EDGE_VALUE
public static final int TYPE_EDGE_VALUETYPE_EDGE = 91;- See Also:
-
TYPE_ANY_VALUE
public static final int TYPE_ANY_VALUEDynamic
TYPE_ANY = 110;- See Also:
-
TYPE_PROPERTY_VALUE_VALUE
public static final int TYPE_PROPERTY_VALUE_VALUETYPE_PROPERTY_VALUE = 111;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-