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

package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;

public final class PeripheralInfo {
  private PeripheralInfo() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code PERIPHERAL_INFO_SERVICE}
   */
  public enum PERIPHERAL_INFO_SERVICE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>PIS_UNSPECIFIED = 0;</code>
     */
    PIS_UNSPECIFIED(0),
    /**
     * <code>PIS_MODEL = 1;</code>
     */
    PIS_MODEL(1),
    /**
     * <code>PIS_NAME = 2;</code>
     */
    PIS_NAME(2),
    /**
     * <code>PIS_VERSION = 3;</code>
     */
    PIS_VERSION(3),
    /**
     * <code>PIS_ID = 11;</code>
     */
    PIS_ID(11),
    /**
     * <code>PIS_POWER = 16;</code>
     */
    PIS_POWER(16),
    /**
     * <code>PIS_TEMPERATURE = 17;</code>
     */
    PIS_TEMPERATURE(17),
    /**
     * <code>PIS_MEMORY = 18;</code>
     */
    PIS_MEMORY(18),
    /**
     * <code>PIS_ALL_INFO = 31;</code>
     */
    PIS_ALL_INFO(31),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>PIS_UNSPECIFIED = 0;</code>
     */
    public static final int PIS_UNSPECIFIED_VALUE = 0;
    /**
     * <code>PIS_MODEL = 1;</code>
     */
    public static final int PIS_MODEL_VALUE = 1;
    /**
     * <code>PIS_NAME = 2;</code>
     */
    public static final int PIS_NAME_VALUE = 2;
    /**
     * <code>PIS_VERSION = 3;</code>
     */
    public static final int PIS_VERSION_VALUE = 3;
    /**
     * <code>PIS_ID = 11;</code>
     */
    public static final int PIS_ID_VALUE = 11;
    /**
     * <code>PIS_POWER = 16;</code>
     */
    public static final int PIS_POWER_VALUE = 16;
    /**
     * <code>PIS_TEMPERATURE = 17;</code>
     */
    public static final int PIS_TEMPERATURE_VALUE = 17;
    /**
     * <code>PIS_MEMORY = 18;</code>
     */
    public static final int PIS_MEMORY_VALUE = 18;
    /**
     * <code>PIS_ALL_INFO = 31;</code>
     */
    public static final int PIS_ALL_INFO_VALUE = 31;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      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 PERIPHERAL_INFO_SERVICE valueOf(int value) {
      return forNumber(value);
    }

    public static PERIPHERAL_INFO_SERVICE forNumber(int value) {
      switch (value) {
        case 0: return PIS_UNSPECIFIED;
        case 1: return PIS_MODEL;
        case 2: return PIS_NAME;
        case 3: return PIS_VERSION;
        case 11: return PIS_ID;
        case 16: return PIS_POWER;
        case 17: return PIS_TEMPERATURE;
        case 18: return PIS_MEMORY;
        case 31: return PIS_ALL_INFO;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_INFO_SERVICE)
  }

  /**
   * Protobuf enum {@code PERIPHERAL_INFO_OPERATE}
   */
  public enum PERIPHERAL_INFO_OPERATE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>PIO_UNSPECIFIED = 0;</code>
     */
    PIO_UNSPECIFIED(0),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>PIO_UNSPECIFIED = 0;</code>
     */
    public static final int PIO_UNSPECIFIED_VALUE = 0;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      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 PERIPHERAL_INFO_OPERATE valueOf(int value) {
      return forNumber(value);
    }

    public static PERIPHERAL_INFO_OPERATE forNumber(int value) {
      switch (value) {
        case 0: return PIO_UNSPECIFIED;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_INFO_OPERATE)
  }

  /**
   * Protobuf enum {@code PERIPHERAL_INFO_MODEL_TYPE}
   */
  public enum PERIPHERAL_INFO_MODEL_TYPE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>PIM_UNSPECIFIED = 0;</code>
     */
    PIM_UNSPECIFIED(0),
    /**
     * <code>PIM_HR70 = 1;</code>
     */
    PIM_HR70(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>PIM_UNSPECIFIED = 0;</code>
     */
    public static final int PIM_UNSPECIFIED_VALUE = 0;
    /**
     * <code>PIM_HR70 = 1;</code>
     */
    public static final int PIM_HR70_VALUE = 1;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      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 PERIPHERAL_INFO_MODEL_TYPE valueOf(int value) {
      return forNumber(value);
    }

    public static PERIPHERAL_INFO_MODEL_TYPE forNumber(int value) {
      switch (value) {
        case 0: return PIM_UNSPECIFIED;
        case 1: return PIM_HR70;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_INFO_MODEL_TYPE)
  }

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

    /**
     * <code>string device_name = 1;</code>
     * @return The deviceName.
     */
    java.lang.String getDeviceName();
    /**
     * <code>string device_name = 1;</code>
     * @return The bytes for deviceName.
     */
    com.google.protobuf.ByteString
        getDeviceNameBytes();

    /**
     * <code>string ble_name = 2;</code>
     * @return The bleName.
     */
    java.lang.String getBleName();
    /**
     * <code>string ble_name = 2;</code>
     * @return The bytes for bleName.
     */
    com.google.protobuf.ByteString
        getBleNameBytes();

    /**
     * <code>string manufacturer_name = 3;</code>
     * @return The manufacturerName.
     */
    java.lang.String getManufacturerName();
    /**
     * <code>string manufacturer_name = 3;</code>
     * @return The bytes for manufacturerName.
     */
    com.google.protobuf.ByteString
        getManufacturerNameBytes();
  }
  /**
   * Protobuf type {@code peripheral_info_data_name}
   */
  public  static final class peripheral_info_data_name extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_data_name, peripheral_info_data_name.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_data_name)
      peripheral_info_data_nameOrBuilder {
    private peripheral_info_data_name() {
      deviceName_ = "";
      bleName_ = "";
      manufacturerName_ = "";
    }
    public static final int DEVICE_NAME_FIELD_NUMBER = 1;
    private java.lang.String deviceName_;
    /**
     * <code>string device_name = 1;</code>
     * @return The deviceName.
     */
    @java.lang.Override
    public java.lang.String getDeviceName() {
      return deviceName_;
    }
    /**
     * <code>string device_name = 1;</code>
     * @return The bytes for deviceName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDeviceNameBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(deviceName_);
    }
    /**
     * <code>string device_name = 1;</code>
     * @param value The deviceName to set.
     */
    private void setDeviceName(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      deviceName_ = value;
    }
    /**
     * <code>string device_name = 1;</code>
     */
    private void clearDeviceName() {
      
      deviceName_ = getDefaultInstance().getDeviceName();
    }
    /**
     * <code>string device_name = 1;</code>
     * @param value The bytes for deviceName to set.
     */
    private void setDeviceNameBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      deviceName_ = value.toStringUtf8();
      
    }

    public static final int BLE_NAME_FIELD_NUMBER = 2;
    private java.lang.String bleName_;
    /**
     * <code>string ble_name = 2;</code>
     * @return The bleName.
     */
    @java.lang.Override
    public java.lang.String getBleName() {
      return bleName_;
    }
    /**
     * <code>string ble_name = 2;</code>
     * @return The bytes for bleName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getBleNameBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(bleName_);
    }
    /**
     * <code>string ble_name = 2;</code>
     * @param value The bleName to set.
     */
    private void setBleName(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      bleName_ = value;
    }
    /**
     * <code>string ble_name = 2;</code>
     */
    private void clearBleName() {
      
      bleName_ = getDefaultInstance().getBleName();
    }
    /**
     * <code>string ble_name = 2;</code>
     * @param value The bytes for bleName to set.
     */
    private void setBleNameBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      bleName_ = value.toStringUtf8();
      
    }

    public static final int MANUFACTURER_NAME_FIELD_NUMBER = 3;
    private java.lang.String manufacturerName_;
    /**
     * <code>string manufacturer_name = 3;</code>
     * @return The manufacturerName.
     */
    @java.lang.Override
    public java.lang.String getManufacturerName() {
      return manufacturerName_;
    }
    /**
     * <code>string manufacturer_name = 3;</code>
     * @return The bytes for manufacturerName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getManufacturerNameBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(manufacturerName_);
    }
    /**
     * <code>string manufacturer_name = 3;</code>
     * @param value The manufacturerName to set.
     */
    private void setManufacturerName(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      manufacturerName_ = value;
    }
    /**
     * <code>string manufacturer_name = 3;</code>
     */
    private void clearManufacturerName() {
      
      manufacturerName_ = getDefaultInstance().getManufacturerName();
    }
    /**
     * <code>string manufacturer_name = 3;</code>
     * @param value The bytes for manufacturerName to set.
     */
    private void setManufacturerNameBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      manufacturerName_ = value.toStringUtf8();
      
    }

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

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


      /**
       * <code>string device_name = 1;</code>
       * @return The deviceName.
       */
      @java.lang.Override
      public java.lang.String getDeviceName() {
        return instance.getDeviceName();
      }
      /**
       * <code>string device_name = 1;</code>
       * @return The bytes for deviceName.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getDeviceNameBytes() {
        return instance.getDeviceNameBytes();
      }
      /**
       * <code>string device_name = 1;</code>
       * @param value The deviceName to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceName(
          java.lang.String value) {
        copyOnWrite();
        instance.setDeviceName(value);
        return this;
      }
      /**
       * <code>string device_name = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearDeviceName() {
        copyOnWrite();
        instance.clearDeviceName();
        return this;
      }
      /**
       * <code>string device_name = 1;</code>
       * @param value The bytes for deviceName to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceNameBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setDeviceNameBytes(value);
        return this;
      }

      /**
       * <code>string ble_name = 2;</code>
       * @return The bleName.
       */
      @java.lang.Override
      public java.lang.String getBleName() {
        return instance.getBleName();
      }
      /**
       * <code>string ble_name = 2;</code>
       * @return The bytes for bleName.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getBleNameBytes() {
        return instance.getBleNameBytes();
      }
      /**
       * <code>string ble_name = 2;</code>
       * @param value The bleName to set.
       * @return This builder for chaining.
       */
      public Builder setBleName(
          java.lang.String value) {
        copyOnWrite();
        instance.setBleName(value);
        return this;
      }
      /**
       * <code>string ble_name = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearBleName() {
        copyOnWrite();
        instance.clearBleName();
        return this;
      }
      /**
       * <code>string ble_name = 2;</code>
       * @param value The bytes for bleName to set.
       * @return This builder for chaining.
       */
      public Builder setBleNameBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setBleNameBytes(value);
        return this;
      }

      /**
       * <code>string manufacturer_name = 3;</code>
       * @return The manufacturerName.
       */
      @java.lang.Override
      public java.lang.String getManufacturerName() {
        return instance.getManufacturerName();
      }
      /**
       * <code>string manufacturer_name = 3;</code>
       * @return The bytes for manufacturerName.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getManufacturerNameBytes() {
        return instance.getManufacturerNameBytes();
      }
      /**
       * <code>string manufacturer_name = 3;</code>
       * @param value The manufacturerName to set.
       * @return This builder for chaining.
       */
      public Builder setManufacturerName(
          java.lang.String value) {
        copyOnWrite();
        instance.setManufacturerName(value);
        return this;
      }
      /**
       * <code>string manufacturer_name = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearManufacturerName() {
        copyOnWrite();
        instance.clearManufacturerName();
        return this;
      }
      /**
       * <code>string manufacturer_name = 3;</code>
       * @param value The bytes for manufacturerName to set.
       * @return This builder for chaining.
       */
      public Builder setManufacturerNameBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setManufacturerNameBytes(value);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_data_name)
    }
    @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.PeripheralInfo.peripheral_info_data_name();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "deviceName_",
              "bleName_",
              "manufacturerName_",
            };
            java.lang.String info =
                "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
                "\u0003\u0208";
            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.PeripheralInfo.peripheral_info_data_name> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name>(
                        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:peripheral_info_data_name)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name DEFAULT_INSTANCE;
    static {
      peripheral_info_data_name defaultInstance = new peripheral_info_data_name();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_data_name.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>uint32 mcu_version = 1;</code>
     * @return The mcuVersion.
     */
    int getMcuVersion();

    /**
     * <code>uint32 app_version = 2;</code>
     * @return The appVersion.
     */
    int getAppVersion();

    /**
     * <code>uint32 boot_version = 3;</code>
     * @return The bootVersion.
     */
    int getBootVersion();

    /**
     * <code>uint32 hard_version = 4;</code>
     * @return The hardVersion.
     */
    int getHardVersion();

    /**
     * <code>uint32 check_version = 5;</code>
     * @return The checkVersion.
     */
    int getCheckVersion();
  }
  /**
   * Protobuf type {@code peripheral_info_data_version}
   */
  public  static final class peripheral_info_data_version extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_data_version, peripheral_info_data_version.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_data_version)
      peripheral_info_data_versionOrBuilder {
    private peripheral_info_data_version() {
    }
    public static final int MCU_VERSION_FIELD_NUMBER = 1;
    private int mcuVersion_;
    /**
     * <code>uint32 mcu_version = 1;</code>
     * @return The mcuVersion.
     */
    @java.lang.Override
    public int getMcuVersion() {
      return mcuVersion_;
    }
    /**
     * <code>uint32 mcu_version = 1;</code>
     * @param value The mcuVersion to set.
     */
    private void setMcuVersion(int value) {
      
      mcuVersion_ = value;
    }
    /**
     * <code>uint32 mcu_version = 1;</code>
     */
    private void clearMcuVersion() {
      
      mcuVersion_ = 0;
    }

    public static final int APP_VERSION_FIELD_NUMBER = 2;
    private int appVersion_;
    /**
     * <code>uint32 app_version = 2;</code>
     * @return The appVersion.
     */
    @java.lang.Override
    public int getAppVersion() {
      return appVersion_;
    }
    /**
     * <code>uint32 app_version = 2;</code>
     * @param value The appVersion to set.
     */
    private void setAppVersion(int value) {
      
      appVersion_ = value;
    }
    /**
     * <code>uint32 app_version = 2;</code>
     */
    private void clearAppVersion() {
      
      appVersion_ = 0;
    }

    public static final int BOOT_VERSION_FIELD_NUMBER = 3;
    private int bootVersion_;
    /**
     * <code>uint32 boot_version = 3;</code>
     * @return The bootVersion.
     */
    @java.lang.Override
    public int getBootVersion() {
      return bootVersion_;
    }
    /**
     * <code>uint32 boot_version = 3;</code>
     * @param value The bootVersion to set.
     */
    private void setBootVersion(int value) {
      
      bootVersion_ = value;
    }
    /**
     * <code>uint32 boot_version = 3;</code>
     */
    private void clearBootVersion() {
      
      bootVersion_ = 0;
    }

    public static final int HARD_VERSION_FIELD_NUMBER = 4;
    private int hardVersion_;
    /**
     * <code>uint32 hard_version = 4;</code>
     * @return The hardVersion.
     */
    @java.lang.Override
    public int getHardVersion() {
      return hardVersion_;
    }
    /**
     * <code>uint32 hard_version = 4;</code>
     * @param value The hardVersion to set.
     */
    private void setHardVersion(int value) {
      
      hardVersion_ = value;
    }
    /**
     * <code>uint32 hard_version = 4;</code>
     */
    private void clearHardVersion() {
      
      hardVersion_ = 0;
    }

    public static final int CHECK_VERSION_FIELD_NUMBER = 5;
    private int checkVersion_;
    /**
     * <code>uint32 check_version = 5;</code>
     * @return The checkVersion.
     */
    @java.lang.Override
    public int getCheckVersion() {
      return checkVersion_;
    }
    /**
     * <code>uint32 check_version = 5;</code>
     * @param value The checkVersion to set.
     */
    private void setCheckVersion(int value) {
      
      checkVersion_ = value;
    }
    /**
     * <code>uint32 check_version = 5;</code>
     */
    private void clearCheckVersion() {
      
      checkVersion_ = 0;
    }

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

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


      /**
       * <code>uint32 mcu_version = 1;</code>
       * @return The mcuVersion.
       */
      @java.lang.Override
      public int getMcuVersion() {
        return instance.getMcuVersion();
      }
      /**
       * <code>uint32 mcu_version = 1;</code>
       * @param value The mcuVersion to set.
       * @return This builder for chaining.
       */
      public Builder setMcuVersion(int value) {
        copyOnWrite();
        instance.setMcuVersion(value);
        return this;
      }
      /**
       * <code>uint32 mcu_version = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMcuVersion() {
        copyOnWrite();
        instance.clearMcuVersion();
        return this;
      }

      /**
       * <code>uint32 app_version = 2;</code>
       * @return The appVersion.
       */
      @java.lang.Override
      public int getAppVersion() {
        return instance.getAppVersion();
      }
      /**
       * <code>uint32 app_version = 2;</code>
       * @param value The appVersion to set.
       * @return This builder for chaining.
       */
      public Builder setAppVersion(int value) {
        copyOnWrite();
        instance.setAppVersion(value);
        return this;
      }
      /**
       * <code>uint32 app_version = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearAppVersion() {
        copyOnWrite();
        instance.clearAppVersion();
        return this;
      }

      /**
       * <code>uint32 boot_version = 3;</code>
       * @return The bootVersion.
       */
      @java.lang.Override
      public int getBootVersion() {
        return instance.getBootVersion();
      }
      /**
       * <code>uint32 boot_version = 3;</code>
       * @param value The bootVersion to set.
       * @return This builder for chaining.
       */
      public Builder setBootVersion(int value) {
        copyOnWrite();
        instance.setBootVersion(value);
        return this;
      }
      /**
       * <code>uint32 boot_version = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearBootVersion() {
        copyOnWrite();
        instance.clearBootVersion();
        return this;
      }

      /**
       * <code>uint32 hard_version = 4;</code>
       * @return The hardVersion.
       */
      @java.lang.Override
      public int getHardVersion() {
        return instance.getHardVersion();
      }
      /**
       * <code>uint32 hard_version = 4;</code>
       * @param value The hardVersion to set.
       * @return This builder for chaining.
       */
      public Builder setHardVersion(int value) {
        copyOnWrite();
        instance.setHardVersion(value);
        return this;
      }
      /**
       * <code>uint32 hard_version = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearHardVersion() {
        copyOnWrite();
        instance.clearHardVersion();
        return this;
      }

      /**
       * <code>uint32 check_version = 5;</code>
       * @return The checkVersion.
       */
      @java.lang.Override
      public int getCheckVersion() {
        return instance.getCheckVersion();
      }
      /**
       * <code>uint32 check_version = 5;</code>
       * @param value The checkVersion to set.
       * @return This builder for chaining.
       */
      public Builder setCheckVersion(int value) {
        copyOnWrite();
        instance.setCheckVersion(value);
        return this;
      }
      /**
       * <code>uint32 check_version = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearCheckVersion() {
        copyOnWrite();
        instance.clearCheckVersion();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_data_version)
    }
    @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.PeripheralInfo.peripheral_info_data_version();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "mcuVersion_",
              "appVersion_",
              "bootVersion_",
              "hardVersion_",
              "checkVersion_",
            };
            java.lang.String info =
                "\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u000b\u0002\u000b" +
                "\u0003\u000b\u0004\u000b\u0005\u000b";
            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.PeripheralInfo.peripheral_info_data_version> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version>(
                        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:peripheral_info_data_version)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version DEFAULT_INSTANCE;
    static {
      peripheral_info_data_version defaultInstance = new peripheral_info_data_version();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_data_version.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>uint32 device_id = 1;</code>
     * @return The deviceId.
     */
    int getDeviceId();

    /**
     * <code>uint32 manufacturer_id = 2;</code>
     * @return The manufacturerId.
     */
    int getManufacturerId();
  }
  /**
   * Protobuf type {@code peripheral_info_data_id}
   */
  public  static final class peripheral_info_data_id extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_data_id, peripheral_info_data_id.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_data_id)
      peripheral_info_data_idOrBuilder {
    private peripheral_info_data_id() {
    }
    public static final int DEVICE_ID_FIELD_NUMBER = 1;
    private int deviceId_;
    /**
     * <code>uint32 device_id = 1;</code>
     * @return The deviceId.
     */
    @java.lang.Override
    public int getDeviceId() {
      return deviceId_;
    }
    /**
     * <code>uint32 device_id = 1;</code>
     * @param value The deviceId to set.
     */
    private void setDeviceId(int value) {
      
      deviceId_ = value;
    }
    /**
     * <code>uint32 device_id = 1;</code>
     */
    private void clearDeviceId() {
      
      deviceId_ = 0;
    }

    public static final int MANUFACTURER_ID_FIELD_NUMBER = 2;
    private int manufacturerId_;
    /**
     * <code>uint32 manufacturer_id = 2;</code>
     * @return The manufacturerId.
     */
    @java.lang.Override
    public int getManufacturerId() {
      return manufacturerId_;
    }
    /**
     * <code>uint32 manufacturer_id = 2;</code>
     * @param value The manufacturerId to set.
     */
    private void setManufacturerId(int value) {
      
      manufacturerId_ = value;
    }
    /**
     * <code>uint32 manufacturer_id = 2;</code>
     */
    private void clearManufacturerId() {
      
      manufacturerId_ = 0;
    }

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

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


      /**
       * <code>uint32 device_id = 1;</code>
       * @return The deviceId.
       */
      @java.lang.Override
      public int getDeviceId() {
        return instance.getDeviceId();
      }
      /**
       * <code>uint32 device_id = 1;</code>
       * @param value The deviceId to set.
       * @return This builder for chaining.
       */
      public Builder setDeviceId(int value) {
        copyOnWrite();
        instance.setDeviceId(value);
        return this;
      }
      /**
       * <code>uint32 device_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearDeviceId() {
        copyOnWrite();
        instance.clearDeviceId();
        return this;
      }

      /**
       * <code>uint32 manufacturer_id = 2;</code>
       * @return The manufacturerId.
       */
      @java.lang.Override
      public int getManufacturerId() {
        return instance.getManufacturerId();
      }
      /**
       * <code>uint32 manufacturer_id = 2;</code>
       * @param value The manufacturerId to set.
       * @return This builder for chaining.
       */
      public Builder setManufacturerId(int value) {
        copyOnWrite();
        instance.setManufacturerId(value);
        return this;
      }
      /**
       * <code>uint32 manufacturer_id = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearManufacturerId() {
        copyOnWrite();
        instance.clearManufacturerId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_data_id)
    }
    @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.PeripheralInfo.peripheral_info_data_id();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "deviceId_",
              "manufacturerId_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u000b\u0002\u000b" +
                "";
            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.PeripheralInfo.peripheral_info_data_id> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id>(
                        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:peripheral_info_data_id)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id DEFAULT_INSTANCE;
    static {
      peripheral_info_data_id defaultInstance = new peripheral_info_data_id();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_data_id.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>uint32 vol_cur = 1;</code>
     * @return The volCur.
     */
    int getVolCur();

    /**
     * <code>uint32 percent = 2;</code>
     * @return The percent.
     */
    int getPercent();
  }
  /**
   * Protobuf type {@code peripheral_info_data_power}
   */
  public  static final class peripheral_info_data_power extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_data_power, peripheral_info_data_power.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_data_power)
      peripheral_info_data_powerOrBuilder {
    private peripheral_info_data_power() {
    }
    public static final int VOL_CUR_FIELD_NUMBER = 1;
    private int volCur_;
    /**
     * <code>uint32 vol_cur = 1;</code>
     * @return The volCur.
     */
    @java.lang.Override
    public int getVolCur() {
      return volCur_;
    }
    /**
     * <code>uint32 vol_cur = 1;</code>
     * @param value The volCur to set.
     */
    private void setVolCur(int value) {
      
      volCur_ = value;
    }
    /**
     * <code>uint32 vol_cur = 1;</code>
     */
    private void clearVolCur() {
      
      volCur_ = 0;
    }

    public static final int PERCENT_FIELD_NUMBER = 2;
    private int percent_;
    /**
     * <code>uint32 percent = 2;</code>
     * @return The percent.
     */
    @java.lang.Override
    public int getPercent() {
      return percent_;
    }
    /**
     * <code>uint32 percent = 2;</code>
     * @param value The percent to set.
     */
    private void setPercent(int value) {
      
      percent_ = value;
    }
    /**
     * <code>uint32 percent = 2;</code>
     */
    private void clearPercent() {
      
      percent_ = 0;
    }

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

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


      /**
       * <code>uint32 vol_cur = 1;</code>
       * @return The volCur.
       */
      @java.lang.Override
      public int getVolCur() {
        return instance.getVolCur();
      }
      /**
       * <code>uint32 vol_cur = 1;</code>
       * @param value The volCur to set.
       * @return This builder for chaining.
       */
      public Builder setVolCur(int value) {
        copyOnWrite();
        instance.setVolCur(value);
        return this;
      }
      /**
       * <code>uint32 vol_cur = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearVolCur() {
        copyOnWrite();
        instance.clearVolCur();
        return this;
      }

      /**
       * <code>uint32 percent = 2;</code>
       * @return The percent.
       */
      @java.lang.Override
      public int getPercent() {
        return instance.getPercent();
      }
      /**
       * <code>uint32 percent = 2;</code>
       * @param value The percent to set.
       * @return This builder for chaining.
       */
      public Builder setPercent(int value) {
        copyOnWrite();
        instance.setPercent(value);
        return this;
      }
      /**
       * <code>uint32 percent = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearPercent() {
        copyOnWrite();
        instance.clearPercent();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_data_power)
    }
    @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.PeripheralInfo.peripheral_info_data_power();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "volCur_",
              "percent_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u000b\u0002\u000b" +
                "";
            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.PeripheralInfo.peripheral_info_data_power> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power>(
                        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:peripheral_info_data_power)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power DEFAULT_INSTANCE;
    static {
      peripheral_info_data_power defaultInstance = new peripheral_info_data_power();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_data_power.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>int32 temp_cur = 1;</code>
     * @return The tempCur.
     */
    int getTempCur();

    /**
     * <code>int32 temp_max = 2;</code>
     * @return The tempMax.
     */
    int getTempMax();
  }
  /**
   * Protobuf type {@code peripheral_info_data_temperature}
   */
  public  static final class peripheral_info_data_temperature extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_data_temperature, peripheral_info_data_temperature.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_data_temperature)
      peripheral_info_data_temperatureOrBuilder {
    private peripheral_info_data_temperature() {
    }
    public static final int TEMP_CUR_FIELD_NUMBER = 1;
    private int tempCur_;
    /**
     * <code>int32 temp_cur = 1;</code>
     * @return The tempCur.
     */
    @java.lang.Override
    public int getTempCur() {
      return tempCur_;
    }
    /**
     * <code>int32 temp_cur = 1;</code>
     * @param value The tempCur to set.
     */
    private void setTempCur(int value) {
      
      tempCur_ = value;
    }
    /**
     * <code>int32 temp_cur = 1;</code>
     */
    private void clearTempCur() {
      
      tempCur_ = 0;
    }

    public static final int TEMP_MAX_FIELD_NUMBER = 2;
    private int tempMax_;
    /**
     * <code>int32 temp_max = 2;</code>
     * @return The tempMax.
     */
    @java.lang.Override
    public int getTempMax() {
      return tempMax_;
    }
    /**
     * <code>int32 temp_max = 2;</code>
     * @param value The tempMax to set.
     */
    private void setTempMax(int value) {
      
      tempMax_ = value;
    }
    /**
     * <code>int32 temp_max = 2;</code>
     */
    private void clearTempMax() {
      
      tempMax_ = 0;
    }

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

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


      /**
       * <code>int32 temp_cur = 1;</code>
       * @return The tempCur.
       */
      @java.lang.Override
      public int getTempCur() {
        return instance.getTempCur();
      }
      /**
       * <code>int32 temp_cur = 1;</code>
       * @param value The tempCur to set.
       * @return This builder for chaining.
       */
      public Builder setTempCur(int value) {
        copyOnWrite();
        instance.setTempCur(value);
        return this;
      }
      /**
       * <code>int32 temp_cur = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTempCur() {
        copyOnWrite();
        instance.clearTempCur();
        return this;
      }

      /**
       * <code>int32 temp_max = 2;</code>
       * @return The tempMax.
       */
      @java.lang.Override
      public int getTempMax() {
        return instance.getTempMax();
      }
      /**
       * <code>int32 temp_max = 2;</code>
       * @param value The tempMax to set.
       * @return This builder for chaining.
       */
      public Builder setTempMax(int value) {
        copyOnWrite();
        instance.setTempMax(value);
        return this;
      }
      /**
       * <code>int32 temp_max = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTempMax() {
        copyOnWrite();
        instance.clearTempMax();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_data_temperature)
    }
    @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.PeripheralInfo.peripheral_info_data_temperature();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "tempCur_",
              "tempMax_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\u0004" +
                "";
            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.PeripheralInfo.peripheral_info_data_temperature> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature>(
                        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:peripheral_info_data_temperature)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature DEFAULT_INSTANCE;
    static {
      peripheral_info_data_temperature defaultInstance = new peripheral_info_data_temperature();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_data_temperature.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>uint32 remain_internal_flash = 1;</code>
     * @return The remainInternalFlash.
     */
    int getRemainInternalFlash();

    /**
     * <code>uint32 total_internal_flash = 2;</code>
     * @return The totalInternalFlash.
     */
    int getTotalInternalFlash();

    /**
     * <code>uint32 remain_iexternal_flash = 3;</code>
     * @return The remainIexternalFlash.
     */
    int getRemainIexternalFlash();

    /**
     * <code>uint32 total_external_flash = 4;</code>
     * @return The totalExternalFlash.
     */
    int getTotalExternalFlash();

    /**
     * <code>uint32 remain_internal_ram = 5;</code>
     * @return The remainInternalRam.
     */
    int getRemainInternalRam();

    /**
     * <code>uint32 total_internal_ram = 6;</code>
     * @return The totalInternalRam.
     */
    int getTotalInternalRam();

    /**
     * <code>uint32 remain_external_ram = 7;</code>
     * @return The remainExternalRam.
     */
    int getRemainExternalRam();

    /**
     * <code>uint32 total_external_ram = 8;</code>
     * @return The totalExternalRam.
     */
    int getTotalExternalRam();
  }
  /**
   * Protobuf type {@code peripheral_info_data_memory}
   */
  public  static final class peripheral_info_data_memory extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_data_memory, peripheral_info_data_memory.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_data_memory)
      peripheral_info_data_memoryOrBuilder {
    private peripheral_info_data_memory() {
    }
    public static final int REMAIN_INTERNAL_FLASH_FIELD_NUMBER = 1;
    private int remainInternalFlash_;
    /**
     * <code>uint32 remain_internal_flash = 1;</code>
     * @return The remainInternalFlash.
     */
    @java.lang.Override
    public int getRemainInternalFlash() {
      return remainInternalFlash_;
    }
    /**
     * <code>uint32 remain_internal_flash = 1;</code>
     * @param value The remainInternalFlash to set.
     */
    private void setRemainInternalFlash(int value) {
      
      remainInternalFlash_ = value;
    }
    /**
     * <code>uint32 remain_internal_flash = 1;</code>
     */
    private void clearRemainInternalFlash() {
      
      remainInternalFlash_ = 0;
    }

    public static final int TOTAL_INTERNAL_FLASH_FIELD_NUMBER = 2;
    private int totalInternalFlash_;
    /**
     * <code>uint32 total_internal_flash = 2;</code>
     * @return The totalInternalFlash.
     */
    @java.lang.Override
    public int getTotalInternalFlash() {
      return totalInternalFlash_;
    }
    /**
     * <code>uint32 total_internal_flash = 2;</code>
     * @param value The totalInternalFlash to set.
     */
    private void setTotalInternalFlash(int value) {
      
      totalInternalFlash_ = value;
    }
    /**
     * <code>uint32 total_internal_flash = 2;</code>
     */
    private void clearTotalInternalFlash() {
      
      totalInternalFlash_ = 0;
    }

    public static final int REMAIN_IEXTERNAL_FLASH_FIELD_NUMBER = 3;
    private int remainIexternalFlash_;
    /**
     * <code>uint32 remain_iexternal_flash = 3;</code>
     * @return The remainIexternalFlash.
     */
    @java.lang.Override
    public int getRemainIexternalFlash() {
      return remainIexternalFlash_;
    }
    /**
     * <code>uint32 remain_iexternal_flash = 3;</code>
     * @param value The remainIexternalFlash to set.
     */
    private void setRemainIexternalFlash(int value) {
      
      remainIexternalFlash_ = value;
    }
    /**
     * <code>uint32 remain_iexternal_flash = 3;</code>
     */
    private void clearRemainIexternalFlash() {
      
      remainIexternalFlash_ = 0;
    }

    public static final int TOTAL_EXTERNAL_FLASH_FIELD_NUMBER = 4;
    private int totalExternalFlash_;
    /**
     * <code>uint32 total_external_flash = 4;</code>
     * @return The totalExternalFlash.
     */
    @java.lang.Override
    public int getTotalExternalFlash() {
      return totalExternalFlash_;
    }
    /**
     * <code>uint32 total_external_flash = 4;</code>
     * @param value The totalExternalFlash to set.
     */
    private void setTotalExternalFlash(int value) {
      
      totalExternalFlash_ = value;
    }
    /**
     * <code>uint32 total_external_flash = 4;</code>
     */
    private void clearTotalExternalFlash() {
      
      totalExternalFlash_ = 0;
    }

    public static final int REMAIN_INTERNAL_RAM_FIELD_NUMBER = 5;
    private int remainInternalRam_;
    /**
     * <code>uint32 remain_internal_ram = 5;</code>
     * @return The remainInternalRam.
     */
    @java.lang.Override
    public int getRemainInternalRam() {
      return remainInternalRam_;
    }
    /**
     * <code>uint32 remain_internal_ram = 5;</code>
     * @param value The remainInternalRam to set.
     */
    private void setRemainInternalRam(int value) {
      
      remainInternalRam_ = value;
    }
    /**
     * <code>uint32 remain_internal_ram = 5;</code>
     */
    private void clearRemainInternalRam() {
      
      remainInternalRam_ = 0;
    }

    public static final int TOTAL_INTERNAL_RAM_FIELD_NUMBER = 6;
    private int totalInternalRam_;
    /**
     * <code>uint32 total_internal_ram = 6;</code>
     * @return The totalInternalRam.
     */
    @java.lang.Override
    public int getTotalInternalRam() {
      return totalInternalRam_;
    }
    /**
     * <code>uint32 total_internal_ram = 6;</code>
     * @param value The totalInternalRam to set.
     */
    private void setTotalInternalRam(int value) {
      
      totalInternalRam_ = value;
    }
    /**
     * <code>uint32 total_internal_ram = 6;</code>
     */
    private void clearTotalInternalRam() {
      
      totalInternalRam_ = 0;
    }

    public static final int REMAIN_EXTERNAL_RAM_FIELD_NUMBER = 7;
    private int remainExternalRam_;
    /**
     * <code>uint32 remain_external_ram = 7;</code>
     * @return The remainExternalRam.
     */
    @java.lang.Override
    public int getRemainExternalRam() {
      return remainExternalRam_;
    }
    /**
     * <code>uint32 remain_external_ram = 7;</code>
     * @param value The remainExternalRam to set.
     */
    private void setRemainExternalRam(int value) {
      
      remainExternalRam_ = value;
    }
    /**
     * <code>uint32 remain_external_ram = 7;</code>
     */
    private void clearRemainExternalRam() {
      
      remainExternalRam_ = 0;
    }

    public static final int TOTAL_EXTERNAL_RAM_FIELD_NUMBER = 8;
    private int totalExternalRam_;
    /**
     * <code>uint32 total_external_ram = 8;</code>
     * @return The totalExternalRam.
     */
    @java.lang.Override
    public int getTotalExternalRam() {
      return totalExternalRam_;
    }
    /**
     * <code>uint32 total_external_ram = 8;</code>
     * @param value The totalExternalRam to set.
     */
    private void setTotalExternalRam(int value) {
      
      totalExternalRam_ = value;
    }
    /**
     * <code>uint32 total_external_ram = 8;</code>
     */
    private void clearTotalExternalRam() {
      
      totalExternalRam_ = 0;
    }

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

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


      /**
       * <code>uint32 remain_internal_flash = 1;</code>
       * @return The remainInternalFlash.
       */
      @java.lang.Override
      public int getRemainInternalFlash() {
        return instance.getRemainInternalFlash();
      }
      /**
       * <code>uint32 remain_internal_flash = 1;</code>
       * @param value The remainInternalFlash to set.
       * @return This builder for chaining.
       */
      public Builder setRemainInternalFlash(int value) {
        copyOnWrite();
        instance.setRemainInternalFlash(value);
        return this;
      }
      /**
       * <code>uint32 remain_internal_flash = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearRemainInternalFlash() {
        copyOnWrite();
        instance.clearRemainInternalFlash();
        return this;
      }

      /**
       * <code>uint32 total_internal_flash = 2;</code>
       * @return The totalInternalFlash.
       */
      @java.lang.Override
      public int getTotalInternalFlash() {
        return instance.getTotalInternalFlash();
      }
      /**
       * <code>uint32 total_internal_flash = 2;</code>
       * @param value The totalInternalFlash to set.
       * @return This builder for chaining.
       */
      public Builder setTotalInternalFlash(int value) {
        copyOnWrite();
        instance.setTotalInternalFlash(value);
        return this;
      }
      /**
       * <code>uint32 total_internal_flash = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTotalInternalFlash() {
        copyOnWrite();
        instance.clearTotalInternalFlash();
        return this;
      }

      /**
       * <code>uint32 remain_iexternal_flash = 3;</code>
       * @return The remainIexternalFlash.
       */
      @java.lang.Override
      public int getRemainIexternalFlash() {
        return instance.getRemainIexternalFlash();
      }
      /**
       * <code>uint32 remain_iexternal_flash = 3;</code>
       * @param value The remainIexternalFlash to set.
       * @return This builder for chaining.
       */
      public Builder setRemainIexternalFlash(int value) {
        copyOnWrite();
        instance.setRemainIexternalFlash(value);
        return this;
      }
      /**
       * <code>uint32 remain_iexternal_flash = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearRemainIexternalFlash() {
        copyOnWrite();
        instance.clearRemainIexternalFlash();
        return this;
      }

      /**
       * <code>uint32 total_external_flash = 4;</code>
       * @return The totalExternalFlash.
       */
      @java.lang.Override
      public int getTotalExternalFlash() {
        return instance.getTotalExternalFlash();
      }
      /**
       * <code>uint32 total_external_flash = 4;</code>
       * @param value The totalExternalFlash to set.
       * @return This builder for chaining.
       */
      public Builder setTotalExternalFlash(int value) {
        copyOnWrite();
        instance.setTotalExternalFlash(value);
        return this;
      }
      /**
       * <code>uint32 total_external_flash = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearTotalExternalFlash() {
        copyOnWrite();
        instance.clearTotalExternalFlash();
        return this;
      }

      /**
       * <code>uint32 remain_internal_ram = 5;</code>
       * @return The remainInternalRam.
       */
      @java.lang.Override
      public int getRemainInternalRam() {
        return instance.getRemainInternalRam();
      }
      /**
       * <code>uint32 remain_internal_ram = 5;</code>
       * @param value The remainInternalRam to set.
       * @return This builder for chaining.
       */
      public Builder setRemainInternalRam(int value) {
        copyOnWrite();
        instance.setRemainInternalRam(value);
        return this;
      }
      /**
       * <code>uint32 remain_internal_ram = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearRemainInternalRam() {
        copyOnWrite();
        instance.clearRemainInternalRam();
        return this;
      }

      /**
       * <code>uint32 total_internal_ram = 6;</code>
       * @return The totalInternalRam.
       */
      @java.lang.Override
      public int getTotalInternalRam() {
        return instance.getTotalInternalRam();
      }
      /**
       * <code>uint32 total_internal_ram = 6;</code>
       * @param value The totalInternalRam to set.
       * @return This builder for chaining.
       */
      public Builder setTotalInternalRam(int value) {
        copyOnWrite();
        instance.setTotalInternalRam(value);
        return this;
      }
      /**
       * <code>uint32 total_internal_ram = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearTotalInternalRam() {
        copyOnWrite();
        instance.clearTotalInternalRam();
        return this;
      }

      /**
       * <code>uint32 remain_external_ram = 7;</code>
       * @return The remainExternalRam.
       */
      @java.lang.Override
      public int getRemainExternalRam() {
        return instance.getRemainExternalRam();
      }
      /**
       * <code>uint32 remain_external_ram = 7;</code>
       * @param value The remainExternalRam to set.
       * @return This builder for chaining.
       */
      public Builder setRemainExternalRam(int value) {
        copyOnWrite();
        instance.setRemainExternalRam(value);
        return this;
      }
      /**
       * <code>uint32 remain_external_ram = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearRemainExternalRam() {
        copyOnWrite();
        instance.clearRemainExternalRam();
        return this;
      }

      /**
       * <code>uint32 total_external_ram = 8;</code>
       * @return The totalExternalRam.
       */
      @java.lang.Override
      public int getTotalExternalRam() {
        return instance.getTotalExternalRam();
      }
      /**
       * <code>uint32 total_external_ram = 8;</code>
       * @param value The totalExternalRam to set.
       * @return This builder for chaining.
       */
      public Builder setTotalExternalRam(int value) {
        copyOnWrite();
        instance.setTotalExternalRam(value);
        return this;
      }
      /**
       * <code>uint32 total_external_ram = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearTotalExternalRam() {
        copyOnWrite();
        instance.clearTotalExternalRam();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_data_memory)
    }
    @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.PeripheralInfo.peripheral_info_data_memory();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "remainInternalFlash_",
              "totalInternalFlash_",
              "remainIexternalFlash_",
              "totalExternalFlash_",
              "remainInternalRam_",
              "totalInternalRam_",
              "remainExternalRam_",
              "totalExternalRam_",
            };
            java.lang.String info =
                "\u0000\b\u0000\u0000\u0001\b\b\u0000\u0000\u0000\u0001\u000b\u0002\u000b\u0003\u000b" +
                "\u0004\u000b\u0005\u000b\u0006\u000b\u0007\u000b\b\u000b";
            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.PeripheralInfo.peripheral_info_data_memory> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory>(
                        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:peripheral_info_data_memory)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory DEFAULT_INSTANCE;
    static {
      peripheral_info_data_memory defaultInstance = new peripheral_info_data_memory();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_data_memory.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     * @return The enum numeric value on the wire for model.
     */
    int getModelValue();
    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     * @return The model.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE getModel();

    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     * @return Whether the name field is set.
     */
    boolean hasName();
    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     * @return The name.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name getName();

    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     * @return Whether the version field is set.
     */
    boolean hasVersion();
    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     * @return The version.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version getVersion();

    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     * @return Whether the id field is set.
     */
    boolean hasId();
    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     * @return The id.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id getId();

    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     * @return Whether the power field is set.
     */
    boolean hasPower();
    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     * @return The power.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power getPower();

    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     * @return Whether the temperature field is set.
     */
    boolean hasTemperature();
    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     * @return The temperature.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature getTemperature();

    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     * @return Whether the memory field is set.
     */
    boolean hasMemory();
    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     * @return The memory.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory getMemory();
  }
  /**
   * Protobuf type {@code peripheral_info_message}
   */
  public  static final class peripheral_info_message extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_message, peripheral_info_message.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_message)
      peripheral_info_messageOrBuilder {
    private peripheral_info_message() {
    }
    public static final int MODEL_FIELD_NUMBER = 1;
    private int model_;
    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     * @return The enum numeric value on the wire for model.
     */
    @java.lang.Override
    public int getModelValue() {
      return model_;
    }
    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     * @return The model.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE getModel() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE.forNumber(model_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     * @param value The enum numeric value on the wire for model to set.
     */
    private void setModelValue(int value) {
        model_ = value;
    }
    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     * @param value The model to set.
     */
    private void setModel(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE value) {
      model_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
     */
    private void clearModel() {
      
      model_ = 0;
    }

    public static final int NAME_FIELD_NUMBER = 2;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name name_;
    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     */
    @java.lang.Override
    public boolean hasName() {
      return name_ != null;
    }
    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name getName() {
      return name_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name.getDefaultInstance() : name_;
    }
    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     */
    private void setName(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name value) {
      value.getClass();
  name_ = value;
      
      }
    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeName(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name value) {
      value.getClass();
  if (name_ != null &&
          name_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name.getDefaultInstance()) {
        name_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name.newBuilder(name_).mergeFrom(value).buildPartial();
      } else {
        name_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_data_name name = 2;</code>
     */
    private void clearName() {  name_ = null;
      
    }

    public static final int VERSION_FIELD_NUMBER = 3;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version version_;
    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     */
    @java.lang.Override
    public boolean hasVersion() {
      return version_ != null;
    }
    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version getVersion() {
      return version_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version.getDefaultInstance() : version_;
    }
    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     */
    private void setVersion(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version value) {
      value.getClass();
  version_ = value;
      
      }
    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeVersion(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version value) {
      value.getClass();
  if (version_ != null &&
          version_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version.getDefaultInstance()) {
        version_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version.newBuilder(version_).mergeFrom(value).buildPartial();
      } else {
        version_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_data_version version = 3;</code>
     */
    private void clearVersion() {  version_ = null;
      
    }

    public static final int ID_FIELD_NUMBER = 11;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id id_;
    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     */
    @java.lang.Override
    public boolean hasId() {
      return id_ != null;
    }
    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id getId() {
      return id_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id.getDefaultInstance() : id_;
    }
    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     */
    private void setId(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id value) {
      value.getClass();
  id_ = value;
      
      }
    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeId(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id value) {
      value.getClass();
  if (id_ != null &&
          id_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id.getDefaultInstance()) {
        id_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id.newBuilder(id_).mergeFrom(value).buildPartial();
      } else {
        id_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_data_id id = 11;</code>
     */
    private void clearId() {  id_ = null;
      
    }

    public static final int POWER_FIELD_NUMBER = 16;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power power_;
    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     */
    @java.lang.Override
    public boolean hasPower() {
      return power_ != null;
    }
    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power getPower() {
      return power_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power.getDefaultInstance() : power_;
    }
    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     */
    private void setPower(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power value) {
      value.getClass();
  power_ = value;
      
      }
    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergePower(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power value) {
      value.getClass();
  if (power_ != null &&
          power_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power.getDefaultInstance()) {
        power_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power.newBuilder(power_).mergeFrom(value).buildPartial();
      } else {
        power_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_data_power power = 16;</code>
     */
    private void clearPower() {  power_ = null;
      
    }

    public static final int TEMPERATURE_FIELD_NUMBER = 17;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature temperature_;
    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     */
    @java.lang.Override
    public boolean hasTemperature() {
      return temperature_ != null;
    }
    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature getTemperature() {
      return temperature_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature.getDefaultInstance() : temperature_;
    }
    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     */
    private void setTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature value) {
      value.getClass();
  temperature_ = value;
      
      }
    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature value) {
      value.getClass();
  if (temperature_ != null &&
          temperature_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature.getDefaultInstance()) {
        temperature_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature.newBuilder(temperature_).mergeFrom(value).buildPartial();
      } else {
        temperature_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_data_temperature temperature = 17;</code>
     */
    private void clearTemperature() {  temperature_ = null;
      
    }

    public static final int MEMORY_FIELD_NUMBER = 18;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory memory_;
    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     */
    @java.lang.Override
    public boolean hasMemory() {
      return memory_ != null;
    }
    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory getMemory() {
      return memory_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory.getDefaultInstance() : memory_;
    }
    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     */
    private void setMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory value) {
      value.getClass();
  memory_ = value;
      
      }
    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory value) {
      value.getClass();
  if (memory_ != null &&
          memory_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory.getDefaultInstance()) {
        memory_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory.newBuilder(memory_).mergeFrom(value).buildPartial();
      } else {
        memory_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_data_memory memory = 18;</code>
     */
    private void clearMemory() {  memory_ = null;
      
    }

    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_message parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_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.PeripheralInfo.peripheral_info_message prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

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


      /**
       * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
       * @return The enum numeric value on the wire for model.
       */
      @java.lang.Override
      public int getModelValue() {
        return instance.getModelValue();
      }
      /**
       * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
       * @param value The model to set.
       * @return This builder for chaining.
       */
      public Builder setModelValue(int value) {
        copyOnWrite();
        instance.setModelValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
       * @return The model.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE getModel() {
        return instance.getModel();
      }
      /**
       * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
       * @param value The enum numeric value on the wire for model to set.
       * @return This builder for chaining.
       */
      public Builder setModel(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_MODEL_TYPE value) {
        copyOnWrite();
        instance.setModel(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_INFO_MODEL_TYPE model = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearModel() {
        copyOnWrite();
        instance.clearModel();
        return this;
      }

      /**
       * <code>.peripheral_info_data_name name = 2;</code>
       */
      @java.lang.Override
      public boolean hasName() {
        return instance.hasName();
      }
      /**
       * <code>.peripheral_info_data_name name = 2;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name getName() {
        return instance.getName();
      }
      /**
       * <code>.peripheral_info_data_name name = 2;</code>
       */
      public Builder setName(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name value) {
        copyOnWrite();
        instance.setName(value);
        return this;
        }
      /**
       * <code>.peripheral_info_data_name name = 2;</code>
       */
      public Builder setName(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name.Builder builderForValue) {
        copyOnWrite();
        instance.setName(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_data_name name = 2;</code>
       */
      public Builder mergeName(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_name value) {
        copyOnWrite();
        instance.mergeName(value);
        return this;
      }
      /**
       * <code>.peripheral_info_data_name name = 2;</code>
       */
      public Builder clearName() {  copyOnWrite();
        instance.clearName();
        return this;
      }

      /**
       * <code>.peripheral_info_data_version version = 3;</code>
       */
      @java.lang.Override
      public boolean hasVersion() {
        return instance.hasVersion();
      }
      /**
       * <code>.peripheral_info_data_version version = 3;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version getVersion() {
        return instance.getVersion();
      }
      /**
       * <code>.peripheral_info_data_version version = 3;</code>
       */
      public Builder setVersion(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version value) {
        copyOnWrite();
        instance.setVersion(value);
        return this;
        }
      /**
       * <code>.peripheral_info_data_version version = 3;</code>
       */
      public Builder setVersion(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version.Builder builderForValue) {
        copyOnWrite();
        instance.setVersion(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_data_version version = 3;</code>
       */
      public Builder mergeVersion(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_version value) {
        copyOnWrite();
        instance.mergeVersion(value);
        return this;
      }
      /**
       * <code>.peripheral_info_data_version version = 3;</code>
       */
      public Builder clearVersion() {  copyOnWrite();
        instance.clearVersion();
        return this;
      }

      /**
       * <code>.peripheral_info_data_id id = 11;</code>
       */
      @java.lang.Override
      public boolean hasId() {
        return instance.hasId();
      }
      /**
       * <code>.peripheral_info_data_id id = 11;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id getId() {
        return instance.getId();
      }
      /**
       * <code>.peripheral_info_data_id id = 11;</code>
       */
      public Builder setId(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id value) {
        copyOnWrite();
        instance.setId(value);
        return this;
        }
      /**
       * <code>.peripheral_info_data_id id = 11;</code>
       */
      public Builder setId(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id.Builder builderForValue) {
        copyOnWrite();
        instance.setId(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_data_id id = 11;</code>
       */
      public Builder mergeId(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id value) {
        copyOnWrite();
        instance.mergeId(value);
        return this;
      }
      /**
       * <code>.peripheral_info_data_id id = 11;</code>
       */
      public Builder clearId() {  copyOnWrite();
        instance.clearId();
        return this;
      }

      /**
       * <code>.peripheral_info_data_power power = 16;</code>
       */
      @java.lang.Override
      public boolean hasPower() {
        return instance.hasPower();
      }
      /**
       * <code>.peripheral_info_data_power power = 16;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power getPower() {
        return instance.getPower();
      }
      /**
       * <code>.peripheral_info_data_power power = 16;</code>
       */
      public Builder setPower(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power value) {
        copyOnWrite();
        instance.setPower(value);
        return this;
        }
      /**
       * <code>.peripheral_info_data_power power = 16;</code>
       */
      public Builder setPower(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power.Builder builderForValue) {
        copyOnWrite();
        instance.setPower(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_data_power power = 16;</code>
       */
      public Builder mergePower(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_power value) {
        copyOnWrite();
        instance.mergePower(value);
        return this;
      }
      /**
       * <code>.peripheral_info_data_power power = 16;</code>
       */
      public Builder clearPower() {  copyOnWrite();
        instance.clearPower();
        return this;
      }

      /**
       * <code>.peripheral_info_data_temperature temperature = 17;</code>
       */
      @java.lang.Override
      public boolean hasTemperature() {
        return instance.hasTemperature();
      }
      /**
       * <code>.peripheral_info_data_temperature temperature = 17;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature getTemperature() {
        return instance.getTemperature();
      }
      /**
       * <code>.peripheral_info_data_temperature temperature = 17;</code>
       */
      public Builder setTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature value) {
        copyOnWrite();
        instance.setTemperature(value);
        return this;
        }
      /**
       * <code>.peripheral_info_data_temperature temperature = 17;</code>
       */
      public Builder setTemperature(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature.Builder builderForValue) {
        copyOnWrite();
        instance.setTemperature(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_data_temperature temperature = 17;</code>
       */
      public Builder mergeTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_temperature value) {
        copyOnWrite();
        instance.mergeTemperature(value);
        return this;
      }
      /**
       * <code>.peripheral_info_data_temperature temperature = 17;</code>
       */
      public Builder clearTemperature() {  copyOnWrite();
        instance.clearTemperature();
        return this;
      }

      /**
       * <code>.peripheral_info_data_memory memory = 18;</code>
       */
      @java.lang.Override
      public boolean hasMemory() {
        return instance.hasMemory();
      }
      /**
       * <code>.peripheral_info_data_memory memory = 18;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory getMemory() {
        return instance.getMemory();
      }
      /**
       * <code>.peripheral_info_data_memory memory = 18;</code>
       */
      public Builder setMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory value) {
        copyOnWrite();
        instance.setMemory(value);
        return this;
        }
      /**
       * <code>.peripheral_info_data_memory memory = 18;</code>
       */
      public Builder setMemory(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory.Builder builderForValue) {
        copyOnWrite();
        instance.setMemory(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_data_memory memory = 18;</code>
       */
      public Builder mergeMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_memory value) {
        copyOnWrite();
        instance.mergeMemory(value);
        return this;
      }
      /**
       * <code>.peripheral_info_data_memory memory = 18;</code>
       */
      public Builder clearMemory() {  copyOnWrite();
        instance.clearMemory();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_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.PeripheralInfo.peripheral_info_message();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "model_",
              "name_",
              "version_",
              "id_",
              "power_",
              "temperature_",
              "memory_",
            };
            java.lang.String info =
                "\u0000\u0007\u0000\u0000\u0001\u0012\u0007\u0000\u0000\u0000\u0001\f\u0002\t\u0003" +
                "\t\u000b\t\u0010\t\u0011\t\u0012\t";
            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.PeripheralInfo.peripheral_info_message> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_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:peripheral_info_message)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message DEFAULT_INSTANCE;
    static {
      peripheral_info_message defaultInstance = new peripheral_info_message();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_message.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     * @return The enum numeric value on the wire for serviceType.
     */
    int getServiceTypeValue();
    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     * @return The serviceType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE getServiceType();

    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     * @return The enum numeric value on the wire for operateType.
     */
    int getOperateTypeValue();
    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     * @return The operateType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE getOperateType();

    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     * @return The enum numeric value on the wire for subServiceType.
     */
    int getSubServiceTypeValue();
    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     * @return The subServiceType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE getSubServiceType();

    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     * @return The enum numeric value on the wire for subOperateType.
     */
    int getSubOperateTypeValue();
    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     * @return The subOperateType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE getSubOperateType();

    /**
     * <code>.peripheral_info_message message = 5;</code>
     * @return Whether the message field is set.
     */
    boolean hasMessage();
    /**
     * <code>.peripheral_info_message message = 5;</code>
     * @return The message.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message getMessage();
  }
  /**
   * Protobuf type {@code peripheral_info_format}
   */
  public  static final class peripheral_info_format extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_info_format, peripheral_info_format.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_info_format)
      peripheral_info_formatOrBuilder {
    private peripheral_info_format() {
    }
    public static final int SERVICE_TYPE_FIELD_NUMBER = 1;
    private int serviceType_;
    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     * @return The enum numeric value on the wire for serviceType.
     */
    @java.lang.Override
    public int getServiceTypeValue() {
      return serviceType_;
    }
    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     * @return The serviceType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE getServiceType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE.forNumber(serviceType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     * @param value The enum numeric value on the wire for serviceType to set.
     */
    private void setServiceTypeValue(int value) {
        serviceType_ = value;
    }
    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     * @param value The serviceType to set.
     */
    private void setServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE value) {
      serviceType_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
     */
    private void clearServiceType() {
      
      serviceType_ = 0;
    }

    public static final int OPERATE_TYPE_FIELD_NUMBER = 2;
    private int operateType_;
    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     * @return The enum numeric value on the wire for operateType.
     */
    @java.lang.Override
    public int getOperateTypeValue() {
      return operateType_;
    }
    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     * @return The operateType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE getOperateType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE.forNumber(operateType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     * @param value The enum numeric value on the wire for operateType to set.
     */
    private void setOperateTypeValue(int value) {
        operateType_ = value;
    }
    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     * @param value The operateType to set.
     */
    private void setOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE value) {
      operateType_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
     */
    private void clearOperateType() {
      
      operateType_ = 0;
    }

    public static final int SUB_SERVICE_TYPE_FIELD_NUMBER = 3;
    private int subServiceType_;
    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     * @return The enum numeric value on the wire for subServiceType.
     */
    @java.lang.Override
    public int getSubServiceTypeValue() {
      return subServiceType_;
    }
    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     * @return The subServiceType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE getSubServiceType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE.forNumber(subServiceType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     * @param value The enum numeric value on the wire for subServiceType to set.
     */
    private void setSubServiceTypeValue(int value) {
        subServiceType_ = value;
    }
    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     * @param value The subServiceType to set.
     */
    private void setSubServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE value) {
      subServiceType_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
     */
    private void clearSubServiceType() {
      
      subServiceType_ = 0;
    }

    public static final int SUB_OPERATE_TYPE_FIELD_NUMBER = 4;
    private int subOperateType_;
    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     * @return The enum numeric value on the wire for subOperateType.
     */
    @java.lang.Override
    public int getSubOperateTypeValue() {
      return subOperateType_;
    }
    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     * @return The subOperateType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE getSubOperateType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE.forNumber(subOperateType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     * @param value The enum numeric value on the wire for subOperateType to set.
     */
    private void setSubOperateTypeValue(int value) {
        subOperateType_ = value;
    }
    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     * @param value The subOperateType to set.
     */
    private void setSubOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE value) {
      subOperateType_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
     */
    private void clearSubOperateType() {
      
      subOperateType_ = 0;
    }

    public static final int MESSAGE_FIELD_NUMBER = 5;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message message_;
    /**
     * <code>.peripheral_info_message message = 5;</code>
     */
    @java.lang.Override
    public boolean hasMessage() {
      return message_ != null;
    }
    /**
     * <code>.peripheral_info_message message = 5;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message getMessage() {
      return message_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message.getDefaultInstance() : message_;
    }
    /**
     * <code>.peripheral_info_message message = 5;</code>
     */
    private void setMessage(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message value) {
      value.getClass();
  message_ = value;
      
      }
    /**
     * <code>.peripheral_info_message message = 5;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeMessage(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message value) {
      value.getClass();
  if (message_ != null &&
          message_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message.getDefaultInstance()) {
        message_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message.newBuilder(message_).mergeFrom(value).buildPartial();
      } else {
        message_ = value;
      }
      
    }
    /**
     * <code>.peripheral_info_message message = 5;</code>
     */
    private void clearMessage() {  message_ = null;
      
    }

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

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


      /**
       * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
       * @return The enum numeric value on the wire for serviceType.
       */
      @java.lang.Override
      public int getServiceTypeValue() {
        return instance.getServiceTypeValue();
      }
      /**
       * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
       * @param value The serviceType to set.
       * @return This builder for chaining.
       */
      public Builder setServiceTypeValue(int value) {
        copyOnWrite();
        instance.setServiceTypeValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
       * @return The serviceType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_SERVICE_TYPE getServiceType() {
        return instance.getServiceType();
      }
      /**
       * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</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.PeripheralCommon.PERIPHERAL_SERVICE_TYPE value) {
        copyOnWrite();
        instance.setServiceType(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_SERVICE_TYPE service_type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearServiceType() {
        copyOnWrite();
        instance.clearServiceType();
        return this;
      }

      /**
       * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
       * @return The enum numeric value on the wire for operateType.
       */
      @java.lang.Override
      public int getOperateTypeValue() {
        return instance.getOperateTypeValue();
      }
      /**
       * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
       * @param value The operateType to set.
       * @return This builder for chaining.
       */
      public Builder setOperateTypeValue(int value) {
        copyOnWrite();
        instance.setOperateTypeValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
       * @return The operateType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE getOperateType() {
        return instance.getOperateType();
      }
      /**
       * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
       * @param value The enum numeric value on the wire for operateType to set.
       * @return This builder for chaining.
       */
      public Builder setOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralCommon.PERIPHERAL_OPERATE_TYPE value) {
        copyOnWrite();
        instance.setOperateType(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_OPERATE_TYPE operate_type = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearOperateType() {
        copyOnWrite();
        instance.clearOperateType();
        return this;
      }

      /**
       * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
       * @return The enum numeric value on the wire for subServiceType.
       */
      @java.lang.Override
      public int getSubServiceTypeValue() {
        return instance.getSubServiceTypeValue();
      }
      /**
       * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
       * @param value The subServiceType to set.
       * @return This builder for chaining.
       */
      public Builder setSubServiceTypeValue(int value) {
        copyOnWrite();
        instance.setSubServiceTypeValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
       * @return The subServiceType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE getSubServiceType() {
        return instance.getSubServiceType();
      }
      /**
       * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
       * @param value The enum numeric value on the wire for subServiceType to set.
       * @return This builder for chaining.
       */
      public Builder setSubServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_SERVICE value) {
        copyOnWrite();
        instance.setSubServiceType(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_INFO_SERVICE sub_service_type = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSubServiceType() {
        copyOnWrite();
        instance.clearSubServiceType();
        return this;
      }

      /**
       * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
       * @return The enum numeric value on the wire for subOperateType.
       */
      @java.lang.Override
      public int getSubOperateTypeValue() {
        return instance.getSubOperateTypeValue();
      }
      /**
       * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
       * @param value The subOperateType to set.
       * @return This builder for chaining.
       */
      public Builder setSubOperateTypeValue(int value) {
        copyOnWrite();
        instance.setSubOperateTypeValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
       * @return The subOperateType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE getSubOperateType() {
        return instance.getSubOperateType();
      }
      /**
       * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
       * @param value The enum numeric value on the wire for subOperateType to set.
       * @return This builder for chaining.
       */
      public Builder setSubOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.PERIPHERAL_INFO_OPERATE value) {
        copyOnWrite();
        instance.setSubOperateType(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_INFO_OPERATE sub_operate_type = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearSubOperateType() {
        copyOnWrite();
        instance.clearSubOperateType();
        return this;
      }

      /**
       * <code>.peripheral_info_message message = 5;</code>
       */
      @java.lang.Override
      public boolean hasMessage() {
        return instance.hasMessage();
      }
      /**
       * <code>.peripheral_info_message message = 5;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message getMessage() {
        return instance.getMessage();
      }
      /**
       * <code>.peripheral_info_message message = 5;</code>
       */
      public Builder setMessage(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message value) {
        copyOnWrite();
        instance.setMessage(value);
        return this;
        }
      /**
       * <code>.peripheral_info_message message = 5;</code>
       */
      public Builder setMessage(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message.Builder builderForValue) {
        copyOnWrite();
        instance.setMessage(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_info_message message = 5;</code>
       */
      public Builder mergeMessage(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_message value) {
        copyOnWrite();
        instance.mergeMessage(value);
        return this;
      }
      /**
       * <code>.peripheral_info_message message = 5;</code>
       */
      public Builder clearMessage() {  copyOnWrite();
        instance.clearMessage();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_info_format)
    }
    @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.PeripheralInfo.peripheral_info_format();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "serviceType_",
              "operateType_",
              "subServiceType_",
              "subOperateType_",
              "message_",
            };
            java.lang.String info =
                "\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0000\u0000\u0000\u0001\f\u0002\f\u0003" +
                "\f\u0004\f\u0005\t";
            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.PeripheralInfo.peripheral_info_format> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_format.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_format>(
                        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:peripheral_info_format)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_format DEFAULT_INSTANCE;
    static {
      peripheral_info_format defaultInstance = new peripheral_info_format();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_info_format.class, defaultInstance);
    }

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

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}
