|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GtfsRealtime.TripDescriptor.ScheduleRelationship>
com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship
public static enum GtfsRealtime.TripDescriptor.ScheduleRelationship
Protobuf enum transit_realtime.TripDescriptor.ScheduleRelationship
The relation between this trip and the static schedule. If a trip is done in accordance with temporary schedule, not reflected in GTFS, then it shouldn't be marked as SCHEDULED, but likely as ADDED.
| Enum Constant Summary | |
|---|---|
ADDED
ADDED = 1; |
|
CANCELED
CANCELED = 3; |
|
SCHEDULED
SCHEDULED = 0; |
|
UNSCHEDULED
UNSCHEDULED = 2; |
|
| Field Summary | |
|---|---|
static int |
ADDED_VALUE
ADDED = 1; |
static int |
CANCELED_VALUE
CANCELED = 3; |
static int |
SCHEDULED_VALUE
SCHEDULED = 0; |
static int |
UNSCHEDULED_VALUE
UNSCHEDULED = 2; |
| 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.TripDescriptor.ScheduleRelationship> |
internalGetValueMap()
|
static GtfsRealtime.TripDescriptor.ScheduleRelationship |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static GtfsRealtime.TripDescriptor.ScheduleRelationship |
valueOf(int value)
|
static GtfsRealtime.TripDescriptor.ScheduleRelationship |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GtfsRealtime.TripDescriptor.ScheduleRelationship[] |
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.TripDescriptor.ScheduleRelationship SCHEDULED
SCHEDULED = 0;
Trip that is running in accordance with its GTFS schedule, or is close enough to the scheduled trip to be associated with it.
public static final GtfsRealtime.TripDescriptor.ScheduleRelationship ADDED
ADDED = 1;
An extra trip that was added in addition to a running schedule, for example, to replace a broken vehicle or to respond to sudden passenger load.
public static final GtfsRealtime.TripDescriptor.ScheduleRelationship UNSCHEDULED
UNSCHEDULED = 2;
A trip that is running with no schedule associated to it, for example, if there is no schedule at all.
public static final GtfsRealtime.TripDescriptor.ScheduleRelationship CANCELED
CANCELED = 3;
A trip that existed in the schedule but was removed.
| Field Detail |
|---|
public static final int SCHEDULED_VALUE
SCHEDULED = 0;
Trip that is running in accordance with its GTFS schedule, or is close enough to the scheduled trip to be associated with it.
public static final int ADDED_VALUE
ADDED = 1;
An extra trip that was added in addition to a running schedule, for example, to replace a broken vehicle or to respond to sudden passenger load.
public static final int UNSCHEDULED_VALUE
UNSCHEDULED = 2;
A trip that is running with no schedule associated to it, for example, if there is no schedule at all.
public static final int CANCELED_VALUE
CANCELED = 3;
A trip that existed in the schedule but was removed.
| Method Detail |
|---|
public static GtfsRealtime.TripDescriptor.ScheduleRelationship[] values()
for (GtfsRealtime.TripDescriptor.ScheduleRelationship c : GtfsRealtime.TripDescriptor.ScheduleRelationship.values()) System.out.println(c);
public static GtfsRealtime.TripDescriptor.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 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.TripDescriptor.ScheduleRelationship valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.TripDescriptor.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.TripDescriptor.ScheduleRelationship 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 | ||||||||