Package sass.embedded_protocol
Enum EmbeddedSass.InboundMessage.Syntax
- java.lang.Object
-
- java.lang.Enum<EmbeddedSass.InboundMessage.Syntax>
-
- sass.embedded_protocol.EmbeddedSass.InboundMessage.Syntax
-
- All Implemented Interfaces:
Internal.EnumLite
,ProtocolMessageEnum
,Serializable
,Comparable<EmbeddedSass.InboundMessage.Syntax>
- Enclosing class:
- EmbeddedSass.InboundMessage
public static enum EmbeddedSass.InboundMessage.Syntax extends Enum<EmbeddedSass.InboundMessage.Syntax> implements ProtocolMessageEnum
Possible syntaxes for a Sass stylesheet.
Protobuf enumsass.embedded_protocol.InboundMessage.Syntax
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSS
Plain CSS syntax that doesn't support any special Sass features.INDENTED
The indented `.sass` syntax.SCSS
The CSS-superset `.scss` syntax.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
CSS_VALUE
Plain CSS syntax that doesn't support any special Sass features.static int
INDENTED_VALUE
The indented `.sass` syntax.static int
SCSS_VALUE
The CSS-superset `.scss` syntax.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EmbeddedSass.InboundMessage.Syntax
forNumber(int value)
static Descriptors.EnumDescriptor
getDescriptor()
Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
Descriptors.EnumValueDescriptor
getValueDescriptor()
static Internal.EnumLiteMap<EmbeddedSass.InboundMessage.Syntax>
internalGetValueMap()
static EmbeddedSass.InboundMessage.Syntax
valueOf(int value)
Deprecated.static EmbeddedSass.InboundMessage.Syntax
valueOf(Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EmbeddedSass.InboundMessage.Syntax
valueOf(String name)
Returns the enum constant of this type with the specified name.static EmbeddedSass.InboundMessage.Syntax[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCSS
public static final EmbeddedSass.InboundMessage.Syntax SCSS
The CSS-superset `.scss` syntax.
SCSS = 0;
-
INDENTED
public static final EmbeddedSass.InboundMessage.Syntax INDENTED
The indented `.sass` syntax.
INDENTED = 1;
-
CSS
public static final EmbeddedSass.InboundMessage.Syntax CSS
Plain CSS syntax that doesn't support any special Sass features.
CSS = 2;
-
UNRECOGNIZED
public static final EmbeddedSass.InboundMessage.Syntax UNRECOGNIZED
-
-
Field Detail
-
SCSS_VALUE
public static final int SCSS_VALUE
The CSS-superset `.scss` syntax.
SCSS = 0;
- See Also:
- Constant Field Values
-
INDENTED_VALUE
public static final int INDENTED_VALUE
The indented `.sass` syntax.
INDENTED = 1;
- See Also:
- Constant Field Values
-
CSS_VALUE
public static final int CSS_VALUE
Plain CSS syntax that doesn't support any special Sass features.
CSS = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EmbeddedSass.InboundMessage.Syntax[] 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.InboundMessage.Syntax c : EmbeddedSass.InboundMessage.Syntax.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.InboundMessage.Syntax 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.InboundMessage.Syntax 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.InboundMessage.Syntax 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.InboundMessage.Syntax> 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.InboundMessage.Syntax 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
-
-