Interface ScorecardOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Scorecard,Scorecard.Builder
@Generated
public interface ScorecardOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.EmptyWill cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds.com.google.protobuf.EmptyOrBuilderWill cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds.Will cause the scorecard to show a gauge chart.Will cause the scorecard to show a gauge chart.Will cause the scorecard to show a spark chart.Will cause the scorecard to show a spark chart.getThresholds(int index) The thresholds used to determine the state of the scorecard given the time series' current value.intThe thresholds used to determine the state of the scorecard given the time series' current value.The thresholds used to determine the state of the scorecard given the time series' current value.getThresholdsOrBuilder(int index) The thresholds used to determine the state of the scorecard given the time series' current value.List<? extends ThresholdOrBuilder>The thresholds used to determine the state of the scorecard given the time series' current value.Required.Required.booleanWill cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds.booleanWill cause the scorecard to show a gauge chart.booleanWill cause the scorecard to show a spark chart.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]; -
hasGaugeView
boolean hasGaugeView()Will cause the scorecard to show a gauge chart.
.google.monitoring.dashboard.v1.Scorecard.GaugeView gauge_view = 4;- Returns:
- Whether the gaugeView field is set.
-
getGaugeView
Scorecard.GaugeView getGaugeView()Will cause the scorecard to show a gauge chart.
.google.monitoring.dashboard.v1.Scorecard.GaugeView gauge_view = 4;- Returns:
- The gaugeView.
-
getGaugeViewOrBuilder
Scorecard.GaugeViewOrBuilder getGaugeViewOrBuilder()Will cause the scorecard to show a gauge chart.
.google.monitoring.dashboard.v1.Scorecard.GaugeView gauge_view = 4; -
hasSparkChartView
boolean hasSparkChartView()Will cause the scorecard to show a spark chart.
.google.monitoring.dashboard.v1.Scorecard.SparkChartView spark_chart_view = 5;- Returns:
- Whether the sparkChartView field is set.
-
getSparkChartView
Scorecard.SparkChartView getSparkChartView()Will cause the scorecard to show a spark chart.
.google.monitoring.dashboard.v1.Scorecard.SparkChartView spark_chart_view = 5;- Returns:
- The sparkChartView.
-
getSparkChartViewOrBuilder
Scorecard.SparkChartViewOrBuilder getSparkChartViewOrBuilder()Will cause the scorecard to show a spark chart.
.google.monitoring.dashboard.v1.Scorecard.SparkChartView spark_chart_view = 5; -
hasBlankView
boolean hasBlankView()Will cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds.
.google.protobuf.Empty blank_view = 7;- Returns:
- Whether the blankView field is set.
-
getBlankView
com.google.protobuf.Empty getBlankView()Will cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds.
.google.protobuf.Empty blank_view = 7;- Returns:
- The blankView.
-
getBlankViewOrBuilder
com.google.protobuf.EmptyOrBuilder getBlankViewOrBuilder()Will cause the `Scorecard` to show only the value, with no indicator to its value relative to its thresholds.
.google.protobuf.Empty blank_view = 7; -
getThresholdsList
The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.) As an example, consider a scorecard with the following four thresholds: ``` { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } ``` Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.repeated .google.monitoring.dashboard.v1.Threshold thresholds = 6; -
getThresholds
The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.) As an example, consider a scorecard with the following four thresholds: ``` { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } ``` Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.repeated .google.monitoring.dashboard.v1.Threshold thresholds = 6; -
getThresholdsCount
int getThresholdsCount()The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.) As an example, consider a scorecard with the following four thresholds: ``` { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } ``` Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.repeated .google.monitoring.dashboard.v1.Threshold thresholds = 6; -
getThresholdsOrBuilderList
List<? extends ThresholdOrBuilder> getThresholdsOrBuilderList()The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.) As an example, consider a scorecard with the following four thresholds: ``` { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } ``` Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.repeated .google.monitoring.dashboard.v1.Threshold thresholds = 6; -
getThresholdsOrBuilder
The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.) As an example, consider a scorecard with the following four thresholds: ``` { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } ``` Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.repeated .google.monitoring.dashboard.v1.Threshold thresholds = 6; -
getDataViewCase
Scorecard.DataViewCase getDataViewCase()
-