- 2.80.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.3.0
- 2.2.6
public static final class XyChart.Builder extends GeneratedMessageV3.Builder<XyChart.Builder> implements XyChartOrBuilderA chart that displays data on a 2D (X and Y axes) plane.
 Protobuf type google.monitoring.dashboard.v1.XyChart
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > XyChart.BuilderImplements
XyChartOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllDataSets(Iterable<? extends XyChart.DataSet> values)
public XyChart.Builder addAllDataSets(Iterable<? extends XyChart.DataSet> values)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 | 
| values | Iterable<? extends com.google.monitoring.dashboard.v1.XyChart.DataSet> | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addAllThresholds(Iterable<? extends Threshold> values)
public XyChart.Builder addAllThresholds(Iterable<? extends Threshold> values)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.monitoring.dashboard.v1.Threshold> | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addDataSets(XyChart.DataSet value)
public XyChart.Builder addDataSets(XyChart.DataSet value)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 | 
| value | XyChart.DataSet | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addDataSets(XyChart.DataSet.Builder builderForValue)
public XyChart.Builder addDataSets(XyChart.DataSet.Builder builderForValue)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 | 
| builderForValue | XyChart.DataSet.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addDataSets(int index, XyChart.DataSet value)
public XyChart.Builder addDataSets(int index, XyChart.DataSet value)Required. The data displayed in this chart.
 
 repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | XyChart.DataSet | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addDataSets(int index, XyChart.DataSet.Builder builderForValue)
public XyChart.Builder addDataSets(int index, XyChart.DataSet.Builder builderForValue)Required. The data displayed in this chart.
 
 repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | XyChart.DataSet.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addDataSetsBuilder()
