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 BOOL
BOOL = 15;
CHAR
CHAR = 14;
FLOAT_16
Not present in protobufFLOAT_32
FLOAT_32 = 12;
FLOAT_64
FLOAT_64 = 11;
INT_128
Not present in protobuf, needs two 64-bit intsINT_16
Not present in protobufINT_32
INT_32 = 3;
INT_64
INT_64 = 2;
INT_8
Not present in protobufSTRING
these share the string_val fieldSYMBOL
In protobuf this is really bytes.UINT_128
Not present in protobuf, needs two 64-bit intsUINT_16
Not present in protobufUINT_32
UINT_32 = 8;
UINT_64
UINT_64 = 7;
UINT_8
Not present in protobufUNRECOGNIZED
UNSPECIFIED_TYPE
https://developers.google.com/protocol-buffers/docs/style#enumsVARIABLE_SIZE_STRING
VariableSizeStrings are not supported as PrimitiveValues, though the type can show up in (internal) type signatures.
-
Field Summary
Fields Modifier and Type Field Description static int
BOOL_VALUE
BOOL = 15;
static int
CHAR_VALUE
CHAR = 14;
static int
FLOAT_16_VALUE
Not present in protobufstatic int
FLOAT_32_VALUE
FLOAT_32 = 12;
static int
FLOAT_64_VALUE
FLOAT_64 = 11;
static int
INT_128_VALUE
Not present in protobuf, needs two 64-bit intsstatic int
INT_16_VALUE
Not present in protobufstatic int
INT_32_VALUE
INT_32 = 3;
static int
INT_64_VALUE
INT_64 = 2;
static int
INT_8_VALUE
Not present in protobufstatic int
STRING_VALUE
these share the string_val fieldstatic int
SYMBOL_VALUE
In protobuf this is really bytes.static int
UINT_128_VALUE
Not present in protobuf, needs two 64-bit intsstatic int
UINT_16_VALUE
Not present in protobufstatic int
UINT_32_VALUE
UINT_32 = 8;
static int
UINT_64_VALUE
UINT_64 = 7;
static int
UINT_8_VALUE
Not present in protobufstatic int
UNSPECIFIED_TYPE_VALUE
https://developers.google.com/protocol-buffers/docs/style#enumsstatic int
VARIABLE_SIZE_STRING_VALUE
VariableSizeStrings 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.PrimitiveType
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<Schema.PrimitiveType>
internalGetValueMap()
static Schema.PrimitiveType
valueOf(int value)
Deprecated.static Schema.PrimitiveType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Schema.PrimitiveType
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-