Package relationalai.protocol
Enum Schema.PrimitiveValue.ValueCase
- java.lang.Object
-
- java.lang.Enum<Schema.PrimitiveValue.ValueCase>
-
- relationalai.protocol.Schema.PrimitiveValue.ValueCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Schema.PrimitiveValue.ValueCase>
- Enclosing class:
- Schema.PrimitiveValue
public static enum Schema.PrimitiveValue.ValueCase extends Enum<Schema.PrimitiveValue.ValueCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOL_VAL
CHAR_VAL
FLOAT16_VAL
FLOAT32_VAL
FLOAT64_VAL
INT128_VAL
INT16_VAL
INT32_VAL
INT64_VAL
INT8_VAL
STRING_VAL
UINT128_VAL
UINT16_VAL
UINT32_VAL
UINT64_VAL
UINT8_VAL
VALUE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Schema.PrimitiveValue.ValueCase
forNumber(int value)
int
getNumber()
static Schema.PrimitiveValue.ValueCase
valueOf(int value)
Deprecated.static Schema.PrimitiveValue.ValueCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static Schema.PrimitiveValue.ValueCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT128_VAL
public static final Schema.PrimitiveValue.ValueCase INT128_VAL
-
INT64_VAL
public static final Schema.PrimitiveValue.ValueCase INT64_VAL
-
INT32_VAL
public static final Schema.PrimitiveValue.ValueCase INT32_VAL
-
INT16_VAL
public static final Schema.PrimitiveValue.ValueCase INT16_VAL
-
INT8_VAL
public static final Schema.PrimitiveValue.ValueCase INT8_VAL
-
UINT128_VAL
public static final Schema.PrimitiveValue.ValueCase UINT128_VAL
-
UINT64_VAL
public static final Schema.PrimitiveValue.ValueCase UINT64_VAL
-
UINT32_VAL
public static final Schema.PrimitiveValue.ValueCase UINT32_VAL
-
UINT16_VAL
public static final Schema.PrimitiveValue.ValueCase UINT16_VAL
-
UINT8_VAL
public static final Schema.PrimitiveValue.ValueCase UINT8_VAL
-
FLOAT64_VAL
public static final Schema.PrimitiveValue.ValueCase FLOAT64_VAL
-
FLOAT32_VAL
public static final Schema.PrimitiveValue.ValueCase FLOAT32_VAL
-
FLOAT16_VAL
public static final Schema.PrimitiveValue.ValueCase FLOAT16_VAL
-
CHAR_VAL
public static final Schema.PrimitiveValue.ValueCase CHAR_VAL
-
BOOL_VAL
public static final Schema.PrimitiveValue.ValueCase BOOL_VAL
-
STRING_VAL
public static final Schema.PrimitiveValue.ValueCase STRING_VAL
-
VALUE_NOT_SET
public static final Schema.PrimitiveValue.ValueCase VALUE_NOT_SET
-
-
Method Detail
-
values
public static Schema.PrimitiveValue.ValueCase[] 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.PrimitiveValue.ValueCase c : Schema.PrimitiveValue.ValueCase.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.PrimitiveValue.ValueCase 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
-
valueOf
@Deprecated public static Schema.PrimitiveValue.ValueCase 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.PrimitiveValue.ValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-