public static final class GtfsRealtime.VehiclePosition.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder> implements GtfsRealtime.VehiclePositionOrBuilder
Realtime positioning information for a given vehicle.Protobuf type
transit_realtime.VehiclePosition| Modifier and Type | Method and Description |
|---|---|
<Type> GtfsRealtime.VehiclePosition.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,List<Type>> extension,
Type value) |
GtfsRealtime.VehiclePosition.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GtfsRealtime.VehiclePosition |
build() |
GtfsRealtime.VehiclePosition |
buildPartial() |
GtfsRealtime.VehiclePosition.Builder |
clear() |
GtfsRealtime.VehiclePosition.Builder |
clearCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6; |
GtfsRealtime.VehiclePosition.Builder |
clearCurrentStatus()
The exact status of the vehicle with respect to the current stop.
|
GtfsRealtime.VehiclePosition.Builder |
clearCurrentStopSequence()
The stop sequence index of the current stop.
|
<Type> GtfsRealtime.VehiclePosition.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,?> extension) |
GtfsRealtime.VehiclePosition.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GtfsRealtime.VehiclePosition.Builder |
clearOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9; |
GtfsRealtime.VehiclePosition.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GtfsRealtime.VehiclePosition.Builder |
clearPosition()
Current position of this vehicle.
|
GtfsRealtime.VehiclePosition.Builder |
clearStopId()
Identifies the current stop.
|
GtfsRealtime.VehiclePosition.Builder |
clearTimestamp()
Moment at which the vehicle's position was measured.
|
GtfsRealtime.VehiclePosition.Builder |
clearTrip()
The Trip that this vehicle is serving.
|
GtfsRealtime.VehiclePosition.Builder |
clearVehicle()
Additional information on the vehicle that is serving this trip.
|
GtfsRealtime.VehiclePosition.Builder |
clone() |
GtfsRealtime.VehiclePosition.CongestionLevel |
getCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6; |
GtfsRealtime.VehiclePosition.VehicleStopStatus |
getCurrentStatus()
The exact status of the vehicle with respect to the current stop.
|
int |
getCurrentStopSequence()
The stop sequence index of the current stop.
|
GtfsRealtime.VehiclePosition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GtfsRealtime.VehiclePosition.OccupancyStatus |
getOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9; |
GtfsRealtime.Position |
getPosition()
Current position of this vehicle.
|
GtfsRealtime.Position.Builder |
getPositionBuilder()
Current position of this vehicle.
|
GtfsRealtime.PositionOrBuilder |
getPositionOrBuilder()
Current position of this vehicle.
|
String |
getStopId()
Identifies the current stop.
|
com.google.protobuf.ByteString |
getStopIdBytes()
Identifies the current stop.
|
long |
getTimestamp()
Moment at which the vehicle's position was measured.
|
GtfsRealtime.TripDescriptor |
getTrip()
The Trip that this vehicle is serving.
|
GtfsRealtime.TripDescriptor.Builder |
getTripBuilder()
The Trip that this vehicle is serving.
|
GtfsRealtime.TripDescriptorOrBuilder |
getTripOrBuilder()
The Trip that this vehicle is serving.
|
GtfsRealtime.VehicleDescriptor |
getVehicle()
Additional information on the vehicle that is serving this trip.
|
GtfsRealtime.VehicleDescriptor.Builder |
getVehicleBuilder()
Additional information on the vehicle that is serving this trip.
|
GtfsRealtime.VehicleDescriptorOrBuilder |
getVehicleOrBuilder()
Additional information on the vehicle that is serving this trip.
|
boolean |
hasCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6; |
boolean |
hasCurrentStatus()
The exact status of the vehicle with respect to the current stop.
|
boolean |
hasCurrentStopSequence()
The stop sequence index of the current stop.
|
boolean |
hasOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9; |
boolean |
hasPosition()
Current position of this vehicle.
|
boolean |
hasStopId()
Identifies the current stop.
|
boolean |
hasTimestamp()
Moment at which the vehicle's position was measured.
|
boolean |
hasTrip()
The Trip that this vehicle is serving.
|
boolean |
hasVehicle()
Additional information on the vehicle that is serving this trip.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GtfsRealtime.VehiclePosition.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.VehiclePosition.Builder |
mergeFrom(GtfsRealtime.VehiclePosition other) |
GtfsRealtime.VehiclePosition.Builder |
mergeFrom(com.google.protobuf.Message other) |
GtfsRealtime.VehiclePosition.Builder |
mergePosition(GtfsRealtime.Position value)
Current position of this vehicle.
|
GtfsRealtime.VehiclePosition.Builder |
mergeTrip(GtfsRealtime.TripDescriptor value)
The Trip that this vehicle is serving.
|
GtfsRealtime.VehiclePosition.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GtfsRealtime.VehiclePosition.Builder |
mergeVehicle(GtfsRealtime.VehicleDescriptor value)
Additional information on the vehicle that is serving this trip.
|
GtfsRealtime.VehiclePosition.Builder |
setCongestionLevel(GtfsRealtime.VehiclePosition.CongestionLevel value)
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6; |
GtfsRealtime.VehiclePosition.Builder |
setCurrentStatus(GtfsRealtime.VehiclePosition.VehicleStopStatus value)
The exact status of the vehicle with respect to the current stop.
|
GtfsRealtime.VehiclePosition.Builder |
setCurrentStopSequence(int value)
The stop sequence index of the current stop.
|
<Type> GtfsRealtime.VehiclePosition.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,List<Type>> extension,
int index,
Type value) |
<Type> GtfsRealtime.VehiclePosition.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,Type> extension,
Type value) |
GtfsRealtime.VehiclePosition.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GtfsRealtime.VehiclePosition.Builder |
setOccupancyStatus(GtfsRealtime.VehiclePosition.OccupancyStatus value)
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9; |
GtfsRealtime.VehiclePosition.Builder |
setPosition(GtfsRealtime.Position.Builder builderForValue)
Current position of this vehicle.
|
GtfsRealtime.VehiclePosition.Builder |
setPosition(GtfsRealtime.Position value)
Current position of this vehicle.
|
GtfsRealtime.VehiclePosition.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GtfsRealtime.VehiclePosition.Builder |
setStopId(String value)
Identifies the current stop.
|
GtfsRealtime.VehiclePosition.Builder |
setStopIdBytes(com.google.protobuf.ByteString value)
Identifies the current stop.
|
GtfsRealtime.VehiclePosition.Builder |
setTimestamp(long value)
Moment at which the vehicle's position was measured.
|
GtfsRealtime.VehiclePosition.Builder |
setTrip(GtfsRealtime.TripDescriptor.Builder builderForValue)
The Trip that this vehicle is serving.
|
GtfsRealtime.VehiclePosition.Builder |
setTrip(GtfsRealtime.TripDescriptor value)
The Trip that this vehicle is serving.
|
GtfsRealtime.VehiclePosition.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GtfsRealtime.VehiclePosition.Builder |
setVehicle(GtfsRealtime.VehicleDescriptor.Builder builderForValue)
Additional information on the vehicle that is serving this trip.
|
GtfsRealtime.VehiclePosition.Builder |
setVehicle(GtfsRealtime.VehicleDescriptor value)
Additional information on the vehicle that is serving this trip.
|
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.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.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.VehiclePosition,GtfsRealtime.VehiclePosition.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.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.VehiclePosition>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GtfsRealtime.VehiclePosition build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.VehiclePosition buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.VehiclePosition.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.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.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.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.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.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.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.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public <Type> GtfsRealtime.VehiclePosition.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,Type> extension, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public <Type> GtfsRealtime.VehiclePosition.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,List<Type>> extension, int index, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public <Type> GtfsRealtime.VehiclePosition.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,List<Type>> extension, Type value)
addExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public <Type> GtfsRealtime.VehiclePosition.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.VehiclePosition,?> extension)
clearExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.Builder mergeFrom(GtfsRealtime.VehiclePosition other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.VehiclePosition,GtfsRealtime.VehiclePosition.Builder>public GtfsRealtime.VehiclePosition.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.VehiclePosition.Builder>IOExceptionpublic boolean hasTrip()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;hasTrip in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.TripDescriptor getTrip()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;getTrip in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setTrip(GtfsRealtime.TripDescriptor value)
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;public GtfsRealtime.VehiclePosition.Builder setTrip(GtfsRealtime.TripDescriptor.Builder builderForValue)
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;public GtfsRealtime.VehiclePosition.Builder mergeTrip(GtfsRealtime.TripDescriptor value)
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;public GtfsRealtime.VehiclePosition.Builder clearTrip()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;public GtfsRealtime.TripDescriptor.Builder getTripBuilder()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;public GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;getTripOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilderpublic boolean hasVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;hasVehicle in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehicleDescriptor getVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;getVehicle in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setVehicle(GtfsRealtime.VehicleDescriptor value)
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;public GtfsRealtime.VehiclePosition.Builder setVehicle(GtfsRealtime.VehicleDescriptor.Builder builderForValue)
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;public GtfsRealtime.VehiclePosition.Builder mergeVehicle(GtfsRealtime.VehicleDescriptor value)
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;public GtfsRealtime.VehiclePosition.Builder clearVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;public GtfsRealtime.VehicleDescriptor.Builder getVehicleBuilder()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;public GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;getVehicleOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilderpublic boolean hasPosition()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;hasPosition in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.Position getPosition()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;getPosition in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setPosition(GtfsRealtime.Position value)
Current position of this vehicle.
optional .transit_realtime.Position position = 2;public GtfsRealtime.VehiclePosition.Builder setPosition(GtfsRealtime.Position.Builder builderForValue)
Current position of this vehicle.
optional .transit_realtime.Position position = 2;public GtfsRealtime.VehiclePosition.Builder mergePosition(GtfsRealtime.Position value)
Current position of this vehicle.
optional .transit_realtime.Position position = 2;public GtfsRealtime.VehiclePosition.Builder clearPosition()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;public GtfsRealtime.Position.Builder getPositionBuilder()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;public GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;getPositionOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilderpublic boolean hasCurrentStopSequence()
The stop sequence index of the current stop. The meaning of current_stop_sequence (i.e., the stop that it refers to) is determined by current_status. If current_status is missing IN_TRANSIT_TO is assumed.
optional uint32 current_stop_sequence = 3;hasCurrentStopSequence in interface GtfsRealtime.VehiclePositionOrBuilderpublic int getCurrentStopSequence()
The stop sequence index of the current stop. The meaning of current_stop_sequence (i.e., the stop that it refers to) is determined by current_status. If current_status is missing IN_TRANSIT_TO is assumed.
optional uint32 current_stop_sequence = 3;getCurrentStopSequence in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setCurrentStopSequence(int value)
The stop sequence index of the current stop. The meaning of current_stop_sequence (i.e., the stop that it refers to) is determined by current_status. If current_status is missing IN_TRANSIT_TO is assumed.
optional uint32 current_stop_sequence = 3;public GtfsRealtime.VehiclePosition.Builder clearCurrentStopSequence()
The stop sequence index of the current stop. The meaning of current_stop_sequence (i.e., the stop that it refers to) is determined by current_status. If current_status is missing IN_TRANSIT_TO is assumed.
optional uint32 current_stop_sequence = 3;public boolean hasStopId()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;hasStopId in interface GtfsRealtime.VehiclePositionOrBuilderpublic String getStopId()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;getStopId in interface GtfsRealtime.VehiclePositionOrBuilderpublic com.google.protobuf.ByteString getStopIdBytes()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;getStopIdBytes in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setStopId(String value)
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;public GtfsRealtime.VehiclePosition.Builder clearStopId()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;public GtfsRealtime.VehiclePosition.Builder setStopIdBytes(com.google.protobuf.ByteString value)
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;public boolean hasCurrentStatus()
The exact status of the vehicle with respect to the current stop. Ignored if current_stop_sequence is missing.
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];hasCurrentStatus in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
The exact status of the vehicle with respect to the current stop. Ignored if current_stop_sequence is missing.
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];getCurrentStatus in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setCurrentStatus(GtfsRealtime.VehiclePosition.VehicleStopStatus value)
The exact status of the vehicle with respect to the current stop. Ignored if current_stop_sequence is missing.
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];public GtfsRealtime.VehiclePosition.Builder clearCurrentStatus()
The exact status of the vehicle with respect to the current stop. Ignored if current_stop_sequence is missing.
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];public boolean hasTimestamp()
Moment at which the vehicle's position was measured. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 5;hasTimestamp in interface GtfsRealtime.VehiclePositionOrBuilderpublic long getTimestamp()
Moment at which the vehicle's position was measured. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 5;getTimestamp in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setTimestamp(long value)
Moment at which the vehicle's position was measured. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 5;public GtfsRealtime.VehiclePosition.Builder clearTimestamp()
Moment at which the vehicle's position was measured. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 5;public boolean hasCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;hasCongestionLevel in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;getCongestionLevel in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setCongestionLevel(GtfsRealtime.VehiclePosition.CongestionLevel value)
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;public GtfsRealtime.VehiclePosition.Builder clearCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;public boolean hasOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;hasOccupancyStatus in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;getOccupancyStatus in interface GtfsRealtime.VehiclePositionOrBuilderpublic GtfsRealtime.VehiclePosition.Builder setOccupancyStatus(GtfsRealtime.VehiclePosition.OccupancyStatus value)
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;public GtfsRealtime.VehiclePosition.Builder clearOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;public final GtfsRealtime.VehiclePosition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.VehiclePosition.Builder>public final GtfsRealtime.VehiclePosition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.VehiclePosition.Builder>Copyright © 2019. All rights reserved.