Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionLinear scale.Logarithmic scale (base 10).Scale is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLinear scale.static final intLogarithmic scale (base 10).static final intScale is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic XyChart.Axis.ScaleforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<XyChart.Axis.Scale>static XyChart.Axis.ScalevalueOf(int value) Deprecated.static XyChart.Axis.ScalevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static XyChart.Axis.ScaleReturns the enum constant of this type with the specified name.static XyChart.Axis.Scale[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SCALE_UNSPECIFIED
Scale is unspecified. The view will default to `LINEAR`.
SCALE_UNSPECIFIED = 0; -
LINEAR
Linear scale.
LINEAR = 1; -
LOG10
Logarithmic scale (base 10).
LOG10 = 2; -
UNRECOGNIZED
-
-
Field Details
-
SCALE_UNSPECIFIED_VALUE
public static final int SCALE_UNSPECIFIED_VALUEScale is unspecified. The view will default to `LINEAR`.
SCALE_UNSPECIFIED = 0;- See Also:
-
LINEAR_VALUE
public static final int LINEAR_VALUELinear scale.
LINEAR = 1;- See Also:
-
LOG10_VALUE
public static final int LOG10_VALUELogarithmic scale (base 10).
LOG10 = 2;- See Also:
-
-
Method Details
-
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
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-