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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Required.
    com.google.protobuf.DurationOrBuilder
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
       The forecast horizon can range from 1 hour to 60 hours.
       
      .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.
       The forecast horizon can range from 1 hour to 60 hours.
       
      .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.
       The forecast horizon can range from 1 hour to 60 hours.
       
      .google.protobuf.Duration forecast_horizon = 1 [(.google.api.field_behavior) = REQUIRED];