public static interface GtfsRealtime.PositionOrBuilder extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Position>
Modifier and Type | Method and Description |
---|---|
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; |
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
boolean hasLatitude()
required float latitude = 1;
Degrees North, in the WGS-84 coordinate system.
float getLatitude()
required float latitude = 1;
Degrees North, in the WGS-84 coordinate system.
boolean hasLongitude()
required float longitude = 2;
Degrees East, in the WGS-84 coordinate system.
float getLongitude()
required float longitude = 2;
Degrees East, in the WGS-84 coordinate system.
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.
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.
boolean hasOdometer()
optional double odometer = 4;
Odometer value, in meters.
double getOdometer()
optional double odometer = 4;
Odometer value, in meters.
boolean hasSpeed()
optional float speed = 5;
Momentary speed measured by the vehicle, in meters per second.
float getSpeed()
optional float speed = 5;
Momentary speed measured by the vehicle, in meters per second.
Copyright © 2019. All rights reserved.