public static enum EmbeddedSass.LogEventType extends Enum<EmbeddedSass.LogEventType> implements com.google.protobuf.ProtocolMessageEnum
The possible types of [LogEvent].Protobuf enum
sass.embedded_protocol.LogEventType
Enum Constant and 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.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedSass.LogEventType |
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<EmbeddedSass.LogEventType> |
internalGetValueMap() |
static EmbeddedSass.LogEventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EmbeddedSass.LogEventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EmbeddedSass.LogEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddedSass.LogEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddedSass.LogEventType WARNING
A warning for something other than a deprecated Sass feature. Often emitted due to a stylesheet using the `@warn` rule.
WARNING = 0;
public static final EmbeddedSass.LogEventType 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;
public static final EmbeddedSass.LogEventType DEBUG
A message generated by the user for their own debugging purposes.
DEBUG = 2;
public static final EmbeddedSass.LogEventType UNRECOGNIZED
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;
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;
public static final int DEBUG_VALUE
A message generated by the user for their own debugging purposes.
DEBUG = 2;
public static EmbeddedSass.LogEventType[] values()
for (EmbeddedSass.LogEventType c : EmbeddedSass.LogEventType.values()) System.out.println(c);
public static EmbeddedSass.LogEventType 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static EmbeddedSass.LogEventType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EmbeddedSass.LogEventType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EmbeddedSass.LogEventType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EmbeddedSass.LogEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)