// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: IM.BaseDefine.proto
package com.zhangwuji.im.protobuf;
public final class IMBaseDefine {
private IMBaseDefine() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
* <pre>
* service id
* </pre>
*
* Protobuf enum {@code IM.BaseDefine.ServiceID}
*/
public enum ServiceID
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* for login
* </pre>
*
* <code>SID_LOGIN = 1;</code>
*/
SID_LOGIN(1),
/**
* <pre>
* for friend list
* </pre>
*
* <code>SID_BUDDY_LIST = 2;</code>
*/
SID_BUDDY_LIST(2),
/**
* <pre>
* </pre>
*
* <code>SID_MSG = 3;</code>
*/
SID_MSG(3),
/**
* <pre>
* for group message
* </pre>
*
* <code>SID_GROUP = 4;</code>
*/
SID_GROUP(4),
/**
* <code>SID_FILE = 5;</code>
*/
SID_FILE(5),
/**
* <code>SID_SWITCH_SERVICE = 6;</code>
*/
SID_SWITCH_SERVICE(6),
/**
* <code>SID_OTHER = 7;</code>
*/
SID_OTHER(7),
/**
* <code>SID_INTERNAL = 8;</code>
*/
SID_INTERNAL(8),
;
/**
* <pre>
* for login
* </pre>
*
* <code>SID_LOGIN = 1;</code>
*/
public static final int SID_LOGIN_VALUE = 1;
/**
* <pre>
* for friend list
* </pre>
*
* <code>SID_BUDDY_LIST = 2;</code>
*/
public static final int SID_BUDDY_LIST_VALUE = 2;
/**
* <pre>
* </pre>
*
* <code>SID_MSG = 3;</code>
*/
public static final int SID_MSG_VALUE = 3;
/**
* <pre>
* for group message
* </pre>
*
* <code>SID_GROUP = 4;</code>
*/
public static final int SID_GROUP_VALUE = 4;
/**
* <code>SID_FILE = 5;</code>
*/
public static final int SID_FILE_VALUE = 5;
/**
* <code>SID_SWITCH_SERVICE = 6;</code>
*/
public static final int SID_SWITCH_SERVICE_VALUE = 6;
/**
* <code>SID_OTHER = 7;</code>
*/
public static final int SID_OTHER_VALUE = 7;
/**
* <code>SID_INTERNAL = 8;</code>
*/
public static final int SID_INTERNAL_VALUE = 8;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ServiceID valueOf(int value) {
return forNumber(value);
}
public static ServiceID forNumber(int value) {
switch (value) {
case 1: return SID_LOGIN;
case 2: return SID_BUDDY_LIST;
case 3: return SID_MSG;
case 4: return SID_GROUP;
case 5: return SID_FILE;
case 6: return SID_SWITCH_SERVICE;
case 7: return SID_OTHER;
case 8: return SID_INTERNAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ServiceID>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ServiceID> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ServiceID>() {
@java.lang.Override
public ServiceID findValueByNumber(int number) {
return ServiceID.forNumber(number);
}
};
private final int value;
private ServiceID(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:IM.BaseDefine.ServiceID)
}
/**
* <pre>
* command id for login
* </pre>
*
* Protobuf enum {@code IM.BaseDefine.LoginCmdID}
*/
public enum LoginCmdID
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_MSGSERVER = 257;</code>
*/
CID_LOGIN_REQ_MSGSERVER(257),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_MSGSERVER = 258;</code>
*/
CID_LOGIN_RES_MSGSERVER(258),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_USERLOGIN = 259;</code>
*/
CID_LOGIN_REQ_USERLOGIN(259),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_USERLOGIN = 260;</code>
*/
CID_LOGIN_RES_USERLOGIN(260),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_LOGINOUT = 261;</code>
*/
CID_LOGIN_REQ_LOGINOUT(261),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_LOGINOUT = 262;</code>
*/
CID_LOGIN_RES_LOGINOUT(262),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_KICK_USER = 263;</code>
*/
CID_LOGIN_KICK_USER(263),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_DEVICETOKEN = 264;</code>
*/
CID_LOGIN_REQ_DEVICETOKEN(264),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_DEVICETOKEN = 265;</code>
*/
CID_LOGIN_RES_DEVICETOKEN(265),
/**
* <code>CID_LOGIN_REQ_KICKPCCLIENT = 266;</code>
*/
CID_LOGIN_REQ_KICKPCCLIENT(266),
/**
* <code>CID_LOGIN_RES_KICKPCCLIENT = 267;</code>
*/
CID_LOGIN_RES_KICKPCCLIENT(267),
/**
* <pre>
*勿扰
* </pre>
*
* <code>CID_LOGIN_REQ_PUSH_SHIELD = 268;</code>
*/
CID_LOGIN_REQ_PUSH_SHIELD(268),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_PUSH_SHIELD = 269;</code>
*/
CID_LOGIN_RES_PUSH_SHIELD(269),
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_QUERY_PUSH_SHIELD = 270;</code>
*/
CID_LOGIN_REQ_QUERY_PUSH_SHIELD(270),
/**
* <code>CID_LOGIN_RES_QUERY_PUSH_SHIELD = 271;</code>
*/
CID_LOGIN_RES_QUERY_PUSH_SHIELD(271),
;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_MSGSERVER = 257;</code>
*/
public static final int CID_LOGIN_REQ_MSGSERVER_VALUE = 257;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_MSGSERVER = 258;</code>
*/
public static final int CID_LOGIN_RES_MSGSERVER_VALUE = 258;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_USERLOGIN = 259;</code>
*/
public static final int CID_LOGIN_REQ_USERLOGIN_VALUE = 259;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_USERLOGIN = 260;</code>
*/
public static final int CID_LOGIN_RES_USERLOGIN_VALUE = 260;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_LOGINOUT = 261;</code>
*/
public static final int CID_LOGIN_REQ_LOGINOUT_VALUE = 261;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_LOGINOUT = 262;</code>
*/
public static final int CID_LOGIN_RES_LOGINOUT_VALUE = 262;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_KICK_USER = 263;</code>
*/
public static final int CID_LOGIN_KICK_USER_VALUE = 263;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_REQ_DEVICETOKEN = 264;</code>
*/
public static final int CID_LOGIN_REQ_DEVICETOKEN_VALUE = 264;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_DEVICETOKEN = 265;</code>
*/
public static final int CID_LOGIN_RES_DEVICETOKEN_VALUE = 265;
/**
* <code>CID_LOGIN_REQ_KICKPCCLIENT = 266;</code>
*/
public static final int CID_LOGIN_REQ_KICKPCCLIENT_VALUE = 266;
/**
* <code>CID_LOGIN_RES_KICKPCCLIENT = 267;</code>
*/
public static final int CID_LOGIN_RES_KICKPCCLIENT_VALUE = 267;
/**
* <pre>
*勿扰
* </pre>
*
* <code>CID_LOGIN_REQ_PUSH_SHIELD = 268;</code>
*/
public static final int CID_LOGIN_REQ_PUSH_SHIELD_VALUE = 268;
/**
* <pre>
* </pre>
*
* <code>CID_LOGIN_RES_PUSH_SHIELD = 269;</code>
*/
public static final int CID_LOGIN_RES_PUSH_SHIELD_VALUE = 269;
/**
* <pre>
* </pre>
*
* <code