com.google.transit.realtime
Interface GtfsRealtime.TripDescriptorOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripDescriptor>, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GtfsRealtime.TripDescriptor, GtfsRealtime.TripDescriptor.Builder
Enclosing class:
GtfsRealtime

public static interface GtfsRealtime.TripDescriptorOrBuilder
extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripDescriptor>


Method Summary
 int getDirectionId()
          optional uint32 direction_id = 6;
 String getRouteId()
          optional string route_id = 5;
 com.google.protobuf.ByteString getRouteIdBytes()
          optional string route_id = 5;
 GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship()
          optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
 String getStartDate()
          optional string start_date = 3;
 com.google.protobuf.ByteString getStartDateBytes()
          optional string start_date = 3;
 String getStartTime()
          optional string start_time = 2;
 com.google.protobuf.ByteString getStartTimeBytes()
          optional string start_time = 2;
 String getTripId()
          optional string trip_id = 1;
 com.google.protobuf.ByteString getTripIdBytes()
          optional string trip_id = 1;
 boolean hasDirectionId()
          optional uint32 direction_id = 6;
 boolean hasRouteId()
          optional string route_id = 5;
 boolean hasScheduleRelationship()
          optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
 boolean hasStartDate()
          optional string start_date = 3;
 boolean hasStartTime()
          optional string start_time = 2;
 boolean hasTripId()
          optional string trip_id = 1;
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasTripId

boolean hasTripId()
optional string trip_id = 1;
 The trip_id from the GTFS feed that this selector refers to.
 For non frequency-based trips, this field is enough to uniquely identify
 the trip. For frequency-based trip, start_time and start_date might also be
 necessary.
 


getTripId

String getTripId()
optional string trip_id = 1;
 The trip_id from the GTFS feed that this selector refers to.
 For non frequency-based trips, this field is enough to uniquely identify
 the trip. For frequency-based trip, start_time and start_date might also be
 necessary.
 


getTripIdBytes

com.google.protobuf.ByteString getTripIdBytes()
optional string trip_id = 1;
 The trip_id from the GTFS feed that this selector refers to.
 For non frequency-based trips, this field is enough to uniquely identify
 the trip. For frequency-based trip, start_time and start_date might also be
 necessary.
 


hasRouteId

boolean hasRouteId()
optional string route_id = 5;
 The route_id from the GTFS that this selector refers to.
 


getRouteId

String getRouteId()
optional string route_id = 5;
 The route_id from the GTFS that this selector refers to.
 


getRouteIdBytes

com.google.protobuf.ByteString getRouteIdBytes()
optional string route_id = 5;
 The route_id from the GTFS that this selector refers to.
 


hasDirectionId

boolean hasDirectionId()
optional uint32 direction_id = 6;
 The direction_id from the GTFS feed trips.txt file, indicating the
 direction of travel for trips this selector refers to. This field is
 still experimental, and subject to change. It may be formally adopted in
 the future.
 


getDirectionId

int getDirectionId()
optional uint32 direction_id = 6;
 The direction_id from the GTFS feed trips.txt file, indicating the
 direction of travel for trips this selector refers to. This field is
 still experimental, and subject to change. It may be formally adopted in
 the future.
 


hasStartTime

boolean hasStartTime()
optional string start_time = 2;
 The initially scheduled start time of this trip instance.
 When the trip_id corresponds to a non-frequency-based trip, this field
 should either be omitted or be equal to the value in the GTFS feed. When
 the trip_id correponds to a frequency-based trip, the start_time must be
 specified for trip updates and vehicle positions. If the trip corresponds
 to exact_times=1 GTFS record, then start_time must be some multiple
 (including zero) of headway_secs later than frequencies.txt start_time for
 the corresponding time period. If the trip corresponds to exact_times=0,
 then its start_time may be arbitrary, and is initially expected to be the
 first departure of the trip. Once established, the start_time of this
 frequency-based trip should be considered immutable, even if the first
 departure time changes -- that time change may instead be reflected in a
 StopTimeUpdate.
 Format and semantics of the field is same as that of
 GTFS/frequencies.txt/start_time, e.g., 11:15:35 or 25:15:35.
 


