Enum MetricDescriptor.ValueType
- java.lang.Object
-
- java.lang.Enum<MetricDescriptor.ValueType>
-
- com.streamlayer.analytics.studio.v2.MetricDescriptor.ValueType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<MetricDescriptor.ValueType>
- Enclosing class:
- MetricDescriptor
public static enum MetricDescriptor.ValueType extends java.lang.Enum<MetricDescriptor.ValueType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.analytics.v2.studio.MetricDescriptor.ValueType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDVALUE_TYPE_DOUBLEVALUE_TYPE_DOUBLE = 2;VALUE_TYPE_DURATION_SECONDSVALUE_TYPE_DURATION_SECONDS = 4;VALUE_TYPE_PERCENTVALUE_TYPE_PERCENT = 3;VALUE_TYPE_UINTVALUE_TYPE_UINT = 1;VALUE_TYPE_UNSETVALUE_TYPE_UNSET = 0;
-
Field Summary
Fields Modifier and Type Field Description static intVALUE_TYPE_DOUBLE_VALUEVALUE_TYPE_DOUBLE = 2;static intVALUE_TYPE_DURATION_SECONDS_VALUEVALUE_TYPE_DURATION_SECONDS = 4;static intVALUE_TYPE_PERCENT_VALUEVALUE_TYPE_PERCENT = 3;static intVALUE_TYPE_UINT_VALUEVALUE_TYPE_UINT = 1;static intVALUE_TYPE_UNSET_VALUEVALUE_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MetricDescriptor.ValueTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<MetricDescriptor.ValueType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static MetricDescriptor.ValueTypevalueOf(int value)Deprecated.static MetricDescriptor.ValueTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MetricDescriptor.ValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE_TYPE_UNSET
public static final MetricDescriptor.ValueType VALUE_TYPE_UNSET
VALUE_TYPE_UNSET = 0;
-
VALUE_TYPE_UINT
public static final MetricDescriptor.ValueType VALUE_TYPE_UINT
VALUE_TYPE_UINT = 1;
-
VALUE_TYPE_DOUBLE
public static final MetricDescriptor.ValueType VALUE_TYPE_DOUBLE
VALUE_TYPE_DOUBLE = 2;
-
VALUE_TYPE_PERCENT
public static final MetricDescriptor.ValueType VALUE_TYPE_PERCENT
VALUE_TYPE_PERCENT = 3;
-
VALUE_TYPE_DURATION_SECONDS
public static final MetricDescriptor.ValueType VALUE_TYPE_DURATION_SECONDS
VALUE_TYPE_DURATION_SECONDS = 4;
-
UNRECOGNIZED
public static final MetricDescriptor.ValueType UNRECOGNIZED
-
-
Field Detail
-
VALUE_TYPE_UNSET_VALUE
public static final int VALUE_TYPE_UNSET_VALUE
VALUE_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
VALUE_TYPE_UINT_VALUE
public static final int VALUE_TYPE_UINT_VALUE
VALUE_TYPE_UINT = 1;- See Also:
- Constant Field Values
-
VALUE_TYPE_DOUBLE_VALUE
public static final int VALUE_TYPE_DOUBLE_VALUE
VALUE_TYPE_DOUBLE = 2;- See Also:
- Constant Field Values
-
VALUE_TYPE_PERCENT_VALUE
public static final int VALUE_TYPE_PERCENT_VALUE
VALUE_TYPE_PERCENT = 3;- See Also:
- Constant Field Values
-
VALUE_TYPE_DURATION_SECONDS_VALUE
public static final int VALUE_TYPE_DURATION_SECONDS_VALUE
VALUE_TYPE_DURATION_SECONDS = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MetricDescriptor.ValueType[] 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 (MetricDescriptor.ValueType c : MetricDescriptor.ValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetricDescriptor.ValueType 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
-
valueOf
@Deprecated public static MetricDescriptor.ValueType 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 MetricDescriptor.ValueType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MetricDescriptor.ValueType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-