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

package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;

public final class PeripheralFactory {
  private PeripheralFactory() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code PERIPHERAL_FACTORY_SERVICE}
   */
  public enum PERIPHERAL_FACTORY_SERVICE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>FAS_UNSPECIFIED = 0;</code>
     */
    FAS_UNSPECIFIED(0),
    /**
     * <code>FAS_SN = 1;</code>
     */
    FAS_SN(1),
    /**
     * <code>FAS_DEVICE_INFO = 2;</code>
     */
    FAS_DEVICE_INFO(2),
    /**
     * <code>FAS_DEVICE_OPERATE = 3;</code>
     */
    FAS_DEVICE_OPERATE(3),
    /**
     * <code>FAS_DEVICE_CONFIG = 4;</code>
     */
    FAS_DEVICE_CONFIG(4),
    /**
     * <code>FAS_BSP_MEMORY = 21;</code>
     */
    FAS_BSP_MEMORY(21),
    /**
     * <code>FAS_BSP_RTC = 22;</code>
     */
    FAS_BSP_RTC(22),
    /**
     * <code>FAS_BSP_BATTARY = 23;</code>
     */
    FAS_BSP_BATTARY(23),
    /**
     * <code>FAS_BSP_TEMPERATURE = 24;</code>
     */
    FAS_BSP_TEMPERATURE(24),
    /**
     * <code>FAS_BSP_ACC = 25;</code>
     */
    FAS_BSP_ACC(25),
    /**
     * <code>FAS_BSP_LSR = 26;</code>
     */
    FAS_BSP_LSR(26),
    /**
     * <code>FAS_BSP_RGB = 27;</code>
     */
    FAS_BSP_RGB(27),
    /**
     * <code>FAS_LED_TEST_PERI = 28;</code>
     */
    FAS_LED_TEST_PERI(28),
    /**
     * <code>FAS_THERMISTOR_VOL = 29;</code>
     */
    FAS_THERMISTOR_VOL(29),
    /**
     * <code>FAS_ALL_FACTORY = 41;</code>
     */
    FAS_ALL_FACTORY(41),
    /**
     * <code>FAS_LED_TEST_BUTTON = 42;</code>
     */
    FAS_LED_TEST_BUTTON(42),
    /**
     * <code>FAS_MOTOR_TEST_BUTTON = 43;</code>
     */
    FAS_MOTOR_TEST_BUTTON(43),
    /**
     * <code>FAS_ENTER_FACTORY = 44;</code>
     */
    FAS_ENTER_FACTORY(44),
    /**
     * <code>FAS_RADAR_TEST = 45;</code>
     */
    FAS_RADAR_TEST(45),
    /**
     * <code>FAS_FACTORY_ARG = 46;</code>
     */
    FAS_FACTORY_ARG(46),
    /**
     * <code>FAS_ANT_ID = 47;</code>
     */
    FAS_ANT_ID(47),
    /**
     * <code>FAS_CURRENT_TEST = 48;</code>
     */
    FAS_CURRENT_TEST(48),
    /**
     * <code>FAS_VOID_WELDING_TEST = 49;</code>
     */
    FAS_VOID_WELDING_TEST(49),
    /**
     * <code>FAS_MAX_LUMEN_TEST = 50;</code>
     */
    FAS_MAX_LUMEN_TEST(50),
    /**
     * <code>FAS_SLEEP_ENTER_TEST = 51;</code>
     */
    FAS_SLEEP_ENTER_TEST(51),
    /**
     * <code>FAS_RADAR_CALIB_FCAL = 52;</code>
     */
    FAS_RADAR_CALIB_FCAL(52),
    /**
     * <code>FAS_RADAR_CALIB_FDECT = 53;</code>
     */
    FAS_RADAR_CALIB_FDECT(53),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>FAS_UNSPECIFIED = 0;</code>
     */
    public static final int FAS_UNSPECIFIED_VALUE = 0;
    /**
     * <code>FAS_SN = 1;</code>
     */
    public static final int FAS_SN_VALUE = 1;
    /**
     * <code>FAS_DEVICE_INFO = 2;</code>
     */
    public static final int FAS_DEVICE_INFO_VALUE = 2;
    /**
     * <code>FAS_DEVICE_OPERATE = 3;</code>
     */
    public static final int FAS_DEVICE_OPERATE_VALUE = 3;
    /**
     * <code>FAS_DEVICE_CONFIG = 4;</code>
     */
    public static final int FAS_DEVICE_CONFIG_VALUE = 4;
    /**
     * <code>FAS_BSP_MEMORY = 21;</code>
     */
    public static final int FAS_BSP_MEMORY_VALUE = 21;
    /**
     * <code>FAS_BSP_RTC = 22;</code>
     */
    public static final int FAS_BSP_RTC_VALUE = 22;
    /**
     * <code>FAS_BSP_BATTARY = 23;</code>
     */
    public static final int FAS_BSP_BATTARY_VALUE = 23;
    /**
     * <code>FAS_BSP_TEMPERATURE = 24;</code>
     */
    public static final int FAS_BSP_TEMPERATURE_VALUE = 24;
    /**
     * <code>FAS_BSP_ACC = 25;</code>
     */
    public static final int FAS_BSP_ACC_VALUE = 25;
    /**
     * <code>FAS_BSP_LSR = 26;</code>
     */
    public static final int FAS_BSP_LSR_VALUE = 26;
    /**
     * <code>FAS_BSP_RGB = 27;</code>
     */
    public static final int FAS_BSP_RGB_VALUE = 27;
    /**
     * <code>FAS_LED_TEST_PERI = 28;</code>
     */
    public static final int FAS_LED_TEST_PERI_VALUE = 28;
    /**
     * <code>FAS_THERMISTOR_VOL = 29;</code>
     */
    public static final int FAS_THERMISTOR_VOL_VALUE = 29;
    /**
     * <code>FAS_ALL_FACTORY = 41;</code>
     */
    public static final int FAS_ALL_FACTORY_VALUE = 41;
    /**
     * <code>FAS_LED_TEST_BUTTON = 42;</code>
     */
    public static final int FAS_LED_TEST_BUTTON_VALUE = 42;
    /**
     * <code>FAS_MOTOR_TEST_BUTTON = 43;</code>
     */
    public static final int FAS_MOTOR_TEST_BUTTON_VALUE = 43;
    /**
     * <code>FAS_ENTER_FACTORY = 44;</code>
     */
    public static final int FAS_ENTER_FACTORY_VALUE = 44;
    /**
     * <code>FAS_RADAR_TEST = 45;</code>
     */
    public static final int FAS_RADAR_TEST_VALUE = 45;
    /**
     * <code>FAS_FACTORY_ARG = 46;</code>
     */
    public static final int FAS_FACTORY_ARG_VALUE = 46;
    /**
     * <code>FAS_ANT_ID = 47;</code>
     */
    public static final int FAS_ANT_ID_VALUE = 47;
    /**
     * <code>FAS_CURRENT_TEST = 48;</code>
     */
    public static final int FAS_CURRENT_TEST_VALUE = 48;
    /**
     * <code>FAS_VOID_WELDING_TEST = 49;</code>
     */
    public static final int FAS_VOID_WELDING_TEST_VALUE = 49;
    /**
     * <code>FAS_MAX_LUMEN_TEST = 50;</code>
     */
    public static final int FAS_MAX_LUMEN_TEST_VALUE = 50;
    /**
     * <code>FAS_SLEEP_ENTER_TEST = 51;</code>
     */
    public static final int FAS_SLEEP_ENTER_TEST_VALUE = 51;
    /**
     * <code>FAS_RADAR_CALIB_FCAL = 52;</code>
     */
    public static final int FAS_RADAR_CALIB_FCAL_VALUE = 52;
    /**
     * <code>FAS_RADAR_CALIB_FDECT = 53;</code>
     */
    public static final int FAS_RADAR_CALIB_FDECT_VALUE = 53;


    @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_FACTORY_SERVICE valueOf(int value) {
      return forNumber(value);
    }

    public static PERIPHERAL_FACTORY_SERVICE forNumber(int value) {
      switch (value) {
        case 0: return FAS_UNSPECIFIED;
        case 1: return FAS_SN;
        case 2: return FAS_DEVICE_INFO;
        case 3: return FAS_DEVICE_OPERATE;
        case 4: return FAS_DEVICE_CONFIG;
        case 21: return FAS_BSP_MEMORY;
        case 22: return FAS_BSP_RTC;
        case 23: return FAS_BSP_BATTARY;
        case 24: return FAS_BSP_TEMPERATURE;
        case 25: return FAS_BSP_ACC;
        case 26: return FAS_BSP_LSR;
        case 27: return FAS_BSP_RGB;
        case 28: return FAS_LED_TEST_PERI;
        case 29: return FAS_THERMISTOR_VOL;
        case 41: return FAS_ALL_FACTORY;
        case 42: return FAS_LED_TEST_BUTTON;
        case 43: return FAS_MOTOR_TEST_BUTTON;
        case 44: return FAS_ENTER_FACTORY;
        case 45: return FAS_RADAR_TEST;
        case 46: return FAS_FACTORY_ARG;
        case 47: return FAS_ANT_ID;
        case 48: return FAS_CURRENT_TEST;
        case 49: return FAS_VOID_WELDING_TEST;
        case 50: return FAS_MAX_LUMEN_TEST;
        case 51: return FAS_SLEEP_ENTER_TEST;
        case 52: return FAS_RADAR_CALIB_FCAL;
        case 53: return FAS_RADAR_CALIB_FDECT;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_FACTORY_SERVICE)
  }

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

    /**
     * <code>FAO_UNSPECIFIED = 0;</code>
     */
    public static final int FAO_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_FACTORY_OPERATE valueOf(int value) {
      return forNumber(value);
    }

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

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_FACTORY_OPERATE)
  }

  /**
   * Protobuf enum {@code PERIPHERAL_FACTORY_RADAR_TEST_OPERATE}
   */
  public enum PERIPHERAL_FACTORY_RADAR_TEST_OPERATE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>FAS_NSPECIFIED_RADAR = 0;</code>
     */
    FAS_NSPECIFIED_RADAR(0),
    /**
     * <code>FAS_RADAR_TEST_OPEN = 1;</code>
     */
    FAS_RADAR_TEST_OPEN(1),
    /**
     * <code>FAS_RADAR_TEST_CLOSE = 2;</code>
     */
    FAS_RADAR_TEST_CLOSE(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>FAS_NSPECIFIED_RADAR = 0;</code>
     */
    public static final int FAS_NSPECIFIED_RADAR_VALUE = 0;
    /**
     * <code>FAS_RADAR_TEST_OPEN = 1;</code>
     */
    public static final int FAS_RADAR_TEST_OPEN_VALUE = 1;
    /**
     * <code>FAS_RADAR_TEST_CLOSE = 2;</code>
     */
    public static final int FAS_RADAR_TEST_CLOSE_VALUE = 2;


    @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_FACTORY_RADAR_TEST_OPERATE valueOf(int value) {
      return forNumber(value);
    }

    public static PERIPHERAL_FACTORY_RADAR_TEST_OPERATE forNumber(int value) {
      switch (value) {
        case 0: return FAS_NSPECIFIED_RADAR;
        case 1: return FAS_RADAR_TEST_OPEN;
        case 2: return FAS_RADAR_TEST_CLOSE;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_FACTORY_RADAR_TEST_OPERATE)
  }

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

    /**
     * <code>string sn = 1;</code>
     * @return The sn.
     */
    java.lang.String getSn();
    /**
     * <code>string sn = 1;</code>
     * @return The bytes for sn.
     */
    com.google.protobuf.ByteString
        getSnBytes();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_sn}
   */
  public  static final class peripheral_factory_data_sn extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_sn, peripheral_factory_data_sn.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_sn)
      peripheral_factory_data_snOrBuilder {
    private peripheral_factory_data_sn() {
      sn_ = "";
    }
    public static final int SN_FIELD_NUMBER = 1;
    private java.lang.String sn_;
    /**
     * <code>string sn = 1;</code>
     * @return The sn.
     */
    @java.lang.Override
    public java.lang.String getSn() {
      return sn_;
    }
    /**
     * <code>string sn = 1;</code>
     * @return The bytes for sn.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getSnBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(sn_);
    }
    /**
     * <code>string sn = 1;</code>
     * @param value The sn to set.
     */
    private void setSn(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      sn_ = value;
    }
    /**
     * <code>string sn = 1;</code>
     */
    private void clearSn() {
      
      sn_ = getDefaultInstance().getSn();
    }
    /**
     * <code>string sn = 1;</code>
     * @param value The bytes for sn to set.
     */
    private void setSnBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      sn_ = value.toStringUtf8();
      
    }

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

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


      /**
       * <code>string sn = 1;</code>
       * @return The sn.
       */
      @java.lang.Override
      public java.lang.String getSn() {
        return instance.getSn();
      }
      /**
       * <code>string sn = 1;</code>
       * @return The bytes for sn.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getSnBytes() {
        return instance.getSnBytes();
      }
      /**
       * <code>string sn = 1;</code>
       * @param value The sn to set.
       * @return This builder for chaining.
       */
      public Builder setSn(
          java.lang.String value) {
        copyOnWrite();
        instance.setSn(value);
        return this;
      }
      /**
       * <code>string sn = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSn() {
        copyOnWrite();
        instance.clearSn();
        return this;
      }
      /**
       * <code>string sn = 1;</code>
       * @param value The bytes for sn to set.
       * @return This builder for chaining.
       */
      public Builder setSnBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setSnBytes(value);
        return this;
      }

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

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

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

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

  public interface peripheral_factory_data_device_infoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:peripheral_factory_data_device_info)
      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 = 4;</code>
     * @return Whether the id field is set.
     */
    boolean hasId();
    /**
     * <code>.peripheral_info_data_id id = 4;</code>
     * @return The id.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id getId();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_device_info}
   */
  public  static final class peripheral_factory_data_device_info extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_device_info, peripheral_factory_data_device_info.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_device_info)
      peripheral_factory_data_device_infoOrBuilder {
    private peripheral_factory_data_device_info() {
    }
    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 = 4;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralInfo.peripheral_info_data_id id_;
    /**
     * <code>.peripheral_info_data_id id = 4;</code>
     */
    @java.lang.Override
    public boolean hasId() {
      return id_ != null;
    }
    /**
     * <code>.peripheral_info_data_id id = 4;</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 = 4;</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 = 4;</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 = 4;</code>
     */
    private void clearId() {  id_ = null;
      
    }

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

    /**
     * Protobuf type {@code peripheral_factory_data_device_info}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info, Builder> implements
        // @@protoc_insertion_point(builder_implements:peripheral_factory_data_device_info)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_infoOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info.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 = 4;</code>
       */
      @java.lang.Override
      public boolean hasId() {
        return instance.hasId();
      }
      /**
       * <code>.peripheral_info_data_id id = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</code>
       */
      public Builder clearId() {  copyOnWrite();
        instance.clearId();
        return this;
      }

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

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

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

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

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

    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     * @return The enum numeric value on the wire for hrSportMode.
     */
    int getHrSportModeValue();
    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     * @return The hrSportMode.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE getHrSportMode();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_device_operate}
   */
  public  static final class peripheral_factory_data_device_operate extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_device_operate, peripheral_factory_data_device_operate.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_device_operate)
      peripheral_factory_data_device_operateOrBuilder {
    private peripheral_factory_data_device_operate() {
    }
    public static final int HR_SPORT_MODE_FIELD_NUMBER = 1;
    private int hrSportMode_;
    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     * @return The enum numeric value on the wire for hrSportMode.
     */
    @java.lang.Override
    public int getHrSportModeValue() {
      return hrSportMode_;
    }
    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     * @return The hrSportMode.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE getHrSportMode() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE.forNumber(hrSportMode_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     * @param value The enum numeric value on the wire for hrSportMode to set.
     */
    private void setHrSportModeValue(int value) {
        hrSportMode_ = value;
    }
    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     * @param value The hrSportMode to set.
     */
    private void setHrSportMode(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE value) {
      hrSportMode_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
     */
    private void clearHrSportMode() {
      
      hrSportMode_ = 0;
    }

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

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


      /**
       * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
       * @return The enum numeric value on the wire for hrSportMode.
       */
      @java.lang.Override
      public int getHrSportModeValue() {
        return instance.getHrSportModeValue();
      }
      /**
       * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
       * @param value The hrSportMode to set.
       * @return This builder for chaining.
       */
      public Builder setHrSportModeValue(int value) {
        copyOnWrite();
        instance.setHrSportModeValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
       * @return The hrSportMode.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE getHrSportMode() {
        return instance.getHrSportMode();
      }
      /**
       * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
       * @param value The enum numeric value on the wire for hrSportMode to set.
       * @return This builder for chaining.
       */
      public Builder setHrSportMode(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralHr.PERIPHERAL_HR_SPORT_MODE_TYPE value) {
        copyOnWrite();
        instance.setHrSportMode(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_HR_SPORT_MODE_TYPE hr_sport_mode = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearHrSportMode() {
        copyOnWrite();
        instance.clearHrSportMode();
        return this;
      }

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

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

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

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

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

    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     * @return Whether the shutdown field is set.
     */
    boolean hasShutdown();
    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     * @return The shutdown.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown getShutdown();

    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     * @return Whether the sleep field is set.
     */
    boolean hasSleep();
    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     * @return The sleep.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep getSleep();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_device_config}
   */
  public  static final class peripheral_factory_data_device_config extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_device_config, peripheral_factory_data_device_config.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_device_config)
      peripheral_factory_data_device_configOrBuilder {
    private peripheral_factory_data_device_config() {
    }
    public static final int SHUTDOWN_FIELD_NUMBER = 1;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown shutdown_;
    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     */
    @java.lang.Override
    public boolean hasShutdown() {
      return shutdown_ != null;
    }
    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown getShutdown() {
      return shutdown_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown.getDefaultInstance() : shutdown_;
    }
    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     */
    private void setShutdown(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown value) {
      value.getClass();
  shutdown_ = value;
      
      }
    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeShutdown(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown value) {
      value.getClass();
  if (shutdown_ != null &&
          shutdown_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown.getDefaultInstance()) {
        shutdown_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown.newBuilder(shutdown_).mergeFrom(value).buildPartial();
      } else {
        shutdown_ = value;
      }
      
    }
    /**
     * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
     */
    private void clearShutdown() {  shutdown_ = null;
      
    }

    public static final int SLEEP_FIELD_NUMBER = 2;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep sleep_;
    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     */
    @java.lang.Override
    public boolean hasSleep() {
      return sleep_ != null;
    }
    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep getSleep() {
      return sleep_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep.getDefaultInstance() : sleep_;
    }
    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     */
    private void setSleep(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep value) {
      value.getClass();
  sleep_ = value;
      
      }
    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeSleep(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep value) {
      value.getClass();
  if (sleep_ != null &&
          sleep_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep.getDefaultInstance()) {
        sleep_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep.newBuilder(sleep_).mergeFrom(value).buildPartial();
      } else {
        sleep_ = value;
      }
      
    }
    /**
     * <code>.peripheral_config_data_sleep sleep = 2;</code>
     */
    private void clearSleep() {  sleep_ = null;
      
    }

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

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


      /**
       * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
       */
      @java.lang.Override
      public boolean hasShutdown() {
        return instance.hasShutdown();
      }
      /**
       * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown getShutdown() {
        return instance.getShutdown();
      }
      /**
       * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
       */
      public Builder setShutdown(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown value) {
        copyOnWrite();
        instance.setShutdown(value);
        return this;
        }
      /**
       * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
       */
      public Builder setShutdown(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown.Builder builderForValue) {
        copyOnWrite();
        instance.setShutdown(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
       */
      public Builder mergeShutdown(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_shutdown value) {
        copyOnWrite();
        instance.mergeShutdown(value);
        return this;
      }
      /**
       * <code>.peripheral_config_data_shutdown shutdown = 1;</code>
       */
      public Builder clearShutdown() {  copyOnWrite();
        instance.clearShutdown();
        return this;
      }

      /**
       * <code>.peripheral_config_data_sleep sleep = 2;</code>
       */
      @java.lang.Override
      public boolean hasSleep() {
        return instance.hasSleep();
      }
      /**
       * <code>.peripheral_config_data_sleep sleep = 2;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep getSleep() {
        return instance.getSleep();
      }
      /**
       * <code>.peripheral_config_data_sleep sleep = 2;</code>
       */
      public Builder setSleep(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep value) {
        copyOnWrite();
        instance.setSleep(value);
        return this;
        }
      /**
       * <code>.peripheral_config_data_sleep sleep = 2;</code>
       */
      public Builder setSleep(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep.Builder builderForValue) {
        copyOnWrite();
        instance.setSleep(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_config_data_sleep sleep = 2;</code>
       */
      public Builder mergeSleep(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralConfig.peripheral_config_data_sleep value) {
        copyOnWrite();
        instance.mergeSleep(value);
        return this;
      }
      /**
       * <code>.peripheral_config_data_sleep sleep = 2;</code>
       */
      public Builder clearSleep() {  copyOnWrite();
        instance.clearSleep();
        return this;
      }

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

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

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

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

  public interface peripheral_factory_data_bsp_memoryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:peripheral_factory_data_bsp_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();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_bsp_memory}
   */
  public  static final class peripheral_factory_data_bsp_memory extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_memory, peripheral_factory_data_bsp_memory.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_memory)
      peripheral_factory_data_bsp_memoryOrBuilder {
    private peripheral_factory_data_bsp_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 nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_memory parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_memory prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code peripheral_factory_data_bsp_memory}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory, Builder> implements
        // @@protoc_insertion_point(builder_implements:peripheral_factory_data_bsp_memory)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memoryOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_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;
      }

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

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

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

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

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

    /**
     * <code>int32 zone = 1;</code>
     * @return The zone.
     */
    int getZone();

    /**
     * <code>uint32 rtc = 2;</code>
     * @return The rtc.
     */
    int getRtc();

    /**
     * <code>uint32 sunrise = 3;</code>
     * @return The sunrise.
     */
    int getSunrise();

    /**
     * <code>uint32 sunset = 4;</code>
     * @return The sunset.
     */
    int getSunset();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_bsp_rtc}
   */
  public  static final class peripheral_factory_data_bsp_rtc extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_rtc, peripheral_factory_data_bsp_rtc.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_rtc)
      peripheral_factory_data_bsp_rtcOrBuilder {
    private peripheral_factory_data_bsp_rtc() {
    }
    public static final int ZONE_FIELD_NUMBER = 1;
    private int zone_;
    /**
     * <code>int32 zone = 1;</code>
     * @return The zone.
     */
    @java.lang.Override
    public int getZone() {
      return zone_;
    }
    /**
     * <code>int32 zone = 1;</code>
     * @param value The zone to set.
     */
    private void setZone(int value) {
      
      zone_ = value;
    }
    /**
     * <code>int32 zone = 1;</code>
     */
    private void clearZone() {
      
      zone_ = 0;
    }

    public static final int RTC_FIELD_NUMBER = 2;
    private int rtc_;
    /**
     * <code>uint32 rtc = 2;</code>
     * @return The rtc.
     */
    @java.lang.Override
    public int getRtc() {
      return rtc_;
    }
    /**
     * <code>uint32 rtc = 2;</code>
     * @param value The rtc to set.
     */
    private void setRtc(int value) {
      
      rtc_ = value;
    }
    /**
     * <code>uint32 rtc = 2;</code>
     */
    private void clearRtc() {
      
      rtc_ = 0;
    }

    public static final int SUNRISE_FIELD_NUMBER = 3;
    private int sunrise_;
    /**
     * <code>uint32 sunrise = 3;</code>
     * @return The sunrise.
     */
    @java.lang.Override
    public int getSunrise() {
      return sunrise_;
    }
    /**
     * <code>uint32 sunrise = 3;</code>
     * @param value The sunrise to set.
     */
    private void setSunrise(int value) {
      
      sunrise_ = value;
    }
    /**
     * <code>uint32 sunrise = 3;</code>
     */
    private void clearSunrise() {
      
      sunrise_ = 0;
    }

    public static final int SUNSET_FIELD_NUMBER = 4;
    private int sunset_;
    /**
     * <code>uint32 sunset = 4;</code>
     * @return The sunset.
     */
    @java.lang.Override
    public int getSunset() {
      return sunset_;
    }
    /**
     * <code>uint32 sunset = 4;</code>
     * @param value The sunset to set.
     */
    private void setSunset(int value) {
      
      sunset_ = value;
    }
    /**
     * <code>uint32 sunset = 4;</code>
     */
    private void clearSunset() {
      
      sunset_ = 0;
    }

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

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


      /**
       * <code>int32 zone = 1;</code>
       * @return The zone.
       */
      @java.lang.Override
      public int getZone() {
        return instance.getZone();
      }
      /**
       * <code>int32 zone = 1;</code>
       * @param value The zone to set.
       * @return This builder for chaining.
       */
      public Builder setZone(int value) {
        copyOnWrite();
        instance.setZone(value);
        return this;
      }
      /**
       * <code>int32 zone = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearZone() {
        copyOnWrite();
        instance.clearZone();
        return this;
      }

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

      /**
       * <code>uint32 sunrise = 3;</code>
       * @return The sunrise.
       */
      @java.lang.Override
      public int getSunrise() {
        return instance.getSunrise();
      }
      /**
       * <code>uint32 sunrise = 3;</code>
       * @param value The sunrise to set.
       * @return This builder for chaining.
       */
      public Builder setSunrise(int value) {
        copyOnWrite();
        instance.setSunrise(value);
        return this;
      }
      /**
       * <code>uint32 sunrise = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSunrise() {
        copyOnWrite();
        instance.clearSunrise();
        return this;
      }

      /**
       * <code>uint32 sunset = 4;</code>
       * @return The sunset.
       */
      @java.lang.Override
      public int getSunset() {
        return instance.getSunset();
      }
      /**
       * <code>uint32 sunset = 4;</code>
       * @param value The sunset to set.
       * @return This builder for chaining.
       */
      public Builder setSunset(int value) {
        copyOnWrite();
        instance.setSunset(value);
        return this;
      }
      /**
       * <code>uint32 sunset = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearSunset() {
        copyOnWrite();
        instance.clearSunset();
        return this;
      }

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

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

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

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

  public interface peripheral_factory_data_bsp_batteryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:peripheral_factory_data_bsp_battery)
      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_factory_data_bsp_battery}
   */
  public  static final class peripheral_factory_data_bsp_battery extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_battery, peripheral_factory_data_bsp_battery.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_battery)
      peripheral_factory_data_bsp_batteryOrBuilder {
    private peripheral_factory_data_bsp_battery() {
    }
    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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery 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.PeripheralFactory.peripheral_factory_data_bsp_battery prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code peripheral_factory_data_bsp_battery}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery, Builder> implements
        // @@protoc_insertion_point(builder_implements:peripheral_factory_data_bsp_battery)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_batteryOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery.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_factory_data_bsp_battery)
    }
    @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.PeripheralFactory.peripheral_factory_data_bsp_battery();
        }
        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.PeripheralFactory.peripheral_factory_data_bsp_battery> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery>(
                        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_factory_data_bsp_battery)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery DEFAULT_INSTANCE;
    static {
      peripheral_factory_data_bsp_battery defaultInstance = new peripheral_factory_data_bsp_battery();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_data_bsp_battery.class, defaultInstance);
    }

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

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

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

  public interface peripheral_factory_data_bsp_temperatureOrBuilder extends
      // @@protoc_insertion_point(interface_extends:peripheral_factory_data_bsp_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_factory_data_bsp_temperature}
   */
  public  static final class peripheral_factory_data_bsp_temperature extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_temperature, peripheral_factory_data_bsp_temperature.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_temperature)
      peripheral_factory_data_bsp_temperatureOrBuilder {
    private peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_temperature parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_temperature prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code peripheral_factory_data_bsp_temperature}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature, Builder> implements
        // @@protoc_insertion_point(builder_implements:peripheral_factory_data_bsp_temperature)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperatureOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_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_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_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.PeripheralFactory.peripheral_factory_data_bsp_temperature> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_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_factory_data_bsp_temperature)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature DEFAULT_INSTANCE;
    static {
      peripheral_factory_data_bsp_temperature defaultInstance = new peripheral_factory_data_bsp_temperature();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_data_bsp_temperature.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>int32 x_axis_val = 1;</code>
     * @return The xAxisVal.
     */
    int getXAxisVal();

    /**
     * <code>int32 y_axis_val = 2;</code>
     * @return The yAxisVal.
     */
    int getYAxisVal();

    /**
     * <code>int32 z_axis_val = 3;</code>
     * @return The zAxisVal.
     */
    int getZAxisVal();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_bsp_acc}
   */
  public  static final class peripheral_factory_data_bsp_acc extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_acc, peripheral_factory_data_bsp_acc.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_acc)
      peripheral_factory_data_bsp_accOrBuilder {
    private peripheral_factory_data_bsp_acc() {
    }
    public static final int X_AXIS_VAL_FIELD_NUMBER = 1;
    private int xAxisVal_;
    /**
     * <code>int32 x_axis_val = 1;</code>
     * @return The xAxisVal.
     */
    @java.lang.Override
    public int getXAxisVal() {
      return xAxisVal_;
    }
    /**
     * <code>int32 x_axis_val = 1;</code>
     * @param value The xAxisVal to set.
     */
    private void setXAxisVal(int value) {
      
      xAxisVal_ = value;
    }
    /**
     * <code>int32 x_axis_val = 1;</code>
     */
    private void clearXAxisVal() {
      
      xAxisVal_ = 0;
    }

    public static final int Y_AXIS_VAL_FIELD_NUMBER = 2;
    private int yAxisVal_;
    /**
     * <code>int32 y_axis_val = 2;</code>
     * @return The yAxisVal.
     */
    @java.lang.Override
    public int getYAxisVal() {
      return yAxisVal_;
    }
    /**
     * <code>int32 y_axis_val = 2;</code>
     * @param value The yAxisVal to set.
     */
    private void setYAxisVal(int value) {
      
      yAxisVal_ = value;
    }
    /**
     * <code>int32 y_axis_val = 2;</code>
     */
    private void clearYAxisVal() {
      
      yAxisVal_ = 0;
    }

    public static final int Z_AXIS_VAL_FIELD_NUMBER = 3;
    private int zAxisVal_;
    /**
     * <code>int32 z_axis_val = 3;</code>
     * @return The zAxisVal.
     */
    @java.lang.Override
    public int getZAxisVal() {
      return zAxisVal_;
    }
    /**
     * <code>int32 z_axis_val = 3;</code>
     * @param value The zAxisVal to set.
     */
    private void setZAxisVal(int value) {
      
      zAxisVal_ = value;
    }
    /**
     * <code>int32 z_axis_val = 3;</code>
     */
    private void clearZAxisVal() {
      
      zAxisVal_ = 0;
    }

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

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


      /**
       * <code>int32 x_axis_val = 1;</code>
       * @return The xAxisVal.
       */
      @java.lang.Override
      public int getXAxisVal() {
        return instance.getXAxisVal();
      }
      /**
       * <code>int32 x_axis_val = 1;</code>
       * @param value The xAxisVal to set.
       * @return This builder for chaining.
       */
      public Builder setXAxisVal(int value) {
        copyOnWrite();
        instance.setXAxisVal(value);
        return this;
      }
      /**
       * <code>int32 x_axis_val = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearXAxisVal() {
        copyOnWrite();
        instance.clearXAxisVal();
        return this;
      }

      /**
       * <code>int32 y_axis_val = 2;</code>
       * @return The yAxisVal.
       */
      @java.lang.Override
      public int getYAxisVal() {
        return instance.getYAxisVal();
      }
      /**
       * <code>int32 y_axis_val = 2;</code>
       * @param value The yAxisVal to set.
       * @return This builder for chaining.
       */
      public Builder setYAxisVal(int value) {
        copyOnWrite();
        instance.setYAxisVal(value);
        return this;
      }
      /**
       * <code>int32 y_axis_val = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearYAxisVal() {
        copyOnWrite();
        instance.clearYAxisVal();
        return this;
      }

      /**
       * <code>int32 z_axis_val = 3;</code>
       * @return The zAxisVal.
       */
      @java.lang.Override
      public int getZAxisVal() {
        return instance.getZAxisVal();
      }
      /**
       * <code>int32 z_axis_val = 3;</code>
       * @param value The zAxisVal to set.
       * @return This builder for chaining.
       */
      public Builder setZAxisVal(int value) {
        copyOnWrite();
        instance.setZAxisVal(value);
        return this;
      }
      /**
       * <code>int32 z_axis_val = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearZAxisVal() {
        copyOnWrite();
        instance.clearZAxisVal();
        return this;
      }

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

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

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

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

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

    /**
     * <code>uint32 amplitude = 1;</code>
     * @return The amplitude.
     */
    int getAmplitude();

    /**
     * <code>uint32 frequency = 2;</code>
     * @return The frequency.
     */
    int getFrequency();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_bsp_radar_raw}
   */
  public  static final class peripheral_factory_data_bsp_radar_raw extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_radar_raw, peripheral_factory_data_bsp_radar_raw.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_radar_raw)
      peripheral_factory_data_bsp_radar_rawOrBuilder {
    private peripheral_factory_data_bsp_radar_raw() {
    }
    public static final int AMPLITUDE_FIELD_NUMBER = 1;
    private int amplitude_;
    /**
     * <code>uint32 amplitude = 1;</code>
     * @return The amplitude.
     */
    @java.lang.Override
    public int getAmplitude() {
      return amplitude_;
    }
    /**
     * <code>uint32 amplitude = 1;</code>
     * @param value The amplitude to set.
     */
    private void setAmplitude(int value) {
      
      amplitude_ = value;
    }
    /**
     * <code>uint32 amplitude = 1;</code>
     */
    private void clearAmplitude() {
      
      amplitude_ = 0;
    }

    public static final int FREQUENCY_FIELD_NUMBER = 2;
    private int frequency_;
    /**
     * <code>uint32 frequency = 2;</code>
     * @return The frequency.
     */
    @java.lang.Override
    public int getFrequency() {
      return frequency_;
    }
    /**
     * <code>uint32 frequency = 2;</code>
     * @param value The frequency to set.
     */
    private void setFrequency(int value) {
      
      frequency_ = value;
    }
    /**
     * <code>uint32 frequency = 2;</code>
     */
    private void clearFrequency() {
      
      frequency_ = 0;
    }

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

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


      /**
       * <code>uint32 amplitude = 1;</code>
       * @return The amplitude.
       */
      @java.lang.Override
      public int getAmplitude() {
        return instance.getAmplitude();
      }
      /**
       * <code>uint32 amplitude = 1;</code>
       * @param value The amplitude to set.
       * @return This builder for chaining.
       */
      public Builder setAmplitude(int value) {
        copyOnWrite();
        instance.setAmplitude(value);
        return this;
      }
      /**
       * <code>uint32 amplitude = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearAmplitude() {
        copyOnWrite();
        instance.clearAmplitude();
        return this;
      }

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

      // @@protoc_insertion_point(builder_scope:peripheral_factory_data_bsp_radar_raw)
    }
    @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.PeripheralFactory.peripheral_factory_data_bsp_radar_raw();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "amplitude_",
              "frequency_",
            };
            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.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw>(
                        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_factory_data_bsp_radar_raw)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw DEFAULT_INSTANCE;
    static {
      peripheral_factory_data_bsp_radar_raw defaultInstance = new peripheral_factory_data_bsp_radar_raw();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_data_bsp_radar_raw.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     * @return The enum numeric value on the wire for radarTestCmd.
     */
    int getRadarTestCmdValue();
    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     * @return The radarTestCmd.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE getRadarTestCmd();

    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    java.util.List<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> 
        getRadarTestDataList();
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw getRadarTestData(int index);
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    int getRadarTestDataCount();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_bsp_radar_test}
   */
  public  static final class peripheral_factory_data_bsp_radar_test extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_radar_test, peripheral_factory_data_bsp_radar_test.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_radar_test)
      peripheral_factory_data_bsp_radar_testOrBuilder {
    private peripheral_factory_data_bsp_radar_test() {
      radarTestData_ = emptyProtobufList();
    }
    public static final int RADAR_TEST_CMD_FIELD_NUMBER = 1;
    private int radarTestCmd_;
    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     * @return The enum numeric value on the wire for radarTestCmd.
     */
    @java.lang.Override
    public int getRadarTestCmdValue() {
      return radarTestCmd_;
    }
    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     * @return The radarTestCmd.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE getRadarTestCmd() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE.forNumber(radarTestCmd_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     * @param value The enum numeric value on the wire for radarTestCmd to set.
     */
    private void setRadarTestCmdValue(int value) {
        radarTestCmd_ = value;
    }
    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     * @param value The radarTestCmd to set.
     */
    private void setRadarTestCmd(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE value) {
      radarTestCmd_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
     */
    private void clearRadarTestCmd() {
      
      radarTestCmd_ = 0;
    }

    public static final int RADAR_TEST_DATA_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.ProtobufList<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> radarTestData_;
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    @java.lang.Override
    public java.util.List<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> getRadarTestDataList() {
      return radarTestData_;
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    public java.util.List<? extends nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_rawOrBuilder> 
        getRadarTestDataOrBuilderList() {
      return radarTestData_;
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    @java.lang.Override
    public int getRadarTestDataCount() {
      return radarTestData_.size();
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw getRadarTestData(int index) {
      return radarTestData_.get(index);
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_rawOrBuilder getRadarTestDataOrBuilder(
        int index) {
      return radarTestData_.get(index);
    }
    private void ensureRadarTestDataIsMutable() {
      com.google.protobuf.Internal.ProtobufList<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> tmp = radarTestData_;
      if (!tmp.isModifiable()) {
        radarTestData_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }

    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    private void setRadarTestData(
        int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw value) {
      value.getClass();
  ensureRadarTestDataIsMutable();
      radarTestData_.set(index, value);
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    private void addRadarTestData(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw value) {
      value.getClass();
  ensureRadarTestDataIsMutable();
      radarTestData_.add(value);
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    private void addRadarTestData(
        int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw value) {
      value.getClass();
  ensureRadarTestDataIsMutable();
      radarTestData_.add(index, value);
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    private void addAllRadarTestData(
        java.lang.Iterable<? extends nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> values) {
      ensureRadarTestDataIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, radarTestData_);
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    private void clearRadarTestData() {
      radarTestData_ = emptyProtobufList();
    }
    /**
     * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
     */
    private void removeRadarTestData(int index) {
      ensureRadarTestDataIsMutable();
      radarTestData_.remove(index);
    }

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

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


      /**
       * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
       * @return The enum numeric value on the wire for radarTestCmd.
       */
      @java.lang.Override
      public int getRadarTestCmdValue() {
        return instance.getRadarTestCmdValue();
      }
      /**
       * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
       * @param value The radarTestCmd to set.
       * @return This builder for chaining.
       */
      public Builder setRadarTestCmdValue(int value) {
        copyOnWrite();
        instance.setRadarTestCmdValue(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
       * @return The radarTestCmd.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE getRadarTestCmd() {
        return instance.getRadarTestCmd();
      }
      /**
       * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
       * @param value The enum numeric value on the wire for radarTestCmd to set.
       * @return This builder for chaining.
       */
      public Builder setRadarTestCmd(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE value) {
        copyOnWrite();
        instance.setRadarTestCmd(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_FACTORY_RADAR_TEST_OPERATE radar_test_cmd = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearRadarTestCmd() {
        copyOnWrite();
        instance.clearRadarTestCmd();
        return this;
      }

      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      @java.lang.Override
      public java.util.List<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> getRadarTestDataList() {
        return java.util.Collections.unmodifiableList(
            instance.getRadarTestDataList());
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      @java.lang.Override
      public int getRadarTestDataCount() {
        return instance.getRadarTestDataCount();
      }/**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw getRadarTestData(int index) {
        return instance.getRadarTestData(index);
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder setRadarTestData(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw value) {
        copyOnWrite();
        instance.setRadarTestData(index, value);
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder setRadarTestData(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw.Builder builderForValue) {
        copyOnWrite();
        instance.setRadarTestData(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder addRadarTestData(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw value) {
        copyOnWrite();
        instance.addRadarTestData(value);
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder addRadarTestData(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw value) {
        copyOnWrite();
        instance.addRadarTestData(index, value);
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder addRadarTestData(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw.Builder builderForValue) {
        copyOnWrite();
        instance.addRadarTestData(builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder addRadarTestData(
          int index, nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw.Builder builderForValue) {
        copyOnWrite();
        instance.addRadarTestData(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder addAllRadarTestData(
          java.lang.Iterable<? extends nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw> values) {
        copyOnWrite();
        instance.addAllRadarTestData(values);
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder clearRadarTestData() {
        copyOnWrite();
        instance.clearRadarTestData();
        return this;
      }
      /**
       * <code>repeated .peripheral_factory_data_bsp_radar_raw radar_test_data = 2;</code>
       */
      public Builder removeRadarTestData(int index) {
        copyOnWrite();
        instance.removeRadarTestData(index);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_factory_data_bsp_radar_test)
    }
    @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.PeripheralFactory.peripheral_factory_data_bsp_radar_test();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "radarTestCmd_",
              "radarTestData_",
              nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_raw.class,
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\f\u0002\u001b" +
                "";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test>(
                        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_factory_data_bsp_radar_test)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test DEFAULT_INSTANCE;
    static {
      peripheral_factory_data_bsp_radar_test defaultInstance = new peripheral_factory_data_bsp_radar_test();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_data_bsp_radar_test.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>int32 lightness = 1;</code>
     * @return The lightness.
     */
    int getLightness();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_bsp_lsr}
   */
  public  static final class peripheral_factory_data_bsp_lsr extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_bsp_lsr, peripheral_factory_data_bsp_lsr.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_bsp_lsr)
      peripheral_factory_data_bsp_lsrOrBuilder {
    private peripheral_factory_data_bsp_lsr() {
    }
    public static final int LIGHTNESS_FIELD_NUMBER = 1;
    private int lightness_;
    /**
     * <code>int32 lightness = 1;</code>
     * @return The lightness.
     */
    @java.lang.Override
    public int getLightness() {
      return lightness_;
    }
    /**
     * <code>int32 lightness = 1;</code>
     * @param value The lightness to set.
     */
    private void setLightness(int value) {
      
      lightness_ = value;
    }
    /**
     * <code>int32 lightness = 1;</code>
     */
    private void clearLightness() {
      
      lightness_ = 0;
    }

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

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


      /**
       * <code>int32 lightness = 1;</code>
       * @return The lightness.
       */
      @java.lang.Override
      public int getLightness() {
        return instance.getLightness();
      }
      /**
       * <code>int32 lightness = 1;</code>
       * @param value The lightness to set.
       * @return This builder for chaining.
       */
      public Builder setLightness(int value) {
        copyOnWrite();
        instance.setLightness(value);
        return this;
      }
      /**
       * <code>int32 lightness = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearLightness() {
        copyOnWrite();
        instance.clearLightness();
        return this;
      }

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

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

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

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

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

    /**
     * <code>int32 vol = 1;</code>
     * @return The vol.
     */
    int getVol();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_therm_vol}
   */
  public  static final class peripheral_factory_data_therm_vol extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_therm_vol, peripheral_factory_data_therm_vol.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_therm_vol)
      peripheral_factory_data_therm_volOrBuilder {
    private peripheral_factory_data_therm_vol() {
    }
    public static final int VOL_FIELD_NUMBER = 1;
    private int vol_;
    /**
     * <code>int32 vol = 1;</code>
     * @return The vol.
     */
    @java.lang.Override
    public int getVol() {
      return vol_;
    }
    /**
     * <code>int32 vol = 1;</code>
     * @param value The vol to set.
     */
    private void setVol(int value) {
      
      vol_ = value;
    }
    /**
     * <code>int32 vol = 1;</code>
     */
    private void clearVol() {
      
      vol_ = 0;
    }

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

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


      /**
       * <code>int32 vol = 1;</code>
       * @return The vol.
       */
      @java.lang.Override
      public int getVol() {
        return instance.getVol();
      }
      /**
       * <code>int32 vol = 1;</code>
       * @param value The vol to set.
       * @return This builder for chaining.
       */
      public Builder setVol(int value) {
        copyOnWrite();
        instance.setVol(value);
        return this;
      }
      /**
       * <code>int32 vol = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearVol() {
        copyOnWrite();
        instance.clearVol();
        return this;
      }

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

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

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

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

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

    /**
     * <code>uint32 ant_id = 1;</code>
     * @return The antId.
     */
    int getAntId();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_ant_id}
   */
  public  static final class peripheral_factory_data_ant_id extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_ant_id, peripheral_factory_data_ant_id.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_ant_id)
      peripheral_factory_data_ant_idOrBuilder {
    private peripheral_factory_data_ant_id() {
    }
    public static final int ANT_ID_FIELD_NUMBER = 1;
    private int antId_;
    /**
     * <code>uint32 ant_id = 1;</code>
     * @return The antId.
     */
    @java.lang.Override
    public int getAntId() {
      return antId_;
    }
    /**
     * <code>uint32 ant_id = 1;</code>
     * @param value The antId to set.
     */
    private void setAntId(int value) {
      
      antId_ = value;
    }
    /**
     * <code>uint32 ant_id = 1;</code>
     */
    private void clearAntId() {
      
      antId_ = 0;
    }

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

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


      /**
       * <code>uint32 ant_id = 1;</code>
       * @return The antId.
       */
      @java.lang.Override
      public int getAntId() {
        return instance.getAntId();
      }
      /**
       * <code>uint32 ant_id = 1;</code>
       * @param value The antId to set.
       * @return This builder for chaining.
       */
      public Builder setAntId(int value) {
        copyOnWrite();
        instance.setAntId(value);
        return this;
      }
      /**
       * <code>uint32 ant_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearAntId() {
        copyOnWrite();
        instance.clearAntId();
        return this;
      }

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

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

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

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

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

    /**
     * <code>uint32 f7_reg_addr = 1;</code>
     * @return The f7RegAddr.
     */
    int getF7RegAddr();

    /**
     * <code>uint32 channel1 = 2;</code>
     * @return The channel1.
     */
    int getChannel1();

    /**
     * <code>uint32 channel2 = 3;</code>
     * @return The channel2.
     */
    int getChannel2();

    /**
     * <code>uint32 channel3 = 4;</code>
     * @return The channel3.
     */
    int getChannel3();

    /**
     * <code>uint32 channel4 = 5;</code>
     * @return The channel4.
     */
    int getChannel4();

    /**
     * <code>uint32 lock_state = 6;</code>
     * @return The lockState.
     */
    int getLockState();

    /**
     * <code>uint32 lock_val = 7;</code>
     * @return The lockVal.
     */
    int getLockVal();

    /**
     * <code>uint32 ana_val = 8;</code>
     * @return The anaVal.
     */
    int getAnaVal();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_void_welding}
   */
  public  static final class peripheral_factory_data_void_welding extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_void_welding, peripheral_factory_data_void_welding.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_void_welding)
      peripheral_factory_data_void_weldingOrBuilder {
    private peripheral_factory_data_void_welding() {
    }
    public static final int F7_REG_ADDR_FIELD_NUMBER = 1;
    private int f7RegAddr_;
    /**
     * <code>uint32 f7_reg_addr = 1;</code>
     * @return The f7RegAddr.
     */
    @java.lang.Override
    public int getF7RegAddr() {
      return f7RegAddr_;
    }
    /**
     * <code>uint32 f7_reg_addr = 1;</code>
     * @param value The f7RegAddr to set.
     */
    private void setF7RegAddr(int value) {
      
      f7RegAddr_ = value;
    }
    /**
     * <code>uint32 f7_reg_addr = 1;</code>
     */
    private void clearF7RegAddr() {
      
      f7RegAddr_ = 0;
    }

    public static final int CHANNEL1_FIELD_NUMBER = 2;
    private int channel1_;
    /**
     * <code>uint32 channel1 = 2;</code>
     * @return The channel1.
     */
    @java.lang.Override
    public int getChannel1() {
      return channel1_;
    }
    /**
     * <code>uint32 channel1 = 2;</code>
     * @param value The channel1 to set.
     */
    private void setChannel1(int value) {
      
      channel1_ = value;
    }
    /**
     * <code>uint32 channel1 = 2;</code>
     */
    private void clearChannel1() {
      
      channel1_ = 0;
    }

    public static final int CHANNEL2_FIELD_NUMBER = 3;
    private int channel2_;
    /**
     * <code>uint32 channel2 = 3;</code>
     * @return The channel2.
     */
    @java.lang.Override
    public int getChannel2() {
      return channel2_;
    }
    /**
     * <code>uint32 channel2 = 3;</code>
     * @param value The channel2 to set.
     */
    private void setChannel2(int value) {
      
      channel2_ = value;
    }
    /**
     * <code>uint32 channel2 = 3;</code>
     */
    private void clearChannel2() {
      
      channel2_ = 0;
    }

    public static final int CHANNEL3_FIELD_NUMBER = 4;
    private int channel3_;
    /**
     * <code>uint32 channel3 = 4;</code>
     * @return The channel3.
     */
    @java.lang.Override
    public int getChannel3() {
      return channel3_;
    }
    /**
     * <code>uint32 channel3 = 4;</code>
     * @param value The channel3 to set.
     */
    private void setChannel3(int value) {
      
      channel3_ = value;
    }
    /**
     * <code>uint32 channel3 = 4;</code>
     */
    private void clearChannel3() {
      
      channel3_ = 0;
    }

    public static final int CHANNEL4_FIELD_NUMBER = 5;
    private int channel4_;
    /**
     * <code>uint32 channel4 = 5;</code>
     * @return The channel4.
     */
    @java.lang.Override
    public int getChannel4() {
      return channel4_;
    }
    /**
     * <code>uint32 channel4 = 5;</code>
     * @param value The channel4 to set.
     */
    private void setChannel4(int value) {
      
      channel4_ = value;
    }
    /**
     * <code>uint32 channel4 = 5;</code>
     */
    private void clearChannel4() {
      
      channel4_ = 0;
    }

    public static final int LOCK_STATE_FIELD_NUMBER = 6;
    private int lockState_;
    /**
     * <code>uint32 lock_state = 6;</code>
     * @return The lockState.
     */
    @java.lang.Override
    public int getLockState() {
      return lockState_;
    }
    /**
     * <code>uint32 lock_state = 6;</code>
     * @param value The lockState to set.
     */
    private void setLockState(int value) {
      
      lockState_ = value;
    }
    /**
     * <code>uint32 lock_state = 6;</code>
     */
    private void clearLockState() {
      
      lockState_ = 0;
    }

    public static final int LOCK_VAL_FIELD_NUMBER = 7;
    private int lockVal_;
    /**
     * <code>uint32 lock_val = 7;</code>
     * @return The lockVal.
     */
    @java.lang.Override
    public int getLockVal() {
      return lockVal_;
    }
    /**
     * <code>uint32 lock_val = 7;</code>
     * @param value The lockVal to set.
     */
    private void setLockVal(int value) {
      
      lockVal_ = value;
    }
    /**
     * <code>uint32 lock_val = 7;</code>
     */
    private void clearLockVal() {
      
      lockVal_ = 0;
    }

    public static final int ANA_VAL_FIELD_NUMBER = 8;
    private int anaVal_;
    /**
     * <code>uint32 ana_val = 8;</code>
     * @return The anaVal.
     */
    @java.lang.Override
    public int getAnaVal() {
      return anaVal_;
    }
    /**
     * <code>uint32 ana_val = 8;</code>
     * @param value The anaVal to set.
     */
    private void setAnaVal(int value) {
      
      anaVal_ = value;
    }
    /**
     * <code>uint32 ana_val = 8;</code>
     */
    private void clearAnaVal() {
      
      anaVal_ = 0;
    }

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

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


      /**
       * <code>uint32 f7_reg_addr = 1;</code>
       * @return The f7RegAddr.
       */
      @java.lang.Override
      public int getF7RegAddr() {
        return instance.getF7RegAddr();
      }
      /**
       * <code>uint32 f7_reg_addr = 1;</code>
       * @param value The f7RegAddr to set.
       * @return This builder for chaining.
       */
      public Builder setF7RegAddr(int value) {
        copyOnWrite();
        instance.setF7RegAddr(value);
        return this;
      }
      /**
       * <code>uint32 f7_reg_addr = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearF7RegAddr() {
        copyOnWrite();
        instance.clearF7RegAddr();
        return this;
      }

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

      /**
       * <code>uint32 channel2 = 3;</code>
       * @return The channel2.
       */
      @java.lang.Override
      public int getChannel2() {
        return instance.getChannel2();
      }
      /**
       * <code>uint32 channel2 = 3;</code>
       * @param value The channel2 to set.
       * @return This builder for chaining.
       */
      public Builder setChannel2(int value) {
        copyOnWrite();
        instance.setChannel2(value);
        return this;
      }
      /**
       * <code>uint32 channel2 = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearChannel2() {
        copyOnWrite();
        instance.clearChannel2();
        return this;
      }

      /**
       * <code>uint32 channel3 = 4;</code>
       * @return The channel3.
       */
      @java.lang.Override
      public int getChannel3() {
        return instance.getChannel3();
      }
      /**
       * <code>uint32 channel3 = 4;</code>
       * @param value The channel3 to set.
       * @return This builder for chaining.
       */
      public Builder setChannel3(int value) {
        copyOnWrite();
        instance.setChannel3(value);
        return this;
      }
      /**
       * <code>uint32 channel3 = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearChannel3() {
        copyOnWrite();
        instance.clearChannel3();
        return this;
      }

      /**
       * <code>uint32 channel4 = 5;</code>
       * @return The channel4.
       */
      @java.lang.Override
      public int getChannel4() {
        return instance.getChannel4();
      }
      /**
       * <code>uint32 channel4 = 5;</code>
       * @param value The channel4 to set.
       * @return This builder for chaining.
       */
      public Builder setChannel4(int value) {
        copyOnWrite();
        instance.setChannel4(value);
        return this;
      }
      /**
       * <code>uint32 channel4 = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearChannel4() {
        copyOnWrite();
        instance.clearChannel4();
        return this;
      }

      /**
       * <code>uint32 lock_state = 6;</code>
       * @return The lockState.
       */
      @java.lang.Override
      public int getLockState() {
        return instance.getLockState();
      }
      /**
       * <code>uint32 lock_state = 6;</code>
       * @param value The lockState to set.
       * @return This builder for chaining.
       */
      public Builder setLockState(int value) {
        copyOnWrite();
        instance.setLockState(value);
        return this;
      }
      /**
       * <code>uint32 lock_state = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearLockState() {
        copyOnWrite();
        instance.clearLockState();
        return this;
      }

      /**
       * <code>uint32 lock_val = 7;</code>
       * @return The lockVal.
       */
      @java.lang.Override
      public int getLockVal() {
        return instance.getLockVal();
      }
      /**
       * <code>uint32 lock_val = 7;</code>
       * @param value The lockVal to set.
       * @return This builder for chaining.
       */
      public Builder setLockVal(int value) {
        copyOnWrite();
        instance.setLockVal(value);
        return this;
      }
      /**
       * <code>uint32 lock_val = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearLockVal() {
        copyOnWrite();
        instance.clearLockVal();
        return this;
      }

      /**
       * <code>uint32 ana_val = 8;</code>
       * @return The anaVal.
       */
      @java.lang.Override
      public int getAnaVal() {
        return instance.getAnaVal();
      }
      /**
       * <code>uint32 ana_val = 8;</code>
       * @param value The anaVal to set.
       * @return This builder for chaining.
       */
      public Builder setAnaVal(int value) {
        copyOnWrite();
        instance.setAnaVal(value);
        return this;
      }
      /**
       * <code>uint32 ana_val = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearAnaVal() {
        copyOnWrite();
        instance.clearAnaVal();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_factory_data_void_welding)
    }
    @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.PeripheralFactory.peripheral_factory_data_void_welding();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "f7RegAddr_",
              "channel1_",
              "channel2_",
              "channel3_",
              "channel4_",
              "lockState_",
              "lockVal_",
              "anaVal_",
            };
            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.PeripheralFactory.peripheral_factory_data_void_welding> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding>(
                        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_factory_data_void_welding)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding DEFAULT_INSTANCE;
    static {
      peripheral_factory_data_void_welding defaultInstance = new peripheral_factory_data_void_welding();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_data_void_welding.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>uint32 snr = 1;</code>
     * @return The snr.
     */
    int getSnr();

    /**
     * <code>uint32 signal = 2;</code>
     * @return The signal.
     */
    int getSignal();

    /**
     * <code>uint32 noise = 3;</code>
     * @return The noise.
     */
    int getNoise();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_radar_snr}
   */
  public  static final class peripheral_factory_data_radar_snr extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_radar_snr, peripheral_factory_data_radar_snr.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_radar_snr)
      peripheral_factory_data_radar_snrOrBuilder {
    private peripheral_factory_data_radar_snr() {
    }
    public static final int SNR_FIELD_NUMBER = 1;
    private int snr_;
    /**
     * <code>uint32 snr = 1;</code>
     * @return The snr.
     */
    @java.lang.Override
    public int getSnr() {
      return snr_;
    }
    /**
     * <code>uint32 snr = 1;</code>
     * @param value The snr to set.
     */
    private void setSnr(int value) {
      
      snr_ = value;
    }
    /**
     * <code>uint32 snr = 1;</code>
     */
    private void clearSnr() {
      
      snr_ = 0;
    }

    public static final int SIGNAL_FIELD_NUMBER = 2;
    private int signal_;
    /**
     * <code>uint32 signal = 2;</code>
     * @return The signal.
     */
    @java.lang.Override
    public int getSignal() {
      return signal_;
    }
    /**
     * <code>uint32 signal = 2;</code>
     * @param value The signal to set.
     */
    private void setSignal(int value) {
      
      signal_ = value;
    }
    /**
     * <code>uint32 signal = 2;</code>
     */
    private void clearSignal() {
      
      signal_ = 0;
    }

    public static final int NOISE_FIELD_NUMBER = 3;
    private int noise_;
    /**
     * <code>uint32 noise = 3;</code>
     * @return The noise.
     */
    @java.lang.Override
    public int getNoise() {
      return noise_;
    }
    /**
     * <code>uint32 noise = 3;</code>
     * @param value The noise to set.
     */
    private void setNoise(int value) {
      
      noise_ = value;
    }
    /**
     * <code>uint32 noise = 3;</code>
     */
    private void clearNoise() {
      
      noise_ = 0;
    }

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

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


      /**
       * <code>uint32 snr = 1;</code>
       * @return The snr.
       */
      @java.lang.Override
      public int getSnr() {
        return instance.getSnr();
      }
      /**
       * <code>uint32 snr = 1;</code>
       * @param value The snr to set.
       * @return This builder for chaining.
       */
      public Builder setSnr(int value) {
        copyOnWrite();
        instance.setSnr(value);
        return this;
      }
      /**
       * <code>uint32 snr = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSnr() {
        copyOnWrite();
        instance.clearSnr();
        return this;
      }

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

      /**
       * <code>uint32 noise = 3;</code>
       * @return The noise.
       */
      @java.lang.Override
      public int getNoise() {
        return instance.getNoise();
      }
      /**
       * <code>uint32 noise = 3;</code>
       * @param value The noise to set.
       * @return This builder for chaining.
       */
      public Builder setNoise(int value) {
        copyOnWrite();
        instance.setNoise(value);
        return this;
      }
      /**
       * <code>uint32 noise = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearNoise() {
        copyOnWrite();
        instance.clearNoise();
        return this;
      }

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

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

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

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

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

    /**
     * <code>bool result = 1;</code>
     * @return The result.
     */
    boolean getResult();
  }
  /**
   * Protobuf type {@code peripheral_factory_data_fcal_result}
   */
  public  static final class peripheral_factory_data_fcal_result extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_data_fcal_result, peripheral_factory_data_fcal_result.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_data_fcal_result)
      peripheral_factory_data_fcal_resultOrBuilder {
    private peripheral_factory_data_fcal_result() {
    }
    public static final int RESULT_FIELD_NUMBER = 1;
    private boolean result_;
    /**
     * <code>bool result = 1;</code>
     * @return The result.
     */
    @java.lang.Override
    public boolean getResult() {
      return result_;
    }
    /**
     * <code>bool result = 1;</code>
     * @param value The result to set.
     */
    private void setResult(boolean value) {
      
      result_ = value;
    }
    /**
     * <code>bool result = 1;</code>
     */
    private void clearResult() {
      
      result_ = false;
    }

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

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


      /**
       * <code>bool result = 1;</code>
       * @return The result.
       */
      @java.lang.Override
      public boolean getResult() {
        return instance.getResult();
      }
      /**
       * <code>bool result = 1;</code>
       * @param value The result to set.
       * @return This builder for chaining.
       */
      public Builder setResult(boolean value) {
        copyOnWrite();
        instance.setResult(value);
        return this;
      }
      /**
       * <code>bool result = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearResult() {
        copyOnWrite();
        instance.clearResult();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_factory_data_fcal_result)
    }
    @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.PeripheralFactory.peripheral_factory_data_fcal_result();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "result_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0007";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result>(
                        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_factory_data_fcal_result)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result DEFAULT_INSTANCE;
    static {
      peripheral_factory_data_fcal_result defaultInstance = new peripheral_factory_data_fcal_result();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_data_fcal_result.class, defaultInstance);
    }

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

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

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

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

    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     * @return Whether the sn field is set.
     */
    boolean hasSn();
    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     * @return The sn.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn getSn();

    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     * @return Whether the deviceInfo field is set.
     */
    boolean hasDeviceInfo();
    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     * @return The deviceInfo.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info getDeviceInfo();

    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     * @return Whether the deviceOperate field is set.
     */
    boolean hasDeviceOperate();
    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     * @return The deviceOperate.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate getDeviceOperate();

    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     * @return Whether the deviceConfig field is set.
     */
    boolean hasDeviceConfig();
    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     * @return The deviceConfig.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config getDeviceConfig();

    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     * @return Whether the bspMemory field is set.
     */
    boolean hasBspMemory();
    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     * @return The bspMemory.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory getBspMemory();

    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     * @return Whether the bspRtc field is set.
     */
    boolean hasBspRtc();
    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     * @return The bspRtc.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc getBspRtc();

    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     * @return Whether the bspBattery field is set.
     */
    boolean hasBspBattery();
    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     * @return The bspBattery.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery getBspBattery();

    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     * @return Whether the bspTemperature field is set.
     */
    boolean hasBspTemperature();
    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     * @return The bspTemperature.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature getBspTemperature();

    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     * @return Whether the bspAcc field is set.
     */
    boolean hasBspAcc();
    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     * @return The bspAcc.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc getBspAcc();

    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     * @return Whether the radarTest field is set.
     */
    boolean hasRadarTest();
    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     * @return The radarTest.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test getRadarTest();

    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     * @return Whether the bspLsr field is set.
     */
    boolean hasBspLsr();
    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     * @return The bspLsr.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr getBspLsr();

    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     * @return Whether the thermVol field is set.
     */
    boolean hasThermVol();
    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     * @return The thermVol.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol getThermVol();

    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     * @return Whether the ant field is set.
     */
    boolean hasAnt();
    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     * @return The ant.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id getAnt();

    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     * @return Whether the voidWelding field is set.
     */
    boolean hasVoidWelding();
    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     * @return The voidWelding.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding getVoidWelding();

    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     * @return Whether the otaData field is set.
     */
    boolean hasOtaData();
    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     * @return The otaData.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr getOtaData();

    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     * @return Whether the fcalResult field is set.
     */
    boolean hasFcalResult();
    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     * @return The fcalResult.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result getFcalResult();
  }
  /**
   * Protobuf type {@code peripheral_factory_message}
   */
  public  static final class peripheral_factory_message extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_message, peripheral_factory_message.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_message)
      peripheral_factory_messageOrBuilder {
    private peripheral_factory_message() {
    }
    public static final int SN_FIELD_NUMBER = 1;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn sn_;
    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     */
    @java.lang.Override
    public boolean hasSn() {
      return sn_ != null;
    }
    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn getSn() {
      return sn_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn.getDefaultInstance() : sn_;
    }
    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     */
    private void setSn(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn value) {
      value.getClass();
  sn_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeSn(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn value) {
      value.getClass();
  if (sn_ != null &&
          sn_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn.getDefaultInstance()) {
        sn_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn.newBuilder(sn_).mergeFrom(value).buildPartial();
      } else {
        sn_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_sn sn = 1;</code>
     */
    private void clearSn() {  sn_ = null;
      
    }

    public static final int DEVICE_INFO_FIELD_NUMBER = 2;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info deviceInfo_;
    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     */
    @java.lang.Override
    public boolean hasDeviceInfo() {
      return deviceInfo_ != null;
    }
    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info getDeviceInfo() {
      return deviceInfo_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info.getDefaultInstance() : deviceInfo_;
    }
    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     */
    private void setDeviceInfo(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info value) {
      value.getClass();
  deviceInfo_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeDeviceInfo(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info value) {
      value.getClass();
  if (deviceInfo_ != null &&
          deviceInfo_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info.getDefaultInstance()) {
        deviceInfo_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
      } else {
        deviceInfo_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_device_info device_info = 2;</code>
     */
    private void clearDeviceInfo() {  deviceInfo_ = null;
      
    }

    public static final int DEVICE_OPERATE_FIELD_NUMBER = 3;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate deviceOperate_;
    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     */
    @java.lang.Override
    public boolean hasDeviceOperate() {
      return deviceOperate_ != null;
    }
    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate getDeviceOperate() {
      return deviceOperate_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate.getDefaultInstance() : deviceOperate_;
    }
    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     */
    private void setDeviceOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate value) {
      value.getClass();
  deviceOperate_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeDeviceOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate value) {
      value.getClass();
  if (deviceOperate_ != null &&
          deviceOperate_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate.getDefaultInstance()) {
        deviceOperate_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate.newBuilder(deviceOperate_).mergeFrom(value).buildPartial();
      } else {
        deviceOperate_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
     */
    private void clearDeviceOperate() {  deviceOperate_ = null;
      
    }

    public static final int DEVICE_CONFIG_FIELD_NUMBER = 4;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config deviceConfig_;
    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     */
    @java.lang.Override
    public boolean hasDeviceConfig() {
      return deviceConfig_ != null;
    }
    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config getDeviceConfig() {
      return deviceConfig_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config.getDefaultInstance() : deviceConfig_;
    }
    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     */
    private void setDeviceConfig(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config value) {
      value.getClass();
  deviceConfig_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeDeviceConfig(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config value) {
      value.getClass();
  if (deviceConfig_ != null &&
          deviceConfig_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config.getDefaultInstance()) {
        deviceConfig_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config.newBuilder(deviceConfig_).mergeFrom(value).buildPartial();
      } else {
        deviceConfig_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_device_config device_config = 4;</code>
     */
    private void clearDeviceConfig() {  deviceConfig_ = null;
      
    }

    public static final int BSP_MEMORY_FIELD_NUMBER = 5;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory bspMemory_;
    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     */
    @java.lang.Override
    public boolean hasBspMemory() {
      return bspMemory_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory getBspMemory() {
      return bspMemory_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory.getDefaultInstance() : bspMemory_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     */
    private void setBspMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory value) {
      value.getClass();
  bspMemory_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBspMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory value) {
      value.getClass();
  if (bspMemory_ != null &&
          bspMemory_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory.getDefaultInstance()) {
        bspMemory_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory.newBuilder(bspMemory_).mergeFrom(value).buildPartial();
      } else {
        bspMemory_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
     */
    private void clearBspMemory() {  bspMemory_ = null;
      
    }

    public static final int BSP_RTC_FIELD_NUMBER = 6;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc bspRtc_;
    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     */
    @java.lang.Override
    public boolean hasBspRtc() {
      return bspRtc_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc getBspRtc() {
      return bspRtc_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc.getDefaultInstance() : bspRtc_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     */
    private void setBspRtc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc value) {
      value.getClass();
  bspRtc_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBspRtc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc value) {
      value.getClass();
  if (bspRtc_ != null &&
          bspRtc_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc.getDefaultInstance()) {
        bspRtc_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc.newBuilder(bspRtc_).mergeFrom(value).buildPartial();
      } else {
        bspRtc_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
     */
    private void clearBspRtc() {  bspRtc_ = null;
      
    }

    public static final int BSP_BATTERY_FIELD_NUMBER = 7;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery bspBattery_;
    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     */
    @java.lang.Override
    public boolean hasBspBattery() {
      return bspBattery_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery getBspBattery() {
      return bspBattery_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery.getDefaultInstance() : bspBattery_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     */
    private void setBspBattery(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery value) {
      value.getClass();
  bspBattery_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBspBattery(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery value) {
      value.getClass();
  if (bspBattery_ != null &&
          bspBattery_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery.getDefaultInstance()) {
        bspBattery_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery.newBuilder(bspBattery_).mergeFrom(value).buildPartial();
      } else {
        bspBattery_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
     */
    private void clearBspBattery() {  bspBattery_ = null;
      
    }

    public static final int BSP_TEMPERATURE_FIELD_NUMBER = 8;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature bspTemperature_;
    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     */
    @java.lang.Override
    public boolean hasBspTemperature() {
      return bspTemperature_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature getBspTemperature() {
      return bspTemperature_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature.getDefaultInstance() : bspTemperature_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     */
    private void setBspTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature value) {
      value.getClass();
  bspTemperature_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBspTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature value) {
      value.getClass();
  if (bspTemperature_ != null &&
          bspTemperature_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature.getDefaultInstance()) {
        bspTemperature_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature.newBuilder(bspTemperature_).mergeFrom(value).buildPartial();
      } else {
        bspTemperature_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
     */
    private void clearBspTemperature() {  bspTemperature_ = null;
      
    }

    public static final int BSP_ACC_FIELD_NUMBER = 9;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc bspAcc_;
    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     */
    @java.lang.Override
    public boolean hasBspAcc() {
      return bspAcc_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc getBspAcc() {
      return bspAcc_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc.getDefaultInstance() : bspAcc_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     */
    private void setBspAcc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc value) {
      value.getClass();
  bspAcc_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBspAcc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc value) {
      value.getClass();
  if (bspAcc_ != null &&
          bspAcc_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc.getDefaultInstance()) {
        bspAcc_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc.newBuilder(bspAcc_).mergeFrom(value).buildPartial();
      } else {
        bspAcc_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
     */
    private void clearBspAcc() {  bspAcc_ = null;
      
    }

    public static final int RADAR_TEST_FIELD_NUMBER = 10;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test radarTest_;
    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     */
    @java.lang.Override
    public boolean hasRadarTest() {
      return radarTest_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test getRadarTest() {
      return radarTest_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test.getDefaultInstance() : radarTest_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     */
    private void setRadarTest(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test value) {
      value.getClass();
  radarTest_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeRadarTest(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test value) {
      value.getClass();
  if (radarTest_ != null &&
          radarTest_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test.getDefaultInstance()) {
        radarTest_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test.newBuilder(radarTest_).mergeFrom(value).buildPartial();
      } else {
        radarTest_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
     */
    private void clearRadarTest() {  radarTest_ = null;
      
    }

    public static final int BSP_LSR_FIELD_NUMBER = 11;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr bspLsr_;
    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     */
    @java.lang.Override
    public boolean hasBspLsr() {
      return bspLsr_ != null;
    }
    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr getBspLsr() {
      return bspLsr_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr.getDefaultInstance() : bspLsr_;
    }
    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     */
    private void setBspLsr(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr value) {
      value.getClass();
  bspLsr_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBspLsr(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr value) {
      value.getClass();
  if (bspLsr_ != null &&
          bspLsr_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr.getDefaultInstance()) {
        bspLsr_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr.newBuilder(bspLsr_).mergeFrom(value).buildPartial();
      } else {
        bspLsr_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
     */
    private void clearBspLsr() {  bspLsr_ = null;
      
    }

    public static final int THERM_VOL_FIELD_NUMBER = 12;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol thermVol_;
    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     */
    @java.lang.Override
    public boolean hasThermVol() {
      return thermVol_ != null;
    }
    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol getThermVol() {
      return thermVol_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol.getDefaultInstance() : thermVol_;
    }
    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     */
    private void setThermVol(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol value) {
      value.getClass();
  thermVol_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeThermVol(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol value) {
      value.getClass();
  if (thermVol_ != null &&
          thermVol_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol.getDefaultInstance()) {
        thermVol_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol.newBuilder(thermVol_).mergeFrom(value).buildPartial();
      } else {
        thermVol_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
     */
    private void clearThermVol() {  thermVol_ = null;
      
    }

    public static final int ANT_FIELD_NUMBER = 13;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id ant_;
    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     */
    @java.lang.Override
    public boolean hasAnt() {
      return ant_ != null;
    }
    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id getAnt() {
      return ant_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id.getDefaultInstance() : ant_;
    }
    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     */
    private void setAnt(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id value) {
      value.getClass();
  ant_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeAnt(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id value) {
      value.getClass();
  if (ant_ != null &&
          ant_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id.getDefaultInstance()) {
        ant_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id.newBuilder(ant_).mergeFrom(value).buildPartial();
      } else {
        ant_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_ant_id ant = 13;</code>
     */
    private void clearAnt() {  ant_ = null;
      
    }

    public static final int VOID_WELDING_FIELD_NUMBER = 14;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding voidWelding_;
    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     */
    @java.lang.Override
    public boolean hasVoidWelding() {
      return voidWelding_ != null;
    }
    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding getVoidWelding() {
      return voidWelding_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding.getDefaultInstance() : voidWelding_;
    }
    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     */
    private void setVoidWelding(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding value) {
      value.getClass();
  voidWelding_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeVoidWelding(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding value) {
      value.getClass();
  if (voidWelding_ != null &&
          voidWelding_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding.getDefaultInstance()) {
        voidWelding_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding.newBuilder(voidWelding_).mergeFrom(value).buildPartial();
      } else {
        voidWelding_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
     */
    private void clearVoidWelding() {  voidWelding_ = null;
      
    }

    public static final int OTA_DATA_FIELD_NUMBER = 15;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr otaData_;
    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     */
    @java.lang.Override
    public boolean hasOtaData() {
      return otaData_ != null;
    }
    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr getOtaData() {
      return otaData_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr.getDefaultInstance() : otaData_;
    }
    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     */
    private void setOtaData(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr value) {
      value.getClass();
  otaData_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeOtaData(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr value) {
      value.getClass();
  if (otaData_ != null &&
          otaData_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr.getDefaultInstance()) {
        otaData_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr.newBuilder(otaData_).mergeFrom(value).buildPartial();
      } else {
        otaData_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
     */
    private void clearOtaData() {  otaData_ = null;
      
    }

    public static final int FCAL_RESULT_FIELD_NUMBER = 16;
    private nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result fcalResult_;
    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     */
    @java.lang.Override
    public boolean hasFcalResult() {
      return fcalResult_ != null;
    }
    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result getFcalResult() {
      return fcalResult_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result.getDefaultInstance() : fcalResult_;
    }
    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     */
    private void setFcalResult(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result value) {
      value.getClass();
  fcalResult_ = value;
      
      }
    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeFcalResult(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result value) {
      value.getClass();
  if (fcalResult_ != null &&
          fcalResult_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result.getDefaultInstance()) {
        fcalResult_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result.newBuilder(fcalResult_).mergeFrom(value).buildPartial();
      } else {
        fcalResult_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
     */
    private void clearFcalResult() {  fcalResult_ = null;
      
    }

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

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


      /**
       * <code>.peripheral_factory_data_sn sn = 1;</code>
       */
      @java.lang.Override
      public boolean hasSn() {
        return instance.hasSn();
      }
      /**
       * <code>.peripheral_factory_data_sn sn = 1;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn getSn() {
        return instance.getSn();
      }
      /**
       * <code>.peripheral_factory_data_sn sn = 1;</code>
       */
      public Builder setSn(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn value) {
        copyOnWrite();
        instance.setSn(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_sn sn = 1;</code>
       */
      public Builder setSn(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn.Builder builderForValue) {
        copyOnWrite();
        instance.setSn(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_sn sn = 1;</code>
       */
      public Builder mergeSn(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_sn value) {
        copyOnWrite();
        instance.mergeSn(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_sn sn = 1;</code>
       */
      public Builder clearSn() {  copyOnWrite();
        instance.clearSn();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_device_info device_info = 2;</code>
       */
      @java.lang.Override
      public boolean hasDeviceInfo() {
        return instance.hasDeviceInfo();
      }
      /**
       * <code>.peripheral_factory_data_device_info device_info = 2;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info getDeviceInfo() {
        return instance.getDeviceInfo();
      }
      /**
       * <code>.peripheral_factory_data_device_info device_info = 2;</code>
       */
      public Builder setDeviceInfo(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info value) {
        copyOnWrite();
        instance.setDeviceInfo(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_device_info device_info = 2;</code>
       */
      public Builder setDeviceInfo(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info.Builder builderForValue) {
        copyOnWrite();
        instance.setDeviceInfo(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_device_info device_info = 2;</code>
       */
      public Builder mergeDeviceInfo(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_info value) {
        copyOnWrite();
        instance.mergeDeviceInfo(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_device_info device_info = 2;</code>
       */
      public Builder clearDeviceInfo() {  copyOnWrite();
        instance.clearDeviceInfo();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
       */
      @java.lang.Override
      public boolean hasDeviceOperate() {
        return instance.hasDeviceOperate();
      }
      /**
       * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate getDeviceOperate() {
        return instance.getDeviceOperate();
      }
      /**
       * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
       */
      public Builder setDeviceOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate value) {
        copyOnWrite();
        instance.setDeviceOperate(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
       */
      public Builder setDeviceOperate(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate.Builder builderForValue) {
        copyOnWrite();
        instance.setDeviceOperate(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
       */
      public Builder mergeDeviceOperate(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_operate value) {
        copyOnWrite();
        instance.mergeDeviceOperate(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_device_operate device_operate = 3;</code>
       */
      public Builder clearDeviceOperate() {  copyOnWrite();
        instance.clearDeviceOperate();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_device_config device_config = 4;</code>
       */
      @java.lang.Override
      public boolean hasDeviceConfig() {
        return instance.hasDeviceConfig();
      }
      /**
       * <code>.peripheral_factory_data_device_config device_config = 4;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config getDeviceConfig() {
        return instance.getDeviceConfig();
      }
      /**
       * <code>.peripheral_factory_data_device_config device_config = 4;</code>
       */
      public Builder setDeviceConfig(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config value) {
        copyOnWrite();
        instance.setDeviceConfig(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_device_config device_config = 4;</code>
       */
      public Builder setDeviceConfig(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config.Builder builderForValue) {
        copyOnWrite();
        instance.setDeviceConfig(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_device_config device_config = 4;</code>
       */
      public Builder mergeDeviceConfig(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_device_config value) {
        copyOnWrite();
        instance.mergeDeviceConfig(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_device_config device_config = 4;</code>
       */
      public Builder clearDeviceConfig() {  copyOnWrite();
        instance.clearDeviceConfig();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
       */
      @java.lang.Override
      public boolean hasBspMemory() {
        return instance.hasBspMemory();
      }
      /**
       * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory getBspMemory() {
        return instance.getBspMemory();
      }
      /**
       * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
       */
      public Builder setBspMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory value) {
        copyOnWrite();
        instance.setBspMemory(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
       */
      public Builder setBspMemory(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory.Builder builderForValue) {
        copyOnWrite();
        instance.setBspMemory(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
       */
      public Builder mergeBspMemory(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_memory value) {
        copyOnWrite();
        instance.mergeBspMemory(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_memory bsp_memory = 5;</code>
       */
      public Builder clearBspMemory() {  copyOnWrite();
        instance.clearBspMemory();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
       */
      @java.lang.Override
      public boolean hasBspRtc() {
        return instance.hasBspRtc();
      }
      /**
       * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc getBspRtc() {
        return instance.getBspRtc();
      }
      /**
       * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
       */
      public Builder setBspRtc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc value) {
        copyOnWrite();
        instance.setBspRtc(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
       */
      public Builder setBspRtc(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc.Builder builderForValue) {
        copyOnWrite();
        instance.setBspRtc(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
       */
      public Builder mergeBspRtc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_rtc value) {
        copyOnWrite();
        instance.mergeBspRtc(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_rtc bsp_rtc = 6;</code>
       */
      public Builder clearBspRtc() {  copyOnWrite();
        instance.clearBspRtc();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
       */
      @java.lang.Override
      public boolean hasBspBattery() {
        return instance.hasBspBattery();
      }
      /**
       * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery getBspBattery() {
        return instance.getBspBattery();
      }
      /**
       * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
       */
      public Builder setBspBattery(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery value) {
        copyOnWrite();
        instance.setBspBattery(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
       */
      public Builder setBspBattery(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery.Builder builderForValue) {
        copyOnWrite();
        instance.setBspBattery(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
       */
      public Builder mergeBspBattery(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_battery value) {
        copyOnWrite();
        instance.mergeBspBattery(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_battery bsp_battery = 7;</code>
       */
      public Builder clearBspBattery() {  copyOnWrite();
        instance.clearBspBattery();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
       */
      @java.lang.Override
      public boolean hasBspTemperature() {
        return instance.hasBspTemperature();
      }
      /**
       * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature getBspTemperature() {
        return instance.getBspTemperature();
      }
      /**
       * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
       */
      public Builder setBspTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature value) {
        copyOnWrite();
        instance.setBspTemperature(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
       */
      public Builder setBspTemperature(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature.Builder builderForValue) {
        copyOnWrite();
        instance.setBspTemperature(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
       */
      public Builder mergeBspTemperature(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_temperature value) {
        copyOnWrite();
        instance.mergeBspTemperature(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_temperature bsp_temperature = 8;</code>
       */
      public Builder clearBspTemperature() {  copyOnWrite();
        instance.clearBspTemperature();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
       */
      @java.lang.Override
      public boolean hasBspAcc() {
        return instance.hasBspAcc();
      }
      /**
       * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc getBspAcc() {
        return instance.getBspAcc();
      }
      /**
       * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
       */
      public Builder setBspAcc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc value) {
        copyOnWrite();
        instance.setBspAcc(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
       */
      public Builder setBspAcc(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc.Builder builderForValue) {
        copyOnWrite();
        instance.setBspAcc(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
       */
      public Builder mergeBspAcc(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_acc value) {
        copyOnWrite();
        instance.mergeBspAcc(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_acc bsp_acc = 9;</code>
       */
      public Builder clearBspAcc() {  copyOnWrite();
        instance.clearBspAcc();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
       */
      @java.lang.Override
      public boolean hasRadarTest() {
        return instance.hasRadarTest();
      }
      /**
       * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test getRadarTest() {
        return instance.getRadarTest();
      }
      /**
       * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
       */
      public Builder setRadarTest(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test value) {
        copyOnWrite();
        instance.setRadarTest(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
       */
      public Builder setRadarTest(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test.Builder builderForValue) {
        copyOnWrite();
        instance.setRadarTest(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
       */
      public Builder mergeRadarTest(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_radar_test value) {
        copyOnWrite();
        instance.mergeRadarTest(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_radar_test radar_test = 10;</code>
       */
      public Builder clearRadarTest() {  copyOnWrite();
        instance.clearRadarTest();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
       */
      @java.lang.Override
      public boolean hasBspLsr() {
        return instance.hasBspLsr();
      }
      /**
       * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr getBspLsr() {
        return instance.getBspLsr();
      }
      /**
       * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
       */
      public Builder setBspLsr(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr value) {
        copyOnWrite();
        instance.setBspLsr(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
       */
      public Builder setBspLsr(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr.Builder builderForValue) {
        copyOnWrite();
        instance.setBspLsr(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
       */
      public Builder mergeBspLsr(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_bsp_lsr value) {
        copyOnWrite();
        instance.mergeBspLsr(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_bsp_lsr bsp_lsr = 11;</code>
       */
      public Builder clearBspLsr() {  copyOnWrite();
        instance.clearBspLsr();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
       */
      @java.lang.Override
      public boolean hasThermVol() {
        return instance.hasThermVol();
      }
      /**
       * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol getThermVol() {
        return instance.getThermVol();
      }
      /**
       * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
       */
      public Builder setThermVol(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol value) {
        copyOnWrite();
        instance.setThermVol(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
       */
      public Builder setThermVol(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol.Builder builderForValue) {
        copyOnWrite();
        instance.setThermVol(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
       */
      public Builder mergeThermVol(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_therm_vol value) {
        copyOnWrite();
        instance.mergeThermVol(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_therm_vol therm_vol = 12;</code>
       */
      public Builder clearThermVol() {  copyOnWrite();
        instance.clearThermVol();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_ant_id ant = 13;</code>
       */
      @java.lang.Override
      public boolean hasAnt() {
        return instance.hasAnt();
      }
      /**
       * <code>.peripheral_factory_data_ant_id ant = 13;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id getAnt() {
        return instance.getAnt();
      }
      /**
       * <code>.peripheral_factory_data_ant_id ant = 13;</code>
       */
      public Builder setAnt(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id value) {
        copyOnWrite();
        instance.setAnt(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_ant_id ant = 13;</code>
       */
      public Builder setAnt(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id.Builder builderForValue) {
        copyOnWrite();
        instance.setAnt(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_ant_id ant = 13;</code>
       */
      public Builder mergeAnt(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_ant_id value) {
        copyOnWrite();
        instance.mergeAnt(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_ant_id ant = 13;</code>
       */
      public Builder clearAnt() {  copyOnWrite();
        instance.clearAnt();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
       */
      @java.lang.Override
      public boolean hasVoidWelding() {
        return instance.hasVoidWelding();
      }
      /**
       * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding getVoidWelding() {
        return instance.getVoidWelding();
      }
      /**
       * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
       */
      public Builder setVoidWelding(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding value) {
        copyOnWrite();
        instance.setVoidWelding(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
       */
      public Builder setVoidWelding(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding.Builder builderForValue) {
        copyOnWrite();
        instance.setVoidWelding(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
       */
      public Builder mergeVoidWelding(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_void_welding value) {
        copyOnWrite();
        instance.mergeVoidWelding(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_void_welding void_welding = 14;</code>
       */
      public Builder clearVoidWelding() {  copyOnWrite();
        instance.clearVoidWelding();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
       */
      @java.lang.Override
      public boolean hasOtaData() {
        return instance.hasOtaData();
      }
      /**
       * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr getOtaData() {
        return instance.getOtaData();
      }
      /**
       * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
       */
      public Builder setOtaData(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr value) {
        copyOnWrite();
        instance.setOtaData(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
       */
      public Builder setOtaData(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr.Builder builderForValue) {
        copyOnWrite();
        instance.setOtaData(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
       */
      public Builder mergeOtaData(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_radar_snr value) {
        copyOnWrite();
        instance.mergeOtaData(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_radar_snr ota_data = 15;</code>
       */
      public Builder clearOtaData() {  copyOnWrite();
        instance.clearOtaData();
        return this;
      }

      /**
       * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
       */
      @java.lang.Override
      public boolean hasFcalResult() {
        return instance.hasFcalResult();
      }
      /**
       * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result getFcalResult() {
        return instance.getFcalResult();
      }
      /**
       * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
       */
      public Builder setFcalResult(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result value) {
        copyOnWrite();
        instance.setFcalResult(value);
        return this;
        }
      /**
       * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
       */
      public Builder setFcalResult(
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result.Builder builderForValue) {
        copyOnWrite();
        instance.setFcalResult(builderForValue.build());
        return this;
      }
      /**
       * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
       */
      public Builder mergeFcalResult(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_data_fcal_result value) {
        copyOnWrite();
        instance.mergeFcalResult(value);
        return this;
      }
      /**
       * <code>.peripheral_factory_data_fcal_result fcal_result = 16;</code>
       */
      public Builder clearFcalResult() {  copyOnWrite();
        instance.clearFcalResult();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:peripheral_factory_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.PeripheralFactory.peripheral_factory_message();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "sn_",
              "deviceInfo_",
              "deviceOperate_",
              "deviceConfig_",
              "bspMemory_",
              "bspRtc_",
              "bspBattery_",
              "bspTemperature_",
              "bspAcc_",
              "radarTest_",
              "bspLsr_",
              "thermVol_",
              "ant_",
              "voidWelding_",
              "otaData_",
              "fcalResult_",
            };
            java.lang.String info =
                "\u0000\u0010\u0000\u0000\u0001\u0010\u0010\u0000\u0000\u0000\u0001\t\u0002\t\u0003" +
                "\t\u0004\t\u0005\t\u0006\t\u0007\t\b\t\t\t\n\t\u000b\t\f\t\r\t\u000e\t\u000f\t\u0010" +
                "\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.PeripheralFactory.peripheral_factory_message> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_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_factory_message)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message DEFAULT_INSTANCE;
    static {
      peripheral_factory_message defaultInstance = new peripheral_factory_message();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_message.class, defaultInstance);
    }

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

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

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

  public interface peripheral_factory_formatOrBuilder extends
      // @@protoc_insertion_point(interface_extends:peripheral_factory_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_FACTORY_SERVICE sub_service_type = 3;</code>
     * @return The enum numeric value on the wire for subServiceType.
     */
    int getSubServiceTypeValue();
    /**
     * <code>.PERIPHERAL_FACTORY_SERVICE sub_service_type = 3;</code>
     * @return The subServiceType.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE getSubServiceType();

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

    /**
     * <code>.peripheral_factory_message message = 5;</code>
     * @return Whether the message field is set.
     */
    boolean hasMessage();
    /**
     * <code>.peripheral_factory_message message = 5;</code>
     * @return The message.
     */
    nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message getMessage();
  }
  /**
   * Protobuf type {@code peripheral_factory_format}
   */
  public  static final class peripheral_factory_format extends
      com.google.protobuf.GeneratedMessageLite<
          peripheral_factory_format, peripheral_factory_format.Builder> implements
      // @@protoc_insertion_point(message_implements:peripheral_factory_format)
      peripheral_factory_formatOrBuilder {
    private peripheral_factory_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_FACTORY_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_FACTORY_SERVICE sub_service_type = 3;</code>
     * @return The subServiceType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE getSubServiceType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE.forNumber(subServiceType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_FACTORY_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_FACTORY_SERVICE sub_service_type = 3;</code>
     * @param value The subServiceType to set.
     */
    private void setSubServiceType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE value) {
      subServiceType_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_FACTORY_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_FACTORY_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_FACTORY_OPERATE sub_operate_type = 4;</code>
     * @return The subOperateType.
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE getSubOperateType() {
      nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE result = nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE.forNumber(subOperateType_);
      return result == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE.UNRECOGNIZED : result;
    }
    /**
     * <code>.PERIPHERAL_FACTORY_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_FACTORY_OPERATE sub_operate_type = 4;</code>
     * @param value The subOperateType to set.
     */
    private void setSubOperateType(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE value) {
      subOperateType_ = value.getNumber();
      
    }
    /**
     * <code>.PERIPHERAL_FACTORY_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.PeripheralFactory.peripheral_factory_message message_;
    /**
     * <code>.peripheral_factory_message message = 5;</code>
     */
    @java.lang.Override
    public boolean hasMessage() {
      return message_ != null;
    }
    /**
     * <code>.peripheral_factory_message message = 5;</code>
     */
    @java.lang.Override
    public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message getMessage() {
      return message_ == null ? nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message.getDefaultInstance() : message_;
    }
    /**
     * <code>.peripheral_factory_message message = 5;</code>
     */
    private void setMessage(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message value) {
      value.getClass();
  message_ = value;
      
      }
    /**
     * <code>.peripheral_factory_message message = 5;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeMessage(nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message value) {
      value.getClass();
  if (message_ != null &&
          message_ != nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message.getDefaultInstance()) {
        message_ =
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_message.newBuilder(message_).mergeFrom(value).buildPartial();
      } else {
        message_ = value;
      }
      
    }
    /**
     * <code>.peripheral_factory_message message = 5;</code>
     */
    private void clearMessage() {  message_ = null;
      
    }

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

    /**
     * Protobuf type {@code peripheral_factory_format}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_format, Builder> implements
        // @@protoc_insertion_point(builder_implements:peripheral_factory_format)
        nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_formatOrBuilder {
      // Construct using nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_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_FACTORY_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_FACTORY_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_FACTORY_SERVICE sub_service_type = 3;</code>
       * @return The subServiceType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE getSubServiceType() {
        return instance.getSubServiceType();
      }
      /**
       * <code>.PERIPHERAL_FACTORY_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.PeripheralFactory.PERIPHERAL_FACTORY_SERVICE value) {
        copyOnWrite();
        instance.setSubServiceType(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_FACTORY_SERVICE sub_service_type = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSubServiceType() {
        copyOnWrite();
        instance.clearSubServiceType();
        return this;
      }

      /**
       * <code>.PERIPHERAL_FACTORY_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_FACTORY_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_FACTORY_OPERATE sub_operate_type = 4;</code>
       * @return The subOperateType.
       */
      @java.lang.Override
      public nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE getSubOperateType() {
        return instance.getSubOperateType();
      }
      /**
       * <code>.PERIPHERAL_FACTORY_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.PeripheralFactory.PERIPHERAL_FACTORY_OPERATE value) {
        copyOnWrite();
        instance.setSubOperateType(value);
        return this;
      }
      /**
       * <code>.PERIPHERAL_FACTORY_OPERATE sub_operate_type = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearSubOperateType() {
        copyOnWrite();
        instance.clearSubOperateType();
        return this;
      }

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

      // @@protoc_insertion_point(builder_scope:peripheral_factory_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.PeripheralFactory.peripheral_factory_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.PeripheralFactory.peripheral_factory_format> parser = PARSER;
          if (parser == null) {
            synchronized (nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_format.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_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_factory_format)
    private static final nodomain.freeyourgadget.gadgetbridge.proto.igpsport.PeripheralFactory.peripheral_factory_format DEFAULT_INSTANCE;
    static {
      peripheral_factory_format defaultInstance = new peripheral_factory_format();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        peripheral_factory_format.class, defaultInstance);
    }

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

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}
