com.google.transit.realtime
Interface GtfsRealtime.PositionOrBuilder

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

public static interface GtfsRealtime.PositionOrBuilder
extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Position>


Method Summary
 float getBearing()
          optional float bearing = 3;
 float getLatitude()
          required float latitude = 1;
 float getLongitude()
          required float longitude = 2;
 double getOdometer()
          optional double odometer = 4;
 float getSpeed()
          optional float speed = 5;
 boolean hasBearing()
          optional float bearing = 3;
 boolean hasLatitude()
          required float latitude = 1;
 boolean hasLongitude()
          required float longitude = 2;
 boolean hasOdometer()
          optional double odometer = 4;
 boolean hasSpeed()
          optional float speed = 5;
 
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

hasLatitude

boolean hasLatitude()
required float latitude = 1;
 Degrees North, in the WGS-84 coordinate system.
 


getLatitude

float getLatitude()
required float latitude = 1;
 Degrees North, in the WGS-84 coordinate system.
 


hasLongitude

boolean hasLongitude()
required float longitude = 2;
 Degrees East, in the WGS-84 coordinate system.
 


getLongitude

float getLongitude()
required float longitude = 2;
 Degrees East, in the WGS-84 coordinate system.
 


hasBearing

boolean hasBearing()
optional float bearing = 3;
 Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East.
 This can be the compass bearing, or the direction towards the next stop
 or intermediate location.
 This should not be direction deduced from the sequence of previous
 positions, which can be computed from previous data.
 


getBearing

float getBearing()
optional float bearing = 3;
 Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East.
 This can be the compass bearing, or the direction towards the next stop
 or intermediate location.
 This should not be direction deduced from the sequence of previous
 positions, which can be computed from previous data.
 


hasOdometer

boolean hasOdometer()
optional double odometer = 4;
 Odometer value, in meters.
 


getOdometer

double getOdometer()
optional double odometer = 4;
 Odometer value, in meters.
 


hasSpeed

boolean hasSpeed()
optional float speed = 5;
 Momentary speed measured by the vehicle, in meters per second.
 


getSpeed

float getSpeed()
optional float speed = 5;
 Momentary speed measured by the vehicle, in meters per second.
 



Copyright © 2015. All Rights Reserved.