com.google.transit.realtime
Class GtfsRealtime.TripUpdate

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TripUpdate>
                  extended by com.google.transit.realtime.GtfsRealtime.TripUpdate
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripUpdate>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.TripUpdateOrBuilder, Serializable
Enclosing class:
GtfsRealtime

public static final class GtfsRealtime.TripUpdate
extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TripUpdate>
implements GtfsRealtime.TripUpdateOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class GtfsRealtime.TripUpdate.Builder
           
static class GtfsRealtime.TripUpdate.StopTimeEvent
           
static interface GtfsRealtime.TripUpdate.StopTimeEventOrBuilder
           
static class GtfsRealtime.TripUpdate.StopTimeUpdate
           
static interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
           
 
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>
 
Field Summary
static int STOP_TIME_UPDATE_FIELD_NUMBER
           
static int TRIP_FIELD_NUMBER
           
static int VEHICLE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
static GtfsRealtime.TripUpdate getDefaultInstance()
           
 GtfsRealtime.TripUpdate getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 int getSerializedSize()
           
 GtfsRealtime.TripUpdate.StopTimeUpdate getStopTimeUpdate(int index)
           
 int getStopTimeUpdateCount()
           
 List<GtfsRealtime.TripUpdate.StopTimeUpdate> getStopTimeUpdateList()
           
 GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getStopTimeUpdateOrBuilder(int index)
           
 List<? extends GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder> getStopTimeUpdateOrBuilderList()
           
 GtfsRealtime.TripDescriptor getTrip()
           
 GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
           
 GtfsRealtime.VehicleDescriptor getVehicle()
           
 GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
           
 boolean hasTrip()
           
 boolean hasVehicle()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static GtfsRealtime.TripUpdate.Builder newBuilder()
           
static GtfsRealtime.TripUpdate.Builder newBuilder(GtfsRealtime.TripUpdate prototype)
           
 GtfsRealtime.TripUpdate.Builder newBuilderForType()
           
protected  GtfsRealtime.TripUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static GtfsRealtime.TripUpdate parseDelimitedFrom(InputStream input)
           
static GtfsRealtime.TripUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.TripUpdate parseFrom(byte[] data)
           
static GtfsRealtime.TripUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.TripUpdate parseFrom(com.google.protobuf.ByteString data)
           
static GtfsRealtime.TripUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.TripUpdate parseFrom(com.google.protobuf.CodedInputStream input)
           
static GtfsRealtime.TripUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.TripUpdate parseFrom(InputStream input)
           
static GtfsRealtime.TripUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 GtfsRealtime.TripUpdate.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

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

STOP_TIME_UPDATE_FIELD_NUMBER

public static final int STOP_TIME_UPDATE_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static GtfsRealtime.TripUpdate getDefaultInstance()

getDefaultInstanceForType

public GtfsRealtime.TripUpdate 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.TripUpdateOrBuilder

getTrip

public GtfsRealtime.TripDescriptor getTrip()
Specified by:
getTrip in interface GtfsRealtime.TripUpdateOrBuilder

getTripOrBuilder

public GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
Specified by:
getTripOrBuilder in interface GtfsRealtime.TripUpdateOrBuilder

hasVehicle

public boolean hasVehicle()
Specified by:
hasVehicle in interface GtfsRealtime.TripUpdateOrBuilder

getVehicle

public GtfsRealtime.VehicleDescriptor getVehicle()
Specified by:
getVehicle in interface GtfsRealtime.TripUpdateOrBuilder

getVehicleOrBuilder

public GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
Specified by:
getVehicleOrBuilder in interface GtfsRealtime.TripUpdateOrBuilder

getStopTimeUpdateList

public List<GtfsRealtime.TripUpdate.StopTimeUpdate> getStopTimeUpdateList()
Specified by:
getStopTimeUpdateList in interface GtfsRealtime.TripUpdateOrBuilder

getStopTimeUpdateOrBuilderList

public List<? extends GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder> getStopTimeUpdateOrBuilderList()
Specified by:
getStopTimeUpdateOrBuilderList in interface GtfsRealtime.TripUpdateOrBuilder

getStopTimeUpdateCount

public int getStopTimeUpdateCount()
Specified by:
getStopTimeUpdateCount in interface GtfsRealtime.TripUpdateOrBuilder

getStopTimeUpdate

public GtfsRealtime.TripUpdate.StopTimeUpdate getStopTimeUpdate(int index)
Specified by:
getStopTimeUpdate in interface GtfsRealtime.TripUpdateOrBuilder

getStopTimeUpdateOrBuilder

public GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getStopTimeUpdateOrBuilder(int index)
Specified by:
getStopTimeUpdateOrBuilder in interface GtfsRealtime.TripUpdateOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TripUpdate>

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.TripUpdate parseFrom(com.google.protobuf.ByteString data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.TripUpdate 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.TripUpdate parseFrom(byte[] data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.TripUpdate parseFrom(byte[] data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.TripUpdate parseFrom(InputStream input)
                                         throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.TripUpdate parseFrom(InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
Throws:
IOException

parseDelimitedFrom

public static GtfsRealtime.TripUpdate parseDelimitedFrom(InputStream input)
                                                  throws IOException
Throws:
IOException

parseDelimitedFrom

public static GtfsRealtime.TripUpdate parseDelimitedFrom(InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.TripUpdate parseFrom(com.google.protobuf.CodedInputStream input)
                                         throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.TripUpdate parseFrom(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
Throws:
IOException

newBuilder

public static GtfsRealtime.TripUpdate.Builder newBuilder()

newBuilderForType

public GtfsRealtime.TripUpdate.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static GtfsRealtime.TripUpdate.Builder newBuilder(GtfsRealtime.TripUpdate prototype)

toBuilder

public GtfsRealtime.TripUpdate.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected GtfsRealtime.TripUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2012 OneBusAway. All Rights Reserved.