Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation,RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors.Location
public static interface RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadatafloatThe best altitudeTimestamp of best altitude measurementTimestamp of best altitude measurementUnit used for altitude (should be meters)intUnit used for altitude (should be meters)floatThe best bearingfloatBearing accuracyUnit used for bearing accuracyintUnit used for bearing accuracyTimestamp of best bearing estimateTimestamp of best bearing estimateUnit used for bearing (should be radians)intUnit used for bearing (should be radians)floatHorizontal accuracyUnit used for horizontal accuracyintUnit used for horizontal accuracydoubleThe best latitudeTimestamp of best lat/lng measurementTimestamp of best lat/lng measurementUnit used for latitude/longitude (should be decimal degrees)intUnit used for latitude/longitude (should be decimal degrees).redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_provider = 24;int.redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_provider = 24;doubleThe best longitudeDeprecated.intA map from string to string for including untyped metadataA map from string to string for including untyped metadatagetMetadataOrDefault(String key, String defaultValue) A map from string to string for including untyped metadatagetMetadataOrThrow(String key) A map from string to string for including untyped metadataMethod used to derive the location scoreintMethod used to derive the location scorefloatgetScore()The best location scorefloatgetSpeed()The best speedfloatSpeed accuracyUnit used for speed accuracyintUnit used for speed accuracyTimestamp of best speed measurementTimestamp of best speed measurementUnit used for speed (should be m/s)intUnit used for speed (should be m/s)floatVertical accuracyUnit used for vertical accuracyintUnit used for vertical accuracybooleanTimestamp of best altitude measurementbooleanTimestamp of best bearing estimatebooleanTimestamp of best lat/lng measurementbooleanTimestamp of best speed measurementMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasLatitudeLongitudeTimestamp
boolean hasLatitudeLongitudeTimestamp()Timestamp of best lat/lng measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp latitude_longitude_timestamp = 1;- Returns:
- Whether the latitudeLongitudeTimestamp field is set.
-
getLatitudeLongitudeTimestamp
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp getLatitudeLongitudeTimestamp()Timestamp of best lat/lng measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp latitude_longitude_timestamp = 1;- Returns:
- The latitudeLongitudeTimestamp.
-
getLatitudeLongitudeTimestampOrBuilder
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getLatitudeLongitudeTimestampOrBuilder()Timestamp of best lat/lng measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp latitude_longitude_timestamp = 1; -
hasAltitudeTimestamp
boolean hasAltitudeTimestamp()Timestamp of best altitude measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp altitude_timestamp = 2;- Returns:
- Whether the altitudeTimestamp field is set.
-
getAltitudeTimestamp
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp getAltitudeTimestamp()Timestamp of best altitude measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp altitude_timestamp = 2;- Returns:
- The altitudeTimestamp.
-
getAltitudeTimestampOrBuilder
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getAltitudeTimestampOrBuilder()Timestamp of best altitude measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp altitude_timestamp = 2; -
hasSpeedTimestamp
boolean hasSpeedTimestamp()Timestamp of best speed measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp speed_timestamp = 3;- Returns:
- Whether the speedTimestamp field is set.
-
getSpeedTimestamp
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp getSpeedTimestamp()Timestamp of best speed measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp speed_timestamp = 3;- Returns:
- The speedTimestamp.
-
getSpeedTimestampOrBuilder
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getSpeedTimestampOrBuilder()Timestamp of best speed measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp speed_timestamp = 3; -
hasBearingTimestamp
boolean hasBearingTimestamp()Timestamp of best bearing estimate
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp bearing_timestamp = 4;- Returns:
- Whether the bearingTimestamp field is set.
-
getBearingTimestamp
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp getBearingTimestamp()Timestamp of best bearing estimate
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp bearing_timestamp = 4;- Returns:
- The bearingTimestamp.
-
getBearingTimestampOrBuilder
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getBearingTimestampOrBuilder()Timestamp of best bearing estimate
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp bearing_timestamp = 4; -
getLatitudeLongitudeUnitValue
int getLatitudeLongitudeUnitValue()Unit used for latitude/longitude (should be decimal degrees)
.redvox_api_m.RedvoxPacketM.Unit latitude_longitude_unit = 5;- Returns:
- The enum numeric value on the wire for latitudeLongitudeUnit.
-
getLatitudeLongitudeUnit
RedvoxApiM.RedvoxPacketM.Unit getLatitudeLongitudeUnit()Unit used for latitude/longitude (should be decimal degrees)
.redvox_api_m.RedvoxPacketM.Unit latitude_longitude_unit = 5;- Returns:
- The latitudeLongitudeUnit.
-
getAltitudeUnitValue
int getAltitudeUnitValue()Unit used for altitude (should be meters)
.redvox_api_m.RedvoxPacketM.Unit altitude_unit = 6;- Returns:
- The enum numeric value on the wire for altitudeUnit.
-
getAltitudeUnit
RedvoxApiM.RedvoxPacketM.Unit getAltitudeUnit()Unit used for altitude (should be meters)
.redvox_api_m.RedvoxPacketM.Unit altitude_unit = 6;- Returns:
- The altitudeUnit.
-
getSpeedUnitValue
int getSpeedUnitValue()Unit used for speed (should be m/s)
.redvox_api_m.RedvoxPacketM.Unit speed_unit = 7;- Returns:
- The enum numeric value on the wire for speedUnit.
-
getSpeedUnit
RedvoxApiM.RedvoxPacketM.Unit getSpeedUnit()Unit used for speed (should be m/s)
.redvox_api_m.RedvoxPacketM.Unit speed_unit = 7;- Returns:
- The speedUnit.
-
getBearingUnitValue
int getBearingUnitValue()Unit used for bearing (should be radians)
.redvox_api_m.RedvoxPacketM.Unit bearing_unit = 8;- Returns:
- The enum numeric value on the wire for bearingUnit.
-
getBearingUnit
RedvoxApiM.RedvoxPacketM.Unit getBearingUnit()Unit used for bearing (should be radians)
.redvox_api_m.RedvoxPacketM.Unit bearing_unit = 8;- Returns:
- The bearingUnit.
-
getVerticalAccuracyUnitValue
int getVerticalAccuracyUnitValue()Unit used for vertical accuracy
.redvox_api_m.RedvoxPacketM.Unit vertical_accuracy_unit = 9;- Returns:
- The enum numeric value on the wire for verticalAccuracyUnit.
-
getVerticalAccuracyUnit
RedvoxApiM.RedvoxPacketM.Unit getVerticalAccuracyUnit()Unit used for vertical accuracy
.redvox_api_m.RedvoxPacketM.Unit vertical_accuracy_unit = 9;- Returns:
- The verticalAccuracyUnit.
-
getHorizontalAccuracyUnitValue
int getHorizontalAccuracyUnitValue()Unit used for horizontal accuracy
.redvox_api_m.RedvoxPacketM.Unit horizontal_accuracy_unit = 10;- Returns:
- The enum numeric value on the wire for horizontalAccuracyUnit.
-
getHorizontalAccuracyUnit
RedvoxApiM.RedvoxPacketM.Unit getHorizontalAccuracyUnit()Unit used for horizontal accuracy
.redvox_api_m.RedvoxPacketM.Unit horizontal_accuracy_unit = 10;- Returns:
- The horizontalAccuracyUnit.
-
getSpeedAccuracyUnitValue
int getSpeedAccuracyUnitValue()Unit used for speed accuracy
.redvox_api_m.RedvoxPacketM.Unit speed_accuracy_unit = 11;- Returns:
- The enum numeric value on the wire for speedAccuracyUnit.
-
getSpeedAccuracyUnit
RedvoxApiM.RedvoxPacketM.Unit getSpeedAccuracyUnit()Unit used for speed accuracy
.redvox_api_m.RedvoxPacketM.Unit speed_accuracy_unit = 11;- Returns:
- The speedAccuracyUnit.
-
getBearingAccuracyUnitValue
int getBearingAccuracyUnitValue()Unit used for bearing accuracy
.redvox_api_m.RedvoxPacketM.Unit bearing_accuracy_unit = 12;- Returns:
- The enum numeric value on the wire for bearingAccuracyUnit.
-
getBearingAccuracyUnit
RedvoxApiM.RedvoxPacketM.Unit getBearingAccuracyUnit()Unit used for bearing accuracy
.redvox_api_m.RedvoxPacketM.Unit bearing_accuracy_unit = 12;- Returns:
- The bearingAccuracyUnit.
-
getLatitude
double getLatitude()The best latitude
double latitude = 13;- Returns:
- The latitude.
-
getLongitude
double getLongitude()The best longitude
double longitude = 14;- Returns:
- The longitude.
-
getAltitude
float getAltitude()The best altitude
float altitude = 15;- Returns:
- The altitude.
-
getSpeed
float getSpeed()The best speed
float speed = 16;- Returns:
- The speed.
-
getBearing
float getBearing()The best bearing
float bearing = 17;- Returns:
- The bearing.
-
getVerticalAccuracy
float getVerticalAccuracy()Vertical accuracy
float vertical_accuracy = 18;- Returns:
- The verticalAccuracy.
-
getHorizontalAccuracy
float getHorizontalAccuracy()Horizontal accuracy
float horizontal_accuracy = 19;- Returns:
- The horizontalAccuracy.
-
getSpeedAccuracy
float getSpeedAccuracy()Speed accuracy
float speed_accuracy = 20;- Returns:
- The speedAccuracy.
-
getBearingAccuracy
float getBearingAccuracy()Bearing accuracy
float bearing_accuracy = 21;- Returns:
- The bearingAccuracy.
-
getScore
float getScore()The best location score
float score = 22;- Returns:
- The score.
-
getMethodValue
int getMethodValue()Method used to derive the location score
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.LocationScoreMethod method = 23;- Returns:
- The enum numeric value on the wire for method.
-
getMethod
Method used to derive the location score
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.LocationScoreMethod method = 23;- Returns:
- The method.
-
getLocationProviderValue
int getLocationProviderValue().redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_provider = 24;- Returns:
- The enum numeric value on the wire for locationProvider.
-
getLocationProvider
RedvoxApiM.RedvoxPacketM.Sensors.Location.LocationProvider getLocationProvider().redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_provider = 24;- Returns:
- The locationProvider.
-
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 25; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 25; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 25; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 25; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 25;
-