public static enum GtfsRealtime.VehiclePosition.VehicleStopStatus extends Enum<GtfsRealtime.VehiclePosition.VehicleStopStatus> implements com.google.protobuf.ProtocolMessageEnum
transit_realtime.VehiclePosition.VehicleStopStatus
Enum Constant and Description |
---|
IN_TRANSIT_TO
IN_TRANSIT_TO = 2; |
INCOMING_AT
INCOMING_AT = 0; |
STOPPED_AT
STOPPED_AT = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
IN_TRANSIT_TO_VALUE
IN_TRANSIT_TO = 2; |
static int |
INCOMING_AT_VALUE
INCOMING_AT = 0; |
static int |
STOPPED_AT_VALUE
STOPPED_AT = 1; |
Modifier and Type | Method and Description |
---|---|
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.VehicleStopStatus> |
internalGetValueMap() |
static GtfsRealtime.VehiclePosition.VehicleStopStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GtfsRealtime.VehiclePosition.VehicleStopStatus |
valueOf(int value) |
static GtfsRealtime.VehiclePosition.VehicleStopStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtfsRealtime.VehiclePosition.VehicleStopStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtfsRealtime.VehiclePosition.VehicleStopStatus INCOMING_AT
INCOMING_AT = 0;
The vehicle is just about to arrive at the stop (on a stop display, the vehicle symbol typically flashes).
public static final GtfsRealtime.VehiclePosition.VehicleStopStatus STOPPED_AT
STOPPED_AT = 1;
The vehicle is standing at the stop.
public static final GtfsRealtime.VehiclePosition.VehicleStopStatus IN_TRANSIT_TO
IN_TRANSIT_TO = 2;
The vehicle has departed and is in transit to the next stop.
public static final int INCOMING_AT_VALUE
INCOMING_AT = 0;
The vehicle is just about to arrive at the stop (on a stop display, the vehicle symbol typically flashes).
public static final int STOPPED_AT_VALUE
STOPPED_AT = 1;
The vehicle is standing at the stop.
public static final int IN_TRANSIT_TO_VALUE
IN_TRANSIT_TO = 2;
The vehicle has departed and is in transit to the next stop.
public static GtfsRealtime.VehiclePosition.VehicleStopStatus[] values()
for (GtfsRealtime.VehiclePosition.VehicleStopStatus c : GtfsRealtime.VehiclePosition.VehicleStopStatus.values()) System.out.println(c);
public static GtfsRealtime.VehiclePosition.VehicleStopStatus 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.VehiclePosition.VehicleStopStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.