Class DataQualityRule.TableConditionExpectation.Builder (1.53.0)

public static final class DataQualityRule.TableConditionExpectation.Builder extends GeneratedMessageV3.Builder<DataQualityRule.TableConditionExpectation.Builder> implements DataQualityRule.TableConditionExpectationOrBuilder

Evaluates whether the provided expression is true.

The SQL expression needs to use BigQuery standard SQL syntax and should produce a scalar boolean result.

Example: MIN(col1) >= 0

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlExpression()

public DataQualityRule.TableConditionExpectation.Builder clearSqlExpression()

Optional. The SQL expression.

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

Returns
Type Description
DataQualityRule.TableConditionExpectation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

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.TableConditionExpectation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSqlExpression(String value)

public DataQualityRule.TableConditionExpectation.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.TableConditionExpectation.Builder

This builder for chaining.

setSqlExpressionBytes(ByteString value)

public DataQualityRule.TableConditionExpectation.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.TableConditionExpectation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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