Interface ThresholdConfigOrBuilder (3.49.0)

public interface ThresholdConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getThresholdCase()

public abstract ThresholdConfig.ThresholdCase getThresholdCase()
Returns
Type Description
ThresholdConfig.ThresholdCase

getValue()

public abstract double getValue()

Specify a threshold value that can trigger the alert. If this threshold config is for feature distribution distance:

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
Type Description
double

The value.

hasValue()

public abstract boolean hasValue()

Specify a threshold value that can trigger the alert. If this threshold config is for feature distribution distance:

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
Type Description
boolean

Whether the value field is set.