Interface AlertPolicy.Condition.TriggerOrBuilder (3.48.0)

public static interface AlertPolicy.Condition.TriggerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCount()

public abstract int getCount()

The absolute number of time series that must fail the predicate for the condition to be triggered.

int32 count = 1;

Returns
Type Description
int

The count.

getPercent()

public abstract double getPercent()

The percentage of time series that must fail the predicate for the condition to be triggered.

double percent = 2;

Returns
Type Description
double

The percent.

getTypeCase()

public abstract AlertPolicy.Condition.Trigger.TypeCase getTypeCase()
Returns
Type Description
AlertPolicy.Condition.Trigger.TypeCase

hasCount()

public abstract boolean hasCount()

The absolute number of time series that must fail the predicate for the condition to be triggered.

int32 count = 1;

Returns
Type Description
boolean

Whether the count field is set.

hasPercent()

public abstract boolean hasPercent()

The percentage of time series that must fail the predicate for the condition to be triggered.

double percent = 2;

Returns
Type Description
boolean

Whether the percent field is set.