Package command_request
Enum CommandRequestOuterClass.CacheMetricsType
- java.lang.Object
-
- java.lang.Enum<CommandRequestOuterClass.CacheMetricsType>
-
- command_request.CommandRequestOuterClass.CacheMetricsType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CommandRequestOuterClass.CacheMetricsType>
- Enclosing class:
- CommandRequestOuterClass
public static enum CommandRequestOuterClass.CacheMetricsType extends java.lang.Enum<CommandRequestOuterClass.CacheMetricsType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcommand_request.CacheMetricsType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EntryCountEntryCount = 2;EvictionsEvictions = 3;ExpirationsExpirations = 4;HitRateHitRate = 0;MissRateMissRate = 1;TotalLookupsTotalLookups = 5;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEntryCount_VALUEEntryCount = 2;static intEvictions_VALUEEvictions = 3;static intExpirations_VALUEExpirations = 4;static intHitRate_VALUEHitRate = 0;static intMissRate_VALUEMissRate = 1;static intTotalLookups_VALUETotalLookups = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CommandRequestOuterClass.CacheMetricsTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CommandRequestOuterClass.CacheMetricsType>internalGetValueMap()static CommandRequestOuterClass.CacheMetricsTypevalueOf(int value)Deprecated.static CommandRequestOuterClass.CacheMetricsTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CommandRequestOuterClass.CacheMetricsTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CommandRequestOuterClass.CacheMetricsType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HitRate
public static final CommandRequestOuterClass.CacheMetricsType HitRate
HitRate = 0;
-
MissRate
public static final CommandRequestOuterClass.CacheMetricsType MissRate
MissRate = 1;
-
EntryCount
public static final CommandRequestOuterClass.CacheMetricsType EntryCount
EntryCount = 2;
-
Evictions
public static final CommandRequestOuterClass.CacheMetricsType Evictions
Evictions = 3;
-
Expirations
public static final CommandRequestOuterClass.CacheMetricsType Expirations
Expirations = 4;
-
TotalLookups
public static final CommandRequestOuterClass.CacheMetricsType TotalLookups
TotalLookups = 5;
-
UNRECOGNIZED
public static final CommandRequestOuterClass.CacheMetricsType UNRECOGNIZED
-
-
Field Detail
-
HitRate_VALUE
public static final int HitRate_VALUE
HitRate = 0;- See Also:
- Constant Field Values
-
MissRate_VALUE
public static final int MissRate_VALUE
MissRate = 1;- See Also:
- Constant Field Values
-
EntryCount_VALUE
public static final int EntryCount_VALUE
EntryCount = 2;- See Also:
- Constant Field Values
-
Evictions_VALUE
public static final int Evictions_VALUE
Evictions = 3;- See Also:
- Constant Field Values
-
Expirations_VALUE
public static final int Expirations_VALUE
Expirations = 4;- See Also:
- Constant Field Values
-
TotalLookups_VALUE
public static final int TotalLookups_VALUE
TotalLookups = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CommandRequestOuterClass.CacheMetricsType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandRequestOuterClass.CacheMetricsType c : CommandRequestOuterClass.CacheMetricsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandRequestOuterClass.CacheMetricsType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static CommandRequestOuterClass.CacheMetricsType valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CommandRequestOuterClass.CacheMetricsType forNumber(int value)
- 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<CommandRequestOuterClass.CacheMetricsType> 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 CommandRequestOuterClass.CacheMetricsType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-