Package sass.embedded_protocol
Enum EmbeddedSass.Value.Singleton
- java.lang.Object
-
- java.lang.Enum<EmbeddedSass.Value.Singleton>
-
- sass.embedded_protocol.EmbeddedSass.Value.Singleton
-
- All Implemented Interfaces:
Internal.EnumLite
,ProtocolMessageEnum
,Serializable
,Comparable<EmbeddedSass.Value.Singleton>
- Enclosing class:
- EmbeddedSass.Value
public static enum EmbeddedSass.Value.Singleton extends Enum<EmbeddedSass.Value.Singleton> implements ProtocolMessageEnum
Singleton SassScript values that have no internal state.
Protobuf enumsass.embedded_protocol.Value.Singleton
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FALSE
The SassScript boolean false value.NULL
The SassScript null value.TRUE
The SassScript boolean true value.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
FALSE_VALUE
The SassScript boolean false value.static int
NULL_VALUE
The SassScript null value.static int
TRUE_VALUE
The SassScript boolean true value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EmbeddedSass.Value.Singleton
forNumber(int value)
static Descriptors.EnumDescriptor
getDescriptor()
Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
Descriptors.EnumValueDescriptor
getValueDescriptor()
static Internal.EnumLiteMap<EmbeddedSass.Value.Singleton>
internalGetValueMap()
static EmbeddedSass.Value.Singleton
valueOf(int value)
Deprecated.static EmbeddedSass.Value.Singleton
valueOf(Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EmbeddedSass.Value.Singleton
valueOf(String name)
Returns the enum constant of this type with the specified name.static EmbeddedSass.Value.Singleton[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final EmbeddedSass.Value.Singleton TRUE
The SassScript boolean true value.
TRUE = 0;
-
FALSE
public static final EmbeddedSass.Value.Singleton FALSE
The SassScript boolean false value.
FALSE = 1;
-
NULL
public static final EmbeddedSass.Value.Singleton NULL
The SassScript null value.
NULL = 2;
-
UNRECOGNIZED
public static final EmbeddedSass.Value.Singleton UNRECOGNIZED
-
-
Field Detail
-
TRUE_VALUE
public static final int TRUE_VALUE
The SassScript boolean true value.
TRUE = 0;
- See Also:
- Constant Field Values
-
FALSE_VALUE
public static final int FALSE_VALUE
The SassScript boolean false value.
FALSE = 1;
- See Also:
- Constant Field Values
-
NULL_VALUE
public static final int NULL_VALUE
The SassScript null value.
NULL = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EmbeddedSass.Value.Singleton[] 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 (EmbeddedSass.Value.Singleton c : EmbeddedSass.Value.Singleton.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmbeddedSass.Value.Singleton 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 interfaceInternal.EnumLite
- Specified by:
getNumber
in interfaceProtocolMessageEnum
-
valueOf
@Deprecated public static EmbeddedSass.Value.Singleton 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 EmbeddedSass.Value.Singleton 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 Internal.EnumLiteMap<EmbeddedSass.Value.Singleton> internalGetValueMap()
-
getValueDescriptor
public final Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfaceProtocolMessageEnum
-
getDescriptorForType
public final Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceProtocolMessageEnum
-
getDescriptor
public static final Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EmbeddedSass.Value.Singleton valueOf(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
-
-