Interface AlertPolicy.Condition.MetricThreshold.ForecastOptionsOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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];