public static enum GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship extends Enum<GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship> implements com.google.protobuf.ProtocolMessageEnum
transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship
The relation between this StopTime and the static schedule.
Enum Constant and Description |
---|
NO_DATA
NO_DATA = 2; |
SCHEDULED
SCHEDULED = 0; |
SKIPPED
SKIPPED = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
NO_DATA_VALUE
NO_DATA = 2; |
static int |
SCHEDULED_VALUE
SCHEDULED = 0; |
static int |
SKIPPED_VALUE
SKIPPED = 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.TripUpdate.StopTimeUpdate.ScheduleRelationship> |
internalGetValueMap() |
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
valueOf(int value) |
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
SCHEDULED = 0;
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.
public static final GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship SKIPPED
SKIPPED = 1;
The stop is skipped, i.e., the vehicle will not stop at this stop. Arrival and departure are optional.
public static final GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship NO_DATA
NO_DATA = 2;
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.
public static final int SCHEDULED_VALUE
SCHEDULED = 0;
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.
public static final int SKIPPED_VALUE
SKIPPED = 1;
The stop is skipped, i.e., the vehicle will not stop at this stop. Arrival and departure are optional.
public static final int NO_DATA_VALUE
NO_DATA = 2;
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.
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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship valueOf(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.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.TripUpdate.StopTimeUpdate.ScheduleRelationship valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.