Package io.redvox.apis
Class RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.redvox.apis.RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder,Serializable
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors.Location
public static final class RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation
extends com.google.protobuf.GeneratedMessageV3
implements RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
Protobuf type
redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA message that encapsulates both a mach and GPS timestampstatic interfacestatic final classProtobuf typeredvox_api_m.RedvoxPacketM.Sensors.Location.BestLocationstatic enumAn enumeration for the various scoring methods for the "best of" metricsNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadatabooleanfloatThe 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)static final com.google.protobuf.Descriptors.DescriptorfloatHorizontal 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 scorecom.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation>floatgetScore()The best location scoreintfloatgetSpeed()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)final com.google.protobuf.UnknownFieldSetfloatVertical accuracyUnit used for vertical accuracyintUnit used for vertical accuracybooleanTimestamp of best altitude measurementbooleanTimestamp of best bearing estimateinthashCode()booleanTimestamp of best lat/lng measurementbooleanTimestamp of best speed measurementprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
LATITUDE_LONGITUDE_TIMESTAMP_FIELD_NUMBER
public static final int LATITUDE_LONGITUDE_TIMESTAMP_FIELD_NUMBER- See Also:
-
ALTITUDE_TIMESTAMP_FIELD_NUMBER
public static final int ALTITUDE_TIMESTAMP_FIELD_NUMBER- See Also:
-
SPEED_TIMESTAMP_FIELD_NUMBER
public static final int SPEED_TIMESTAMP_FIELD_NUMBER- See Also:
-
BEARING_TIMESTAMP_FIELD_NUMBER
public static final int BEARING_TIMESTAMP_FIELD_NUMBER- See Also:
-
LATITUDE_LONGITUDE_UNIT_FIELD_NUMBER
public static final int LATITUDE_LONGITUDE_UNIT_FIELD_NUMBER- See Also:
-
ALTITUDE_UNIT_FIELD_NUMBER
public static final int ALTITUDE_UNIT_FIELD_NUMBER- See Also:
-
SPEED_UNIT_FIELD_NUMBER
public static final int SPEED_UNIT_FIELD_NUMBER- See Also:
-
BEARING_UNIT_FIELD_NUMBER
public static final int BEARING_UNIT_FIELD_NUMBER- See Also:
-
VERTICAL_ACCURACY_UNIT_FIELD_NUMBER
public static final int VERTICAL_ACCURACY_UNIT_FIELD_NUMBER- See Also:
-
HORIZONTAL_ACCURACY_UNIT_FIELD_NUMBER
public static final int HORIZONTAL_ACCURACY_UNIT_FIELD_NUMBER- See Also:
-
SPEED_ACCURACY_UNIT_FIELD_NUMBER
public static final int SPEED_ACCURACY_UNIT_FIELD_NUMBER- See Also:
-
BEARING_ACCURACY_UNIT_FIELD_NUMBER
public static final int BEARING_ACCURACY_UNIT_FIELD_NUMBER- See Also:
-
LATITUDE_FIELD_NUMBER
public static final int LATITUDE_FIELD_NUMBER- See Also:
-
LONGITUDE_FIELD_NUMBER
public static final int LONGITUDE_FIELD_NUMBER- See Also:
-
ALTITUDE_FIELD_NUMBER
public static final int ALTITUDE_FIELD_NUMBER- See Also:
-
SPEED_FIELD_NUMBER
public static final int SPEED_FIELD_NUMBER- See Also:
-
BEARING_FIELD_NUMBER
public static final int BEARING_FIELD_NUMBER- See Also:
-
VERTICAL_ACCURACY_FIELD_NUMBER
public static final int VERTICAL_ACCURACY_FIELD_NUMBER- See Also:
-
HORIZONTAL_ACCURACY_FIELD_NUMBER
public static final int HORIZONTAL_ACCURACY_FIELD_NUMBER- See Also:
-
SPEED_ACCURACY_FIELD_NUMBER
public static final int SPEED_ACCURACY_FIELD_NUMBER- See Also:
-
BEARING_ACCURACY_FIELD_NUMBER
public static final int BEARING_ACCURACY_FIELD_NUMBER- See Also:
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER- See Also:
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER- See Also:
-
LOCATION_PROVIDER_FIELD_NUMBER
public static final int LOCATION_PROVIDER_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasLatitudeLongitudeTimestamp
public boolean hasLatitudeLongitudeTimestamp()Timestamp of best lat/lng measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp latitude_longitude_timestamp = 1;- Specified by:
hasLatitudeLongitudeTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- Whether the latitudeLongitudeTimestamp field is set.
-
getLatitudeLongitudeTimestamp
public 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;- Specified by:
getLatitudeLongitudeTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The latitudeLongitudeTimestamp.
-
getLatitudeLongitudeTimestampOrBuilder
public 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;- Specified by:
getLatitudeLongitudeTimestampOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
hasAltitudeTimestamp
public boolean hasAltitudeTimestamp()Timestamp of best altitude measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp altitude_timestamp = 2;- Specified by:
hasAltitudeTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- Whether the altitudeTimestamp field is set.
-
getAltitudeTimestamp
Timestamp of best altitude measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp altitude_timestamp = 2;- Specified by:
getAltitudeTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The altitudeTimestamp.
-
getAltitudeTimestampOrBuilder
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getAltitudeTimestampOrBuilder()Timestamp of best altitude measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp altitude_timestamp = 2;- Specified by:
getAltitudeTimestampOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
hasSpeedTimestamp
public boolean hasSpeedTimestamp()Timestamp of best speed measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp speed_timestamp = 3;- Specified by:
hasSpeedTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- Whether the speedTimestamp field is set.
-
getSpeedTimestamp
Timestamp of best speed measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp speed_timestamp = 3;- Specified by:
getSpeedTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The speedTimestamp.
-
getSpeedTimestampOrBuilder
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getSpeedTimestampOrBuilder()Timestamp of best speed measurement
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp speed_timestamp = 3;- Specified by:
getSpeedTimestampOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
hasBearingTimestamp
public boolean hasBearingTimestamp()Timestamp of best bearing estimate
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp bearing_timestamp = 4;- Specified by:
hasBearingTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- Whether the bearingTimestamp field is set.
-
getBearingTimestamp
Timestamp of best bearing estimate
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp bearing_timestamp = 4;- Specified by:
getBearingTimestampin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The bearingTimestamp.
-
getBearingTimestampOrBuilder
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder getBearingTimestampOrBuilder()Timestamp of best bearing estimate
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp bearing_timestamp = 4;- Specified by:
getBearingTimestampOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
getLatitudeLongitudeUnitValue
public int getLatitudeLongitudeUnitValue()Unit used for latitude/longitude (should be decimal degrees)
.redvox_api_m.RedvoxPacketM.Unit latitude_longitude_unit = 5;- Specified by:
getLatitudeLongitudeUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for latitudeLongitudeUnit.
-
getLatitudeLongitudeUnit
Unit used for latitude/longitude (should be decimal degrees)
.redvox_api_m.RedvoxPacketM.Unit latitude_longitude_unit = 5;- Specified by:
getLatitudeLongitudeUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The latitudeLongitudeUnit.
-
getAltitudeUnitValue
public int getAltitudeUnitValue()Unit used for altitude (should be meters)
.redvox_api_m.RedvoxPacketM.Unit altitude_unit = 6;- Specified by:
getAltitudeUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for altitudeUnit.
-
getAltitudeUnit
Unit used for altitude (should be meters)
.redvox_api_m.RedvoxPacketM.Unit altitude_unit = 6;- Specified by:
getAltitudeUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The altitudeUnit.
-
getSpeedUnitValue
public int getSpeedUnitValue()Unit used for speed (should be m/s)
.redvox_api_m.RedvoxPacketM.Unit speed_unit = 7;- Specified by:
getSpeedUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for speedUnit.
-
getSpeedUnit
Unit used for speed (should be m/s)
.redvox_api_m.RedvoxPacketM.Unit speed_unit = 7;- Specified by:
getSpeedUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The speedUnit.
-
getBearingUnitValue
public int getBearingUnitValue()Unit used for bearing (should be radians)
.redvox_api_m.RedvoxPacketM.Unit bearing_unit = 8;- Specified by:
getBearingUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for bearingUnit.
-
getBearingUnit
Unit used for bearing (should be radians)
.redvox_api_m.RedvoxPacketM.Unit bearing_unit = 8;- Specified by:
getBearingUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The bearingUnit.
-
getVerticalAccuracyUnitValue
public int getVerticalAccuracyUnitValue()Unit used for vertical accuracy
.redvox_api_m.RedvoxPacketM.Unit vertical_accuracy_unit = 9;- Specified by:
getVerticalAccuracyUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for verticalAccuracyUnit.
-
getVerticalAccuracyUnit
Unit used for vertical accuracy
.redvox_api_m.RedvoxPacketM.Unit vertical_accuracy_unit = 9;- Specified by:
getVerticalAccuracyUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The verticalAccuracyUnit.
-
getHorizontalAccuracyUnitValue
public int getHorizontalAccuracyUnitValue()Unit used for horizontal accuracy
.redvox_api_m.RedvoxPacketM.Unit horizontal_accuracy_unit = 10;- Specified by:
getHorizontalAccuracyUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for horizontalAccuracyUnit.
-
getHorizontalAccuracyUnit
Unit used for horizontal accuracy
.redvox_api_m.RedvoxPacketM.Unit horizontal_accuracy_unit = 10;- Specified by:
getHorizontalAccuracyUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The horizontalAccuracyUnit.
-
getSpeedAccuracyUnitValue
public int getSpeedAccuracyUnitValue()Unit used for speed accuracy
.redvox_api_m.RedvoxPacketM.Unit speed_accuracy_unit = 11;- Specified by:
getSpeedAccuracyUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for speedAccuracyUnit.
-
getSpeedAccuracyUnit
Unit used for speed accuracy
.redvox_api_m.RedvoxPacketM.Unit speed_accuracy_unit = 11;- Specified by:
getSpeedAccuracyUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The speedAccuracyUnit.
-
getBearingAccuracyUnitValue
public int getBearingAccuracyUnitValue()Unit used for bearing accuracy
.redvox_api_m.RedvoxPacketM.Unit bearing_accuracy_unit = 12;- Specified by:
getBearingAccuracyUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for bearingAccuracyUnit.
-
getBearingAccuracyUnit
Unit used for bearing accuracy
.redvox_api_m.RedvoxPacketM.Unit bearing_accuracy_unit = 12;- Specified by:
getBearingAccuracyUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The bearingAccuracyUnit.
-
getLatitude
public double getLatitude()The best latitude
double latitude = 13;- Specified by:
getLatitudein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The latitude.
-
getLongitude
public double getLongitude()The best longitude
double longitude = 14;- Specified by:
getLongitudein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The longitude.
-
getAltitude
public float getAltitude()The best altitude
float altitude = 15;- Specified by:
getAltitudein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The altitude.
-
getSpeed
public float getSpeed()The best speed
float speed = 16;- Specified by:
getSpeedin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The speed.
-
getBearing
public float getBearing()The best bearing
float bearing = 17;- Specified by:
getBearingin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The bearing.
-
getVerticalAccuracy
public float getVerticalAccuracy()Vertical accuracy
float vertical_accuracy = 18;- Specified by:
getVerticalAccuracyin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The verticalAccuracy.
-
getHorizontalAccuracy
public float getHorizontalAccuracy()Horizontal accuracy
float horizontal_accuracy = 19;- Specified by:
getHorizontalAccuracyin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The horizontalAccuracy.
-
getSpeedAccuracy
public float getSpeedAccuracy()Speed accuracy
float speed_accuracy = 20;- Specified by:
getSpeedAccuracyin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The speedAccuracy.
-
getBearingAccuracy
public float getBearingAccuracy()Bearing accuracy
float bearing_accuracy = 21;- Specified by:
getBearingAccuracyin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The bearingAccuracy.
-
getScore
public float getScore()The best location score
float score = 22;- Specified by:
getScorein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The score.
-
getMethodValue
public int getMethodValue()Method used to derive the location score
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.LocationScoreMethod method = 23;- Specified by:
getMethodValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- 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;- Specified by:
getMethodin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The method.
-
getLocationProviderValue
public int getLocationProviderValue().redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_provider = 24;- Specified by:
getLocationProviderValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The enum numeric value on the wire for locationProvider.
-
getLocationProvider
.redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_provider = 24;- Specified by:
getLocationProviderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder- Returns:
- The locationProvider.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilderA map from string to string for including untyped metadata
map<string, string> metadata = 25;- Specified by:
getMetadataCountin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 25;- Specified by:
containsMetadatain interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 25;- Specified by:
getMetadataMapin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 25;- Specified by:
getMetadataOrDefaultin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 25;- Specified by:
getMetadataOrThrowin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.Builder newBuilder(RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation> parser() -
getParserForType
public com.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-