public enum SingletonValue extends Enum<SingletonValue> implements com.google.protobuf.ProtocolMessageEnum
Singleton SassScript values that have no internal state.Protobuf enum
sass.embedded_protocol.SingletonValue| Enum Constant and Description |
|---|
FALSE
The SassScript boolean false value.
|
NULL
The SassScript null value.
|
TRUE
The SassScript boolean true value.
|
UNRECOGNIZED |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and Description |
|---|---|
static SingletonValue |
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<SingletonValue> |
internalGetValueMap() |
static SingletonValue |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SingletonValue |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SingletonValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SingletonValue TRUE
The SassScript boolean true value.
TRUE = 0;public static final SingletonValue FALSE
The SassScript boolean false value.
FALSE = 1;public static final SingletonValue NULL
The SassScript null value.
NULL = 2;public static final SingletonValue UNRECOGNIZED
public static final int TRUE_VALUE
The SassScript boolean true value.
TRUE = 0;public static final int FALSE_VALUE
The SassScript boolean false value.
FALSE = 1;public static final int NULL_VALUE
The SassScript null value.
NULL = 2;public static SingletonValue[] values()
for (SingletonValue c : SingletonValue.values()) System.out.println(c);
public static SingletonValue valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SingletonValue valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SingletonValue forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SingletonValue> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SingletonValue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)