// Generated by the protocol buffer compiler. DO NOT EDIT! // source: core/phone.proto package com.akaxin.proto.core; public final class PhoneProto { private PhoneProto() {} 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.VCType} */ public enum VCType implements com.google.protobuf.ProtocolMessageEnum { /** *
*统一的验证码 ** *
UNIFIED = 0;
*/
UNIFIED(0),
/**
* *手机号同步登陆使用的验证码 ** *
PHONE_LOGIN = 1;
*/
PHONE_LOGIN(1),
/**
* *用户实名使用的验证码 ** *
PHONE_REALNAME = 2;
*/
PHONE_REALNAME(2),
/**
* *通过手机号实名注册平台 ** *
PHONE_REGISTER = 3;
*/
PHONE_REGISTER(3),
/**
* *匿名登陆实名站点,需平台手机注册 ** *
PHONE_REGISTER_FOR_SITE = 4;
*/
PHONE_REGISTER_FOR_SITE(4),
UNRECOGNIZED(-1),
;
/**
* *统一的验证码 ** *
UNIFIED = 0;
*/
public static final int UNIFIED_VALUE = 0;
/**
* *手机号同步登陆使用的验证码 ** *
PHONE_LOGIN = 1;
*/
public static final int PHONE_LOGIN_VALUE = 1;
/**
* *用户实名使用的验证码 ** *
PHONE_REALNAME = 2;
*/
public static final int PHONE_REALNAME_VALUE = 2;
/**
* *通过手机号实名注册平台 ** *
PHONE_REGISTER = 3;
*/
public static final int PHONE_REGISTER_VALUE = 3;
/**
* *匿名登陆实名站点,需平台手机注册 ** *
PHONE_REGISTER_FOR_SITE = 4;
*/
public static final int PHONE_REGISTER_FOR_SITE_VALUE = 4;
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 VCType valueOf(int value) {
return forNumber(value);
}
public static VCType forNumber(int value) {
switch (value) {
case 0: return UNIFIED;
case 1: return PHONE_LOGIN;
case 2: return PHONE_REALNAME;
case 3: return PHONE_REGISTER;
case 4: return PHONE_REGISTER_FOR_SITE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap