Class AlertPolicy.Condition.SqlCondition.Builder (3.57.0)

public static final class AlertPolicy.Condition.SqlCondition.Builder extends GeneratedMessageV3.Builder<AlertPolicy.Condition.SqlCondition.Builder> implements AlertPolicy.Condition.SqlConditionOrBuilder

A condition that allows alerting policies to be defined using GoogleSQL. SQL conditions examine a sliding window of logs using GoogleSQL. Alert policies with SQL conditions may incur additional billing.

Protobuf type google.monitoring.v3.AlertPolicy.Condition.SqlCondition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AlertPolicy.Condition.SqlCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

build()

public AlertPolicy.Condition.SqlCondition build()
Returns
Type Description
AlertPolicy.Condition.SqlCondition

buildPartial()

public AlertPolicy.Condition.SqlCondition buildPartial()
Returns
Type Description
AlertPolicy.Condition.SqlCondition

clear()

public AlertPolicy.Condition.SqlCondition.Builder clear()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

clearBooleanTest()

public AlertPolicy.Condition.SqlCondition.Builder clearBooleanTest()

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clearDaily()

public AlertPolicy.Condition.SqlCondition.Builder clearDaily()

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clearEvaluate()

public AlertPolicy.Condition.SqlCondition.Builder clearEvaluate()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public AlertPolicy.Condition.SqlCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

clearHourly()

public AlertPolicy.Condition.SqlCondition.Builder clearHourly()

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clearMinutes()

public AlertPolicy.Condition.SqlCondition.Builder clearMinutes()

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AlertPolicy.Condition.SqlCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

clearQuery()

public AlertPolicy.Condition.SqlCondition.Builder clearQuery()

Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.

For example, the following query extracts all log entries containing an HTTP request:

 SELECT
   timestamp, log_name, severity, http_request, resource, labels
 FROM
   my-project.global._Default._AllLogs
 WHERE
   http_request IS NOT NULL

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

This builder for chaining.

clearRowCountTest()

public AlertPolicy.Condition.SqlCondition.Builder clearRowCountTest()

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clearSchedule()

public AlertPolicy.Condition.SqlCondition.Builder clearSchedule()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

clone()

public AlertPolicy.Condition.SqlCondition.Builder clone()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

getBooleanTest()

public AlertPolicy.Condition.SqlCondition.BooleanTest getBooleanTest()

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.BooleanTest

The booleanTest.

getBooleanTestBuilder()

public AlertPolicy.Condition.SqlCondition.BooleanTest.Builder getBooleanTestBuilder()

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.BooleanTest.Builder

getBooleanTestOrBuilder()

public AlertPolicy.Condition.SqlCondition.BooleanTestOrBuilder getBooleanTestOrBuilder()

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.BooleanTestOrBuilder

getDaily()

public AlertPolicy.Condition.SqlCondition.Daily getDaily()

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Daily

The daily.

getDailyBuilder()

public AlertPolicy.Condition.SqlCondition.Daily.Builder getDailyBuilder()

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Daily.Builder

getDailyOrBuilder()

public AlertPolicy.Condition.SqlCondition.DailyOrBuilder getDailyOrBuilder()

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.DailyOrBuilder

getDefaultInstanceForType()

public AlertPolicy.Condition.SqlCondition getDefaultInstanceForType()
Returns
Type Description
AlertPolicy.Condition.SqlCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvaluateCase()

public AlertPolicy.Condition.SqlCondition.EvaluateCase getEvaluateCase()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.EvaluateCase

getHourly()

public AlertPolicy.Condition.SqlCondition.Hourly getHourly()

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Hourly

The hourly.

getHourlyBuilder()

public AlertPolicy.Condition.SqlCondition.Hourly.Builder getHourlyBuilder()

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Hourly.Builder

getHourlyOrBuilder()

public AlertPolicy.Condition.SqlCondition.HourlyOrBuilder getHourlyOrBuilder()

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.HourlyOrBuilder

getMinutes()

public AlertPolicy.Condition.SqlCondition.Minutes getMinutes()

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes

The minutes.

