Enum 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 enum streamlayer.analytics.v2.studio.MetricDescriptor.ValueType
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()