Class DataQualityRule.RowConditionExpectation.Builder (1.44.0)

public static final class DataQualityRule.RowConditionExpectation.Builder extends GeneratedMessageV3.Builder<DataQualityRule.RowConditionExpectation.Builder> implements DataQualityRule.RowConditionExpectationOrBuilder

Evaluates whether each row passes the specified condition.

The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean value per row as the result.

Example: col1 >= 0 AND col2 < 10

Protobuf type google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataQualityRule.RowConditionExpectation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

build()

public DataQualityRule.RowConditionExpectation build()
Returns
Type Description
DataQualityRule.RowConditionExpectation

buildPartial()

public DataQualityRule.RowConditionExpectation buildPartial()
Returns
Type Description
DataQualityRule.RowConditionExpectation

clear()

public DataQualityRule.RowConditionExpectation.Builder clear()
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataQualityRule.RowConditionExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualityRule.RowConditionExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

clearSqlExpression()

public DataQualityRule.RowConditionExpectation.Builder clearSqlExpression()

Optional. The SQL expression.

string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder

This builder for chaining.

clone()

public DataQualityRule.RowConditionExpectation.Builder clone()
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

getDefaultInstanceForType()

public DataQualityRule.RowConditionExpectation getDefaultInstanceForType()
Returns
Type Description
DataQualityRule.RowConditionExpectation

getDescriptorForType()

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

getSqlExpression()

public String getSqlExpression()

Optional. The SQL expression.

string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sqlExpression.

getSqlExpressionBytes()

public ByteString getSqlExpressionBytes()

Optional. The SQL expression.

string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sqlExpression.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataQualityRule.RowConditionExpectation other)

public DataQualityRule.RowConditionExpectation.Builder mergeFrom(DataQualityRule.RowConditionExpectation other)
Parameter
Name Description
other DataQualityRule.RowConditionExpectation
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataQualityRule.RowConditionExpectation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataQualityRule.RowConditionExpectation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RowConditionExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualityRule.RowConditionExpectation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides

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

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

setSqlExpression(String value)

public DataQualityRule.RowConditionExpectation.Builder setSqlExpression(String value)

Optional. The SQL expression.

string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The sqlExpression to set.

Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder

This builder for chaining.

setSqlExpressionBytes(ByteString value)

public DataQualityRule.RowConditionExpectation.Builder setSqlExpressionBytes(ByteString value)

Optional. The SQL expression.

string sql_expression = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for sqlExpression to set.

Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RowConditionExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualityRule.RowConditionExpectation.Builder
Overrides