com.google.transit.realtime
Class GtfsRealtime.VehiclePosition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehiclePosition>
com.google.transit.realtime.GtfsRealtime.VehiclePosition
- All Implemented Interfaces:
- com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehiclePosition>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.VehiclePositionOrBuilder, Serializable
- Enclosing class:
- GtfsRealtime
public static final class GtfsRealtime.VehiclePosition
- extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehiclePosition>
- implements GtfsRealtime.VehiclePositionOrBuilder
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter |
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
| Fields inherited from class com.google.protobuf.GeneratedMessage |
alwaysUseFieldBuilders |
| Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionWriter, newMessageSetExtensionWriter |
| Methods inherited from class com.google.protobuf.GeneratedMessage |
getDescriptorForType, getUnknownFields, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension |
| Methods inherited from class com.google.protobuf.AbstractMessage |
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder |
getExtension, getExtension, getExtensionCount, hasExtension |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
| Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
TRIP_FIELD_NUMBER
public static final int TRIP_FIELD_NUMBER
- See Also:
- Constant Field Values
VEHICLE_FIELD_NUMBER
public static final int VEHICLE_FIELD_NUMBER
- See Also:
- Constant Field Values
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
CURRENT_STOP_SEQUENCE_FIELD_NUMBER
public static final int CURRENT_STOP_SEQUENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
STOP_ID_FIELD_NUMBER
public static final int STOP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
CURRENT_STATUS_FIELD_NUMBER
public static final int CURRENT_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
CONGESTION_LEVEL_FIELD_NUMBER
public static final int CONGESTION_LEVEL_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static GtfsRealtime.VehiclePosition getDefaultInstance()
getDefaultInstanceForType
public GtfsRealtime.VehiclePosition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
hasTrip
public boolean hasTrip()
- Specified by:
hasTrip in interface GtfsRealtime.VehiclePositionOrBuilder
getTrip
public GtfsRealtime.TripDescriptor getTrip()
- Specified by:
getTrip in interface GtfsRealtime.VehiclePositionOrBuilder
getTripOrBuilder
public GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
- Specified by:
getTripOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilder
hasVehicle
public boolean hasVehicle()
- Specified by:
hasVehicle in interface GtfsRealtime.VehiclePositionOrBuilder
getVehicle
public GtfsRealtime.VehicleDescriptor getVehicle()
- Specified by:
getVehicle in interface GtfsRealtime.VehiclePositionOrBuilder
getVehicleOrBuilder
public GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
- Specified by:
getVehicleOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilder
hasPosition
public boolean hasPosition()
- Specified by:
hasPosition in interface GtfsRealtime.VehiclePositionOrBuilder
getPosition
public GtfsRealtime.Position getPosition()
- Specified by:
getPosition in interface GtfsRealtime.VehiclePositionOrBuilder
getPositionOrBuilder
public GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
- Specified by:
getPositionOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilder
hasCurrentStopSequence
public boolean hasCurrentStopSequence()
- Specified by:
hasCurrentStopSequence in interface GtfsRealtime.VehiclePositionOrBuilder
getCurrentStopSequence
public int getCurrentStopSequence()
- Specified by:
getCurrentStopSequence in interface GtfsRealtime.VehiclePositionOrBuilder
hasStopId
public boolean hasStopId()
- Specified by:
hasStopId in interface GtfsRealtime.VehiclePositionOrBuilder
getStopId
public String getStopId()
- Specified by:
getStopId in interface GtfsRealtime.VehiclePositionOrBuilder
hasCurrentStatus
public boolean hasCurrentStatus()
- Specified by:
hasCurrentStatus in interface GtfsRealtime.VehiclePositionOrBuilder
getCurrentStatus
public GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
- Specified by:
getCurrentStatus in interface GtfsRealtime.VehiclePositionOrBuilder
hasTimestamp
public boolean hasTimestamp()
- Specified by:
hasTimestamp in interface GtfsRealtime.VehiclePositionOrBuilder
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp in interface GtfsRealtime.VehiclePositionOrBuilder
hasCongestionLevel
public boolean hasCongestionLevel()
- Specified by:
hasCongestionLevel in interface GtfsRealtime.VehiclePositionOrBuilder
getCongestionLevel
public GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
- Specified by:
getCongestionLevel in interface GtfsRealtime.VehiclePositionOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehiclePosition>
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo in interface com.google.protobuf.MessageLite- Overrides:
writeTo in class com.google.protobuf.AbstractMessage
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite- Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage
writeReplace
protected Object writeReplace()
throws ObjectStreamException
- Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
- Throws:
ObjectStreamException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static GtfsRealtime.VehiclePosition parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static GtfsRealtime.VehiclePosition parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static GtfsRealtime.VehiclePosition.Builder newBuilder()
newBuilderForType
public GtfsRealtime.VehiclePosition.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface com.google.protobuf.Message- Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite
newBuilder
public static GtfsRealtime.VehiclePosition.Builder newBuilder(GtfsRealtime.VehiclePosition prototype)
toBuilder
public GtfsRealtime.VehiclePosition.Builder toBuilder()
- Specified by:
toBuilder in interface com.google.protobuf.Message- Specified by:
toBuilder in interface com.google.protobuf.MessageLite
newBuilderForType
protected GtfsRealtime.VehiclePosition.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage
Copyright © 2012 OneBusAway. All Rights Reserved.