Interface AlertPolicy.Condition.TriggerOrBuilder (3.34.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
TypeDescription
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
TypeDescription
double

The percent.

getTypeCase()

public abstract AlertPolicy.Condition.Trigger.TypeCase getTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the percent field is set.