public final class

MapParamsProto

extends <any>

implements MapParamsProtoOrBuilder

 java.lang.Object

↳<any>

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

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/)

Overview

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

Summary

Fields
public static final intCACHE_TILE_S2_LEVEL_FIELD_NUMBER

public static final intDISK_TILE_S2_LEVEL_FIELD_NUMBER

public static final intMAP_S2_LEVEL_FIELD_NUMBER

public static final intMODEL_A_METERS_FIELD_NUMBER

public static final intMODEL_B_METERS_FIELD_NUMBER

public static final intMODEL_RMSE_METERS_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public intgetCacheTileS2Level()

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

public static MapParamsProtogetDefaultInstance()

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 static MapParamsProto.BuildernewBuilder()

public static MapParamsProto.BuildernewBuilder(MapParamsProto prototype)

public static MapParamsProtoparseDelimitedFrom(java.io.InputStream input)

public static MapParamsProtoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProtoparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProtoparseFrom(java.nio.ByteBuffer data)

public static MapParamsProtoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProtoparseFrom(com.google.protobuf.ByteString data)

public static MapParamsProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProtoparseFrom(com.google.protobuf.CodedInputStream input)

public static MapParamsProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProtoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int MAP_S2_LEVEL_FIELD_NUMBER

public static final int CACHE_TILE_S2_LEVEL_FIELD_NUMBER

public static final int DISK_TILE_S2_LEVEL_FIELD_NUMBER

public static final int MODEL_A_METERS_FIELD_NUMBER

public static final int MODEL_B_METERS_FIELD_NUMBER

public static final int MODEL_RMSE_METERS_FIELD_NUMBER

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.

public static MapParamsProto parseFrom(java.nio.ByteBuffer data)

public static MapParamsProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProto parseFrom(com.google.protobuf.ByteString data)

public static MapParamsProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProto parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProto parseDelimitedFrom(java.io.InputStream input)

public static MapParamsProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProto parseFrom(com.google.protobuf.CodedInputStream input)

public static MapParamsProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static MapParamsProto.Builder newBuilder()

public static MapParamsProto.Builder newBuilder(MapParamsProto prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static MapParamsProto getDefaultInstance()

public static <any> parser()

Source

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

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

/**
 * <pre>
 * Defines parameters for a spherically projected geoid map and corresponding
 * tile management.
 * </pre>
 *
 * Protobuf type {@code androidx.core.location.altitude.impl.proto.MapParamsProto}
 */
public  final class MapParamsProto extends
    com.google.protobuf.GeneratedMessageLite<
        MapParamsProto, MapParamsProto.Builder> implements
    // @@protoc_insertion_point(message_implements:androidx.core.location.altitude.impl.proto.MapParamsProto)
    MapParamsProtoOrBuilder {
  private MapParamsProto() {
  }
  private int bitField0_;
  public static final int MAP_S2_LEVEL_FIELD_NUMBER = 1;
  private int mapS2Level_;
  /**
   * <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.
   */
  @java.lang.Override
  public boolean hasMapS2Level() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * <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.
   */
  @java.lang.Override
  public int getMapS2Level() {
    return mapS2Level_;
  }
  /**
   * <pre>
   * Defines the resolution of the map in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 map_s2_level = 1;</code>
   * @param value The mapS2Level to set.
   */
  private void setMapS2Level(int value) {
    bitField0_ |= 0x00000001;
    mapS2Level_ = value;
  }
  /**
   * <pre>
   * Defines the resolution of the map in terms of an S2 level.
   * </pre>
   *
   * <code>optional int32 map_s2_level = 1;</code>
   */
  private void clearMapS2Level() {
    bitField0_ = (bitField0_ & ~0x00000001);
    mapS2Level_ = 0;
  }

  public static final int CACHE_TILE_S2_LEVEL_FIELD_NUMBER = 2;
  private int cacheTileS2Level_;
  /**
   * <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.
   */
  @java.lang.Override
  public boolean hasCacheTileS2Level() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * <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.
   */
  @java.lang.Override
  public int getCacheTileS2Level() {
    return cacheTileS2Level_;
  }
  /**
   * <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>
   * @param value The cacheTileS2Level to set.
   */
  private void setCacheTileS2Level(int value) {
    bitField0_ |= 0x00000002;
    cacheTileS2Level_ = value;
  }
  /**
   * <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>
   */
  private void clearCacheTileS2Level() {
    bitField0_ = (bitField0_ & ~0x00000002);
    cacheTileS2Level_ = 0;
  }

  public static final int DISK_TILE_S2_LEVEL_FIELD_NUMBER = 3;
  private int diskTileS2Level_;
  /**
   * <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.
   */
  @java.lang.Override
  public boolean hasDiskTileS2Level() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * <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.
   */
  @java.lang.Override
  public int getDiskTileS2Level() {
    return diskTileS2Level_;
  }
  /**
   * <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>
   * @param value The diskTileS2Level to set.
   */
  private void setDiskTileS2Level(int value) {
    bitField0_ |= 0x00000004;
    diskTileS2Level_ = value;
  }
  /**
   * <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>
   */
  private void clearDiskTileS2Level() {
    bitField0_ = (bitField0_ & ~0x00000004);
    diskTileS2Level_ = 0;
  }

  public static final int MODEL_A_METERS_FIELD_NUMBER = 4;
  private double modelAMeters_;
  /**
   * <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.
   */
  @java.lang.Override
  public boolean hasModelAMeters() {
    return ((bitField0_ & 0x00000008) != 0);
  }
  /**
   * <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.
   */
  @java.lang.Override
  public double getModelAMeters() {
    return modelAMeters_;
  }
  /**
   * <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>
   * @param value The modelAMeters to set.
   */
  private void setModelAMeters(double value) {
    bitField0_ |= 0x00000008;
    modelAMeters_ = value;
  }
  /**
   * <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>
   */
  private void clearModelAMeters() {
    bitField0_ = (bitField0_ & ~0x00000008);
    modelAMeters_ = 0D;
  }

  public static final int MODEL_B_METERS_FIELD_NUMBER = 5;
  private double modelBMeters_;
  /**
   * <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.
   */
  @java.lang.Override
  public boolean hasModelBMeters() {
    return ((bitField0_ & 0x00000010) != 0);
  }
  /**
   * <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.
   */
  @java.lang.Override
  public double getModelBMeters() {
    return modelBMeters_;
  }
  /**
   * <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>
   * @param value The modelBMeters to set.
   */
  private void setModelBMeters(double value) {
    bitField0_ |= 0x00000010;
    modelBMeters_ = value;
  }
  /**
   * <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>
   */
  private void clearModelBMeters() {
    bitField0_ = (bitField0_ & ~0x00000010);
    modelBMeters_ = 0D;
  }

  public static final int MODEL_RMSE_METERS_FIELD_NUMBER = 6;
  private double modelRmseMeters_;
  /**
   * <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.
   */
  @java.lang.Override
  public boolean hasModelRmseMeters() {
    return ((bitField0_ & 0x00000020) != 0);
  }
  /**
   * <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.
   */
  @java.lang.Override
  public double getModelRmseMeters() {
    return modelRmseMeters_;
  }
  /**
   * <pre>
   * Defines the root mean square error in meters of the geoid height.
   * </pre>
   *
   * <code>optional double model_rmse_meters = 6;</code>
   * @param value The modelRmseMeters to set.
   */
  private void setModelRmseMeters(double value) {
    bitField0_ |= 0x00000020;
    modelRmseMeters_ = value;
  }
  /**
   * <pre>
   * Defines the root mean square error in meters of the geoid height.
   * </pre>
   *
   * <code>optional double model_rmse_meters = 6;</code>
   */
  private void clearModelRmseMeters() {
    bitField0_ = (bitField0_ & ~0x00000020);
    modelRmseMeters_ = 0D;
  }

  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static androidx.core.location.altitude.impl.proto.MapParamsProto parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static Builder newBuilder() {
    return (Builder) DEFAULT_INSTANCE.createBuilder();
  }
  public static Builder newBuilder(androidx.core.location.altitude.impl.proto.MapParamsProto prototype) {
    return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * <pre>
   * Defines parameters for a spherically projected geoid map and corresponding
   * tile management.
   * </pre>
   *
   * Protobuf type {@code androidx.core.location.altitude.impl.proto.MapParamsProto}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        androidx.core.location.altitude.impl.proto.MapParamsProto, Builder> implements
      // @@protoc_insertion_point(builder_implements:androidx.core.location.altitude.impl.proto.MapParamsProto)
      androidx.core.location.altitude.impl.proto.MapParamsProtoOrBuilder {
    // Construct using androidx.core.location.altitude.impl.proto.MapParamsProto.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * <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.
     */
    @java.lang.Override
    public boolean hasMapS2Level() {
      return instance.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.
     */
    @java.lang.Override
    public int getMapS2Level() {
      return instance.getMapS2Level();
    }
    /**
     * <pre>
     * Defines the resolution of the map in terms of an S2 level.
     * </pre>
     *
     * <code>optional int32 map_s2_level = 1;</code>
     * @param value The mapS2Level to set.
     * @return This builder for chaining.
     */
    public Builder setMapS2Level(int value) {
      copyOnWrite();
      instance.setMapS2Level(value);
      return this;
    }
    /**
     * <pre>
     * Defines the resolution of the map in terms of an S2 level.
     * </pre>
     *
     * <code>optional int32 map_s2_level = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearMapS2Level() {
      copyOnWrite();
      instance.clearMapS2Level();
      return this;
    }

    /**
     * <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.
     */
    @java.lang.Override
    public boolean hasCacheTileS2Level() {
      return instance.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.
     */
    @java.lang.Override
    public int getCacheTileS2Level() {
      return instance.getCacheTileS2Level();
    }
    /**
     * <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>
     * @param value The cacheTileS2Level to set.
     * @return This builder for chaining.
     */
    public Builder setCacheTileS2Level(int value) {
      copyOnWrite();
      instance.setCacheTileS2Level(value);
      return this;
    }
    /**
     * <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 This builder for chaining.
     */
    public Builder clearCacheTileS2Level() {
      copyOnWrite();
      instance.clearCacheTileS2Level();
      return this;
    }

    /**
     * <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.
     */
    @java.lang.Override
    public boolean hasDiskTileS2Level() {
      return instance.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.
     */
    @java.lang.Override
    public int getDiskTileS2Level() {
      return instance.getDiskTileS2Level();
    }
    /**
     * <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>
     * @param value The diskTileS2Level to set.
     * @return This builder for chaining.
     */
    public Builder setDiskTileS2Level(int value) {
      copyOnWrite();
      instance.setDiskTileS2Level(value);
      return this;
    }
    /**
     * <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 This builder for chaining.
     */
    public Builder clearDiskTileS2Level() {
      copyOnWrite();
      instance.clearDiskTileS2Level();
      return this;
    }

    /**
     * <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.
     */
    @java.lang.Override
    public boolean hasModelAMeters() {
      return instance.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.
     */
    @java.lang.Override
    public double getModelAMeters() {
      return instance.getModelAMeters();
    }
    /**
     * <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>
     * @param value The modelAMeters to set.
     * @return This builder for chaining.
     */
    public Builder setModelAMeters(double value) {
      copyOnWrite();
      instance.setModelAMeters(value);
      return this;
    }
    /**
     * <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 This builder for chaining.
     */
    public Builder clearModelAMeters() {
      copyOnWrite();
      instance.clearModelAMeters();
      return this;
    }

    /**
     * <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.
     */
    @java.lang.Override
    public boolean hasModelBMeters() {
      return instance.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.
     */
    @java.lang.Override
    public double getModelBMeters() {
      return instance.getModelBMeters();
    }
    /**
     * <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>
     * @param value The modelBMeters to set.
     * @return This builder for chaining.
     */
    public Builder setModelBMeters(double value) {
      copyOnWrite();
      instance.setModelBMeters(value);
      return this;
    }
    /**
     * <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 This builder for chaining.
     */
    public Builder clearModelBMeters() {
      copyOnWrite();
      instance.clearModelBMeters();
      return this;
    }

    /**
     * <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.
     */
    @java.lang.Override
    public boolean hasModelRmseMeters() {
      return instance.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.
     */
    @java.lang.Override
    public double getModelRmseMeters() {
      return instance.getModelRmseMeters();
    }
    /**
     * <pre>
     * Defines the root mean square error in meters of the geoid height.
     * </pre>
     *
     * <code>optional double model_rmse_meters = 6;</code>
     * @param value The modelRmseMeters to set.
     * @return This builder for chaining.
     */
    public Builder setModelRmseMeters(double value) {
      copyOnWrite();
      instance.setModelRmseMeters(value);
      return this;
    }
    /**
     * <pre>
     * Defines the root mean square error in meters of the geoid height.
     * </pre>
     *
     * <code>optional double model_rmse_meters = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearModelRmseMeters() {
      copyOnWrite();
      instance.clearModelRmseMeters();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:androidx.core.location.altitude.impl.proto.MapParamsProto)
  }
  @java.lang.Override
  @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
  protected final java.lang.Object dynamicMethod(
      com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
      java.lang.Object arg0, java.lang.Object arg1) {
    switch (method) {
      case NEW_MUTABLE_INSTANCE: {
        return new androidx.core.location.altitude.impl.proto.MapParamsProto();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "mapS2Level_",
            "cacheTileS2Level_",
            "diskTileS2Level_",
            "modelAMeters_",
            "modelBMeters_",
            "modelRmseMeters_",
          };
          java.lang.String info =
              "\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u1004\u0000\u0002" +
              "\u1004\u0001\u0003\u1004\u0002\u0004\u1000\u0003\u0005\u1000\u0004\u0006\u1000\u0005" +
              "";
          return newMessageInfo(DEFAULT_INSTANCE, info, objects);
      }
      // fall through
      case GET_DEFAULT_INSTANCE: {
        return DEFAULT_INSTANCE;
      }
      case GET_PARSER: {
        com.google.protobuf.Parser<androidx.core.location.altitude.impl.proto.MapParamsProto> parser = PARSER;
        if (parser == null) {
          synchronized (androidx.core.location.altitude.impl.proto.MapParamsProto.class) {
            parser = PARSER;
            if (parser == null) {
              parser =
                  new DefaultInstanceBasedParser<androidx.core.location.altitude.impl.proto.MapParamsProto>(
                      DEFAULT_INSTANCE);
              PARSER = parser;
            }
          }
        }
        return parser;
    }
    case GET_MEMOIZED_IS_INITIALIZED: {
      return (byte) 1;
    }
    case SET_MEMOIZED_IS_INITIALIZED: {
      return null;
    }
    }
    throw new UnsupportedOperationException();
  }


  // @@protoc_insertion_point(class_scope:androidx.core.location.altitude.impl.proto.MapParamsProto)
  private static final androidx.core.location.altitude.impl.proto.MapParamsProto DEFAULT_INSTANCE;
  static {
    MapParamsProto defaultInstance = new MapParamsProto();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      MapParamsProto.class, defaultInstance);
  }

  public static androidx.core.location.altitude.impl.proto.MapParamsProto getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static volatile com.google.protobuf.Parser<MapParamsProto> PARSER;

  public static com.google.protobuf.Parser<MapParamsProto> parser() {
    return DEFAULT_INSTANCE.getParserForType();
  }
}