Class DataQualityRule.RowConditionExpectation.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataQualityRule.RowConditionExpectation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

build()

public DataQualityRule.RowConditionExpectation build()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation

buildPartial()

public DataQualityRule.RowConditionExpectation buildPartial()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation

clear()

public DataQualityRule.RowConditionExpectation.Builder clear()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataQualityRule.RowConditionExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualityRule.RowConditionExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

clearSqlExpression()

public DataQualityRule.RowConditionExpectation.Builder clearSqlExpression()

Optional. The SQL expression.

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

Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

This builder for chaining.

clone()

public DataQualityRule.RowConditionExpectation.Builder clone()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

getDefaultInstanceForType()

public DataQualityRule.RowConditionExpectation getDefaultInstanceForType()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSqlExpression()

public String getSqlExpression()

Optional. The SQL expression.

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

Returns
TypeDescription
String

The sqlExpression.

getSqlExpressionBytes()

public ByteString getSqlExpressionBytes()

Optional. The SQL expression.

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

Returns
TypeDescription
ByteString

The bytes for sqlExpression.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualityRule.RowConditionExpectation other)

public DataQualityRule.RowConditionExpectation.Builder mergeFrom(DataQualityRule.RowConditionExpectation other)
Parameter
NameDescription
otherDataQualityRule.RowConditionExpectation
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataQualityRule.RowConditionExpectation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataQualityRule.RowConditionExpectation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RowConditionExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualityRule.RowConditionExpectation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sqlExpression to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sqlExpression to set.

Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RowConditionExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides