Enum XyChart.Axis.Scale

java.lang.Object
java.lang.Enum<XyChart.Axis.Scale>
com.google.monitoring.dashboard.v1.XyChart.Axis.Scale
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<XyChart.Axis.Scale>
Enclosing class:
XyChart.Axis

public static enum XyChart.Axis.Scale extends Enum<XyChart.Axis.Scale> implements com.google.protobuf.ProtocolMessageEnum
 Types of scales used in axes.
 
Protobuf enum google.monitoring.dashboard.v1.XyChart.Axis.Scale
  • Enum Constant Details

    • SCALE_UNSPECIFIED

      public static final XyChart.Axis.Scale SCALE_UNSPECIFIED
       Scale is unspecified. The view will default to `LINEAR`.
       
      SCALE_UNSPECIFIED = 0;
    • LINEAR

      public static final XyChart.Axis.Scale LINEAR
       Linear scale.
       
      LINEAR = 1;
    • LOG10

      public static final XyChart.Axis.Scale LOG10
       Logarithmic scale (base 10).
       
      LOG10 = 2;
    • UNRECOGNIZED

      public static final XyChart.Axis.Scale UNRECOGNIZED
  • Field Details

    • SCALE_UNSPECIFIED_VALUE

      public static final int SCALE_UNSPECIFIED_VALUE
       Scale is unspecified. The view will default to `LINEAR`.
       
      SCALE_UNSPECIFIED = 0;
      See Also:
    • LINEAR_VALUE

      public static final int LINEAR_VALUE
       Linear scale.
       
      LINEAR = 1;
      See Also:
    • LOG10_VALUE

      public static final int LOG10_VALUE
       Logarithmic scale (base 10).
       
      LOG10 = 2;
      See Also:
  • Method Details

    • values

      public static XyChart.Axis.Scale[] 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

      public static XyChart.Axis.Scale 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static XyChart.Axis.Scale 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static XyChart.Axis.Scale 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<XyChart.Axis.Scale> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static XyChart.Axis.Scale 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 name
      NullPointerException - if the argument is null