public static final class AlertPolicy.Condition.SqlCondition.RowCountTest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder> implements AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder
A test that checks if the number of rows in the result set violates some threshold.Protobuf type
google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTestaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder>public AlertPolicy.Condition.SqlCondition.RowCountTest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder>public AlertPolicy.Condition.SqlCondition.RowCountTest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AlertPolicy.Condition.SqlCondition.RowCountTest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.Condition.SqlCondition.RowCountTest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.Condition.SqlCondition.RowCountTest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder>public AlertPolicy.Condition.SqlCondition.RowCountTest.Builder mergeFrom(AlertPolicy.Condition.SqlCondition.RowCountTest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder>public AlertPolicy.Condition.SqlCondition.RowCountTest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.Condition.SqlCondition.RowCountTest.Builder>IOExceptionpublic 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];
getComparisonValue in interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilderpublic AlertPolicy.Condition.SqlCondition.RowCountTest.Builder setComparisonValue(int value)
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];
value - The enum numeric value on the wire for comparison to set.public 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];
getComparison in interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilderpublic AlertPolicy.Condition.SqlCondition.RowCountTest.Builder setComparison(ComparisonType value)
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];
value - The comparison to set.public AlertPolicy.Condition.SqlCondition.RowCountTest.Builder clearComparison()
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];
public long getThreshold()
Required. The value against which to compare the row count.
int64 threshold = 2 [(.google.api.field_behavior) = REQUIRED];getThreshold in interface AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilderpublic AlertPolicy.Condition.SqlCondition.RowCountTest.Builder setThreshold(long value)
Required. The value against which to compare the row count.
int64 threshold = 2 [(.google.api.field_behavior) = REQUIRED];value - The threshold to set.public AlertPolicy.Condition.SqlCondition.RowCountTest.Builder clearThreshold()
Required. The value against which to compare the row count.
int64 threshold = 2 [(.google.api.field_behavior) = REQUIRED];Copyright © 2026 Google LLC. All rights reserved.