Package prometheus
Enum PrometheusTypes.LabelMatcher.Type
- java.lang.Object
-
- java.lang.Enum<PrometheusTypes.LabelMatcher.Type>
-
- prometheus.PrometheusTypes.LabelMatcher.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PrometheusTypes.LabelMatcher.Type>
- Enclosing class:
- PrometheusTypes.LabelMatcher
public static enum PrometheusTypes.LabelMatcher.Type extends Enum<PrometheusTypes.LabelMatcher.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumprometheus.LabelMatcher.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQEQ = 0;NEQNEQ = 1;NRENRE = 3;RERE = 2;UNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PrometheusTypes.LabelMatcher.TypeforNumber(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<PrometheusTypes.LabelMatcher.Type>internalGetValueMap()static PrometheusTypes.LabelMatcher.TypevalueOf(int value)Deprecated.static PrometheusTypes.LabelMatcher.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PrometheusTypes.LabelMatcher.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static PrometheusTypes.LabelMatcher.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQ
public static final PrometheusTypes.LabelMatcher.Type EQ
EQ = 0;
-
NEQ
public static final PrometheusTypes.LabelMatcher.Type NEQ
NEQ = 1;
-
RE
public static final PrometheusTypes.LabelMatcher.Type RE
RE = 2;
-
NRE
public static final PrometheusTypes.LabelMatcher.Type NRE
NRE = 3;
-
UNRECOGNIZED
public static final PrometheusTypes.LabelMatcher.Type UNRECOGNIZED
-
-
Field Detail
-
EQ_VALUE
public static final int EQ_VALUE
EQ = 0;- See Also:
- Constant Field Values
-
NEQ_VALUE
public static final int NEQ_VALUE
NEQ = 1;- See Also:
- Constant Field Values
-
RE_VALUE
public static final int RE_VALUE
RE = 2;- See Also:
- Constant Field Values
-
NRE_VALUE
public static final int NRE_VALUE
NRE = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PrometheusTypes.LabelMatcher.Type[] 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 (PrometheusTypes.LabelMatcher.Type c : PrometheusTypes.LabelMatcher.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrometheusTypes.LabelMatcher.Type valueOf(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:
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 public static PrometheusTypes.LabelMatcher.Type 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static PrometheusTypes.LabelMatcher.Type forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PrometheusTypes.LabelMatcher.Type> 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 PrometheusTypes.LabelMatcher.Type 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-