public interface

MapParamsProtoOrBuilder

 androidx.core.location.altitude.impl.proto.MapParamsProtoOrBuilder

Subclasses:

MapParamsProto, MapParamsProto.Builder

Gradle dependencies

compile group: 'androidx.core', name: 'core-location-altitude-proto', version: '1.0.0-alpha02'

  • groupId: androidx.core
  • artifactId: core-location-altitude-proto
  • version: 1.0.0-alpha02

Artifact androidx.core:core-location-altitude-proto:1.0.0-alpha02 it located at Google repository (https://maven.google.com/)

Summary

Methods
public intgetCacheTileS2Level()

 Defines the resolution of the tiles in cache in terms of an S2 level.

public intgetDiskTileS2Level()

 Defines the resolution of the tiles on disk in terms of an S2 level.

public intgetMapS2Level()

 Defines the resolution of the map in terms of an S2 level.

public doublegetModelAMeters()

 Defines the `a` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.

public doublegetModelBMeters()

 Defines the `b` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.

public doublegetModelRmseMeters()

 Defines the root mean square error in meters of the geoid height.

public booleanhasCacheTileS2Level()

 Defines the resolution of the tiles in cache in terms of an S2 level.

public booleanhasDiskTileS2Level()

 Defines the resolution of the tiles on disk in terms of an S2 level.

public booleanhasMapS2Level()

 Defines the resolution of the map in terms of an S2 level.

public booleanhasModelAMeters()

 Defines the `a` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.

public booleanhasModelBMeters()

 Defines the `b` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.

public booleanhasModelRmseMeters()

 Defines the root mean square error in meters of the geoid height.

Methods

public boolean hasMapS2Level()

 Defines the resolution of the map in terms of an S2 level.
 
optional int32 map_s2_level = 1;

Returns:

Whether the mapS2Level field is set.

public int getMapS2Level()

 Defines the resolution of the map in terms of an S2 level.
 
optional int32 map_s2_level = 1;

Returns:

The mapS2Level.

public boolean hasCacheTileS2Level()

 Defines the resolution of the tiles in cache in terms of an S2 level.
 
optional int32 cache_tile_s2_level = 2;

Returns:

Whether the cacheTileS2Level field is set.

public int getCacheTileS2Level()

 Defines the resolution of the tiles in cache in terms of an S2 level.
 
optional int32 cache_tile_s2_level = 2;

Returns:

The cacheTileS2Level.

public boolean hasDiskTileS2Level()

 Defines the resolution of the tiles on disk in terms of an S2 level.
 
optional int32 disk_tile_s2_level = 3;

Returns:

Whether the diskTileS2Level field is set.

public int getDiskTileS2Level()

 Defines the resolution of the tiles on disk in terms of an S2 level.
 
optional int32 disk_tile_s2_level = 3;

Returns:

The diskTileS2Level.

public boolean hasModelAMeters()

 Defines the `a` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.
 
optional double model_a_meters = 4;

Returns:

Whether the modelAMeters field is set.

public double getModelAMeters()

 Defines the `a` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.
 
optional double model_a_meters = 4;

Returns:

The modelAMeters.

public boolean hasModelBMeters()

 Defines the `b` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.
 
optional double model_b_meters = 5;

Returns:

Whether the modelBMeters field is set.

public double getModelBMeters()

 Defines the `b` coefficient in the expression `a * map_value + b` used to
 calculate a geoid height in meters.
 
optional double model_b_meters = 5;

Returns:

The modelBMeters.

public boolean hasModelRmseMeters()

 Defines the root mean square error in meters of the geoid height.
 
optional double model_rmse_meters = 6;

Returns:

Whether the modelRmseMeters field is set.

public double getModelRmseMeters()

 Defines the root mean square error in meters of the geoid height.
 
optional double model_rmse_meters = 6;

Returns:

The modelRmseMeters.

Source

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: map_params.proto

package androidx.core.location.altitude.impl.proto;

public interface MapParamsProtoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:androidx.core.location.altitude.impl.proto.MapParamsProto)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * <pre>
   * Defines the resolution of the map in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 map_s2_level = 1;</code>
   * @return Whether the mapS2Level field is set.
   */
  boolean hasMapS2Level();
  /**
   * <pre>
   * Defines the resolution of the map in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 map_s2_level = 1;</code>
   * @return The mapS2Level.
   */
  int getMapS2Level();

  /**
   * <pre>
   * Defines the resolution of the tiles in cache in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 cache_tile_s2_level = 2;</code>
   * @return Whether the cacheTileS2Level field is set.
   */
  boolean hasCacheTileS2Level();
  /**
   * <pre>
   * Defines the resolution of the tiles in cache in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 cache_tile_s2_level = 2;</code>
   * @return The cacheTileS2Level.
   */
  int getCacheTileS2Level();

  /**
   * <pre>
   * Defines the resolution of the tiles on disk in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 disk_tile_s2_level = 3;</code>
   * @return Whether the diskTileS2Level field is set.
   */
  boolean hasDiskTileS2Level();
  /**
   * <pre>
   * Defines the resolution of the tiles on disk in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 disk_tile_s2_level = 3;</code>
   * @return The diskTileS2Level.
   */
  int getDiskTileS2Level();

  /**
   * <pre>
   * Defines the `a` coefficient in the expression `a * map_value + b` used to
   * calculate a geoid height in meters.
   * </pre>
   *
   * <code>optional double model_a_meters = 4;</code>
   * @return Whether the modelAMeters field is set.
   */
  boolean hasModelAMeters();
  /**
   * <pre>
   * Defines the `a` coefficient in the expression `a * map_value + b` used to
   * calculate a geoid height in meters.
   * </pre>
   *
   * <code>optional double model_a_meters = 4;</code>
   * @return The modelAMeters.
   */
  double getModelAMeters();

  /**
   * <pre>
   * Defines the `b` coefficient in the expression `a * map_value + b` used to
   * calculate a geoid height in meters.
   * </pre>
   *
   * <code>optional double model_b_meters = 5;</code>
   * @return Whether the modelBMeters field is set.
   */
  boolean hasModelBMeters();
  /**
   * <pre>
   * Defines the `b` coefficient in the expression `a * map_value + b` used to
   * calculate a geoid height in meters.
   * </pre>
   *
   * <code>optional double model_b_meters = 5;</code>
   * @return The modelBMeters.
   */
  double getModelBMeters();

  /**
   * <pre>
   * Defines the root mean square error in meters of the geoid height.
   * </pre>
   *
   * <code>optional double model_rmse_meters = 6;</code>
   * @return Whether the modelRmseMeters field is set.
   */
  boolean hasModelRmseMeters();
  /**
   * <pre>
   * Defines the root mean square error in meters of the geoid height.
   * </pre>
   *
   * <code>optional double model_rmse_meters = 6;</code>
   * @return The modelRmseMeters.
   */
  double getModelRmseMeters();
}