Package sass.embedded_protocol
Enum Class EmbeddedSass.SingletonValue
- All Implemented Interfaces:
Internal.EnumLite
,ProtocolMessageEnum
,Serializable
,Comparable<EmbeddedSass.SingletonValue>
,Constable
- Enclosing class:
- EmbeddedSass
public static enum EmbeddedSass.SingletonValue
extends Enum<EmbeddedSass.SingletonValue>
implements ProtocolMessageEnum
Singleton SassScript values that have no internal state.Protobuf enum
sass.embedded_protocol.SingletonValue
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe SassScript boolean false value.The SassScript null value.The SassScript boolean true value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The SassScript boolean false value.static final int
The SassScript null value.static final int
The SassScript boolean true value. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddedSass.SingletonValue
forNumber
(int value) static final Descriptors.EnumDescriptor
final int
static EmbeddedSass.SingletonValue
valueOf
(int value) Deprecated.static EmbeddedSass.SingletonValue
Returns the enum constant of this class with the specified name.static EmbeddedSass.SingletonValue
Returns the enum constant of this class with the specified name.static EmbeddedSass.SingletonValue[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRUE
The SassScript boolean true value.
TRUE = 0;
-
FALSE
The SassScript boolean false value.
FALSE = 1;
-
NULL
The SassScript null value.
NULL = 2;
-
UNRECOGNIZED
-
-
Field Details
-
TRUE_VALUE
public static final int TRUE_VALUEThe SassScript boolean true value.
TRUE = 0;
- See Also:
-
FALSE_VALUE
public static final int FALSE_VALUEThe SassScript boolean false value.
FALSE = 1;
- See Also:
-
NULL_VALUE
public static final int NULL_VALUEThe SassScript null value.
NULL = 2;
- 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:
getNumber
in interfaceInternal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForType
in 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
-