public final class

MapParamsProto.Builder

extends <any>

implements MapParamsProtoOrBuilder

 java.lang.Object

↳<any>

↳androidx.core.location.altitude.impl.proto.MapParamsProto.Builder

Overview

 Defines parameters for a spherically projected geoid map and corresponding
 tile management.
 
Protobuf type androidx.core.location.altitude.impl.proto.MapParamsProto

Summary

Methods
public MapParamsProto.BuilderclearCacheTileS2Level()

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

public MapParamsProto.BuilderclearDiskTileS2Level()

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

public MapParamsProto.BuilderclearMapS2Level()

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

public MapParamsProto.BuilderclearModelAMeters()

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

public MapParamsProto.BuilderclearModelBMeters()

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

public MapParamsProto.BuilderclearModelRmseMeters()

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

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.

public MapParamsProto.BuildersetCacheTileS2Level(int value)

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

public MapParamsProto.BuildersetDiskTileS2Level(int value)

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

public MapParamsProto.BuildersetMapS2Level(int value)

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

public MapParamsProto.BuildersetModelAMeters(double value)

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

public MapParamsProto.BuildersetModelBMeters(double value)

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

public MapParamsProto.BuildersetModelRmseMeters(double value)

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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 MapParamsProto.Builder setMapS2Level(int value)

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

Parameters:

value: The mapS2Level to set.

Returns:

This builder for chaining.

public MapParamsProto.Builder clearMapS2Level()

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

Returns:

This builder for chaining.

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 MapParamsProto.Builder setCacheTileS2Level(int value)

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

Parameters:

value: The cacheTileS2Level to set.

Returns:

This builder for chaining.

public MapParamsProto.Builder clearCacheTileS2Level()

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

Returns:

This builder for chaining.

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 MapParamsProto.Builder setDiskTileS2Level(int value)

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

Parameters:

value: The diskTileS2Level to set.

Returns:

This builder for chaining.

public MapParamsProto.Builder clearDiskTileS2Level()

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

Returns:

This builder for chaining.

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 MapParamsProto.Builder setModelAMeters(double value)

 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;

Parameters:

value: The modelAMeters to set.

Returns:

This builder for chaining.

public MapParamsProto.Builder clearModelAMeters()

 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:

This builder for chaining.

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 MapParamsProto.Builder setModelBMeters(double value)

 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;

Parameters:

value: The modelBMeters to set.

Returns:

This builder for chaining.

public MapParamsProto.Builder clearModelBMeters()

 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:

This builder for chaining.

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.

public MapParamsProto.Builder setModelRmseMeters(double value)

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

Parameters:

value: The modelRmseMeters to set.

Returns:

This builder for chaining.

public MapParamsProto.Builder clearModelRmseMeters()

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

Returns:

This builder for chaining.