Package com.google.monitoring.v3
Interface AlertPolicy.Condition.MetricThreshold.ForecastOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlertPolicy.Condition.MetricThreshold.ForecastOptions
,AlertPolicy.Condition.MetricThreshold.ForecastOptions.Builder
- Enclosing class:
- AlertPolicy.Condition.MetricThreshold
public static interface AlertPolicy.Condition.MetricThreshold.ForecastOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getForecastHorizon()
Required.com.google.protobuf.DurationOrBuilder
getForecastHorizonOrBuilder()
Required.boolean
hasForecastHorizon()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasForecastHorizon
boolean hasForecastHorizon()
Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured `duration`, then the time series is considered to be failing.
.google.protobuf.Duration forecast_horizon = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the forecastHorizon field is set.
-
getForecastHorizon
com.google.protobuf.Duration getForecastHorizon()
Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured `duration`, then the time series is considered to be failing.
.google.protobuf.Duration forecast_horizon = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The forecastHorizon.
-
getForecastHorizonOrBuilder
com.google.protobuf.DurationOrBuilder getForecastHorizonOrBuilder()
Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured `duration`, then the time series is considered to be failing.
.google.protobuf.Duration forecast_horizon = 1 [(.google.api.field_behavior) = REQUIRED];
-
-