Package io.redvox.apis
Class RedvoxApiM.RedvoxPacketM.Sensors.Location
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.redvox.apis.RedvoxApiM.RedvoxPacketM.Sensors.Location
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder,Serializable
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors
public static final class RedvoxApiM.RedvoxPacketM.Sensors.Location
extends com.google.protobuf.GeneratedMessageV3
implements RedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
Location channels See: https://github.com/RedVoxInc/redvox-api-1000/src/master/docs/standards/storing_location_data.mdProtobuf type
redvox_api_m.RedvoxPacketM.Sensors.Location- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeredvox_api_m.RedvoxPacketM.Sensors.Location.BestLocationstatic interfacestatic final classLocation channels See: https://github.com/RedVoxInc/redvox-api-1000/src/master/docs/standards/storing_location_data.mdstatic enumAn enumeration of location providersNested 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 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 metadatabooleanA 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 samplesstatic final com.google.protobuf.Descriptors.DescriptorA 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 locationcom.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM.Sensors.Location>The name or description of the sensorcom.google.protobuf.ByteStringThe name or description of the sensorintA 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 statsfinal com.google.protobuf.UnknownFieldSetA list of vertical accuracy samplesA list of vertical accuracy samplesbooleanA list of altitude samplesbooleanA list of bearing accuracy samplesbooleanA list of bearing samplesinthashCode()booleanA 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 samplesprotected 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>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
-
SENSOR_DESCRIPTION_FIELD_NUMBER
public static final int SENSOR_DESCRIPTION_FIELD_NUMBER- See Also:
-
TIMESTAMPS_FIELD_NUMBER
public static final int TIMESTAMPS_FIELD_NUMBER- See Also:
-
TIMESTAMPS_GPS_FIELD_NUMBER
public static final int TIMESTAMPS_GPS_FIELD_NUMBER- See Also:
-
LATITUDE_SAMPLES_FIELD_NUMBER
public static final int LATITUDE_SAMPLES_FIELD_NUMBER- See Also:
-
LONGITUDE_SAMPLES_FIELD_NUMBER
public static final int LONGITUDE_SAMPLES_FIELD_NUMBER- See Also:
-
ALTITUDE_SAMPLES_FIELD_NUMBER
public static final int ALTITUDE_SAMPLES_FIELD_NUMBER- See Also:
-
SPEED_SAMPLES_FIELD_NUMBER
public static final int SPEED_SAMPLES_FIELD_NUMBER- See Also:
-
BEARING_SAMPLES_FIELD_NUMBER
public static final int BEARING_SAMPLES_FIELD_NUMBER- See Also:
-
HORIZONTAL_ACCURACY_SAMPLES_FIELD_NUMBER
public static final int HORIZONTAL_ACCURACY_SAMPLES_FIELD_NUMBER- See Also:
-
VERTICAL_ACCURACY_SAMPLES_FIELD_NUMBER
public static final int VERTICAL_ACCURACY_SAMPLES_FIELD_NUMBER- See Also:
-
SPEED_ACCURACY_SAMPLES_FIELD_NUMBER
public static final int SPEED_ACCURACY_SAMPLES_FIELD_NUMBER- See Also:
-
BEARING_ACCURACY_SAMPLES_FIELD_NUMBER
public static final int BEARING_ACCURACY_SAMPLES_FIELD_NUMBER- See Also:
-
LAST_BEST_LOCATION_FIELD_NUMBER
public static final int LAST_BEST_LOCATION_FIELD_NUMBER- See Also:
-
OVERALL_BEST_LOCATION_FIELD_NUMBER
public static final int OVERALL_BEST_LOCATION_FIELD_NUMBER- See Also:
-
LOCATION_PERMISSIONS_GRANTED_FIELD_NUMBER
public static final int LOCATION_PERMISSIONS_GRANTED_FIELD_NUMBER- See Also:
-
LOCATION_SERVICES_REQUESTED_FIELD_NUMBER
public static final int LOCATION_SERVICES_REQUESTED_FIELD_NUMBER- See Also:
-
LOCATION_SERVICES_ENABLED_FIELD_NUMBER
public static final int LOCATION_SERVICES_ENABLED_FIELD_NUMBER- See Also:
-
LOCATION_PROVIDERS_FIELD_NUMBER
public static final int LOCATION_PROVIDERS_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
-
getSensorDescription
The name or description of the sensor
string sensor_description = 1;- Specified by:
getSensorDescriptionin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The sensorDescription.
-
getSensorDescriptionBytes
public com.google.protobuf.ByteString getSensorDescriptionBytes()The name or description of the sensor
string sensor_description = 1;- Specified by:
getSensorDescriptionBytesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The bytes for sensorDescription.
-
hasTimestamps
public boolean hasTimestamps()Timestamps and stats
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Specified by:
hasTimestampsin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the timestamps field is set.
-
getTimestamps
Timestamps and stats
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Specified by:
getTimestampsin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The timestamps.
-
getTimestampsOrBuilder
Timestamps and stats
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Specified by:
getTimestampsOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasTimestampsGps
public boolean hasTimestampsGps().redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;- Specified by:
hasTimestampsGpsin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the timestampsGps field is set.
-
getTimestampsGps
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;- Specified by:
getTimestampsGpsin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The timestampsGps.
-
getTimestampsGpsOrBuilder
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps_gps = 3;- Specified by:
getTimestampsGpsOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasLatitudeSamples
public boolean hasLatitudeSamples()A list of latitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload latitude_samples = 4;- Specified by:
hasLatitudeSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the latitudeSamples field is set.
-
getLatitudeSamples
A list of latitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload latitude_samples = 4;- Specified by:
getLatitudeSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The latitudeSamples.
-
getLatitudeSamplesOrBuilder
A list of latitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload latitude_samples = 4;- Specified by:
getLatitudeSamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasLongitudeSamples
public boolean hasLongitudeSamples()A list of longitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload longitude_samples = 5;- Specified by:
hasLongitudeSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the longitudeSamples field is set.
-
getLongitudeSamples
A list of longitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload longitude_samples = 5;- Specified by:
getLongitudeSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The longitudeSamples.
-
getLongitudeSamplesOrBuilder
A list of longitude samples
.redvox_api_m.RedvoxPacketM.DoubleSamplePayload longitude_samples = 5;- Specified by:
getLongitudeSamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasAltitudeSamples
public boolean hasAltitudeSamples()A list of altitude samples
.redvox_api_m.RedvoxPacketM.SamplePayload altitude_samples = 6;- Specified by:
hasAltitudeSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the altitudeSamples field is set.
-
getAltitudeSamples
A list of altitude samples
.redvox_api_m.RedvoxPacketM.SamplePayload altitude_samples = 6;- Specified by:
getAltitudeSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The altitudeSamples.
-
getAltitudeSamplesOrBuilder
A list of altitude samples
.redvox_api_m.RedvoxPacketM.SamplePayload altitude_samples = 6;- Specified by:
getAltitudeSamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasSpeedSamples
public boolean hasSpeedSamples()A list of speed samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_samples = 7;- Specified by:
hasSpeedSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the speedSamples field is set.
-
getSpeedSamples
A list of speed samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_samples = 7;- Specified by:
getSpeedSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The speedSamples.
-
getSpeedSamplesOrBuilder
A list of speed samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_samples = 7;- Specified by:
getSpeedSamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasBearingSamples
public boolean hasBearingSamples()A list of bearing samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_samples = 8;- Specified by:
hasBearingSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the bearingSamples field is set.
-
getBearingSamples
A list of bearing samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_samples = 8;- Specified by:
getBearingSamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The bearingSamples.
-
getBearingSamplesOrBuilder
A list of bearing samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_samples = 8;- Specified by:
getBearingSamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasHorizontalAccuracySamples
public boolean hasHorizontalAccuracySamples()A list of horizontal accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload horizontal_accuracy_samples = 9;- Specified by:
hasHorizontalAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the horizontalAccuracySamples field is set.
-
getHorizontalAccuracySamples
A list of horizontal accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload horizontal_accuracy_samples = 9;- Specified by:
getHorizontalAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The horizontalAccuracySamples.
-
getHorizontalAccuracySamplesOrBuilder
A list of horizontal accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload horizontal_accuracy_samples = 9;- Specified by:
getHorizontalAccuracySamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasVerticalAccuracySamples
public boolean hasVerticalAccuracySamples()A list of vertical accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload vertical_accuracy_samples = 10;- Specified by:
hasVerticalAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the verticalAccuracySamples field is set.
-
getVerticalAccuracySamples
A list of vertical accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload vertical_accuracy_samples = 10;- Specified by:
getVerticalAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The verticalAccuracySamples.
-
getVerticalAccuracySamplesOrBuilder
A list of vertical accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload vertical_accuracy_samples = 10;- Specified by:
getVerticalAccuracySamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasSpeedAccuracySamples
public boolean hasSpeedAccuracySamples()A list of speed accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_accuracy_samples = 11;- Specified by:
hasSpeedAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the speedAccuracySamples field is set.
-
getSpeedAccuracySamples
A list of speed accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_accuracy_samples = 11;- Specified by:
getSpeedAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The speedAccuracySamples.
-
getSpeedAccuracySamplesOrBuilder
A list of speed accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload speed_accuracy_samples = 11;- Specified by:
getSpeedAccuracySamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasBearingAccuracySamples
public boolean hasBearingAccuracySamples()A list of bearing accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_accuracy_samples = 12;- Specified by:
hasBearingAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the bearingAccuracySamples field is set.
-
getBearingAccuracySamples
A list of bearing accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_accuracy_samples = 12;- Specified by:
getBearingAccuracySamplesin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The bearingAccuracySamples.
-
getBearingAccuracySamplesOrBuilder
A list of bearing accuracy samples
.redvox_api_m.RedvoxPacketM.SamplePayload bearing_accuracy_samples = 12;- Specified by:
getBearingAccuracySamplesOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasLastBestLocation
public boolean hasLastBestLocation()Most recent best location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation last_best_location = 13;- Specified by:
hasLastBestLocationin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the lastBestLocation field is set.
-
getLastBestLocation
Most recent best location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation last_best_location = 13;- Specified by:
getLastBestLocationin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The lastBestLocation.
-
getLastBestLocationOrBuilder
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder getLastBestLocationOrBuilder()Most recent best location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation last_best_location = 13;- Specified by:
getLastBestLocationOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
hasOverallBestLocation
public boolean hasOverallBestLocation()Best last location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation overall_best_location = 14;- Specified by:
hasOverallBestLocationin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- Whether the overallBestLocation field is set.
-
getOverallBestLocation
Best last location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation overall_best_location = 14;- Specified by:
getOverallBestLocationin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The overallBestLocation.
-
getOverallBestLocationOrBuilder
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocationOrBuilder getOverallBestLocationOrBuilder()Best last location
.redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation overall_best_location = 14;- Specified by:
getOverallBestLocationOrBuilderin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
getLocationPermissionsGranted
public boolean getLocationPermissionsGranted()Have location permissions been granted by the user?
bool location_permissions_granted = 15;- Specified by:
getLocationPermissionsGrantedin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The locationPermissionsGranted.
-
getLocationServicesRequested
public boolean getLocationServicesRequested()Has location services been requested by the user?
bool location_services_requested = 16;- Specified by:
getLocationServicesRequestedin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The locationServicesRequested.
-
getLocationServicesEnabled
public boolean getLocationServicesEnabled()Are location services enabled and working?
bool location_services_enabled = 17;- Specified by:
getLocationServicesEnabledin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The locationServicesEnabled.
-
getLocationProvidersList
Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Specified by:
getLocationProvidersListin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- A list containing the locationProviders.
-
getLocationProvidersCount
public int getLocationProvidersCount()Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Specified by:
getLocationProvidersCountin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- The count of locationProviders.
-
getLocationProviders
Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Specified by:
getLocationProvidersin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- 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;- Specified by:
getLocationProvidersValueListin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Returns:
- A list containing the enum numeric values on the wire for locationProviders.
-
getLocationProvidersValue
public int getLocationProvidersValue(int index) Location provider enumeration
repeated .redvox_api_m.RedvoxPacketM.Sensors.Location.LocationProvider location_providers = 18;- Specified by:
getLocationProvidersValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of locationProviders at the given index.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:RedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilderA map from string to string for including untyped metadata
map<string, string> metadata = 19;- Specified by:
getMetadataCountin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 19;- Specified by:
containsMetadatain interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 19;- Specified by:
getMetadataMapin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 19;- Specified by:
getMetadataOrDefaultin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 19;- Specified by:
getMetadataOrThrowin interfaceRedvoxApiM.RedvoxPacketM.Sensors.LocationOrBuilder
-
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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location 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 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location 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 parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM.Sensors.Location 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.Builder newBuilder(RedvoxApiM.RedvoxPacketM.Sensors.Location prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RedvoxApiM.RedvoxPacketM.Sensors.Location.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
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
-