Package sass.embedded_protocol
Enum EmbeddedSass.OutboundMessage.LogEvent.Type
- java.lang.Object
-
- java.lang.Enum<EmbeddedSass.OutboundMessage.LogEvent.Type>
-
- sass.embedded_protocol.EmbeddedSass.OutboundMessage.LogEvent.Type
-
- All Implemented Interfaces:
Internal.EnumLite
,ProtocolMessageEnum
,Serializable
,Comparable<EmbeddedSass.OutboundMessage.LogEvent.Type>
- Enclosing class:
- EmbeddedSass.OutboundMessage.LogEvent
public static enum EmbeddedSass.OutboundMessage.LogEvent.Type extends Enum<EmbeddedSass.OutboundMessage.LogEvent.Type> implements ProtocolMessageEnum
The type of message.
Protobuf enumsass.embedded_protocol.OutboundMessage.LogEvent.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG
A message generated by the user for their own debugging purposes.DEPRECATION_WARNING
A warning indicating that the stylesheet is using a deprecated Sass feature.UNRECOGNIZED
WARNING
A warning for something other than a deprecated Sass feature.
-
Field Summary
Fields Modifier and Type Field Description static int
DEBUG_VALUE
A message generated by the user for their own debugging purposes.static int
DEPRECATION_WARNING_VALUE
A warning indicating that the stylesheet is using a deprecated Sass feature.static int
WARNING_VALUE
A warning for something other than a deprecated Sass feature.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EmbeddedSass.OutboundMessage.LogEvent.Type
forNumber(int value)
static Descriptors.EnumDescriptor
getDescriptor()
Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
Descriptors.EnumValueDescriptor
getValueDescriptor()
static Internal.EnumLiteMap<EmbeddedSass.OutboundMessage.LogEvent.Type>
internalGetValueMap()
static EmbeddedSass.OutboundMessage.LogEvent.Type
valueOf(int value)
Deprecated.static EmbeddedSass.OutboundMessage.LogEvent.Type
valueOf(Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EmbeddedSass.OutboundMessage.LogEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static EmbeddedSass.OutboundMessage.LogEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARNING
public static final EmbeddedSass.OutboundMessage.LogEvent.Type 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
public static final EmbeddedSass.OutboundMessage.LogEvent.Type 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
public static final EmbeddedSass.OutboundMessage.LogEvent.Type DEBUG
A message generated by the user for their own debugging purposes.
DEBUG = 2;
-
UNRECOGNIZED
public static final EmbeddedSass.OutboundMessage.LogEvent.Type UNRECOGNIZED
-
-
Field Detail
-
WARNING_VALUE
public static final int WARNING_VALUE
A warning for something other than a deprecated Sass feature. Often emitted due to a stylesheet using the `@warn` rule.
WARNING = 0;
- See Also:
- Constant Field Values
-
DEPRECATION_WARNING_VALUE
public static final int DEPRECATION_WARNING_VALUE
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;
- See Also:
- Constant Field Values
-
DEBUG_VALUE
public static final int DEBUG_VALUE
A message generated by the user for their own debugging purposes.
DEBUG = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EmbeddedSass.OutboundMessage.LogEvent.Type[] 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.OutboundMessage.LogEvent.Type c : EmbeddedSass.OutboundMessage.LogEvent.Type.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.OutboundMessage.LogEvent.Type 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.OutboundMessage.LogEvent.Type 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.OutboundMessage.LogEvent.Type 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.OutboundMessage.LogEvent.Type> 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.OutboundMessage.LogEvent.Type 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
-
-