Package com.google.cloud.chronicle.v1
Enum SeriesType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SeriesType>
@Generated
public enum SeriesType
extends Enum<SeriesType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.chronicle.v1.SeriesType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBAR = 2;Represents gauge chart type.LINE = 1;Represents map chart type.PIE = 3;Represents scatterplot chart type.SERIES_TYPE_UNSPECIFIED = 0;TEXT = 4; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBAR = 2;static final intRepresents gauge chart type.static final intLINE = 1;static final intRepresents map chart type.static final intPIE = 3;static final intRepresents scatterplot chart type.static final intSERIES_TYPE_UNSPECIFIED = 0;static final intTEXT = 4; -
Method Summary
Modifier and TypeMethodDescriptionstatic SeriesTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SeriesType>static SeriesTypevalueOf(int value) Deprecated.static SeriesTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SeriesTypeReturns the enum constant of this type with the specified name.static SeriesType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SERIES_TYPE_UNSPECIFIED
SERIES_TYPE_UNSPECIFIED = 0; -
LINE
LINE = 1; -
BAR
BAR = 2; -
PIE
PIE = 3; -
TEXT
TEXT = 4; -
MAP
Represents map chart type.
MAP = 5; -
GAUGE
Represents gauge chart type.
GAUGE = 6; -
SCATTERPLOT
Represents scatterplot chart type.
SCATTERPLOT = 7; -
UNRECOGNIZED
-
-
Field Details
-
SERIES_TYPE_UNSPECIFIED_VALUE
public static final int SERIES_TYPE_UNSPECIFIED_VALUESERIES_TYPE_UNSPECIFIED = 0;- See Also:
-
LINE_VALUE
public static final int LINE_VALUELINE = 1;- See Also:
-
BAR_VALUE
public static final int BAR_VALUEBAR = 2;- See Also:
-
PIE_VALUE
public static final int PIE_VALUEPIE = 3;- See Also:
-
TEXT_VALUE
public static final int TEXT_VALUETEXT = 4;- See Also:
-
MAP_VALUE
public static final int MAP_VALUERepresents map chart type.
MAP = 5;- See Also:
-
GAUGE_VALUE
public static final int GAUGE_VALUERepresents gauge chart type.
GAUGE = 6;- See Also:
-
SCATTERPLOT_VALUE
public static final int SCATTERPLOT_VALUERepresents scatterplot chart type.
SCATTERPLOT = 7;- 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
-