getStartTime

String getStartTime()
optional string start_time = 2;
 The initially scheduled start time of this trip instance.
 When the trip_id corresponds to a non-frequency-based trip, this field
 should either be omitted or be equal to the value in the GTFS feed. When
 the trip_id correponds to a frequency-based trip, the start_time must be
 specified for trip updates and vehicle positions. If the trip corresponds
 to exact_times=1 GTFS record, then start_time must be some multiple
 (including zero) of headway_secs later than frequencies.txt start_time for
 the corresponding time period. If the trip corresponds to exact_times=0,
 then its start_time may be arbitrary, and is initially expected to be the
 first departure of the trip. Once established, the start_time of this
 frequency-based trip should be considered immutable, even if the first
 departure time changes -- that time change may instead be reflected in a
 StopTimeUpdate.
 Format and semantics of the field is same as that of
 GTFS/frequencies.txt/start_time, e.g., 11:15:35 or 25:15:35.
 


getStartTimeBytes

com.google.protobuf.ByteString getStartTimeBytes()
optional string start_time = 2;
 The initially scheduled start time of this trip instance.
 When the trip_id corresponds to a non-frequency-based trip, this field
 should either be omitted or be equal to the value in the GTFS feed. When
 the trip_id correponds to a frequency-based trip, the start_time must be
 specified for trip updates and vehicle positions. If the trip corresponds
 to exact_times=1 GTFS record, then start_time must be some multiple
 (including zero) of headway_secs later than frequencies.txt start_time for
 the corresponding time period. If the trip corresponds to exact_times=0,
 then its start_time may be arbitrary, and is initially expected to be the
 first departure of the trip. Once established, the start_time of this
 frequency-based trip should be considered immutable, even if the first
 departure time changes -- that time change may instead be reflected in a
 StopTimeUpdate.
 Format and semantics of the field is same as that of
 GTFS/frequencies.txt/start_time, e.g., 11:15:35 or 25:15:35.
 


hasStartDate

boolean hasStartDate()
optional string start_date = 3;
 The scheduled start date of this trip instance.
 Must be provided to disambiguate trips that are so late as to collide with
 a scheduled trip on a next day. For example, for a train that departs 8:00
 and 20:00 every day, and is 12 hours late, there would be two distinct
 trips on the same time.
 This field can be provided but is not mandatory for schedules in which such
 collisions are impossible - for example, a service running on hourly
 schedule where a vehicle that is one hour late is not considered to be
 related to schedule anymore.
 In YYYYMMDD format.
 


getStartDate

String getStartDate()
optional string start_date = 3;
 The scheduled start date of this trip instance.
 Must be provided to disambiguate trips that are so late as to collide with
 a scheduled trip on a next day. For example, for a train that departs 8:00
 and 20:00 every day, and is 12 hours late, there would be two distinct
 trips on the same time.
 This field can be provided but is not mandatory for schedules in which such
 collisions are impossible - for example, a service running on hourly
 schedule where a vehicle that is one hour late is not considered to be
 related to schedule anymore.
 In YYYYMMDD format.
 


getStartDateBytes

com.google.protobuf.ByteString getStartDateBytes()
optional string start_date = 3;
 The scheduled start date of this trip instance.
 Must be provided to disambiguate trips that are so late as to collide with
 a scheduled trip on a next day. For example, for a train that departs 8:00
 and 20:00 every day, and is 12 hours late, there would be two distinct
 trips on the same time.
 This field can be provided but is not mandatory for schedules in which such
 collisions are impossible - for example, a service running on hourly
 schedule where a vehicle that is one hour late is not considered to be
 related to schedule anymore.
 In YYYYMMDD format.
 


hasScheduleRelationship

boolean hasScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;


getScheduleRelationship

GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;



Copyright © 2015. All Rights Reserved.