public static final class GtfsRealtime.TripDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder> implements GtfsRealtime.TripDescriptorOrBuilder
A descriptor that identifies an instance of a GTFS trip, or all instances of a trip along a route. - To specify a single trip instance, the trip_id (and if necessary, start_time) is set. If route_id is also set, then it should be same as one that the given trip corresponds to. - To specify all the trips along a given route, only the route_id should be set. Note that if the trip_id is not known, then stop sequence ids in TripUpdate are not sufficient, and stop_ids must be provided as well. In addition, absolute arrival/departure times must be provided.Protobuf type
transit_realtime.TripDescriptor| Modifier and Type | Method and Description |
|---|---|
<Type> GtfsRealtime.TripDescriptor.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,List<Type>> extension,
Type value) |
GtfsRealtime.TripDescriptor.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GtfsRealtime.TripDescriptor |
build() |
GtfsRealtime.TripDescriptor |
buildPartial() |
GtfsRealtime.TripDescriptor.Builder |
clear() |
GtfsRealtime.TripDescriptor.Builder |
clearDirectionId()
The direction_id from the GTFS feed trips.txt file, indicating the
direction of travel for trips this selector refers to.
|
<Type> GtfsRealtime.TripDescriptor.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,?> extension) |
GtfsRealtime.TripDescriptor.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GtfsRealtime.TripDescriptor.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GtfsRealtime.TripDescriptor.Builder |
clearRouteId()
The route_id from the GTFS that this selector refers to.
|
GtfsRealtime.TripDescriptor.Builder |
clearScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4; |
GtfsRealtime.TripDescriptor.Builder |
clearStartDate()
The scheduled start date of this trip instance.
|
GtfsRealtime.TripDescriptor.Builder |
clearStartTime()
The initially scheduled start time of this trip instance.
|
GtfsRealtime.TripDescriptor.Builder |
clearTripId()
The trip_id from the GTFS feed that this selector refers to.
|
GtfsRealtime.TripDescriptor.Builder |
clone() |
GtfsRealtime.TripDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDirectionId()
The direction_id from the GTFS feed trips.txt file, indicating the
direction of travel for trips this selector refers to.
|
String |
getRouteId()
The route_id from the GTFS that this selector refers to.
|
com.google.protobuf.ByteString |
getRouteIdBytes()
The route_id from the GTFS that this selector refers to.
|
GtfsRealtime.TripDescriptor.ScheduleRelationship |
getScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4; |
String |
getStartDate()
The scheduled start date of this trip instance.
|
com.google.protobuf.ByteString |
getStartDateBytes()
The scheduled start date of this trip instance.
|
String |
getStartTime()
The initially scheduled start time of this trip instance.
|
com.google.protobuf.ByteString |
getStartTimeBytes()
The initially scheduled start time of this trip instance.
|
String |
getTripId()
The trip_id from the GTFS feed that this selector refers to.
|
com.google.protobuf.ByteString |
getTripIdBytes()
The trip_id from the GTFS feed that this selector refers to.
|
boolean |
hasDirectionId()
The direction_id from the GTFS feed trips.txt file, indicating the
direction of travel for trips this selector refers to.
|
boolean |
hasRouteId()
The route_id from the GTFS that this selector refers to.
|
boolean |
hasScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4; |
boolean |
hasStartDate()
The scheduled start date of this trip instance.
|
boolean |
hasStartTime()
The initially scheduled start time of this trip instance.
|
boolean |
hasTripId()
The trip_id from the GTFS feed that this selector refers to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GtfsRealtime.TripDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.TripDescriptor.Builder |
mergeFrom(GtfsRealtime.TripDescriptor other) |
GtfsRealtime.TripDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
GtfsRealtime.TripDescriptor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GtfsRealtime.TripDescriptor.Builder |
setDirectionId(int value)
The direction_id from the GTFS feed trips.txt file, indicating the
direction of travel for trips this selector refers to.
|
<Type> GtfsRealtime.TripDescriptor.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,List<Type>> extension,
int index,
Type value) |
<Type> GtfsRealtime.TripDescriptor.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,Type> extension,
Type value) |
GtfsRealtime.TripDescriptor.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GtfsRealtime.TripDescriptor.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GtfsRealtime.TripDescriptor.Builder |
setRouteId(String value)
The route_id from the GTFS that this selector refers to.
|
GtfsRealtime.TripDescriptor.Builder |
setRouteIdBytes(com.google.protobuf.ByteString value)
The route_id from the GTFS that this selector refers to.
|
GtfsRealtime.TripDescriptor.Builder |
setScheduleRelationship(GtfsRealtime.TripDescriptor.ScheduleRelationship value)
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4; |
GtfsRealtime.TripDescriptor.Builder |
setStartDate(String value)
The scheduled start date of this trip instance.
|
GtfsRealtime.TripDescriptor.Builder |
setStartDateBytes(com.google.protobuf.ByteString value)
The scheduled start date of this trip instance.
|
GtfsRealtime.TripDescriptor.Builder |
setStartTime(String value)
The initially scheduled start time of this trip instance.
|
GtfsRealtime.TripDescriptor.Builder |
setStartTimeBytes(com.google.protobuf.ByteString value)
The initially scheduled start time of this trip instance.
|
GtfsRealtime.TripDescriptor.Builder |
setTripId(String value)
The trip_id from the GTFS feed that this selector refers to.
|
GtfsRealtime.TripDescriptor.Builder |
setTripIdBytes(com.google.protobuf.ByteString value)
The trip_id from the GTFS feed that this selector refers to.
|
GtfsRealtime.TripDescriptor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, setExtension, setExtension, setExtension, setExtensiongetFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedFieldBuilder, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.TripDescriptor>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GtfsRealtime.TripDescriptor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.TripDescriptor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.TripDescriptor.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public <Type> GtfsRealtime.TripDescriptor.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,Type> extension, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public <Type> GtfsRealtime.TripDescriptor.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,List<Type>> extension, int index, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public <Type> GtfsRealtime.TripDescriptor.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,List<Type>> extension, Type value)
addExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public <Type> GtfsRealtime.TripDescriptor.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.TripDescriptor,?> extension)
clearExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder mergeFrom(GtfsRealtime.TripDescriptor other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.TripDescriptor,GtfsRealtime.TripDescriptor.Builder>public GtfsRealtime.TripDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.TripDescriptor.Builder>IOExceptionpublic boolean hasTripId()
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.
optional string trip_id = 1;hasTripId in interface GtfsRealtime.TripDescriptorOrBuilderpublic String getTripId()
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.
optional string trip_id = 1;getTripId in interface GtfsRealtime.TripDescriptorOrBuilderpublic com.google.protobuf.ByteString getTripIdBytes()
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.
optional string trip_id = 1;getTripIdBytes in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.Builder setTripId(String value)
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.
optional string trip_id = 1;public GtfsRealtime.TripDescriptor.Builder clearTripId()
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.
optional string trip_id = 1;public GtfsRealtime.TripDescriptor.Builder setTripIdBytes(com.google.protobuf.ByteString value)
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.
optional string trip_id = 1;public boolean hasRouteId()
The route_id from the GTFS that this selector refers to.
optional string route_id = 5;hasRouteId in interface GtfsRealtime.TripDescriptorOrBuilderpublic String getRouteId()
The route_id from the GTFS that this selector refers to.
optional string route_id = 5;getRouteId in interface GtfsRealtime.TripDescriptorOrBuilderpublic com.google.protobuf.ByteString getRouteIdBytes()
The route_id from the GTFS that this selector refers to.
optional string route_id = 5;getRouteIdBytes in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.Builder setRouteId(String value)
The route_id from the GTFS that this selector refers to.
optional string route_id = 5;public GtfsRealtime.TripDescriptor.Builder clearRouteId()
The route_id from the GTFS that this selector refers to.
optional string route_id = 5;public GtfsRealtime.TripDescriptor.Builder setRouteIdBytes(com.google.protobuf.ByteString value)
The route_id from the GTFS that this selector refers to.
optional string route_id = 5;public boolean hasDirectionId()
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.
optional uint32 direction_id = 6;hasDirectionId in interface GtfsRealtime.TripDescriptorOrBuilderpublic int getDirectionId()
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.
optional uint32 direction_id = 6;getDirectionId in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.Builder setDirectionId(int value)
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.
optional uint32 direction_id = 6;public GtfsRealtime.TripDescriptor.Builder clearDirectionId()
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.
optional uint32 direction_id = 6;public boolean hasStartTime()
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.
optional string start_time = 2;hasStartTime in interface GtfsRealtime.TripDescriptorOrBuilderpublic String getStartTime()
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.
optional string start_time = 2;getStartTime in interface GtfsRealtime.TripDescriptorOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
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.
optional string start_time = 2;getStartTimeBytes in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.Builder setStartTime(String value)
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.
optional string start_time = 2;public GtfsRealtime.TripDescriptor.Builder clearStartTime()
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.
optional string start_time = 2;public GtfsRealtime.TripDescriptor.Builder setStartTimeBytes(com.google.protobuf.ByteString value)
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.
optional string start_time = 2;public boolean hasStartDate()
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.
optional string start_date = 3;hasStartDate in interface GtfsRealtime.TripDescriptorOrBuilderpublic String getStartDate()
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.
optional string start_date = 3;getStartDate in interface GtfsRealtime.TripDescriptorOrBuilderpublic com.google.protobuf.ByteString getStartDateBytes()
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.
optional string start_date = 3;getStartDateBytes in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.Builder setStartDate(String value)
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.
optional string start_date = 3;public GtfsRealtime.TripDescriptor.Builder clearStartDate()
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.
optional string start_date = 3;public GtfsRealtime.TripDescriptor.Builder setStartDateBytes(com.google.protobuf.ByteString value)
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.
optional string start_date = 3;public boolean hasScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;hasScheduleRelationship in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;getScheduleRelationship in interface GtfsRealtime.TripDescriptorOrBuilderpublic GtfsRealtime.TripDescriptor.Builder setScheduleRelationship(GtfsRealtime.TripDescriptor.ScheduleRelationship value)
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;public GtfsRealtime.TripDescriptor.Builder clearScheduleRelationship()
optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;public final GtfsRealtime.TripDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.TripDescriptor.Builder>public final GtfsRealtime.TripDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.TripDescriptor.Builder>Copyright © 2019. All rights reserved.