public final class XyChart extends GeneratedMessageV3 implements XyChartOrBuilder
A chart that displays data on a 2D (X and Y axes) plane.
Protobuf type google.monitoring.dashboard.v1.XyChart
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CHART_OPTIONS_FIELD_NUMBER
public static final int CHART_OPTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DATA_SETS_FIELD_NUMBER
public static final int DATA_SETS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
THRESHOLDS_FIELD_NUMBER
public static final int THRESHOLDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TIMESHIFT_DURATION_FIELD_NUMBER
public static final int TIMESHIFT_DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
X_AXIS_FIELD_NUMBER
public static final int X_AXIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Y2_AXIS_FIELD_NUMBER
public static final int Y2_AXIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Y_AXIS_FIELD_NUMBER
public static final int Y_AXIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static XyChart getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static XyChart.Builder newBuilder()
newBuilder(XyChart prototype)
public static XyChart.Builder newBuilder(XyChart prototype)
Parameter |
---|
Name | Description |
prototype | XyChart
|
public static XyChart parseDelimitedFrom(InputStream input)
public static XyChart parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static XyChart parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static XyChart parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static XyChart parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static XyChart parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static XyChart parseFrom(CodedInputStream input)
public static XyChart parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static XyChart parseFrom(InputStream input)
public static XyChart parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static XyChart parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static XyChart parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<XyChart> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getChartOptions()
public ChartOptions getChartOptions()
Display options for the chart.
.google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
getChartOptionsOrBuilder()
public ChartOptionsOrBuilder getChartOptionsOrBuilder()
Display options for the chart.
.google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
getDataSets(int index)
public XyChart.DataSet getDataSets(int index)
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getDataSetsCount()
public int getDataSetsCount()
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getDataSetsList()
public List<XyChart.DataSet> getDataSetsList()
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
getDataSetsOrBuilder(int index)
public XyChart.DataSetOrBuilder getDataSetsOrBuilder(int index)
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getDataSetsOrBuilderList()
public List<? extends XyChart.DataSetOrBuilder> getDataSetsOrBuilderList()
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.monitoring.dashboard.v1.XyChart.DataSetOrBuilder> | |
getDefaultInstanceForType()
public XyChart getDefaultInstanceForType()
getParserForType()
public Parser<XyChart> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getThresholds(int index)
public Threshold getThresholds(int index)
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
Parameter |
---|
Name | Description |
index | int
|
getThresholdsCount()
public int getThresholdsCount()
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
Returns |
---|
Type | Description |
int | |
getThresholdsList()
public List<Threshold> getThresholdsList()
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
getThresholdsOrBuilder(int index)
public ThresholdOrBuilder getThresholdsOrBuilder(int index)
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
Parameter |
---|
Name | Description |
index | int
|
getThresholdsOrBuilderList()
public List<? extends ThresholdOrBuilder> getThresholdsOrBuilderList()
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
Returns |
---|
Type | Description |
List<? extends com.google.monitoring.dashboard.v1.ThresholdOrBuilder> | |
getTimeshiftDuration()
public Duration getTimeshiftDuration()
The duration used to display a comparison chart. A comparison chart
simultaneously shows values from two similar-length time periods
(e.g., week-over-week metrics).
The duration must be positive, and it can only be applied to charts with
data sets of LINE plot type.
.google.protobuf.Duration timeshift_duration = 4;
Returns |
---|
Type | Description |
Duration | The timeshiftDuration.
|
getTimeshiftDurationOrBuilder()
public DurationOrBuilder getTimeshiftDurationOrBuilder()
The duration used to display a comparison chart. A comparison chart
simultaneously shows values from two similar-length time periods
(e.g., week-over-week metrics).
The duration must be positive, and it can only be applied to charts with
data sets of LINE plot type.
.google.protobuf.Duration timeshift_duration = 4;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getXAxis()
public XyChart.Axis getXAxis()
The properties applied to the X axis.
.google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
getXAxisOrBuilder()
public XyChart.AxisOrBuilder getXAxisOrBuilder()
The properties applied to the X axis.
.google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
getY2Axis()
public XyChart.Axis getY2Axis()
The properties applied to the Y2 axis.
.google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
getY2AxisOrBuilder()
public XyChart.AxisOrBuilder getY2AxisOrBuilder()
The properties applied to the Y2 axis.
.google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
getYAxis()
public XyChart.Axis getYAxis()
The properties applied to the Y axis.
.google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
getYAxisOrBuilder()
public XyChart.AxisOrBuilder getYAxisOrBuilder()
The properties applied to the Y axis.
.google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
hasChartOptions()
public boolean hasChartOptions()
Display options for the chart.
.google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
Returns |
---|
Type | Description |
boolean | Whether the chartOptions field is set.
|
hasTimeshiftDuration()
public boolean hasTimeshiftDuration()
The duration used to display a comparison chart. A comparison chart
simultaneously shows values from two similar-length time periods
(e.g., week-over-week metrics).
The duration must be positive, and it can only be applied to charts with
data sets of LINE plot type.
.google.protobuf.Duration timeshift_duration = 4;
Returns |
---|
Type | Description |
boolean | Whether the timeshiftDuration field is set.
|
hasXAxis()
public boolean hasXAxis()
The properties applied to the X axis.
.google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
Returns |
---|
Type | Description |
boolean | Whether the xAxis field is set.
|
hasY2Axis()
public boolean hasY2Axis()
The properties applied to the Y2 axis.
.google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
Returns |
---|
Type | Description |
boolean | Whether the y2Axis field is set.
|
hasYAxis()
public boolean hasYAxis()
The properties applied to the Y axis.
.google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
Returns |
---|
Type | Description |
boolean | Whether the yAxis field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public XyChart.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected XyChart.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public XyChart.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides