Enum XyChart.DataSet.PlotType
java.lang.Object
java.lang.Enum<XyChart.DataSet.PlotType>
com.google.monitoring.dashboard.v1.XyChart.DataSet.PlotType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<XyChart.DataSet.PlotType>
- Enclosing class:
- XyChart.DataSet
public static enum XyChart.DataSet.PlotType
extends Enum<XyChart.DataSet.PlotType>
implements com.google.protobuf.ProtocolMessageEnum
The types of plotting strategies for data sets.Protobuf enum
google.monitoring.dashboard.v1.XyChart.DataSet.PlotType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe data is plotted as a heatmap.The data is plotted as a set of lines (one line per series).Plot type is unspecified.The data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis).The data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe data is plotted as a heatmap.static final intThe data is plotted as a set of lines (one line per series).static final intPlot type is unspecified.static final intThe data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis).static final intThe data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). -
Method Summary
Modifier and TypeMethodDescriptionstatic XyChart.DataSet.PlotTypeforNumber(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.DataSet.PlotType>static XyChart.DataSet.PlotTypevalueOf(int value) Deprecated.static XyChart.DataSet.PlotTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static XyChart.DataSet.PlotTypeReturns the enum constant of this type with the specified name.static XyChart.DataSet.PlotType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLOT_TYPE_UNSPECIFIED
Plot type is unspecified. The view will default to `LINE`.
PLOT_TYPE_UNSPECIFIED = 0; -
LINE
The data is plotted as a set of lines (one line per series).
LINE = 1; -
STACKED_AREA
The data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis). Since the areas do not overlap, each is filled with a different opaque color.
STACKED_AREA = 2; -
STACKED_BAR
The data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). Since the boxes do not overlap, each is filled with a different opaque color.
STACKED_BAR = 3; -
HEATMAP
The data is plotted as a heatmap. The series being plotted must have a `DISTRIBUTION` value type. The value of each bucket in the distribution is displayed as a color. This type is not currently available in the Stackdriver Monitoring application.
HEATMAP = 4; -
UNRECOGNIZED
-
-
Field Details
-
PLOT_TYPE_UNSPECIFIED_VALUE
public static final int PLOT_TYPE_UNSPECIFIED_VALUEPlot type is unspecified. The view will default to `LINE`.
PLOT_TYPE_UNSPECIFIED = 0;- See Also:
-
LINE_VALUE
public static final int LINE_VALUEThe data is plotted as a set of lines (one line per series).
LINE = 1;- See Also:
-
STACKED_AREA_VALUE
public static final int STACKED_AREA_VALUEThe data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis). Since the areas do not overlap, each is filled with a different opaque color.
STACKED_AREA = 2;- See Also:
-
STACKED_BAR_VALUE
public static final int STACKED_BAR_VALUEThe data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). Since the boxes do not overlap, each is filled with a different opaque color.
STACKED_BAR = 3;- See Also:
-
HEATMAP_VALUE
public static final int HEATMAP_VALUEThe data is plotted as a heatmap. The series being plotted must have a `DISTRIBUTION` value type. The value of each bucket in the distribution is displayed as a color. This type is not currently available in the Stackdriver Monitoring application.
HEATMAP = 4;- 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
public static com.google.protobuf.Internal.EnumLiteMap<XyChart.DataSet.PlotType> 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
public static XyChart.DataSet.PlotType 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 nameNullPointerException- if the argument is null
-