Interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder (3.57.0)

public static interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComparison()

public abstract ComparisonType getComparison()

Required. The comparison to apply between the number of rows returned by the query and the threshold.

.google.monitoring.v3.ComparisonType comparison = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ComparisonType

The comparison.

getComparisonValue()

public abstract int getComparisonValue()

Required. The comparison to apply between the number of rows returned by the query and the threshold.

.google.monitoring.v3.ComparisonType comparison = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for comparison.

getThreshold()

public abstract long getThreshold()

Required. The value against which to compare the row count.

int64 threshold = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The threshold.