public static enum GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship extends Enum<GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship> implements com.google.protobuf.ProtocolMessageEnum
The relation between this StopTime and the static schedule.Protobuf enum
transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship| Enum Constant and Description |
|---|
NO_DATA
No data is given for this stop.
|
SCHEDULED
The vehicle is proceeding in accordance with its static schedule of
stops, although not necessarily according to the times of the schedule.
|
SKIPPED
The stop is skipped, i.e., the vehicle will not stop at this stop.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_DATA_VALUE
No data is given for this stop.
|
static int |
SCHEDULED_VALUE
The vehicle is proceeding in accordance with its static schedule of
stops, although not necessarily according to the times of the schedule.
|
static int |
SKIPPED_VALUE
The stop is skipped, i.e., the vehicle will not stop at this stop.
|
| Modifier and Type | Method and Description |
|---|---|
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
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.TripUpdate.StopTimeUpdate.ScheduleRelationship> |
internalGetValueMap() |
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship SCHEDULED
The vehicle is proceeding in accordance with its static schedule of stops, although not necessarily according to the times of the schedule. At least one of arrival and departure must be provided. If the schedule for this stop contains both arrival and departure times then so must this update.
SCHEDULED = 0;public static final GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship SKIPPED
The stop is skipped, i.e., the vehicle will not stop at this stop. Arrival and departure are optional.
SKIPPED = 1;public static final GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship NO_DATA
No data is given for this stop. The main intention for this value is to give the predictions only for part of a trip, i.e., if the last update for a trip has a NO_DATA specifier, then StopTimes for the rest of the stops in the trip are considered to be unspecified as well. Neither arrival nor departure should be supplied.
NO_DATA = 2;public static final int SCHEDULED_VALUE
The vehicle is proceeding in accordance with its static schedule of stops, although not necessarily according to the times of the schedule. At least one of arrival and departure must be provided. If the schedule for this stop contains both arrival and departure times then so must this update.
SCHEDULED = 0;public static final int SKIPPED_VALUE
The stop is skipped, i.e., the vehicle will not stop at this stop. Arrival and departure are optional.
SKIPPED = 1;public static final int NO_DATA_VALUE
No data is given for this stop. The main intention for this value is to give the predictions only for part of a trip, i.e., if the last update for a trip has a NO_DATA specifier, then StopTimes for the rest of the stops in the trip are considered to be unspecified as well. Neither arrival nor departure should be supplied.
NO_DATA = 2;public static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship[] values()
for (GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship c : GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship.values()) System.out.println(c);
public static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship 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.TripUpdate.StopTimeUpdate.ScheduleRelationship valueOf(int value)
forNumber(int) instead.public static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship> 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.TripUpdate.StopTimeUpdate.ScheduleRelationship valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.