Class DataQualityRule.TableConditionExpectation.Builder (1.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlExpression()

public DataQualityRule.TableConditionExpectation.Builder clearSqlExpression()

Optional. The SQL expression.

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

Returns
TypeDescription
DataQualityRule.TableConditionExpectation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The sqlExpression to set.

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

The bytes for sqlExpression to set.

Returns
TypeDescription
DataQualityRule.TableConditionExpectation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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