Class AlertPolicy.Condition.SqlCondition.BooleanTest.Builder (3.57.0)

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

A test that uses an alerting result in a boolean column produced by the SQL query.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AlertPolicy.Condition.SqlCondition.BooleanTest.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearColumn()

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

Required. The name of the column containing the boolean value. If the value in a row is NULL, that row is ignored.

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getColumn()

public String getColumn()

Required. The name of the column containing the boolean value. If the value in a row is NULL, that row is ignored.

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

Returns
Type Description
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Required. The name of the column containing the boolean value. If the value in a row is NULL, that row is ignored.

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

Returns
Type Description
ByteString

The bytes for column.

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AlertPolicy.Condition.SqlCondition.BooleanTest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumn(String value)

public AlertPolicy.Condition.SqlCondition.BooleanTest.Builder setColumn(String value)

Required. The name of the column containing the boolean value. If the value in a row is NULL, that row is ignored.

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

Parameter
Name Description
value String

The column to set.

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

This builder for chaining.

setColumnBytes(ByteString value)

public AlertPolicy.Condition.SqlCondition.BooleanTest.Builder setColumnBytes(ByteString value)

Required. The name of the column containing the boolean value. If the value in a row is NULL, that row is ignored.

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

Parameter
Name Description
value ByteString

The bytes for column to set.

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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