public XyChart.DataSet.Builder addDataSetsBuilder()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 | 
| XyChart.DataSet.Builder | |
addDataSetsBuilder(int index)
public XyChart.DataSet.Builder addDataSetsBuilder(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 | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.DataSet.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public XyChart.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addThresholds(Threshold value)
public XyChart.Builder addThresholds(Threshold value)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | Threshold | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addThresholds(Threshold.Builder builderForValue)
public XyChart.Builder addThresholds(Threshold.Builder builderForValue)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Threshold.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addThresholds(int index, Threshold value)
public XyChart.Builder addThresholds(int index, Threshold value)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | Threshold | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addThresholds(int index, Threshold.Builder builderForValue)
public XyChart.Builder addThresholds(int index, Threshold.Builder builderForValue)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | Threshold.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
addThresholdsBuilder()
public Threshold.Builder addThresholdsBuilder()Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Returns | |
|---|---|
| Type | Description | 
| Threshold.Builder | |
addThresholdsBuilder(int index)
public Threshold.Builder addThresholdsBuilder(int index)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| Threshold.Builder | |
build()
public XyChart build()| Returns | |
|---|---|
| Type | Description | 
| XyChart | |
buildPartial()
public XyChart buildPartial()| Returns | |
|---|---|
| Type | Description | 
| XyChart | |
clear()
public XyChart.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearChartOptions()
public XyChart.Builder clearChartOptions()Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearDataSets()
public XyChart.Builder clearDataSets()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 | 
| XyChart.Builder | |
clearField(Descriptors.FieldDescriptor field)
public XyChart.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public XyChart.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearThresholds()
public XyChart.Builder clearThresholds()Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearTimeshiftDuration()
public XyChart.Builder clearTimeshiftDuration()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 | 
| XyChart.Builder | |
clearXAxis()
public XyChart.Builder clearXAxis()The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearY2Axis()
public XyChart.Builder clearY2Axis()The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clearYAxis()
public XyChart.Builder clearYAxis()The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
clone()
public XyChart.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
getChartOptions()
public ChartOptions getChartOptions()Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Returns | |
|---|---|
| Type | Description | 
| ChartOptions | The chartOptions. | 
getChartOptionsBuilder()
public ChartOptions.Builder getChartOptionsBuilder()Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Returns | |
|---|---|
| Type | Description | 
| ChartOptions.Builder | |
getChartOptionsOrBuilder()
public ChartOptionsOrBuilder getChartOptionsOrBuilder()Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Returns | |
|---|---|
| Type | Description | 
| ChartOptionsOrBuilder | |
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 | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.DataSet | |
getDataSetsBuilder(int index)
public XyChart.DataSet.Builder getDataSetsBuilder(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 | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.DataSet.Builder | |
getDataSetsBuilderList()
public List<XyChart.DataSet.Builder> getDataSetsBuilderList()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<Builder> | |
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];
 
| Returns | |
|---|---|
| Type | Description | 
| List<DataSet> | |
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 | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.DataSetOrBuilder | |
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()| Returns | |
|---|---|
| Type | Description | 
| XyChart | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
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 | 
| Returns | |
|---|---|
| Type | Description | 
| Threshold | |
getThresholdsBuilder(int index)
public Threshold.Builder getThresholdsBuilder(int index)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| Threshold.Builder | |
getThresholdsBuilderList()
public List<Threshold.Builder> getThresholdsBuilderList()Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
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;
| Returns | |
|---|---|
| Type | Description | 
| List<Threshold> | |
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 | 
| Returns | |
|---|---|
| Type | Description | 
| ThresholdOrBuilder | |
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. | 
getTimeshiftDurationBuilder()
public Duration.Builder getTimeshiftDurationBuilder()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 | 
| Builder | |
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;
| Returns | |
|---|---|
| Type | Description | 
| DurationOrBuilder | |
getXAxis()
public XyChart.Axis getXAxis()The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Axis | The xAxis. | 
getXAxisBuilder()
public XyChart.Axis.Builder getXAxisBuilder()The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Axis.Builder | |
getXAxisOrBuilder()
public XyChart.AxisOrBuilder getXAxisOrBuilder()The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.AxisOrBuilder | |
getY2Axis()
public XyChart.Axis getY2Axis()The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Axis | The y2Axis. | 
getY2AxisBuilder()
public XyChart.Axis.Builder getY2AxisBuilder()The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Axis.Builder | |
getY2AxisOrBuilder()
public XyChart.AxisOrBuilder getY2AxisOrBuilder()The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.AxisOrBuilder | |
getYAxis()
public XyChart.Axis getYAxis()The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Axis | The yAxis. | 
getYAxisBuilder()
public XyChart.Axis.Builder getYAxisBuilder()The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Axis.Builder | |
getYAxisOrBuilder()
public XyChart.AxisOrBuilder getYAxisOrBuilder()The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Returns | |
|---|---|
| Type | Description | 
| XyChart.AxisOrBuilder | |
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. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeChartOptions(ChartOptions value)
public XyChart.Builder mergeChartOptions(ChartOptions value)Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Parameter | |
|---|---|
| Name | Description | 
| value | ChartOptions | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeFrom(XyChart other)
public XyChart.Builder mergeFrom(XyChart other)| Parameter | |
|---|---|
| Name | Description | 
| other | XyChart | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public XyChart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public XyChart.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeTimeshiftDuration(Duration value)
public XyChart.Builder mergeTimeshiftDuration(Duration value)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;
| Parameter | |
|---|---|
| Name | Description | 
| value | Duration | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final XyChart.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeXAxis(XyChart.Axis value)
public XyChart.Builder mergeXAxis(XyChart.Axis value)The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | XyChart.Axis | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeY2Axis(XyChart.Axis value)
public XyChart.Builder mergeY2Axis(XyChart.Axis value)The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Parameter | |
|---|---|
| Name | Description | 
| value | XyChart.Axis | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
mergeYAxis(XyChart.Axis value)
public XyChart.Builder mergeYAxis(XyChart.Axis value)The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | XyChart.Axis | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
removeDataSets(int index)
public XyChart.Builder removeDataSets(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 | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
removeThresholds(int index)
public XyChart.Builder removeThresholds(int index)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setChartOptions(ChartOptions value)
public XyChart.Builder setChartOptions(ChartOptions value)Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Parameter | |
|---|---|
| Name | Description | 
| value | ChartOptions | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setChartOptions(ChartOptions.Builder builderForValue)
public XyChart.Builder setChartOptions(ChartOptions.Builder builderForValue)Display options for the chart.
 .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ChartOptions.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setDataSets(int index, XyChart.DataSet value)
public XyChart.Builder setDataSets(int index, XyChart.DataSet value)Required. The data displayed in this chart.
 
 repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | XyChart.DataSet | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setDataSets(int index, XyChart.DataSet.Builder builderForValue)
public XyChart.Builder setDataSets(int index, XyChart.DataSet.Builder builderForValue)Required. The data displayed in this chart.
 
 repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | XyChart.DataSet.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public XyChart.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public XyChart.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setThresholds(int index, Threshold value)
public XyChart.Builder setThresholds(int index, Threshold value)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | Threshold | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setThresholds(int index, Threshold.Builder builderForValue)
public XyChart.Builder setThresholds(int index, Threshold.Builder builderForValue)Threshold lines drawn horizontally across the chart.
 repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | Threshold.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setTimeshiftDuration(Duration value)
public XyChart.Builder setTimeshiftDuration(Duration value)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;
| Parameter | |
|---|---|
| Name | Description | 
| value | Duration | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setTimeshiftDuration(Duration.Builder builderForValue)
public XyChart.Builder setTimeshiftDuration(Duration.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final XyChart.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setXAxis(XyChart.Axis value)
public XyChart.Builder setXAxis(XyChart.Axis value)The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | XyChart.Axis | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setXAxis(XyChart.Axis.Builder builderForValue)
public XyChart.Builder setXAxis(XyChart.Axis.Builder builderForValue)The properties applied to the x-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | XyChart.Axis.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setY2Axis(XyChart.Axis value)
public XyChart.Builder setY2Axis(XyChart.Axis value)The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Parameter | |
|---|---|
| Name | Description | 
| value | XyChart.Axis | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setY2Axis(XyChart.Axis.Builder builderForValue)
public XyChart.Builder setY2Axis(XyChart.Axis.Builder builderForValue)The properties applied to the y2-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | XyChart.Axis.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setYAxis(XyChart.Axis value)
public XyChart.Builder setYAxis(XyChart.Axis value)The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | XyChart.Axis | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |
setYAxis(XyChart.Axis.Builder builderForValue)
public XyChart.Builder setYAxis(XyChart.Axis.Builder builderForValue)The properties applied to the y-axis.
 .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | XyChart.Axis.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| XyChart.Builder | |