getMinutesBuilder()

public AlertPolicy.Condition.SqlCondition.Minutes.Builder getMinutesBuilder()

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder

getMinutesOrBuilder()

public AlertPolicy.Condition.SqlCondition.MinutesOrBuilder getMinutesOrBuilder()

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.MinutesOrBuilder

getQuery()

public String getQuery()

Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.

For example, the following query extracts all log entries containing an HTTP request:

 SELECT
   timestamp, log_name, severity, http_request, resource, labels
 FROM
   my-project.global._Default._AllLogs
 WHERE
   http_request IS NOT NULL

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.

For example, the following query extracts all log entries containing an HTTP request:

 SELECT
   timestamp, log_name, severity, http_request, resource, labels
 FROM
   my-project.global._Default._AllLogs
 WHERE
   http_request IS NOT NULL

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

getRowCountTest()

public AlertPolicy.Condition.SqlCondition.RowCountTest getRowCountTest()

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.RowCountTest

The rowCountTest.

getRowCountTestBuilder()

public AlertPolicy.Condition.SqlCondition.RowCountTest.Builder getRowCountTestBuilder()

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.RowCountTest.Builder

getRowCountTestOrBuilder()

public AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder getRowCountTestOrBuilder()

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Returns
Type Description
AlertPolicy.Condition.SqlCondition.RowCountTestOrBuilder

getScheduleCase()

public AlertPolicy.Condition.SqlCondition.ScheduleCase getScheduleCase()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.ScheduleCase

hasBooleanTest()

public boolean hasBooleanTest()

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Returns
Type Description
boolean

Whether the booleanTest field is set.

hasDaily()

public boolean hasDaily()

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Returns
Type Description
boolean

Whether the daily field is set.

hasHourly()

public boolean hasHourly()

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Returns
Type Description
boolean

Whether the hourly field is set.

hasMinutes()

public boolean hasMinutes()

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Returns
Type Description
boolean

Whether the minutes field is set.

hasRowCountTest()

public boolean hasRowCountTest()

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Returns
Type Description
boolean

Whether the rowCountTest field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBooleanTest(AlertPolicy.Condition.SqlCondition.BooleanTest value)

public AlertPolicy.Condition.SqlCondition.Builder mergeBooleanTest(AlertPolicy.Condition.SqlCondition.BooleanTest value)

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.BooleanTest
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

mergeDaily(AlertPolicy.Condition.SqlCondition.Daily value)

public AlertPolicy.Condition.SqlCondition.Builder mergeDaily(AlertPolicy.Condition.SqlCondition.Daily value)

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.Daily
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

mergeFrom(AlertPolicy.Condition.SqlCondition other)

public AlertPolicy.Condition.SqlCondition.Builder mergeFrom(AlertPolicy.Condition.SqlCondition other)
Parameter
Name Description
other AlertPolicy.Condition.SqlCondition
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AlertPolicy.Condition.SqlCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AlertPolicy.Condition.SqlCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

mergeHourly(AlertPolicy.Condition.SqlCondition.Hourly value)

public AlertPolicy.Condition.SqlCondition.Builder mergeHourly(AlertPolicy.Condition.SqlCondition.Hourly value)

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.Hourly
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

mergeMinutes(AlertPolicy.Condition.SqlCondition.Minutes value)

public AlertPolicy.Condition.SqlCondition.Builder mergeMinutes(AlertPolicy.Condition.SqlCondition.Minutes value)

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.Minutes
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

mergeRowCountTest(AlertPolicy.Condition.SqlCondition.RowCountTest value)

public AlertPolicy.Condition.SqlCondition.Builder mergeRowCountTest(AlertPolicy.Condition.SqlCondition.RowCountTest value)

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.RowCountTest
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AlertPolicy.Condition.SqlCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

setBooleanTest(AlertPolicy.Condition.SqlCondition.BooleanTest value)

public AlertPolicy.Condition.SqlCondition.Builder setBooleanTest(AlertPolicy.Condition.SqlCondition.BooleanTest value)

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.BooleanTest
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setBooleanTest(AlertPolicy.Condition.SqlCondition.BooleanTest.Builder builderForValue)

