|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GtfsRealtime.Alert.Cause>
com.google.transit.realtime.GtfsRealtime.Alert.Cause
public static enum GtfsRealtime.Alert.Cause
Protobuf enum transit_realtime.Alert.Cause
Cause of this alert.
| Enum Constant Summary | |
|---|---|
ACCIDENT
ACCIDENT = 6; |
|
CONSTRUCTION
CONSTRUCTION = 10; |
|
DEMONSTRATION
DEMONSTRATION = 5; |
|
HOLIDAY
HOLIDAY = 7; |
|
MAINTENANCE
MAINTENANCE = 9; |
|
MEDICAL_EMERGENCY
MEDICAL_EMERGENCY = 12; |
|
OTHER_CAUSE
OTHER_CAUSE = 2; |
|
POLICE_ACTIVITY
POLICE_ACTIVITY = 11; |
|
STRIKE
STRIKE = 4; |
|
TECHNICAL_PROBLEM
TECHNICAL_PROBLEM = 3; |
|
UNKNOWN_CAUSE
UNKNOWN_CAUSE = 1; |
|
WEATHER
WEATHER = 8; |
|
| Field Summary | |
|---|---|
static int |
ACCIDENT_VALUE
ACCIDENT = 6; |
static int |
CONSTRUCTION_VALUE
CONSTRUCTION = 10; |
static int |
DEMONSTRATION_VALUE
DEMONSTRATION = 5; |
static int |
HOLIDAY_VALUE
HOLIDAY = 7; |
static int |
MAINTENANCE_VALUE
MAINTENANCE = 9; |
static int |
MEDICAL_EMERGENCY_VALUE
MEDICAL_EMERGENCY = 12; |
static int |
OTHER_CAUSE_VALUE
OTHER_CAUSE = 2; |
static int |
POLICE_ACTIVITY_VALUE
POLICE_ACTIVITY = 11; |
static int |
STRIKE_VALUE
STRIKE = 4; |
static int |
TECHNICAL_PROBLEM_VALUE
TECHNICAL_PROBLEM = 3; |
static int |
UNKNOWN_CAUSE_VALUE
UNKNOWN_CAUSE = 1; |
static int |
WEATHER_VALUE
WEATHER = 8; |
| Method Summary | |
|---|---|
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.Cause> |
internalGetValueMap()
|
static GtfsRealtime.Alert.Cause |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static GtfsRealtime.Alert.Cause |
valueOf(int value)
|
static GtfsRealtime.Alert.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GtfsRealtime.Alert.Cause[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GtfsRealtime.Alert.Cause UNKNOWN_CAUSE
UNKNOWN_CAUSE = 1;
public static final GtfsRealtime.Alert.Cause OTHER_CAUSE
OTHER_CAUSE = 2;
Not machine-representable.
public static final GtfsRealtime.Alert.Cause TECHNICAL_PROBLEM
TECHNICAL_PROBLEM = 3;
public static final GtfsRealtime.Alert.Cause STRIKE
STRIKE = 4;
Public transit agency employees stopped working.
public static final GtfsRealtime.Alert.Cause DEMONSTRATION
DEMONSTRATION = 5;
People are blocking the streets.
public static final GtfsRealtime.Alert.Cause ACCIDENT
ACCIDENT = 6;
public static final GtfsRealtime.Alert.Cause HOLIDAY
HOLIDAY = 7;
public static final GtfsRealtime.Alert.Cause WEATHER
WEATHER = 8;
public static final GtfsRealtime.Alert.Cause MAINTENANCE
MAINTENANCE = 9;
public static final GtfsRealtime.Alert.Cause CONSTRUCTION
CONSTRUCTION = 10;
public static final GtfsRealtime.Alert.Cause POLICE_ACTIVITY
POLICE_ACTIVITY = 11;
public static final GtfsRealtime.Alert.Cause MEDICAL_EMERGENCY
MEDICAL_EMERGENCY = 12;
| Field Detail |
|---|
public static final int UNKNOWN_CAUSE_VALUE
UNKNOWN_CAUSE = 1;
public static final int OTHER_CAUSE_VALUE
OTHER_CAUSE = 2;
Not machine-representable.
public static final int TECHNICAL_PROBLEM_VALUE
TECHNICAL_PROBLEM = 3;
public static final int STRIKE_VALUE
STRIKE = 4;
Public transit agency employees stopped working.
public static final int DEMONSTRATION_VALUE
DEMONSTRATION = 5;
People are blocking the streets.
public static final int ACCIDENT_VALUE
ACCIDENT = 6;
public static final int HOLIDAY_VALUE
HOLIDAY = 7;
public static final int WEATHER_VALUE
WEATHER = 8;
public static final int MAINTENANCE_VALUE
MAINTENANCE = 9;
public static final int CONSTRUCTION_VALUE
CONSTRUCTION = 10;
public static final int POLICE_ACTIVITY_VALUE
POLICE_ACTIVITY = 11;
public static final int MEDICAL_EMERGENCY_VALUE
MEDICAL_EMERGENCY = 12;
| Method Detail |
|---|
public static GtfsRealtime.Alert.Cause[] values()
for (GtfsRealtime.Alert.Cause c : GtfsRealtime.Alert.Cause.values()) System.out.println(c);
public static GtfsRealtime.Alert.Cause valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static GtfsRealtime.Alert.Cause valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.Alert.Cause> 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.Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||