public static enum GtfsRealtime.Alert.SeverityLevel extends Enum<GtfsRealtime.Alert.SeverityLevel> implements com.google.protobuf.ProtocolMessageEnum
Severity of this alert. This field is still experimental, and subject to change. It may be formally adopted in the future.Protobuf enum
transit_realtime.Alert.SeverityLevel| Enum Constant and Description |
|---|
INFO
INFO = 2; |
SEVERE
SEVERE = 4; |
UNKNOWN_SEVERITY
UNKNOWN_SEVERITY = 1; |
WARNING
WARNING = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
INFO_VALUE
INFO = 2; |
static int |
SEVERE_VALUE
SEVERE = 4; |
static int |
UNKNOWN_SEVERITY_VALUE
UNKNOWN_SEVERITY = 1; |
static int |
WARNING_VALUE
WARNING = 3; |
| Modifier and Type | Method and Description |
|---|---|
static GtfsRealtime.Alert.SeverityLevel |
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<GtfsRealtime.Alert.SeverityLevel> |
internalGetValueMap() |
static GtfsRealtime.Alert.SeverityLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GtfsRealtime.Alert.SeverityLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GtfsRealtime.Alert.SeverityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtfsRealtime.Alert.SeverityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtfsRealtime.Alert.SeverityLevel UNKNOWN_SEVERITY
UNKNOWN_SEVERITY = 1;public static final GtfsRealtime.Alert.SeverityLevel INFO
INFO = 2;public static final GtfsRealtime.Alert.SeverityLevel WARNING
WARNING = 3;public static final GtfsRealtime.Alert.SeverityLevel SEVERE
SEVERE = 4;public static final int UNKNOWN_SEVERITY_VALUE
UNKNOWN_SEVERITY = 1;public static final int INFO_VALUE
INFO = 2;public static final int WARNING_VALUE
WARNING = 3;public static final int SEVERE_VALUE
SEVERE = 4;public static GtfsRealtime.Alert.SeverityLevel[] values()
for (GtfsRealtime.Alert.SeverityLevel c : GtfsRealtime.Alert.SeverityLevel.values()) System.out.println(c);
public static GtfsRealtime.Alert.SeverityLevel 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 GtfsRealtime.Alert.SeverityLevel valueOf(int value)
forNumber(int) instead.public static GtfsRealtime.Alert.SeverityLevel forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.Alert.SeverityLevel> 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 GtfsRealtime.Alert.SeverityLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.