Package emu.grasscutter.net.proto
Enum Class ServiceTypeOuterClass.ServiceType
java.lang.Object
java.lang.Enum<ServiceTypeOuterClass.ServiceType>
emu.grasscutter.net.proto.ServiceTypeOuterClass.ServiceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ServiceTypeOuterClass.ServiceType>,Constable
- Enclosing class:
- ServiceTypeOuterClass
public static enum ServiceTypeOuterClass.ServiceType
extends Enum<ServiceTypeOuterClass.ServiceType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
ServiceType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSERVICE_TYPE_ACTIVITY = 13;SERVICE_TYPE_CLIENT = 1;SERVICE_TYPE_DB = 5;SERVICE_TYPE_DISPATCH = 7;SERVICE_TYPE_GAME = 3;SERVICE_TYPE_GATE = 2;SERVICE_TYPE_GCG = 20;SERVICE_TYPE_HTTPPROXY = 12;SERVICE_TYPE_MAIL = 10;SERVICE_TYPE_MATCH = 17;SERVICE_TYPE_MP = 11;SERVICE_TYPE_MUIP = 8;SERVICE_TYPE_NODE = 4;SERVICE_TYPE_NONE = 0;SERVICE_TYPE_OA = 16;SERVICE_TYPE_OFFLINE_MSG = 9;SERVICE_TYPE_OFFLINE_OP = 18;SERVICE_TYPE_PATHFINDING = 14;SERVICE_TYPE_SNS = 6;SERVICE_TYPE_SOCIAL = 15;SERVICE_TYPE_TOTHEMOON = 19; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSERVICE_TYPE_ACTIVITY = 13;static final intSERVICE_TYPE_CLIENT = 1;static final intSERVICE_TYPE_DB = 5;static final intSERVICE_TYPE_DISPATCH = 7;static final intSERVICE_TYPE_GAME = 3;static final intSERVICE_TYPE_GATE = 2;static final intSERVICE_TYPE_GCG = 20;static final intSERVICE_TYPE_HTTPPROXY = 12;static final intSERVICE_TYPE_MAIL = 10;static final intSERVICE_TYPE_MATCH = 17;static final intSERVICE_TYPE_MP = 11;static final intSERVICE_TYPE_MUIP = 8;static final intSERVICE_TYPE_NODE = 4;static final intSERVICE_TYPE_NONE = 0;static final intSERVICE_TYPE_OA = 16;static final intSERVICE_TYPE_OFFLINE_MSG = 9;static final intSERVICE_TYPE_OFFLINE_OP = 18;static final intSERVICE_TYPE_PATHFINDING = 14;static final intSERVICE_TYPE_SNS = 6;static final intSERVICE_TYPE_SOCIAL = 15;static final intSERVICE_TYPE_TOTHEMOON = 19; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ServiceTypeOuterClass.ServiceType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static ServiceTypeOuterClass.ServiceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVICE_TYPE_NONE
SERVICE_TYPE_NONE = 0; -
SERVICE_TYPE_CLIENT
SERVICE_TYPE_CLIENT = 1; -
SERVICE_TYPE_GATE
SERVICE_TYPE_GATE = 2; -
SERVICE_TYPE_GAME
SERVICE_TYPE_GAME = 3; -
SERVICE_TYPE_NODE
SERVICE_TYPE_NODE = 4; -
SERVICE_TYPE_DB
SERVICE_TYPE_DB = 5; -
SERVICE_TYPE_SNS
SERVICE_TYPE_SNS = 6; -
SERVICE_TYPE_DISPATCH
SERVICE_TYPE_DISPATCH = 7; -
SERVICE_TYPE_MUIP
SERVICE_TYPE_MUIP = 8; -
SERVICE_TYPE_OFFLINE_MSG
SERVICE_TYPE_OFFLINE_MSG = 9; -
SERVICE_TYPE_MAIL
SERVICE_TYPE_MAIL = 10; -
SERVICE_TYPE_MP
SERVICE_TYPE_MP = 11; -
SERVICE_TYPE_HTTPPROXY
SERVICE_TYPE_HTTPPROXY = 12; -
SERVICE_TYPE_ACTIVITY
SERVICE_TYPE_ACTIVITY = 13; -
SERVICE_TYPE_PATHFINDING
SERVICE_TYPE_PATHFINDING = 14; -
SERVICE_TYPE_SOCIAL
SERVICE_TYPE_SOCIAL = 15; -
SERVICE_TYPE_OA
SERVICE_TYPE_OA = 16; -
SERVICE_TYPE_MATCH
SERVICE_TYPE_MATCH = 17; -
SERVICE_TYPE_OFFLINE_OP
SERVICE_TYPE_OFFLINE_OP = 18; -
SERVICE_TYPE_TOTHEMOON
SERVICE_TYPE_TOTHEMOON = 19; -
SERVICE_TYPE_GCG
SERVICE_TYPE_GCG = 20; -
UNRECOGNIZED
-
-
Field Details
-
SERVICE_TYPE_NONE_VALUE
public static final int SERVICE_TYPE_NONE_VALUESERVICE_TYPE_NONE = 0;- See Also:
-
SERVICE_TYPE_CLIENT_VALUE
public static final int SERVICE_TYPE_CLIENT_VALUESERVICE_TYPE_CLIENT = 1;- See Also:
-
SERVICE_TYPE_GATE_VALUE
public static final int SERVICE_TYPE_GATE_VALUESERVICE_TYPE_GATE = 2;- See Also:
-
SERVICE_TYPE_GAME_VALUE
public static final int SERVICE_TYPE_GAME_VALUESERVICE_TYPE_GAME = 3;- See Also:
-
SERVICE_TYPE_NODE_VALUE
public static final int SERVICE_TYPE_NODE_VALUESERVICE_TYPE_NODE = 4;- See Also:
-
SERVICE_TYPE_DB_VALUE
public static final int SERVICE_TYPE_DB_VALUESERVICE_TYPE_DB = 5;- See Also:
-
SERVICE_TYPE_SNS_VALUE
public static final int SERVICE_TYPE_SNS_VALUESERVICE_TYPE_SNS = 6;- See Also:
-
SERVICE_TYPE_DISPATCH_VALUE
public static final int SERVICE_TYPE_DISPATCH_VALUESERVICE_TYPE_DISPATCH = 7;- See Also:
-
SERVICE_TYPE_MUIP_VALUE
public static final int SERVICE_TYPE_MUIP_VALUESERVICE_TYPE_MUIP = 8;- See Also:
-
SERVICE_TYPE_OFFLINE_MSG_VALUE
public static final int SERVICE_TYPE_OFFLINE_MSG_VALUESERVICE_TYPE_OFFLINE_MSG = 9;- See Also:
-
SERVICE_TYPE_MAIL_VALUE
public static final int SERVICE_TYPE_MAIL_VALUESERVICE_TYPE_MAIL = 10;- See Also:
-
SERVICE_TYPE_MP_VALUE
public static final int SERVICE_TYPE_MP_VALUESERVICE_TYPE_MP = 11;- See Also:
-
SERVICE_TYPE_HTTPPROXY_VALUE
public static final int SERVICE_TYPE_HTTPPROXY_VALUESERVICE_TYPE_HTTPPROXY = 12;- See Also:
-
SERVICE_TYPE_ACTIVITY_VALUE
public static final int SERVICE_TYPE_ACTIVITY_VALUESERVICE_TYPE_ACTIVITY = 13;- See Also:
-
SERVICE_TYPE_PATHFINDING_VALUE
public static final int SERVICE_TYPE_PATHFINDING_VALUESERVICE_TYPE_PATHFINDING = 14;- See Also:
-
SERVICE_TYPE_SOCIAL_VALUE
public static final int SERVICE_TYPE_SOCIAL_VALUESERVICE_TYPE_SOCIAL = 15;- See Also:
-
SERVICE_TYPE_OA_VALUE
public static final int SERVICE_TYPE_OA_VALUESERVICE_TYPE_OA = 16;- See Also:
-
SERVICE_TYPE_MATCH_VALUE
public static final int SERVICE_TYPE_MATCH_VALUESERVICE_TYPE_MATCH = 17;- See Also:
-
SERVICE_TYPE_OFFLINE_OP_VALUE
public static final int SERVICE_TYPE_OFFLINE_OP_VALUESERVICE_TYPE_OFFLINE_OP = 18;- See Also:
-
SERVICE_TYPE_TOTHEMOON_VALUE
public static final int SERVICE_TYPE_TOTHEMOON_VALUESERVICE_TYPE_TOTHEMOON = 19;- See Also:
-
SERVICE_TYPE_GCG_VALUE
public static final int SERVICE_TYPE_GCG_VALUESERVICE_TYPE_GCG = 20;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ServiceTypeOuterClass.ServiceType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ServiceTypeOuterClass.ServiceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-