Enum PoolType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PoolType>,java.lang.constant.Constable
Protobuf enum
skywalking.v3.PoolType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCODE_CACHE_USAGE = 0;METASPACE_USAGE = 5;NEWGEN_USAGE = 1;OLDGEN_USAGE = 2;PERMGEN_USAGE = 4;SURVIVOR_USAGE = 3; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCODE_CACHE_USAGE = 0;static final intMETASPACE_USAGE = 5;static final intNEWGEN_USAGE = 1;static final intOLDGEN_USAGE = 2;static final intPERMGEN_USAGE = 4;static final intSURVIVOR_USAGE = 3; -
Method Summary
Modifier and TypeMethodDescriptionstatic PoolTypeforNumber(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<PoolType>static PoolTypevalueOf(int value) Deprecated.static PoolTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PoolTypeReturns the enum constant of this type with the specified name.static PoolType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CODE_CACHE_USAGE
CODE_CACHE_USAGE = 0; -
NEWGEN_USAGE
NEWGEN_USAGE = 1; -
OLDGEN_USAGE
OLDGEN_USAGE = 2; -
SURVIVOR_USAGE
SURVIVOR_USAGE = 3; -
PERMGEN_USAGE
PERMGEN_USAGE = 4; -
METASPACE_USAGE
METASPACE_USAGE = 5; -
UNRECOGNIZED
-
-
Field Details
-
CODE_CACHE_USAGE_VALUE
public static final int CODE_CACHE_USAGE_VALUECODE_CACHE_USAGE = 0;- See Also:
-
NEWGEN_USAGE_VALUE
public static final int NEWGEN_USAGE_VALUENEWGEN_USAGE = 1;- See Also:
-
OLDGEN_USAGE_VALUE
public static final int OLDGEN_USAGE_VALUEOLDGEN_USAGE = 2;- See Also:
-
SURVIVOR_USAGE_VALUE
public static final int SURVIVOR_USAGE_VALUESURVIVOR_USAGE = 3;- See Also:
-
PERMGEN_USAGE_VALUE
public static final int PERMGEN_USAGE_VALUEPERMGEN_USAGE = 4;- See Also:
-
METASPACE_USAGE_VALUE
public static final int METASPACE_USAGE_VALUEMETASPACE_USAGE = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-
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
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-