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

package nodomain.freeyourgadget.gadgetbridge.proto.igpsport;

public final class PeripheralCommon {
  private PeripheralCommon() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code PERIPHERAL_SERVICE_TYPE}
   */
  public enum PERIPHERAL_SERVICE_TYPE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>PST_UNSPECIFIED = 0;</code>
     */
    PST_UNSPECIFIED(0),
    /**
     * <code>PST_INFO = 101;</code>
     */
    PST_INFO(101),
    /**
     * <code>PST_CONFIG = 102;</code>
     */
    PST_CONFIG(102),
    /**
     * <code>PST_HR = 103;</code>
     */
    PST_HR(103),
    /**
     * <code>PST_RADAR = 104;</code>
     */
    PST_RADAR(104),
    /**
     * <code>PST_LIGHT = 105;</code>
     */
    PST_LIGHT(105),
    /**
     * <code>PST_BLE_LIGHT = 106;</code>
     */
    PST_BLE_LIGHT(106),
    /**
     * <code>PST_FIRMWARE = 121;</code>
     */
    PST_FIRMWARE(121),
    /**
     * <code>PST_FACTORY = 131;</code>
     */
    PST_FACTORY(131),
    /**
     * <code>PST_OEM = 132;</code>
     */
    PST_OEM(132),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>PST_UNSPECIFIED = 0;</code>
     */
    public static final int PST_UNSPECIFIED_VALUE = 0;
    /**
     * <code>PST_INFO = 101;</code>
     */
    public static final int PST_INFO_VALUE = 101;
    /**
     * <code>PST_CONFIG = 102;</code>
     */
    public static final int PST_CONFIG_VALUE = 102;
    /**
     * <code>PST_HR = 103;</code>
     */
    public static final int PST_HR_VALUE = 103;
    /**
     * <code>PST_RADAR = 104;</code>
     */
    public static final int PST_RADAR_VALUE = 104;
    /**
     * <code>PST_LIGHT = 105;</code>
     */
    public static final int PST_LIGHT_VALUE = 105;
    /**
     * <code>PST_BLE_LIGHT = 106;</code>
     */
    public static final int PST_BLE_LIGHT_VALUE = 106;
    /**
     * <code>PST_FIRMWARE = 121;</code>
     */
    public static final int PST_FIRMWARE_VALUE = 121;
    /**
     * <code>PST_FACTORY = 131;</code>
     */
    public static final int PST_FACTORY_VALUE = 131;
    /**
     * <code>PST_OEM = 132;</code>
     */
    public static final int PST_OEM_VALUE = 132;


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

    public static PERIPHERAL_SERVICE_TYPE forNumber(int value) {
      switch (value) {
        case 0: return PST_UNSPECIFIED;
        case 101: return PST_INFO;
        case 102: return PST_CONFIG;
        case 103: return PST_HR;
        case 104: return PST_RADAR;
        case 105: return PST_LIGHT;
        case 106: return PST_BLE_LIGHT;
        case 121: return PST_FIRMWARE;
        case 131: return PST_FACTORY;
        case 132: return PST_OEM;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_SERVICE_TYPE)
  }

  /**
   * Protobuf enum {@code PERIPHERAL_OPERATE_TYPE}
   */
  public enum PERIPHERAL_OPERATE_TYPE
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <code>POT_UNSPECIFIED = 0;</code>
     */
    POT_UNSPECIFIED(0),
    /**
     * <code>POT_SET = 1;</code>
     */
    POT_SET(1),
    /**
     * <code>POT_GET = 2;</code>
     */
    POT_GET(2),
    /**
     * <code>POT_ADD = 3;</code>
     */
    POT_ADD(3),
    /**
     * <code>POT_DEL = 4;</code>
     */
    POT_DEL(4),
    /**
     * <code>POT_CON = 5;</code>
     */
    POT_CON(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>POT_UNSPECIFIED = 0;</code>
     */
    public static final int POT_UNSPECIFIED_VALUE = 0;
    /**
     * <code>POT_SET = 1;</code>
     */
    public static final int POT_SET_VALUE = 1;
    /**
     * <code>POT_GET = 2;</code>
     */
    public static final int POT_GET_VALUE = 2;
    /**
     * <code>POT_ADD = 3;</code>
     */
    public static final int POT_ADD_VALUE = 3;
    /**
     * <code>POT_DEL = 4;</code>
     */
    public static final int POT_DEL_VALUE = 4;
    /**
     * <code>POT_CON = 5;</code>
     */
    public static final int POT_CON_VALUE = 5;


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

    public static PERIPHERAL_OPERATE_TYPE forNumber(int value) {
      switch (value) {
        case 0: return POT_UNSPECIFIED;
        case 1: return POT_SET;
        case 2: return POT_GET;
        case 3: return POT_ADD;
        case 4: return POT_DEL;
        case 5: return POT_CON;
        default: return null;
      }
    }

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

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:PERIPHERAL_OPERATE_TYPE)
  }


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}
