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

package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;

public final class Map {
  private Map() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code MAP_OPERATE_TYPE}
   */
  public enum MAP_OPERATE_TYPE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>enum_MAP_OPERATE_TYPE_NONE = 0;</code>
     */
    enum_MAP_OPERATE_TYPE_NONE(0),
    /**
     * <code>enum_MAP_OPERATE_TYPE_LIST_GET = 1;</code>
     */
    enum_MAP_OPERATE_TYPE_LIST_GET(1),
    /**
     * <code>enum_MAP_OPERATE_TYPE_LIST_SEND = 2;</code>
     */
    enum_MAP_OPERATE_TYPE_LIST_SEND(2),
    /**
     * <code>enum_MAP_OPERATE_TYPE_ASSIGN_UPDATE = 3;</code>
     */
    enum_MAP_OPERATE_TYPE_ASSIGN_UPDATE(3),
    /**
     * <code>enum_MAP_OPERATE_TYPE_ALL_UPDATE = 4;</code>
     */
    enum_MAP_OPERATE_TYPE_ALL_UPDATE(4),
    /**
     * <code>enum_MAP_OPERATE_TYPE_DOWNLOAD = 5;</code>
     */
    enum_MAP_OPERATE_TYPE_DOWNLOAD(5),
    /**
     * <code>enum_MAP_OPERATE_TYPE_SUCCESS = 6;</code>
     */
    enum_MAP_OPERATE_TYPE_SUCCESS(6),
    /**
     * <code>enum_MAP_OPERATE_YPTE_CANCEL_DOWNLOAD = 7;</code>
     */
    enum_MAP_OPERATE_YPTE_CANCEL_DOWNLOAD(7),
    /**
     * <code>enum_MAP_OPERATE_TYPE_PROGRESS_GET = 8;</code>
     */
    enum_MAP_OPERATE_TYPE_PROGRESS_GET(8),
    /**
     * <code>enum_MAP_OPERATE_TYPE_PROGRESS_UPLOAD = 9;</code>
     */
    enum_MAP_OPERATE_TYPE_PROGRESS_UPLOAD(9),
    /**
     * <code>enum_MAP_OPERATE_TYPE_ASSIGN_DEL = 10;</code>
     */
    enum_MAP_OPERATE_TYPE_ASSIGN_DEL(10),
    /**
     * <code>enum_MAP_OPERATE_TYPE_ALL_DEL = 11;</code>
     */
    enum_MAP_OPERATE_TYPE_ALL_DEL(11),
    /**
     * <code>enum_MAP_CONFIG_CMD = 12;</code>
     */
    enum_MAP_CONFIG_CMD(12),
    ;

    /**
     * <code>enum_MAP_OPERATE_TYPE_NONE = 0;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_NONE_VALUE = 0;
    /**
     * <code>enum_MAP_OPERATE_TYPE_LIST_GET = 1;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_LIST_GET_VALUE = 1;
    /**
     * <code>enum_MAP_OPERATE_TYPE_LIST_SEND = 2;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_LIST_SEND_VALUE = 2;
    /**
     * <code>enum_MAP_OPERATE_TYPE_ASSIGN_UPDATE = 3;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_ASSIGN_UPDATE_VALUE = 3;
    /**
     * <code>enum_MAP_OPERATE_TYPE_ALL_UPDATE = 4;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_ALL_UPDATE_VALUE = 4;
    /**
     * <code>enum_MAP_OPERATE_TYPE_DOWNLOAD = 5;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_DOWNLOAD_VALUE = 5;
    /**
     * <code>enum_MAP_OPERATE_TYPE_SUCCESS = 6;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_SUCCESS_VALUE = 6;
    /**
     * <code>enum_MAP_OPERATE_YPTE_CANCEL_DOWNLOAD = 7;</code>
     */
    public static final int enum_MAP_OPERATE_YPTE_CANCEL_DOWNLOAD_VALUE = 7;
    /**
     * <code>enum_MAP_OPERATE_TYPE_PROGRESS_GET = 8;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_PROGRESS_GET_VALUE = 8;
    /**
     * <code>enum_MAP_OPERATE_TYPE_PROGRESS_UPLOAD = 9;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_PROGRESS_UPLOAD_VALUE = 9;
    /**
     * <code>enum_MAP_OPERATE_TYPE_ASSIGN_DEL = 10;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_ASSIGN_DEL_VALUE = 10;
    /**
     * <code>enum_MAP_OPERATE_TYPE_ALL_DEL = 11;</code>
     */
    public static final int enum_MAP_OPERATE_TYPE_ALL_DEL_VALUE = 11;
    /**
     * <code>enum_MAP_CONFIG_CMD = 12;</code>
     */
    public static final int enum_MAP_CONFIG_CMD_VALUE = 12;


    @java.lang.Override
    public final int getNumber() {
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static MAP_OPERATE_TYPE valueOf(int value) {
      return forNumber(value);
    }

    public static MAP_OPERATE_TYPE forNumber(int value) {
      switch (value) {
        case 0: return enum_MAP_OPERATE_TYPE_NONE;
        case 1: return enum_MAP_OPERATE_TYPE_LIST_GET;
        case 2: return enum_MAP_OPERATE_TYPE_LIST_SEND;
        case 3: return enum_MAP_OPERATE_TYPE_ASSIGN_UPDATE;
        case 4: return enum_MAP_OPERATE_TYPE_ALL_UPDATE;
        case 5: return enum_MAP_OPERATE_TYPE_DOWNLOAD;
        case 6: return enum_MAP_OPERATE_TYPE_SUCCESS;
        case 7: return enum_MAP_OPERATE_YPTE_CANCEL_DOWNLOAD;
        case 8: return enum_MAP_OPERATE_TYPE_PROGRESS_GET;
        case 9: return enum_MAP_OPERATE_TYPE_PROGRESS_UPLOAD;
        case 10: return enum_MAP_OPERATE_TYPE_ASSIGN_DEL;
        case 11: return enum_MAP_OPERATE_TYPE_ALL_DEL;
        case 12: return enum_MAP_CONFIG_CMD;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<MAP_OPERATE_TYPE>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        MAP_OPERATE_TYPE> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<MAP_OPERATE_TYPE>() {
            @java.lang.Override
            public MAP_OPERATE_TYPE findValueByNumber(int number) {
              return MAP_OPERATE_TYPE.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return MAP_OPERATE_TYPEVerifier.INSTANCE;
    }

    private static final class MAP_OPERATE_TYPEVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new MAP_OPERATE_TYPEVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return MAP_OPERATE_TYPE.forNumber(number) != null;
            }
          };

    private final int value;

    private MAP_OPERATE_TYPE(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:MAP_OPERATE_TYPE)
  }

  public interface map_data_messageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:map_data_message)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>optional uint32 map_id = 1;</code>
     * @return Whether the mapId field is set.
     */
    boolean hasMapId();
    /**
     * <code>optional uint32 map_id = 1;</code>
     * @return The mapId.
     */
    int getMapId();

    /**
     * <code>optional string area_id = 2;</code>
     * @return Whether the areaId field is set.
     */
    boolean hasAreaId();
    /**
     * <code>optional string area_id = 2;</code>
     * @return The areaId.
     */
    java.lang.String getAreaId();
    /**
     * <code>optional string area_id = 2;</code>
     * @return The bytes for areaId.
     */
    com.google.protobuf.ByteString
        getAreaIdBytes();

    /**
     * <code>optional uint32 version = 3;</code>
     * @return Whether the version field is set.
     */
    boolean hasVersion();
    /**
     * <code>optional uint32 version = 3;</code>
     * @return The version.
     */
    int getVersion();

    /**
     * <code>optional string url = 4;</code>
     * @return Whether the url field is set.
     */
    boolean hasUrl();
    /**
     * <code>optional string url = 4;</code>
     * @return The url.
     */
    java.lang.String getUrl();
    /**
     * <code>optional string url = 4;</code>
     * @return The bytes for url.
     */
    com.google.protobuf.ByteString
        getUrlBytes();

    /**
     * <code>optional uint32 size = 5;</code>
     * @return Whether the size field is set.
     */
    boolean hasSize();
    /**
     * <code>optional uint32 size = 5;</code>
     * @return The size.
     */
    int getSize();

    /**
     * <code>optional uint32 area_type = 6;</code>
     * @return Whether the areaType field is set.
     */
    boolean hasAreaType();
    /**
     * <code>optional uint32 area_type = 6;</code>
     * @return The areaType.
     */
    int getAreaType();

    /**
     * <code>optional uint32 progress = 7;</code>
     * @return Whether the progress field is set.
     */
    boolean hasProgress();
    /**
     * <code>optional uint32 progress = 7;</code>
     * @return The progress.
     */
    int getProgress();

    /**
     * <code>optional uint32 config = 8;</code>
     * @return Whether the config field is set.
     */
    boolean hasConfig();
    /**
     * <code>optional uint32 config = 8;</code>
     * @return The config.
     */
    int getConfig();
  }
  /**
   * Protobuf type {@code map_data_message}
   */
  public  static final class map_data_message extends
      com.google.protobuf.GeneratedMessageLite<
          map_data_message, map_data_message.Builder> implements
      // @@protoc_insertion_point(message_implements:map_data_message)
      map_data_messageOrBuilder {
    private map_data_message() {
      areaId_ = "";
      url_ = "";
    }
    private int bitField0_;
    public static final int MAP_ID_FIELD_NUMBER = 1;
    private int mapId_;
    /**
     * <code>optional uint32 map_id = 1;</code>
     * @return Whether the mapId field is set.
     */
    @java.lang.Override
    public boolean hasMapId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional uint32 map_id = 1;</code>
     * @return The mapId.
     */
    @java.lang.Override
    public int getMapId() {
      return mapId_;
    }
    /**
     * <code>optional uint32 map_id = 1;</code>
     * @param value The mapId to set.
     */
    private void setMapId(int value) {
      bitField0_ |= 0x00000001;
      mapId_ = value;
    }
    /**
     * <code>optional uint32 map_id = 1;</code>
     */
    private void clearMapId() {
      bitField0_ = (bitField0_ & ~0x00000001);
      mapId_ = 0;
    }

    public static final int AREA_ID_FIELD_NUMBER = 2;
    private java.lang.String areaId_;
    /**
     * <code>optional string area_id = 2;</code>
     * @return Whether the areaId field is set.
     */
    @java.lang.Override
    public boolean hasAreaId() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional string area_id = 2;</code>
     * @return The areaId.
     */
    @java.lang.Override
    public java.lang.String getAreaId() {
      return areaId_;
    }
    /**
     * <code>optional string area_id = 2;</code>
     * @return The bytes for areaId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAreaIdBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(areaId_);
    }
    /**
     * <code>optional string area_id = 2;</code>
     * @param value The areaId to set.
     */
    private void setAreaId(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000002;
      areaId_ = value;
    }
    /**
     * <code>optional string area_id = 2;</code>
     */
    private void clearAreaId() {
      bitField0_ = (bitField0_ & ~0x00000002);
      areaId_ = getDefaultInstance().getAreaId();
    }
    /**
     * <code>optional string area_id = 2;</code>
     * @param value The bytes for areaId to set.
     */
    private void setAreaIdBytes(
        com.google.protobuf.ByteString value) {
      areaId_ = value.toStringUtf8();
      bitField0_ |= 0x00000002;
    }

    public static final int VERSION_FIELD_NUMBER = 3;
    private int version_;
    /**
     * <code>optional uint32 version = 3;</code>
     * @return Whether the version field is set.
     */
    @java.lang.Override
    public boolean hasVersion() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional uint32 version = 3;</code>
     * @return The version.
     */
    @java.lang.Override
    public int getVersion() {
      return version_;
    }
    /**
     * <code>optional uint32 version = 3;</code>
     * @param value The version to set.
     */
    private void setVersion(int value) {
      bitField0_ |= 0x00000004;
      version_ = value;
    }
    /**
     * <code>optional uint32 version = 3;</code>
     */
    private void clearVersion() {
      bitField0_ = (bitField0_ & ~0x00000004);
      version_ = 0;
    }

    public static final int URL_FIELD_NUMBER = 4;
    private java.lang.String url_;
    /**
     * <code>optional string url = 4;</code>
     * @return Whether the url field is set.
     */
    @java.lang.Override
    public boolean hasUrl() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>optional string url = 4;</code>
     * @return The url.
     */
    @java.lang.Override
    public java.lang.String getUrl() {
      return url_;
    }
    /**
     * <code>optional string url = 4;</code>
     * @return The bytes for url.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUrlBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(url_);
    }
    /**
     * <code>optional string url = 4;</code>
     * @param value The url to set.
     */
    private void setUrl(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000008;
      url_ = value;
    }
    /**
     * <code>optional string url = 4;</code>
     */
    private void clearUrl() {
      bitField0_ = (bitField0_ & ~0x00000008);
      url_ = getDefaultInstance().getUrl();
    }
    /**
     * <code>optional string url = 4;</code>
     * @param value The bytes for url to set.
     */
    private void setUrlBytes(
        com.google.protobuf.ByteString value) {
      url_ = value.toStringUtf8();
      bitField0_ |= 0x00000008;
    }

    public static final int SIZE_FIELD_NUMBER = 5;
    private int size_;
    /**
     * <code>optional uint32 size = 5;</code>
     * @return Whether the size field is set.
     */
    @java.lang.Override
    public boolean hasSize() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>optional uint32 size = 5;</code>
     * @return The size.
     */
    @java.lang.Override
    public int getSize() {
      return size_;
    }
    /**
     * <code>optional uint32 size = 5;</code>
     * @param value The size to set.
     */
    private void setSize(int value) {
      bitField0_ |= 0x00000010;
      size_ = value;
    }
    /**
     * <code>optional uint32 size = 5;</code>
     */
    private void clearSize() {
      bitField0_ = (bitField0_ & ~0x00000010);
      size_ = 0;
    }

    public static final int AREA_TYPE_FIELD_NUMBER = 6;
    private int areaType_;
    /**
     * <code>optional uint32 area_type = 6;</code>
     * @return Whether the areaType field is set.
     */
    @java.lang.Override
    public boolean hasAreaType() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * <code>optional uint32 area_type = 6;</code>
     * @return The areaType.
     */
    @java.lang.Override
    public int getAreaType() {
      return areaType_;
    }
    /**
     * <code>optional uint32 area_type = 6;</code>
     * @param value The areaType to set.
     */
    private void setAreaType(int value) {
      bitField0_ |= 0x00000020;
      areaType_ = value;
    }
    /**
     * <code>optional uint32 area_type = 6;</code>
     */
    private void clearAreaType() {
      bitField0_ = (bitField0_ & ~0x00000020);
      areaType_ = 0;
    }

    public static final int PROGRESS_FIELD_NUMBER = 7;
    private int progress_;
    /**
     * <code>optional uint32 progress = 7;</code>
     * @return Whether the progress field is set.
     */
    @java.lang.Override
    public boolean hasProgress() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * <code>optional uint32 progress = 7;</code>
     * @return The progress.
     */
    @java.lang.Override
    public int getProgress() {
      return progress_;
    }
    /**
     * <code>optional uint32 progress = 7;</code>
     * @param value The progress to set.
     */
    private void setProgress(int value) {
      bitField0_ |= 0x00000040;
      progress_ = value;
    }
    /**
     * <code>optional uint32 progress = 7;</code>
     */
    private void clearProgress() {
      bitField0_ = (bitField0_ & ~0x00000040);
      progress_ = 0;
    }

    public static final int CONFIG_FIELD_NUMBER = 8;
    private int config_;
    /**
     * <code>optional uint32 config = 8;</code>
     * @return Whether the config field is set.
     */
    @java.lang.Override
    public boolean hasConfig() {
      return ((bitField0_ & 0x00000080) != 0);
    }
    /**
     * <code>optional uint32 config = 8;</code>
     * @return The config.
     */
    @java.lang.Override
    public int getConfig() {
      return config_;
    }
    /**
     * <code>optional uint32 config = 8;</code>
     * @param value The config to set.
     */
    private void setConfig(int value) {
      bitField0_ |= 0x00000080;
      config_ = value;
    }
    /**
     * <code>optional uint32 config = 8;</code>
     */
    private void clearConfig() {
      bitField0_ = (bitField0_ & ~0x00000080);
      config_ = 0;
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code map_data_message}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message, Builder> implements
        // @@protoc_insertion_point(builder_implements:map_data_message)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_messageOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>optional uint32 map_id = 1;</code>
       * @return Whether the mapId field is set.
       */
      @java.lang.Override
      public boolean hasMapId() {
        return instance.hasMapId();
      }
      /**
       * <code>optional uint32 map_id = 1;</code>
       * @return The mapId.
       */
      @java.lang.Override
      public int getMapId() {
        return instance.getMapId();
      }
      /**
       * <code>optional uint32 map_id = 1;</code>
       * @param value The mapId to set.
       * @return This builder for chaining.
       */
      public Builder setMapId(int value) {
        copyOnWrite();
        instance.setMapId(value);
        return this;
      }
      /**
       * <code>optional uint32 map_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMapId() {
        copyOnWrite();
        instance.clearMapId();
        return this;
      }

      /**
       * <code>optional string area_id = 2;</code>
       * @return Whether the areaId field is set.
       */
      @java.lang.Override
      public boolean hasAreaId() {
        return instance.hasAreaId();
      }
      /**
       * <code>optional string area_id = 2;</code>
       * @return The areaId.
       */
      @java.lang.Override
      public java.lang.String getAreaId() {
        return instance.getAreaId();
      }
      /**
       * <code>optional string area_id = 2;</code>
       * @return The bytes for areaId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getAreaIdBytes() {
        return instance.getAreaIdBytes();
      }
      /**
       * <code>optional string area_id = 2;</code>
       * @param value The areaId to set.
       * @return This builder for chaining.
       */
      public Builder setAreaId(
          java.lang.String value) {
        copyOnWrite();
        instance.setAreaId(value);
        return this;
      }
      /**
       * <code>optional string area_id = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearAreaId() {
        copyOnWrite();
        instance.clearAreaId();
        return this;
      }
      /**
       * <code>optional string area_id = 2;</code>
       * @param value The bytes for areaId to set.
       * @return This builder for chaining.
       */
      public Builder setAreaIdBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setAreaIdBytes(value);
        return this;
      }

      /**
       * <code>optional uint32 version = 3;</code>
       * @return Whether the version field is set.
       */
      @java.lang.Override
      public boolean hasVersion() {
        return instance.hasVersion();
      }
      /**
       * <code>optional uint32 version = 3;</code>
       * @return The version.
       */
      @java.lang.Override
      public int getVersion() {
        return instance.getVersion();
      }
      /**
       * <code>optional uint32 version = 3;</code>
       * @param value The version to set.
       * @return This builder for chaining.
       */
      public Builder setVersion(int value) {
        copyOnWrite();
        instance.setVersion(value);
        return this;
      }
      /**
       * <code>optional uint32 version = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearVersion() {
        copyOnWrite();
        instance.clearVersion();
        return this;
      }

      /**
       * <code>optional string url = 4;</code>
       * @return Whether the url field is set.
       */
      @java.lang.Override
      public boolean hasUrl() {
        return instance.hasUrl();
      }
      /**
       * <code>optional string url = 4;</code>
       * @return The url.
       */
      @java.lang.Override
      public java.lang.String getUrl() {
        return instance.getUrl();
      }
      /**
       * <code>optional string url = 4;</code>
       * @return The bytes for url.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getUrlBytes() {
        return instance.getUrlBytes();
      }
      /**
       * <code>optional string url = 4;</code>
       * @param value The url to set.
       * @return This builder for chaining.
       */
      public Builder setUrl(
          java.lang.String value) {
        copyOnWrite();
        instance.setUrl(value);
        return this;
      }
      /**
       * <code>optional string url = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearUrl() {
        copyOnWrite();
        instance.clearUrl();
        return this;
      }
      /**
       * <code>optional string url = 4;</code>
       * @param value The bytes for url to set.
       * @return This builder for chaining.
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setUrlBytes(value);
        return this;
      }

      /**
       * <code>optional uint32 size = 5;</code>
       * @return Whether the size field is set.
       */
      @java.lang.Override
      public boolean hasSize() {
        return instance.hasSize();
      }
      /**
       * <code>optional uint32 size = 5;</code>
       * @return The size.
       */
      @java.lang.Override
      public int getSize() {
        return instance.getSize();
      }
      /**
       * <code>optional uint32 size = 5;</code>
       * @param value The size to set.
       * @return This builder for chaining.
       */
      public Builder setSize(int value) {
        copyOnWrite();
        instance.setSize(value);
        return this;
      }
      /**
       * <code>optional uint32 size = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearSize() {
        copyOnWrite();
        instance.clearSize();
        return this;
      }

      /**
       * <code>optional uint32 area_type = 6;</code>
       * @return Whether the areaType field is set.
       */
      @java.lang.Override
      public boolean hasAreaType() {
        return instance.hasAreaType();
      }
      /**
       * <code>optional uint32 area_type = 6;</code>
       * @return The areaType.
       */
      @java.lang.Override
      public int getAreaType() {
        return instance.getAreaType();
      }
      /**
       * <code>optional uint32 area_type = 6;</code>
       * @param value The areaType to set.
       * @return This builder for chaining.
       */
      public Builder setAreaType(int value) {
        copyOnWrite();
        instance.setAreaType(value);
        return this;
      }
      /**
       * <code>optional uint32 area_type = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearAreaType() {
        copyOnWrite();
        instance.clearAreaType();
        return this;
      }

      /**
       * <code>optional uint32 progress = 7;</code>
       * @return Whether the progress field is set.
       */
      @java.lang.Override
      public boolean hasProgress() {
        return instance.hasProgress();
      }
      /**
       * <code>optional uint32 progress = 7;</code>
       * @return The progress.
       */
      @java.lang.Override
      public int getProgress() {
        return instance.getProgress();
      }
      /**
       * <code>optional uint32 progress = 7;</code>
       * @param value The progress to set.
       * @return This builder for chaining.
       */
      public Builder setProgress(int value) {
        copyOnWrite();
        instance.setProgress(value);
        return this;
      }
      /**
       * <code>optional uint32 progress = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearProgress() {
        copyOnWrite();
        instance.clearProgress();
        return this;
      }

      /**
       * <code>optional uint32 config = 8;</code>
       * @return Whether the config field is set.
       */
      @java.lang.Override
      public boolean hasConfig() {
        return instance.hasConfig();
      }
      /**
       * <code>optional uint32 config = 8;</code>
       * @return The config.
       */
      @java.lang.Override
      public int getConfig() {
        return instance.getConfig();
      }
      /**
       * <code>optional uint32 config = 8;</code>
       * @param value The config to set.
       * @return This builder for chaining.
       */
      public Builder setConfig(int value) {
        copyOnWrite();
        instance.setConfig(value);
        return this;
      }
      /**
       * <code>optional uint32 config = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearConfig() {
        copyOnWrite();
        instance.clearConfig();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:map_data_message)
    }
    @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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "mapId_",
              "areaId_",
              "version_",
              "url_",
              "size_",
              "areaType_",
              "progress_",
              "config_",
            };
            java.lang.String info =
                "\u0001\b\u0000\u0001\u0001\b\b\u0000\u0000\u0000\u0001\u100b\u0000\u0002\u1008\u0001" +
                "\u0003\u100b\u0002\u0004\u1008\u0003\u0005\u100b\u0004\u0006\u100b\u0005\u0007\u100b" +
                "\u0006\b\u100b\u0007";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message>(
                        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:map_data_message)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message DEFAULT_INSTANCE;
    static {
      map_data_message defaultInstance = new map_data_message();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        map_data_message.class, defaultInstance);
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

  public interface map_msgOrBuilder extends
      // @@protoc_insertion_point(interface_extends:map_msg)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
     * @return Whether the serviceType field is set.
     */
    boolean hasServiceType();
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
     * @return The serviceType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType();

    /**
     * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
     * @return Whether the mapOperateType field is set.
     */
    boolean hasMapOperateType();
    /**
     * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
     * @return The mapOperateType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE getMapOperateType();

    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    java.util.List<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> 
        getMapDataMsgList();
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message getMapDataMsg(int index);
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    int getMapDataMsgCount();
  }
  /**
   * Protobuf type {@code map_msg}
   */
  public  static final class map_msg extends
      com.google.protobuf.GeneratedMessageLite<
          map_msg, map_msg.Builder> implements
      // @@protoc_insertion_point(message_implements:map_msg)
      map_msgOrBuilder {
    private map_msg() {
      serviceType_ = 2;
      mapDataMsg_ = emptyProtobufList();
    }
    private int bitField0_;
    public static final int SERVICE_TYPE_FIELD_NUMBER = 1;
    private int serviceType_;
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
     * @return Whether the serviceType field is set.
     */
    @java.lang.Override
    public boolean hasServiceType() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
     * @return The serviceType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.forNumber(serviceType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.enum_SERVICE_TYPE_INDEX_MAP : result;
    }
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
     * @param value The serviceType to set.
     */
    private void setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
      serviceType_ = value.getNumber();
      bitField0_ |= 0x00000001;
    }
    /**
     * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
     */
    private void clearServiceType() {
      bitField0_ = (bitField0_ & ~0x00000001);
      serviceType_ = 2;
    }

    public static final int MAP_OPERATE_TYPE_FIELD_NUMBER = 2;
    private int mapOperateType_;
    /**
     * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
     * @return Whether the mapOperateType field is set.
     */
    @java.lang.Override
    public boolean hasMapOperateType() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
     * @return The mapOperateType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE getMapOperateType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE.forNumber(mapOperateType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE.enum_MAP_OPERATE_TYPE_NONE : result;
    }
    /**
     * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
     * @param value The mapOperateType to set.
     */
    private void setMapOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE value) {
      mapOperateType_ = value.getNumber();
      bitField0_ |= 0x00000002;
    }
    /**
     * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
     */
    private void clearMapOperateType() {
      bitField0_ = (bitField0_ & ~0x00000002);
      mapOperateType_ = 0;
    }

    public static final int MAP_DATA_MSG_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.ProtobufList<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> mapDataMsg_;
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    @java.lang.Override
    public java.util.List<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> getMapDataMsgList() {
      return mapDataMsg_;
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    public java.util.List<? extends nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_messageOrBuilder> 
        getMapDataMsgOrBuilderList() {
      return mapDataMsg_;
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    @java.lang.Override
    public int getMapDataMsgCount() {
      return mapDataMsg_.size();
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message getMapDataMsg(int index) {
      return mapDataMsg_.get(index);
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_messageOrBuilder getMapDataMsgOrBuilder(
        int index) {
      return mapDataMsg_.get(index);
    }
    private void ensureMapDataMsgIsMutable() {
      com.google.protobuf.Internal.ProtobufList<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> tmp = mapDataMsg_;
      if (!tmp.isModifiable()) {
        mapDataMsg_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }

    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    private void setMapDataMsg(
        int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message value) {
      value.getClass();
  ensureMapDataMsgIsMutable();
      mapDataMsg_.set(index, value);
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    private void addMapDataMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message value) {
      value.getClass();
  ensureMapDataMsgIsMutable();
      mapDataMsg_.add(value);
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    private void addMapDataMsg(
        int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message value) {
      value.getClass();
  ensureMapDataMsgIsMutable();
      mapDataMsg_.add(index, value);
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    private void addAllMapDataMsg(
        java.lang.Iterable<? extends nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> values) {
      ensureMapDataMsgIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, mapDataMsg_);
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    private void clearMapDataMsg() {
      mapDataMsg_ = emptyProtobufList();
    }
    /**
     * <code>repeated .map_data_message map_data_msg = 3;</code>
     */
    private void removeMapDataMsg(int index) {
      ensureMapDataMsgIsMutable();
      mapDataMsg_.remove(index);
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg 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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg 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(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code map_msg}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg, Builder> implements
        // @@protoc_insertion_point(builder_implements:map_msg)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msgOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
       * @return Whether the serviceType field is set.
       */
      @java.lang.Override
      public boolean hasServiceType() {
        return instance.hasServiceType();
      }
      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
       * @return The serviceType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index getServiceType() {
        return instance.getServiceType();
      }
      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
       * @param value The enum numeric value on the wire for serviceType to set.
       * @return This builder for chaining.
       */
      public Builder setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index value) {
        copyOnWrite();
        instance.setServiceType(value);
        return this;
      }
      /**
       * <code>required .service_type_index service_type = 1 [default = enum_SERVICE_TYPE_INDEX_MAP];</code>
       * @return This builder for chaining.
       */
      public Builder clearServiceType() {
        copyOnWrite();
        instance.clearServiceType();
        return this;
      }

      /**
       * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
       * @return Whether the mapOperateType field is set.
       */
      @java.lang.Override
      public boolean hasMapOperateType() {
        return instance.hasMapOperateType();
      }
      /**
       * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
       * @return The mapOperateType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE getMapOperateType() {
        return instance.getMapOperateType();
      }
      /**
       * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
       * @param value The enum numeric value on the wire for mapOperateType to set.
       * @return This builder for chaining.
       */
      public Builder setMapOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE value) {
        copyOnWrite();
        instance.setMapOperateType(value);
        return this;
      }
      /**
       * <code>required .MAP_OPERATE_TYPE map_operate_type = 2 [default = enum_MAP_OPERATE_TYPE_NONE];</code>
       * @return This builder for chaining.
       */
      public Builder clearMapOperateType() {
        copyOnWrite();
        instance.clearMapOperateType();
        return this;
      }

      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      @java.lang.Override
      public java.util.List<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> getMapDataMsgList() {
        return java.util.Collections.unmodifiableList(
            instance.getMapDataMsgList());
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      @java.lang.Override
      public int getMapDataMsgCount() {
        return instance.getMapDataMsgCount();
      }/**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message getMapDataMsg(int index) {
        return instance.getMapDataMsg(index);
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder setMapDataMsg(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message value) {
        copyOnWrite();
        instance.setMapDataMsg(index, value);
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder setMapDataMsg(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message.Builder builderForValue) {
        copyOnWrite();
        instance.setMapDataMsg(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder addMapDataMsg(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message value) {
        copyOnWrite();
        instance.addMapDataMsg(value);
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder addMapDataMsg(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message value) {
        copyOnWrite();
        instance.addMapDataMsg(index, value);
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder addMapDataMsg(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message.Builder builderForValue) {
        copyOnWrite();
        instance.addMapDataMsg(builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder addMapDataMsg(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message.Builder builderForValue) {
        copyOnWrite();
        instance.addMapDataMsg(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder addAllMapDataMsg(
          java.lang.Iterable<? extends nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message> values) {
        copyOnWrite();
        instance.addAllMapDataMsg(values);
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder clearMapDataMsg() {
        copyOnWrite();
        instance.clearMapDataMsg();
        return this;
      }
      /**
       * <code>repeated .map_data_message map_data_msg = 3;</code>
       */
      public Builder removeMapDataMsg(int index) {
        copyOnWrite();
        instance.removeMapDataMsg(index);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:map_msg)
    }
    private byte memoizedIsInitialized = 2;
    @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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "serviceType_",
              nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Common.service_type_index.internalGetVerifier(),
              "mapOperateType_",
              nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.MAP_OPERATE_TYPE.internalGetVerifier(),
              "mapDataMsg_",
              nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_data_message.class,
            };
            java.lang.String info =
                "\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0001\u0002\u0001\u150c\u0000\u0002" +
                "\u150c\u0001\u0003\u001b";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return memoizedIsInitialized;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:map_msg)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg DEFAULT_INSTANCE;
    static {
      map_msg defaultInstance = new map_msg();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        map_msg.class, defaultInstance);
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.Map.map_msg getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}
