public static final class GtfsRealtime.TripUpdate.StopTimeUpdate.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.TripUpdate.StopTimeUpdate,GtfsRealtime.TripUpdate.StopTimeUpdate.Builder> implements GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
transit_realtime.TripUpdate.StopTimeUpdate
Realtime update for arrival and/or departure events for a given stop on a trip. Updates can be supplied for both past and future events. The producer is allowed, although not required, to drop past events.
Modifier and Type | Method and Description |
---|---|
GtfsRealtime.TripUpdate.StopTimeUpdate |
build() |
GtfsRealtime.TripUpdate.StopTimeUpdate |
buildPartial() |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clear() |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clearArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clearDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clearScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clearStopId()
optional string stop_id = 4; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clearStopSequence()
optional uint32 stop_sequence = 1; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
clone() |
GtfsRealtime.TripUpdate.StopTimeEvent |
getArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeEvent.Builder |
getArrivalBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeEventOrBuilder |
getArrivalOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeUpdate |
getDefaultInstanceForType() |
GtfsRealtime.TripUpdate.StopTimeEvent |
getDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeEvent.Builder |
getDepartureBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeEventOrBuilder |
getDepartureOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
getScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; |
String |
getStopId()
optional string stop_id = 4; |
com.google.protobuf.ByteString |
getStopIdBytes()
optional string stop_id = 4; |
int |
getStopSequence()
optional uint32 stop_sequence = 1; |
boolean |
hasArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
boolean |
hasDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
boolean |
hasScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; |
boolean |
hasStopId()
optional string stop_id = 4; |
boolean |
hasStopSequence()
optional uint32 stop_sequence = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
mergeArrival(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
mergeDeparture(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
mergeFrom(GtfsRealtime.TripUpdate.StopTimeUpdate other) |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
mergeFrom(com.google.protobuf.Message other) |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setArrival(GtfsRealtime.TripUpdate.StopTimeEvent.Builder builderForValue)
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setArrival(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setDeparture(GtfsRealtime.TripUpdate.StopTimeEvent.Builder builderForValue)
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setDeparture(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setScheduleRelationship(GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship value)
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setStopId(String value)
optional string stop_id = 4; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setStopIdBytes(com.google.protobuf.ByteString value)
optional string stop_id = 4; |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
setStopSequence(int value)
optional uint32 stop_sequence = 1; |
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.TripUpdate.StopTimeUpdate,GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.TripUpdate.StopTimeUpdate,GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
public GtfsRealtime.TripUpdate.StopTimeUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripUpdate.StopTimeUpdate>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.TripUpdate.StopTimeUpdate buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder mergeFrom(GtfsRealtime.TripUpdate.StopTimeUpdate other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.TripUpdate.StopTimeUpdate,GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.TripUpdate.StopTimeUpdate.Builder>
IOException
public boolean hasStopSequence()
optional uint32 stop_sequence = 1;
Must be the same as in stop_times.txt in the corresponding GTFS feed.
hasStopSequence
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public int getStopSequence()
optional uint32 stop_sequence = 1;
Must be the same as in stop_times.txt in the corresponding GTFS feed.
getStopSequence
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setStopSequence(int value)
optional uint32 stop_sequence = 1;
Must be the same as in stop_times.txt in the corresponding GTFS feed.
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clearStopSequence()
optional uint32 stop_sequence = 1;
Must be the same as in stop_times.txt in the corresponding GTFS feed.
public boolean hasStopId()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
hasStopId
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public String getStopId()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
getStopId
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public com.google.protobuf.ByteString getStopIdBytes()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
getStopIdBytes
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setStopId(String value)
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clearStopId()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setStopIdBytes(com.google.protobuf.ByteString value)
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
public boolean hasArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
hasArrival
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeEvent getArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
getArrival
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setArrival(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setArrival(GtfsRealtime.TripUpdate.StopTimeEvent.Builder builderForValue)
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder mergeArrival(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clearArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
public GtfsRealtime.TripUpdate.StopTimeEvent.Builder getArrivalBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
public GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getArrivalOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
getArrivalOrBuilder
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public boolean hasDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
hasDeparture
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeEvent getDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
getDeparture
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setDeparture(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setDeparture(GtfsRealtime.TripUpdate.StopTimeEvent.Builder builderForValue)
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder mergeDeparture(GtfsRealtime.TripUpdate.StopTimeEvent value)
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clearDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
public GtfsRealtime.TripUpdate.StopTimeEvent.Builder getDepartureBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
public GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getDepartureOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
getDepartureOrBuilder
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public boolean hasScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
hasScheduleRelationship
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
getScheduleRelationship
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder setScheduleRelationship(GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship value)
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder clearScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
Copyright © 2018. All rights reserved.