Interface XyChart.DataSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XyChart.DataSet,XyChart.DataSet.Builder
- Enclosing class:
- XyChart
public static interface XyChart.DataSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA template string for naming `TimeSeries` in the resulting data set.com.google.protobuf.ByteStringA template string for naming `TimeSeries` in the resulting data set.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.How this data should be plotted on the chart.intHow this data should be plotted on the chart.Optional.intOptional.Required.Required.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTimeSeriesQuery
boolean hasTimeSeriesQuery()Required. Fields for querying time series data from the Stackdriver metrics API.
.google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the timeSeriesQuery field is set.
-
getTimeSeriesQuery
TimeSeriesQuery getTimeSeriesQuery()Required. Fields for querying time series data from the Stackdriver metrics API.
.google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The timeSeriesQuery.
-
getTimeSeriesQueryOrBuilder
TimeSeriesQueryOrBuilder getTimeSeriesQueryOrBuilder()Required. Fields for querying time series data from the Stackdriver metrics API.
.google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED]; -
getPlotTypeValue
int getPlotTypeValue()How this data should be plotted on the chart.
.google.monitoring.dashboard.v1.XyChart.DataSet.PlotType plot_type = 2;- Returns:
- The enum numeric value on the wire for plotType.
-
getPlotType
XyChart.DataSet.PlotType getPlotType()How this data should be plotted on the chart.
.google.monitoring.dashboard.v1.XyChart.DataSet.PlotType plot_type = 2;- Returns:
- The plotType.
-
getLegendTemplate
String getLegendTemplate()A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value.string legend_template = 3;- Returns:
- The legendTemplate.
-
getLegendTemplateBytes
com.google.protobuf.ByteString getLegendTemplateBytes()A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value.string legend_template = 3;- Returns:
- The bytes for legendTemplate.
-
hasMinAlignmentPeriod
boolean hasMinAlignmentPeriod()Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
.google.protobuf.Duration min_alignment_period = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the minAlignmentPeriod field is set.
-
getMinAlignmentPeriod
com.google.protobuf.Duration getMinAlignmentPeriod()Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
.google.protobuf.Duration min_alignment_period = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The minAlignmentPeriod.
-
getMinAlignmentPeriodOrBuilder
com.google.protobuf.DurationOrBuilder getMinAlignmentPeriodOrBuilder()Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
.google.protobuf.Duration min_alignment_period = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getTargetAxisValue
int getTargetAxisValue()Optional. The target axis to use for plotting the metric.
.google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis target_axis = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for targetAxis.
-
getTargetAxis
XyChart.DataSet.TargetAxis getTargetAxis()Optional. The target axis to use for plotting the metric.
.google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis target_axis = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The targetAxis.
-