Package relationalai.protocol
Enum Schema.PrimitiveType
- java.lang.Object
-
- java.lang.Enum<Schema.PrimitiveType>
-
- relationalai.protocol.Schema.PrimitiveType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Schema.PrimitiveType>
- Enclosing class:
- Schema
public static enum Schema.PrimitiveType extends Enum<Schema.PrimitiveType> implements com.google.protobuf.ProtocolMessageEnum
next available: 19
Protobuf enumrelationalai.protocol.PrimitiveType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLBOOL = 15;CHARCHAR = 14;FLOAT_16Not present in protobufFLOAT_32FLOAT_32 = 12;FLOAT_64FLOAT_64 = 11;INT_128Not present in protobuf, needs two 64-bit intsINT_16Not present in protobufINT_32INT_32 = 3;INT_64INT_64 = 2;INT_8Not present in protobufSTRINGthese share the string_val fieldSYMBOLIn protobuf this is really bytes.UINT_128Not present in protobuf, needs two 64-bit intsUINT_16Not present in protobufUINT_32UINT_32 = 8;UINT_64UINT_64 = 7;UINT_8Not present in protobufUNRECOGNIZEDUNSPECIFIED_TYPEhttps://developers.google.com/protocol-buffers/docs/style#enumsVARIABLE_SIZE_STRINGVariableSizeStrings are not supported as PrimitiveValues, though the type can show up in (internal) type signatures.
-
Field Summary
Fields Modifier and Type Field Description static intBOOL_VALUEBOOL = 15;static intCHAR_VALUECHAR = 14;static intFLOAT_16_VALUENot present in protobufstatic intFLOAT_32_VALUEFLOAT_32 = 12;static intFLOAT_64_VALUEFLOAT_64 = 11;static intINT_128_VALUENot present in protobuf, needs two 64-bit intsstatic intINT_16_VALUENot present in protobufstatic intINT_32_VALUEINT_32 = 3;static intINT_64_VALUEINT_64 = 2;static intINT_8_VALUENot present in protobufstatic intSTRING_VALUEthese share the string_val fieldstatic intSYMBOL_VALUEIn protobuf this is really bytes.static intUINT_128_VALUENot present in protobuf, needs two 64-bit intsstatic intUINT_16_VALUENot present in protobufstatic intUINT_32_VALUEUINT_32 = 8;static intUINT_64_VALUEUINT_64 = 7;static intUINT_8_VALUENot present in protobufstatic intUNSPECIFIED_TYPE_VALUEhttps://developers.google.com/protocol-buffers/docs/style#enumsstatic intVARIABLE_SIZE_STRING_VALUEVariableSizeStrings are not supported as PrimitiveValues, though the type can show up in (internal) type signatures.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Schema.PrimitiveTypeforNumber(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<Schema.PrimitiveType>internalGetValueMap()static Schema.PrimitiveTypevalueOf(int value)Deprecated.static Schema.PrimitiveTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Schema.PrimitiveTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Schema.PrimitiveType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED_TYPE
public static final Schema.PrimitiveType UNSPECIFIED_TYPE
https://developers.google.com/protocol-buffers/docs/style#enums
UNSPECIFIED_TYPE = 0;
-
INT_128
public static final Schema.PrimitiveType INT_128
Not present in protobuf, needs two 64-bit ints
INT_128 = 1;
-
INT_64
public static final Schema.PrimitiveType INT_64
INT_64 = 2;
-
INT_32
public static final Schema.PrimitiveType INT_32
INT_32 = 3;
-
INT_16
public static final Schema.PrimitiveType INT_16
Not present in protobuf
INT_16 = 4;
-
INT_8
public static final Schema.PrimitiveType INT_8
Not present in protobuf
INT_8 = 5;
-
UINT_128
public static final Schema.PrimitiveType UINT_128
Not present in protobuf, needs two 64-bit ints
UINT_128 = 6;
-
UINT_64
public static final Schema.PrimitiveType UINT_64
UINT_64 = 7;
-
UINT_32
public static final Schema.PrimitiveType UINT_32
UINT_32 = 8;
-
UINT_16
public static final Schema.PrimitiveType UINT_16
Not present in protobuf
UINT_16 = 9;
-
UINT_8
public static final Schema.PrimitiveType UINT_8
Not present in protobuf
UINT_8 = 10;
-
FLOAT_64
public static final Schema.PrimitiveType FLOAT_64
FLOAT_64 = 11;
-
FLOAT_32
public static final Schema.PrimitiveType FLOAT_32
FLOAT_32 = 12;
-
FLOAT_16
public static final Schema.PrimitiveType FLOAT_16
Not present in protobuf
FLOAT_16 = 13;
-
CHAR
public static final Schema.PrimitiveType CHAR
CHAR = 14;
-
BOOL
public static final Schema.PrimitiveType BOOL
BOOL = 15;
-
STRING
public static final Schema.PrimitiveType STRING
these share the string_val field
STRING = 16;
-
SYMBOL
public static final Schema.PrimitiveType SYMBOL
In protobuf this is really bytes.
SYMBOL = 17;
-
VARIABLE_SIZE_STRING
public static final Schema.PrimitiveType VARIABLE_SIZE_STRING
VariableSizeStrings are not supported as PrimitiveValues, though the type can show up in (internal) type signatures.
VARIABLE_SIZE_STRING = 18;
-
UNRECOGNIZED
public static final Schema.PrimitiveType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_TYPE_VALUE
public static final int UNSPECIFIED_TYPE_VALUE
https://developers.google.com/protocol-buffers/docs/style#enums
UNSPECIFIED_TYPE = 0;- See Also:
- Constant Field Values
-
INT_128_VALUE
public static final int INT_128_VALUE
Not present in protobuf, needs two 64-bit ints
INT_128 = 1;- See Also:
- Constant Field Values
-
INT_64_VALUE
public static final int INT_64_VALUE
INT_64 = 2;- See Also:
- Constant Field Values
-
INT_32_VALUE
public static final int INT_32_VALUE
INT_32 = 3;- See Also:
- Constant Field Values
-
INT_16_VALUE
public static final int INT_16_VALUE
Not present in protobuf
INT_16 = 4;- See Also:
- Constant Field Values
-
INT_8_VALUE
public static final int INT_8_VALUE
Not present in protobuf
INT_8 = 5;- See Also:
- Constant Field Values
-
UINT_128_VALUE
public static final int UINT_128_VALUE
Not present in protobuf, needs two 64-bit ints
UINT_128 = 6;- See Also:
- Constant Field Values
-
UINT_64_VALUE
public static final int UINT_64_VALUE
UINT_64 = 7;- See Also:
- Constant Field Values
-
UINT_32_VALUE
public static final int UINT_32_VALUE
UINT_32 = 8;- See Also:
- Constant Field Values
-
UINT_16_VALUE
public static final int UINT_16_VALUE
Not present in protobuf
UINT_16 = 9;- See Also:
- Constant Field Values
-
UINT_8_VALUE
public static final int UINT_8_VALUE
Not present in protobuf
UINT_8 = 10;- See Also:
- Constant Field Values
-
FLOAT_64_VALUE
public static final int FLOAT_64_VALUE
FLOAT_64 = 11;- See Also:
- Constant Field Values
-
FLOAT_32_VALUE
public static final int FLOAT_32_VALUE
FLOAT_32 = 12;- See Also:
- Constant Field Values
-
FLOAT_16_VALUE
public static final int FLOAT_16_VALUE
Not present in protobuf
FLOAT_16 = 13;- See Also:
- Constant Field Values
-
CHAR_VALUE
public static final int CHAR_VALUE
CHAR = 14;- See Also:
- Constant Field Values
-
BOOL_VALUE
public static final int BOOL_VALUE
BOOL = 15;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
these share the string_val field
STRING = 16;- See Also:
- Constant Field Values
-
SYMBOL_VALUE
public static final int SYMBOL_VALUE
In protobuf this is really bytes.
SYMBOL = 17;- See Also:
- Constant Field Values
-
VARIABLE_SIZE_STRING_VALUE
public static final int VARIABLE_SIZE_STRING_VALUE
VariableSizeStrings are not supported as PrimitiveValues, though the type can show up in (internal) type signatures.
VARIABLE_SIZE_STRING = 18;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Schema.PrimitiveType[] 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 (Schema.PrimitiveType c : Schema.PrimitiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Schema.PrimitiveType 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 Schema.PrimitiveType 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 Schema.PrimitiveType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Schema.PrimitiveType> 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 Schema.PrimitiveType 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
-
-