Interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AlertPolicy.Condition.SqlCondition.RowCountTest, AlertPolicy.Condition.SqlCondition.RowCountTest.Builder
Enclosing class:
AlertPolicy.Condition.SqlCondition

public static interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    int
    Required.
    long
    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 Details

    • getComparisonValue

      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:
      The enum numeric value on the wire for comparison.
    • getComparison

      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:
      The comparison.
    • getThreshold

      long getThreshold()
       Required. The value against which to compare the row count.
       
      int64 threshold = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The threshold.