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

package com.akaxin.proto.core;

public final class ClientProto {
  private ClientProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * <pre>
   *客户端类型
   * </pre>
   *
   * Protobuf enum {@code core.ClientType}
   */
  public enum ClientType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     *未知客户端类型
     * </pre>
     *
     * <code>UNKNOW = 0;</code>
     */
    UNKNOW(0),
    /**
     * <pre>
     *IOS客户端
     * </pre>
     *
     * <code>IOS = 1;</code>
     */
    IOS(1),
    /**
     * <pre>
     *ANDROID客户端
     * </pre>
     *
     * <code>ANDROID = 2;</code>
     */
    ANDROID(2),
    /**
     * <pre>
     *小米客户端
     * </pre>
     *
     * <code>ANDROID_XIAOMI = 3;</code>
     */
    ANDROID_XIAOMI(3),
    /**
     * <pre>
     *华为客户端
     * </pre>
     *
     * <code>ANDROID_HUAWEI = 4;</code>
     */
    ANDROID_HUAWEI(4),
    /**
     * <pre>
     *OPPO客户端
     * </pre>
     *
     * <code>ANDROID_OPPO = 5;</code>
     */
    ANDROID_OPPO(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <pre>
     *未知客户端类型
     * </pre>
     *
     * <code>UNKNOW = 0;</code>
     */
    public static final int UNKNOW_VALUE = 0;
    /**
     * <pre>
     *IOS客户端
     * </pre>
     *
     * <code>IOS = 1;</code>
     */
    public static final int IOS_VALUE = 1;
    /**
     * <pre>
     *ANDROID客户端
     * </pre>
     *
     * <code>ANDROID = 2;</code>
     */
    public static final int ANDROID_VALUE = 2;
    /**
     * <pre>
     *小米客户端
     * </pre>
     *
     * <code>ANDROID_XIAOMI = 3;</code>
     */
    public static final int ANDROID_XIAOMI_VALUE = 3;
    /**
     * <pre>
     *华为客户端
     * </pre>
     *
     * <code>ANDROID_HUAWEI = 4;</code>
     */
    public static final int ANDROID_HUAWEI_VALUE = 4;
    /**
     * <pre>
     *OPPO客户端
     * </pre>
     *
     * <code>ANDROID_OPPO = 5;</code>
     */
    public static final int ANDROID_OPPO_VALUE = 5;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ClientType valueOf(int value) {
      return forNumber(value);
    }

    public static ClientType forNumber(int value) {
      switch (value) {
        case 0: return UNKNOW;
        case 1: return IOS;
        case 2: return ANDROID;
        case 3: return ANDROID_XIAOMI;
        case 4: return ANDROID_HUAWEI;
        case 5: return ANDROID_OPPO;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.akaxin.proto.core.ClientProto.getDescriptor().getEnumTypes().get(0);
    }

    private static final ClientType[] VALUES = values();

    public static ClientType valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:core.ClientType)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\021core/client.proto\022\004core*h\n\nClientType\022" +
      "\n\n\006UNKNOW\020\000\022\007\n\003IOS\020\001\022\013\n\007ANDROID\020\002\022\022\n\016AND" +
      "ROID_XIAOMI\020\003\022\022\n\016ANDROID_HUAWEI\020\004\022\020\n\014AND" +
      "ROID_OPPO\020\005B$\n\025com.akaxin.proto.coreB\013Cl" +
      "ientProtob\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
