Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.Sensors.Location,RedvoxApiM.RedvoxPacketM.Sensors.Location.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors
public static interface RedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadataA list of altitude samplesA list of altitude samplesA list of bearing accuracy samplesA list of bearing accuracy samplesA list of bearing samplesA list of bearing samplesA list of horizontal accuracy samplesA list of horizontal accuracy samplesMost recent best locationMost recent best locationA list of latitude samplesA list of latitude samplesbooleanHave location permissions been granted by the user?getLocationProviders(int index) Location provider enumerationintLocation provider enumerationLocation provider enumerationintgetLocationProvidersValue(int index) Location provider enumerationLocation provider enumerationbooleanAre location services enabled and working?booleanHas location services been requested by the user?A list of longitude samplesA list of longitude samplesDeprecated.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 metadataBest last locationBest last locationThe name or description of the sensorcom.google.protobuf.ByteStringThe name or description of the sensorA list of speed accuracy samplesA list of speed accuracy samplesA list of speed samplesA list of speed samplesTimestamps and stats.redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;.redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;Timestamps and statsA list of vertical accuracy samplesA list of vertical accuracy samplesbooleanA list of altitude samplesbooleanA list of bearing accuracy samplesbooleanA list of bearing samplesbooleanA list of horizontal accuracy samplesbooleanMost recent best locationbooleanA list of latitude samplesbooleanA list of longitude samplesbooleanBest last locationbooleanA list of speed accuracy samplesbooleanA list of speed samplesbooleanTimestamps and statsboolean.redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;booleanA list of vertical accuracy samplesMethods 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
-
getSensorDescription
String getSensorDescription()The name or description of the sensor
string sensor_description = 1;- Returns:
- The sensorDescription.
-
getSensorDescriptionBytes
com.google.protobuf.ByteString getSensorDescriptionBytes()The name or description of the sensor
string sensor_description = 1;- Returns:
- The bytes for sensorDescription.
-
hasTimestamps
boolean hasTimestamps()Timestamps and stats
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Returns:
- Whether the timestamps field is set.
-
getTimestamps
RedvoxApiM.RedvoxPacketM.TimingPayload getTimestamps()Timestamps and stats
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Returns:
- The timestamps.
-
getTimestampsOrBuilder
RedvoxApiM.RedvoxPacketM.TimingPayloadOrBuilder getTimestampsOrBuilder()Timestamps and stats
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2; -
hasTimestampsGps
boolean hasTimestampsGps().redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;- Returns:
- Whether the timestampsGps field is set.
-
getTimestampsGps
RedvoxApiM.RedvoxPacketM.TimingPayload getTimestampsGps().redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;- Returns:
- The timestampsGps.
-
getTimestampsGpsOrBuilder
RedvoxApiM.RedvoxPacketM.TimingPayloadOrBuilder getTimestampsGpsOrBuilder().redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3; -
hasLatitudeSamples
boolean hasLatitudeSamples()A list of latitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload latitude_samples = 4;- Returns:
- Whether the latitudeSamples field is set.
-
getLatitudeSamples
RedvoxApiM.RedvoxPacketM.DoubleSamplePayload getLatitudeSamples()A list of latitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload latitude_samples = 4;- Returns:
- The latitudeSamples.
-
getLatitudeSamplesOrBuilder
RedvoxApiM.RedvoxPacketM.DoubleSamplePayloadOrBuilder getLatitudeSamplesOrBuilder()A list of latitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload latitude_samples = 4; -
hasLongitudeSamples
boolean hasLongitudeSamples()A list of longitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload longitude_samples = 5;- Returns:
- Whether the longitudeSamples field is set.
-
getLongitudeSamples
RedvoxApiM.RedvoxPacketM.DoubleSamplePayload getLongitudeSamples()A list of longitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload longitude_samples = 5;- Returns:
- The longitudeSamples.
-
getLongitudeSamplesOrBuilder
RedvoxApiM.RedvoxPacketM.DoubleSamplePayloadOrBuilder getLongitudeSamplesOrBuilder()A list of longitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload longitude_samples = 5; -
hasAltitudeSamples
boolean hasAltitudeSamples()A list of altitude samples
.redvox_api_m.RedvoxPacketM.SamplePayload altitude_samples = 6;- Returns:
- Whether the altitudeSamples field is set.
-
getAltitudeSamples
RedvoxApiM.RedvoxPacketM.SamplePayload getAltitudeSamples()A list of altitude samples
.redvox_api_m.RedvoxPacketM.SamplePayload altitude_samples = 6;- Returns:
- The altitudeSamples.
-
getAltitudeSamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getAltitudeSamplesOrBuilder()A list of altitude samples
.redvox_api_m.RedvoxPacketM.SamplePayload altitude_samples = 6; -
hasSpeedSamples
boolean hasSpeedSamples()A list of speed samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_samples = 7;- Returns:
- Whether the speedSamples field is set.
-
getSpeedSamples
RedvoxApiM.RedvoxPacketM.SamplePayload getSpeedSamples()A list of speed samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_samples = 7;- Returns:
- The speedSamples.
-
getSpeedSamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getSpeedSamplesOrBuilder()A list of speed samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_samples = 7; -
hasBearingSamples
boolean hasBearingSamples()A list of bearing samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_samples = 8;- Returns:
- Whether the bearingSamples field is set.
-
getBearingSamples
RedvoxApiM.RedvoxPacketM.SamplePayload getBearingSamples()A list of bearing samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_samples = 8;- Returns:
- The bearingSamples.
-
getBearingSamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getBearingSamplesOrBuilder()A list of bearing samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_samples = 8; -
hasHorizontalAccuracySamples
boolean hasHorizontalAccuracySamples()A list of horizontal accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload horizontal_accuracy_samples = 9;- Returns:
- Whether the horizontalAccuracySamples field is set.
-
getHorizontalAccuracySamples
RedvoxApiM.RedvoxPacketM.SamplePayload getHorizontalAccuracySamples()A list of horizontal accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload horizontal_accuracy_samples = 9;- Returns:
- The horizontalAccuracySamples.
-
getHorizontalAccuracySamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getHorizontalAccuracySamplesOrBuilder()A list of horizontal accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload horizontal_accuracy_samples = 9; -
hasVerticalAccuracySamples
boolean hasVerticalAccuracySamples()A list of vertical accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload vertical_accuracy_samples = 10;- Returns:
- Whether the verticalAccuracySamples field is set.
-
getVerticalAccuracySamples
RedvoxApiM.RedvoxPacketM.SamplePayload getVerticalAccuracySamples()A list of vertical accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload vertical_accuracy_samples = 10;- Returns:
- The verticalAccuracySamples.
-
getVerticalAccuracySamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getVerticalAccuracySamplesOrBuilder()A list of vertical accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload vertical_accuracy_samples = 10; -
hasSpeedAccuracySamples
boolean hasSpeedAccuracySamples()A list of speed accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_accuracy_samples = 11;- Returns:
- Whether the speedAccuracySamples field is set.
-
getSpeedAccuracySamples
RedvoxApiM.RedvoxPacketM.SamplePayload getSpeedAccuracySamples()A list of speed accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_accuracy_samples = 11;- Returns:
- The speedAccuracySamples.
-
getSpeedAccuracySamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getSpeedAccuracySamplesOrBuilder()A list of speed accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_accuracy_samples = 11; -
hasBearingAccuracySamples
boolean hasBearingAccuracySamples()A list of bearing accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_accuracy_samples = 12;- Returns:
- Whether the bearingAccuracySamples field is set.
-
getBearingAccuracySamples
RedvoxApiM.RedvoxPacketM.SamplePayload getBearingAccuracySamples()A list of bearing accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_accuracy_samples = 12;- Returns:
- The bearingAccuracySamples.
-
getBearingAccuracySamplesOrBuilder
RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder getBearingAccuracySamplesOrBuilder()A list of bearing accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_accuracy_samples = 12; -
hasLastBestLocation
boolean hasLastBestLocation()Most recent best location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation last_best_location = 13;- Returns:
- Whether the lastBestLocation field is set.
-
getLastBestLocation
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation getLastBestLocation()Most recent best location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation last_best_location = 13;- Returns:
- The lastBestLocation.
-
getLastBestLocationOrBuilder
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder getLastBestLocationOrBuilder()Most recent best location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation last_best_location = 13; -
hasOverallBestLocation
boolean hasOverallBestLocation()Best last location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation overall_best_location = 14;- Returns:
- Whether the overallBestLocation field is set.
-
getOverallBestLocation
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation getOverallBestLocation()Best last location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation overall_best_location = 14;- Returns:
- The overallBestLocation.
-
getOverallBestLocationOrBuilder
RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder getOverallBestLocationOrBuilder()Best last location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation overall_best_location = 14; -
getLocationPermissionsGranted
boolean getLocationPermissionsGranted()Have location permissions been granted by the user?
bool location_permissions_granted = 15;- Returns:
- The locationPermissionsGranted.
-
getLocationServicesRequested
boolean getLocationServicesRequested()Has location services been requested by the user?
bool location_services_requested = 16;- Returns:
- The locationServicesRequested.
-
getLocationServicesEnabled
boolean getLocationServicesEnabled()Are location services enabled and working?
bool location_services_enabled = 17;- Returns:
- The locationServicesEnabled.
-
getLocationProvidersList
List<RedvoxApiM.RedvoxPacketM.Sensors.Location.LocationProvider> getLocationProvidersList()Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Returns:
- A list containing the locationProviders.
-
getLocationProvidersCount
int getLocationProvidersCount()Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Returns:
- The count of locationProviders.
-
getLocationProviders
Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Parameters:
index- The index of the element to return.- Returns:
- The locationProviders at the given index.
-
getLocationProvidersValueList
Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Returns:
- A list containing the enum numeric values on the wire for locationProviders.
-
getLocationProvidersValue
int getLocationProvidersValue(int index) Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of locationProviders at the given index.
-
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 19; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 19; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 19; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 19; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 19;
-