Package sass.embedded_protocol
Enum Class EmbeddedSass.LogEventType
- All Implemented Interfaces:
Internal.EnumLite
,ProtocolMessageEnum
,Serializable
,Comparable<EmbeddedSass.LogEventType>
,Constable
- Enclosing class:
- EmbeddedSass
public static enum EmbeddedSass.LogEventType
extends Enum<EmbeddedSass.LogEventType>
implements ProtocolMessageEnum
The possible types of [LogEvent].Protobuf enum
sass.embedded_protocol.LogEventType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA message generated by the user for their own debugging purposes.A warning indicating that the stylesheet is using a deprecated Sass feature.A warning for something other than a deprecated Sass feature. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
A message generated by the user for their own debugging purposes.static final int
A warning indicating that the stylesheet is using a deprecated Sass feature.static final int
A warning for something other than a deprecated Sass feature. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddedSass.LogEventType
forNumber
(int value) static final Descriptors.EnumDescriptor
final int
static EmbeddedSass.LogEventType
valueOf
(int value) Deprecated.static EmbeddedSass.LogEventType
Returns the enum constant of this class with the specified name.static EmbeddedSass.LogEventType
Returns the enum constant of this class with the specified name.static EmbeddedSass.LogEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WARNING
A warning for something other than a deprecated Sass feature. Often emitted due to a stylesheet using the `@warn` rule.
WARNING = 0;
-
DEPRECATION_WARNING
A warning indicating that the stylesheet is using a deprecated Sass feature. Compilers should not add text like "deprecation warning" to deprecation warnings; it's up to the host to determine how to signal that to the user.
DEPRECATION_WARNING = 1;
-
DEBUG
A message generated by the user for their own debugging purposes.
DEBUG = 2;
-
UNRECOGNIZED
-
-
Field Details
-
WARNING_VALUE
public static final int WARNING_VALUEA warning for something other than a deprecated Sass feature. Often emitted due to a stylesheet using the `@warn` rule.
WARNING = 0;
- See Also:
-
DEPRECATION_WARNING_VALUE
public static final int DEPRECATION_WARNING_VALUEA warning indicating that the stylesheet is using a deprecated Sass feature. Compilers should not add text like "deprecation warning" to deprecation warnings; it's up to the host to determine how to signal that to the user.
DEPRECATION_WARNING = 1;
- See Also:
-
DEBUG_VALUE
public static final int DEBUG_VALUEA message generated by the user for their own debugging purposes.
DEBUG = 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
-