public AlertPolicy.Condition.SqlCondition.Builder setBooleanTest(AlertPolicy.Condition.SqlCondition.BooleanTest.Builder builderForValue)

Test the boolean value in the indicated column.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest boolean_test = 6;

Parameter
Name Description
builderForValue AlertPolicy.Condition.SqlCondition.BooleanTest.Builder
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setDaily(AlertPolicy.Condition.SqlCondition.Daily value)

public AlertPolicy.Condition.SqlCondition.Builder setDaily(AlertPolicy.Condition.SqlCondition.Daily value)

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.Daily
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setDaily(AlertPolicy.Condition.SqlCondition.Daily.Builder builderForValue)

public AlertPolicy.Condition.SqlCondition.Builder setDaily(AlertPolicy.Condition.SqlCondition.Daily.Builder builderForValue)

Schedule the query to execute every so many days.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily daily = 4;

Parameter
Name Description
builderForValue AlertPolicy.Condition.SqlCondition.Daily.Builder
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AlertPolicy.Condition.SqlCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

setHourly(AlertPolicy.Condition.SqlCondition.Hourly value)

public AlertPolicy.Condition.SqlCondition.Builder setHourly(AlertPolicy.Condition.SqlCondition.Hourly value)

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.Hourly
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setHourly(AlertPolicy.Condition.SqlCondition.Hourly.Builder builderForValue)

public AlertPolicy.Condition.SqlCondition.Builder setHourly(AlertPolicy.Condition.SqlCondition.Hourly.Builder builderForValue)

Schedule the query to execute every so many hours.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly hourly = 3;

Parameter
Name Description
builderForValue AlertPolicy.Condition.SqlCondition.Hourly.Builder
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setMinutes(AlertPolicy.Condition.SqlCondition.Minutes value)

public AlertPolicy.Condition.SqlCondition.Builder setMinutes(AlertPolicy.Condition.SqlCondition.Minutes value)

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.Minutes
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setMinutes(AlertPolicy.Condition.SqlCondition.Minutes.Builder builderForValue)

public AlertPolicy.Condition.SqlCondition.Builder setMinutes(AlertPolicy.Condition.SqlCondition.Minutes.Builder builderForValue)

Schedule the query to execute every so many minutes.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes minutes = 2;

Parameter
Name Description
builderForValue AlertPolicy.Condition.SqlCondition.Minutes.Builder
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setQuery(String value)

public AlertPolicy.Condition.SqlCondition.Builder setQuery(String value)

Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.

For example, the following query extracts all log entries containing an HTTP request:

 SELECT
   timestamp, log_name, severity, http_request, resource, labels
 FROM
   my-project.global._Default._AllLogs
 WHERE
   http_request IS NOT NULL

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The query to set.

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public AlertPolicy.Condition.SqlCondition.Builder setQueryBytes(ByteString value)

Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.

For example, the following query extracts all log entries containing an HTTP request:

 SELECT
   timestamp, log_name, severity, http_request, resource, labels
 FROM
   my-project.global._Default._AllLogs
 WHERE
   http_request IS NOT NULL

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AlertPolicy.Condition.SqlCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides

setRowCountTest(AlertPolicy.Condition.SqlCondition.RowCountTest value)

public AlertPolicy.Condition.SqlCondition.Builder setRowCountTest(AlertPolicy.Condition.SqlCondition.RowCountTest value)

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Parameter
Name Description
value AlertPolicy.Condition.SqlCondition.RowCountTest
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setRowCountTest(AlertPolicy.Condition.SqlCondition.RowCountTest.Builder builderForValue)

public AlertPolicy.Condition.SqlCondition.Builder setRowCountTest(AlertPolicy.Condition.SqlCondition.RowCountTest.Builder builderForValue)

Test the row count against a threshold.

.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest row_count_test = 5;

Parameter
Name Description
builderForValue AlertPolicy.Condition.SqlCondition.RowCountTest.Builder
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AlertPolicy.Condition.SqlCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Builder
Overrides