com.google.transit.realtime
Interface GtfsRealtime.TripUpdate.StopTimeEventOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripUpdate.StopTimeEvent>, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GtfsRealtime.TripUpdate.StopTimeEvent, GtfsRealtime.TripUpdate.StopTimeEvent.Builder
Enclosing class:
GtfsRealtime.TripUpdate

public static interface GtfsRealtime.TripUpdate.StopTimeEventOrBuilder
extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripUpdate.StopTimeEvent>


Method Summary
 int getDelay()
          optional int32 delay = 1;
 long getTime()
          optional int64 time = 2;
 int getUncertainty()
          optional int32 uncertainty = 3;
 boolean hasDelay()
          optional int32 delay = 1;
 boolean hasTime()
          optional int64 time = 2;
 boolean hasUncertainty()
          optional int32 uncertainty = 3;
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasDelay

boolean hasDelay()
optional int32 delay = 1;
 Delay (in seconds) can be positive (meaning that the vehicle is late) or
 negative (meaning that the vehicle is ahead of schedule). Delay of 0
 means that the vehicle is exactly on time.
 


getDelay

int getDelay()
optional int32 delay = 1;
 Delay (in seconds) can be positive (meaning that the vehicle is late) or
 negative (meaning that the vehicle is ahead of schedule). Delay of 0
 means that the vehicle is exactly on time.
 


hasTime

boolean hasTime()
optional int64 time = 2;
 Event as absolute time.
 In Unix time (i.e., number of seconds since January 1st 1970 00:00:00
 UTC).
 


getTime

long getTime()
optional int64 time = 2;
 Event as absolute time.
 In Unix time (i.e., number of seconds since January 1st 1970 00:00:00
 UTC).
 


hasUncertainty

boolean hasUncertainty()
optional int32 uncertainty = 3;
 If uncertainty is omitted, it is interpreted as unknown.
 If the prediction is unknown or too uncertain, the delay (or time) field
 should be empty. In such case, the uncertainty field is ignored.
 To specify a completely certain prediction, set its uncertainty to 0.
 


getUncertainty

int getUncertainty()
optional int32 uncertainty = 3;
 If uncertainty is omitted, it is interpreted as unknown.
 If the prediction is unknown or too uncertain, the delay (or time) field
 should be empty. In such case, the uncertainty field is ignored.
 To specify a completely certain prediction, set its uncertainty to 0.
 



Copyright © 2015. All Rights Reserved.