// 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); } /** *
*客户端类型 ** * Protobuf enum {@code core.ClientType} */ public enum ClientType implements com.google.protobuf.ProtocolMessageEnum { /** *
*未知客户端类型 ** *
UNKNOW = 0;
*/
UNKNOW(0),
/**
* *IOS客户端 ** *
IOS = 1;
*/
IOS(1),
/**
* *ANDROID客户端 ** *
ANDROID = 2;
*/
ANDROID(2),
/**
* *小米客户端 ** *
ANDROID_XIAOMI = 3;
*/
ANDROID_XIAOMI(3),
/**
* *华为客户端 ** *
ANDROID_HUAWEI = 4;
*/
ANDROID_HUAWEI(4),
/**
* *OPPO客户端 ** *
ANDROID_OPPO = 5;
*/
ANDROID_OPPO(5),
UNRECOGNIZED(-1),
;
/**
* *未知客户端类型 ** *
UNKNOW = 0;
*/
public static final int UNKNOW_VALUE = 0;
/**
* *IOS客户端 ** *
IOS = 1;
*/
public static final int IOS_VALUE = 1;
/**
* *ANDROID客户端 ** *
ANDROID = 2;
*/
public static final int ANDROID_VALUE = 2;
/**
* *小米客户端 ** *
ANDROID_XIAOMI = 3;
*/
public static final int ANDROID_XIAOMI_VALUE = 3;
/**
* *华为客户端 ** *
ANDROID_HUAWEI = 4;
*/
public static final int ANDROID_HUAWEI_VALUE = 4;
/**
* *OPPO客户端 ** *
ANDROID_OPPO = 5;
*/
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