Package io.deephaven.proto.inputtable
Enum Class NullableBooleanList.BooleanValue
java.lang.Object
java.lang.Enum<NullableBooleanList.BooleanValue>
io.deephaven.proto.inputtable.NullableBooleanList.BooleanValue
- All Implemented Interfaces:
Internal.EnumLite,ProtocolMessageEnum,Serializable,Comparable<NullableBooleanList.BooleanValue>,java.lang.constant.Constable
- Enclosing class:
- NullableBooleanList
public static enum NullableBooleanList.BooleanValue
extends Enum<NullableBooleanList.BooleanValue>
implements ProtocolMessageEnum
a regular "bool" does not permit us to have a null value; so we define our own enumProtobuf enum
io.deephaven.proto.inputtable.NullableBooleanList.BooleanValue-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionfalsenulltrueunknown, this should be treated as an error -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intfalsestatic final intnullstatic final inttruestatic final intunknown, this should be treated as an error -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static Descriptors.EnumDescriptorfinal intvalueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static NullableBooleanList.BooleanValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALUE_UNKNOWN
unknown, this should be treated as an error
VALUE_UNKNOWN = 0; -
VALUE_TRUE
true
VALUE_TRUE = 1; -
VALUE_FALSE
false
VALUE_FALSE = 2; -
VALUE_NULL
null
VALUE_NULL = 3; -
UNRECOGNIZED
-
-
Field Details
-
VALUE_UNKNOWN_VALUE
public static final int VALUE_UNKNOWN_VALUEunknown, this should be treated as an error
VALUE_UNKNOWN = 0;- See Also:
-
VALUE_TRUE_VALUE
public static final int VALUE_TRUE_VALUEtrue
VALUE_TRUE = 1;- See Also:
-
VALUE_FALSE_VALUE
public static final int VALUE_FALSE_VALUEfalse
VALUE_FALSE = 2;- See Also:
-
VALUE_NULL_VALUE
public static final int VALUE_NULL_VALUEnull
VALUE_NULL = 3;- 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 interfaceInternal.EnumLite- Specified by:
getNumberin interfaceProtocolMessageEnum
-
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
- Specified by:
getValueDescriptorin interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
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
-