Package xyz.block.ftl.language.v1
Enum Error.ErrorLevel
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum Error.ErrorLevel implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.language.v1.Error.ErrorLevel
-
-
Field Summary
Fields Modifier and Type Field Description public final static intERROR_LEVEL_UNSPECIFIED_VALUEpublic final static intERROR_LEVEL_INFO_VALUEpublic final static intERROR_LEVEL_WARN_VALUEpublic final static intERROR_LEVEL_ERROR_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_LEVEL_UNSPECIFIEDERROR_LEVEL_UNSPECIFIED = 0;ERROR_LEVEL_INFOERROR_LEVEL_INFO = 1;ERROR_LEVEL_WARNERROR_LEVEL_WARN = 2;ERROR_LEVEL_ERRORERROR_LEVEL_ERROR = 3;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static Error.ErrorLevelvalueOf(int value)static Error.ErrorLevelforNumber(int value)static Internal.EnumLiteMap<Error.ErrorLevel>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static Error.ErrorLevelvalueOf(Descriptors.EnumValueDescriptor desc)static Array<Error.ErrorLevel>values()Returns an array containing the constants of this enum type, in the order they're declared. static Error.ErrorLevelvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static Error.ErrorLevel valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static Error.ErrorLevel 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
static Internal.EnumLiteMap<Error.ErrorLevel> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static Error.ErrorLevel valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<Error.ErrorLevel> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static Error.ErrorLevel 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.)
- Returns:
the enum constant with the specified name
-
-
-
-