public enum LogEventType extends Enum<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 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<LogEventType> |
internalGetValueMap() |
static LogEventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LogEventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LogEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final 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 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 LogEventType DEBUG
A message generated by the user for their own debugging purposes.
DEBUG = 2;public static final 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 LogEventType[] values()
for (LogEventType c : LogEventType.values()) System.out.println(c);
public static 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LogEventType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LogEventType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LogEventType> 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 LogEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)