|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GtfsRealtime.VehiclePosition.CongestionLevel>
com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel
public static enum GtfsRealtime.VehiclePosition.CongestionLevel
Protobuf enum transit_realtime.VehiclePosition.CongestionLevel
Congestion level that is affecting this vehicle.
| Enum Constant Summary | |
|---|---|
CONGESTION
CONGESTION = 3; |
|
RUNNING_SMOOTHLY
RUNNING_SMOOTHLY = 1; |
|
SEVERE_CONGESTION
SEVERE_CONGESTION = 4; |
|
STOP_AND_GO
STOP_AND_GO = 2; |
|
UNKNOWN_CONGESTION_LEVEL
UNKNOWN_CONGESTION_LEVEL = 0; |
|
| Field Summary | |
|---|---|
static int |
CONGESTION_VALUE
CONGESTION = 3; |
static int |
RUNNING_SMOOTHLY_VALUE
RUNNING_SMOOTHLY = 1; |
static int |
SEVERE_CONGESTION_VALUE
SEVERE_CONGESTION = 4; |
static int |
STOP_AND_GO_VALUE
STOP_AND_GO = 2; |
static int |
UNKNOWN_CONGESTION_LEVEL_VALUE
UNKNOWN_CONGESTION_LEVEL = 0; |
| 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.VehiclePosition.CongestionLevel> |
internalGetValueMap()
|
static GtfsRealtime.VehiclePosition.CongestionLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static GtfsRealtime.VehiclePosition.CongestionLevel |
valueOf(int value)
|
static GtfsRealtime.VehiclePosition.CongestionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GtfsRealtime.VehiclePosition.CongestionLevel[] |
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.VehiclePosition.CongestionLevel UNKNOWN_CONGESTION_LEVEL
UNKNOWN_CONGESTION_LEVEL = 0;
public static final GtfsRealtime.VehiclePosition.CongestionLevel RUNNING_SMOOTHLY
RUNNING_SMOOTHLY = 1;
public static final GtfsRealtime.VehiclePosition.CongestionLevel STOP_AND_GO
STOP_AND_GO = 2;
public static final GtfsRealtime.VehiclePosition.CongestionLevel CONGESTION
CONGESTION = 3;
public static final GtfsRealtime.VehiclePosition.CongestionLevel SEVERE_CONGESTION
SEVERE_CONGESTION = 4;
People leaving their cars.
| Field Detail |
|---|
public static final int UNKNOWN_CONGESTION_LEVEL_VALUE
UNKNOWN_CONGESTION_LEVEL = 0;
public static final int RUNNING_SMOOTHLY_VALUE
RUNNING_SMOOTHLY = 1;
public static final int STOP_AND_GO_VALUE
STOP_AND_GO = 2;
public static final int CONGESTION_VALUE
CONGESTION = 3;
public static final int SEVERE_CONGESTION_VALUE
SEVERE_CONGESTION = 4;
People leaving their cars.
| Method Detail |
|---|
public static GtfsRealtime.VehiclePosition.CongestionLevel[] values()
for (GtfsRealtime.VehiclePosition.CongestionLevel c : GtfsRealtime.VehiclePosition.CongestionLevel.values()) System.out.println(c);
public static GtfsRealtime.VehiclePosition.CongestionLevel 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.VehiclePosition.CongestionLevel valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.VehiclePosition.CongestionLevel> 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.VehiclePosition.CongestionLevel 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 | ||||||||