- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class DataQualityRule.Builder extends GeneratedMessageV3.Builder<DataQualityRule.Builder> implements DataQualityRuleOrBuilderA rule captures data quality intent about a data source.
Protobuf type google.cloud.dataplex.v1.DataQualityRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataQualityRule.BuilderImplements
DataQualityRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DataQualityRule.Builder |
build()
public DataQualityRule build()| Type | Description |
| DataQualityRule |
buildPartial()
public DataQualityRule buildPartial()| Type | Description |
| DataQualityRule |
clear()
public DataQualityRule.Builder clear()| Type | Description |
| DataQualityRule.Builder |
clearColumn()
public DataQualityRule.Builder clearColumn()Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
clearDimension()
public DataQualityRule.Builder clearDimension()Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataQualityRule.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| DataQualityRule.Builder |
clearIgnoreNull()
public DataQualityRule.Builder clearIgnoreNull()Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
clearNonNullExpectation()
public DataQualityRule.Builder clearNonNullExpectation()ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Type | Description |
| DataQualityRule.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataQualityRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| DataQualityRule.Builder |
clearRangeExpectation()
public DataQualityRule.Builder clearRangeExpectation()ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Type | Description |
| DataQualityRule.Builder |
clearRegexExpectation()
public DataQualityRule.Builder clearRegexExpectation()ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Type | Description |
| DataQualityRule.Builder |
clearRowConditionExpectation()
public DataQualityRule.Builder clearRowConditionExpectation()Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Type | Description |
| DataQualityRule.Builder |
clearRuleType()
public DataQualityRule.Builder clearRuleType()| Type | Description |
| DataQualityRule.Builder |
clearSetExpectation()
public DataQualityRule.Builder clearSetExpectation()ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Type | Description |
| DataQualityRule.Builder |
clearStatisticRangeExpectation()
public DataQualityRule.Builder clearStatisticRangeExpectation()ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Type | Description |
| DataQualityRule.Builder |
clearTableConditionExpectation()
public DataQualityRule.Builder clearTableConditionExpectation()Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Type | Description |
| DataQualityRule.Builder |
clearThreshold()
public DataQualityRule.Builder clearThreshold()Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0] 0 indicates default value (i.e. 1.0)
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
clearUniquenessExpectation()
public DataQualityRule.Builder clearUniquenessExpectation()ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Type | Description |
| DataQualityRule.Builder |
clone()
public DataQualityRule.Builder clone()| Type | Description |
| DataQualityRule.Builder |
getColumn()
public String getColumn()Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| String | The column. |
getColumnBytes()
public ByteString getColumnBytes()Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for column. |
getDefaultInstanceForType()
public DataQualityRule getDefaultInstanceForType()| Type | Description |
| DataQualityRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDimension()
public String getDimension()Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The dimension. |
getDimensionBytes()
public ByteString getDimensionBytes()Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for dimension. |
getIgnoreNull()
public boolean getIgnoreNull()Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| boolean | The ignoreNull. |
getNonNullExpectation()
public DataQualityRule.NonNullExpectation getNonNullExpectation()ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Type | Description |
| DataQualityRule.NonNullExpectation | The nonNullExpectation. |
getNonNullExpectationBuilder()
public DataQualityRule.NonNullExpectation.Builder getNonNullExpectationBuilder()ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Type | Description |
| DataQualityRule.NonNullExpectation.Builder |
getNonNullExpectationOrBuilder()
public DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder()ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Type | Description |
| DataQualityRule.NonNullExpectationOrBuilder |
getRangeExpectation()
public DataQualityRule.RangeExpectation getRangeExpectation()ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Type | Description |
| DataQualityRule.RangeExpectation | The rangeExpectation. |
getRangeExpectationBuilder()
public DataQualityRule.RangeExpectation.Builder getRangeExpectationBuilder()ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Type | Description |
| DataQualityRule.RangeExpectation.Builder |
getRangeExpectationOrBuilder()
public DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder()ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Type | Description |
| DataQualityRule.RangeExpectationOrBuilder |
getRegexExpectation()
public DataQualityRule.RegexExpectation getRegexExpectation()ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Type | Description |
| DataQualityRule.RegexExpectation | The regexExpectation. |
getRegexExpectationBuilder()
public DataQualityRule.RegexExpectation.Builder getRegexExpectationBuilder()ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Type | Description |
| DataQualityRule.RegexExpectation.Builder |
getRegexExpectationOrBuilder()
public DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder()ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Type | Description |
| DataQualityRule.RegexExpectationOrBuilder |
getRowConditionExpectation()
public DataQualityRule.RowConditionExpectation getRowConditionExpectation()Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Type | Description |
| DataQualityRule.RowConditionExpectation | The rowConditionExpectation. |
getRowConditionExpectationBuilder()
public DataQualityRule.RowConditionExpectation.Builder getRowConditionExpectationBuilder()Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Type | Description |
| DataQualityRule.RowConditionExpectation.Builder |
getRowConditionExpectationOrBuilder()
public DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder()Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Type | Description |
| DataQualityRule.RowConditionExpectationOrBuilder |
getRuleTypeCase()
public DataQualityRule.RuleTypeCase getRuleTypeCase()| Type | Description |
| DataQualityRule.RuleTypeCase |
getSetExpectation()
public DataQualityRule.SetExpectation getSetExpectation()ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Type | Description |
| DataQualityRule.SetExpectation | The setExpectation. |
getSetExpectationBuilder()
public DataQualityRule.SetExpectation.Builder getSetExpectationBuilder()ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Type | Description |
| DataQualityRule.SetExpectation.Builder |
getSetExpectationOrBuilder()
public DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder()ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Type | Description |
| DataQualityRule.SetExpectationOrBuilder |
getStatisticRangeExpectation()
public DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation()ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Type | Description |
| DataQualityRule.StatisticRangeExpectation | The statisticRangeExpectation. |
getStatisticRangeExpectationBuilder()
public DataQualityRule.StatisticRangeExpectation.Builder getStatisticRangeExpectationBuilder()ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Type | Description |
| DataQualityRule.StatisticRangeExpectation.Builder |
getStatisticRangeExpectationOrBuilder()
public DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder()ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Type | Description |
| DataQualityRule.StatisticRangeExpectationOrBuilder |
getTableConditionExpectation()
public DataQualityRule.TableConditionExpectation getTableConditionExpectation()Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Type | Description |
| DataQualityRule.TableConditionExpectation | The tableConditionExpectation. |
getTableConditionExpectationBuilder()
public DataQualityRule.TableConditionExpectation.Builder getTableConditionExpectationBuilder()Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Type | Description |
| DataQualityRule.TableConditionExpectation.Builder |
getTableConditionExpectationOrBuilder()
public DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder()Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Type | Description |
| DataQualityRule.TableConditionExpectationOrBuilder |
getThreshold()
public double getThreshold()Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0] 0 indicates default value (i.e. 1.0)
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| double | The threshold. |
getUniquenessExpectation()
public DataQualityRule.UniquenessExpectation getUniquenessExpectation()ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Type | Description |
| DataQualityRule.UniquenessExpectation | The uniquenessExpectation. |
getUniquenessExpectationBuilder()
public DataQualityRule.UniquenessExpectation.Builder getUniquenessExpectationBuilder()ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Type | Description |
| DataQualityRule.UniquenessExpectation.Builder |
getUniquenessExpectationOrBuilder()
public DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder()ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Type | Description |
| DataQualityRule.UniquenessExpectationOrBuilder |
hasNonNullExpectation()
public boolean hasNonNullExpectation()ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Type | Description |
| boolean | Whether the nonNullExpectation field is set. |
hasRangeExpectation()
public boolean hasRangeExpectation()ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Type | Description |
| boolean | Whether the rangeExpectation field is set. |
hasRegexExpectation()
public boolean hasRegexExpectation()ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Type | Description |
| boolean | Whether the regexExpectation field is set. |
hasRowConditionExpectation()
public boolean hasRowConditionExpectation()Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Type | Description |
| boolean | Whether the rowConditionExpectation field is set. |
hasSetExpectation()
public boolean hasSetExpectation()ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Type | Description |
| boolean | Whether the setExpectation field is set. |
hasStatisticRangeExpectation()
public boolean hasStatisticRangeExpectation()ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Type | Description |
| boolean | Whether the statisticRangeExpectation field is set. |
hasTableConditionExpectation()
public boolean hasTableConditionExpectation()Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Type | Description |
| boolean | Whether the tableConditionExpectation field is set. |
hasUniquenessExpectation()
public boolean hasUniquenessExpectation()ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Type | Description |
| boolean | Whether the uniquenessExpectation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(DataQualityRule other)
public DataQualityRule.Builder mergeFrom(DataQualityRule other)| Name | Description |
| other | DataQualityRule |
| Type | Description |
| DataQualityRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataQualityRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| DataQualityRule.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public DataQualityRule.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| DataQualityRule.Builder |
mergeNonNullExpectation(DataQualityRule.NonNullExpectation value)
public DataQualityRule.Builder mergeNonNullExpectation(DataQualityRule.NonNullExpectation value)ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Name | Description |
| value | DataQualityRule.NonNullExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeRangeExpectation(DataQualityRule.RangeExpectation value)
public DataQualityRule.Builder mergeRangeExpectation(DataQualityRule.RangeExpectation value)ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Name | Description |
| value | DataQualityRule.RangeExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeRegexExpectation(DataQualityRule.RegexExpectation value)
public DataQualityRule.Builder mergeRegexExpectation(DataQualityRule.RegexExpectation value)ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Name | Description |
| value | DataQualityRule.RegexExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeRowConditionExpectation(DataQualityRule.RowConditionExpectation value)
public DataQualityRule.Builder mergeRowConditionExpectation(DataQualityRule.RowConditionExpectation value)Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Name | Description |
| value | DataQualityRule.RowConditionExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeSetExpectation(DataQualityRule.SetExpectation value)
public DataQualityRule.Builder mergeSetExpectation(DataQualityRule.SetExpectation value)ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Name | Description |
| value | DataQualityRule.SetExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value)
public DataQualityRule.Builder mergeStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value)ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Name | Description |
| value | DataQualityRule.StatisticRangeExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeTableConditionExpectation(DataQualityRule.TableConditionExpectation value)
public DataQualityRule.Builder mergeTableConditionExpectation(DataQualityRule.TableConditionExpectation value)Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Name | Description |
| value | DataQualityRule.TableConditionExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeUniquenessExpectation(DataQualityRule.UniquenessExpectation value)
public DataQualityRule.Builder mergeUniquenessExpectation(DataQualityRule.UniquenessExpectation value)ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Name | Description |
| value | DataQualityRule.UniquenessExpectation |
| Type | Description |
| DataQualityRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DataQualityRule.Builder |
setColumn(String value)
public DataQualityRule.Builder setColumn(String value)Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | StringThe column to set. |
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
setColumnBytes(ByteString value)
public DataQualityRule.Builder setColumnBytes(ByteString value)Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | ByteStringThe bytes for column to set. |
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
setDimension(String value)
public DataQualityRule.Builder setDimension(String value)Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe dimension to set. |
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
setDimensionBytes(ByteString value)
public DataQualityRule.Builder setDimensionBytes(ByteString value)Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
string dimension = 502 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for dimension to set. |
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DataQualityRule.Builder |
setIgnoreNull(boolean value)
public DataQualityRule.Builder setIgnoreNull(boolean value)Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | booleanThe ignoreNull to set. |
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
setNonNullExpectation(DataQualityRule.NonNullExpectation value)
public DataQualityRule.Builder setNonNullExpectation(DataQualityRule.NonNullExpectation value)ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Name | Description |
| value | DataQualityRule.NonNullExpectation |
| Type | Description |
| DataQualityRule.Builder |
setNonNullExpectation(DataQualityRule.NonNullExpectation.Builder builderForValue)
public DataQualityRule.Builder setNonNullExpectation(DataQualityRule.NonNullExpectation.Builder builderForValue)ColumnMap rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
| Name | Description |
| builderForValue | DataQualityRule.NonNullExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setRangeExpectation(DataQualityRule.RangeExpectation value)
public DataQualityRule.Builder setRangeExpectation(DataQualityRule.RangeExpectation value)ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Name | Description |
| value | DataQualityRule.RangeExpectation |
| Type | Description |
| DataQualityRule.Builder |
setRangeExpectation(DataQualityRule.RangeExpectation.Builder builderForValue)
public DataQualityRule.Builder setRangeExpectation(DataQualityRule.RangeExpectation.Builder builderForValue)ColumnMap rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
| Name | Description |
| builderForValue | DataQualityRule.RangeExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setRegexExpectation(DataQualityRule.RegexExpectation value)
public DataQualityRule.Builder setRegexExpectation(DataQualityRule.RegexExpectation value)ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Name | Description |
| value | DataQualityRule.RegexExpectation |
| Type | Description |
| DataQualityRule.Builder |
setRegexExpectation(DataQualityRule.RegexExpectation.Builder builderForValue)
public DataQualityRule.Builder setRegexExpectation(DataQualityRule.RegexExpectation.Builder builderForValue)ColumnMap rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
| Name | Description |
| builderForValue | DataQualityRule.RegexExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataQualityRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| DataQualityRule.Builder |
setRowConditionExpectation(DataQualityRule.RowConditionExpectation value)
public DataQualityRule.Builder setRowConditionExpectation(DataQualityRule.RowConditionExpectation value)Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Name | Description |
| value | DataQualityRule.RowConditionExpectation |
| Type | Description |
| DataQualityRule.Builder |
setRowConditionExpectation(DataQualityRule.RowConditionExpectation.Builder builderForValue)
public DataQualityRule.Builder setRowConditionExpectation(DataQualityRule.RowConditionExpectation.Builder builderForValue)Table rule which evaluates whether each row passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
| Name | Description |
| builderForValue | DataQualityRule.RowConditionExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setSetExpectation(DataQualityRule.SetExpectation value)
public DataQualityRule.Builder setSetExpectation(DataQualityRule.SetExpectation value)ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Name | Description |
| value | DataQualityRule.SetExpectation |
| Type | Description |
| DataQualityRule.Builder |
setSetExpectation(DataQualityRule.SetExpectation.Builder builderForValue)
public DataQualityRule.Builder setSetExpectation(DataQualityRule.SetExpectation.Builder builderForValue)ColumnMap rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
| Name | Description |
| builderForValue | DataQualityRule.SetExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value)
public DataQualityRule.Builder setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value)ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Name | Description |
| value | DataQualityRule.StatisticRangeExpectation |
| Type | Description |
| DataQualityRule.Builder |
setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation.Builder builderForValue)
public DataQualityRule.Builder setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation.Builder builderForValue)ColumnAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
| Name | Description |
| builderForValue | DataQualityRule.StatisticRangeExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setTableConditionExpectation(DataQualityRule.TableConditionExpectation value)
public DataQualityRule.Builder setTableConditionExpectation(DataQualityRule.TableConditionExpectation value)Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Name | Description |
| value | DataQualityRule.TableConditionExpectation |
| Type | Description |
| DataQualityRule.Builder |
setTableConditionExpectation(DataQualityRule.TableConditionExpectation.Builder builderForValue)
public DataQualityRule.Builder setTableConditionExpectation(DataQualityRule.TableConditionExpectation.Builder builderForValue)Table rule which evaluates whether the provided expression is true.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
| Name | Description |
| builderForValue | DataQualityRule.TableConditionExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setThreshold(double value)
public DataQualityRule.Builder setThreshold(double value)Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0] 0 indicates default value (i.e. 1.0)
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | doubleThe threshold to set. |
| Type | Description |
| DataQualityRule.Builder | This builder for chaining. |
setUniquenessExpectation(DataQualityRule.UniquenessExpectation value)
public DataQualityRule.Builder setUniquenessExpectation(DataQualityRule.UniquenessExpectation value)ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Name | Description |
| value | DataQualityRule.UniquenessExpectation |
| Type | Description |
| DataQualityRule.Builder |
setUniquenessExpectation(DataQualityRule.UniquenessExpectation.Builder builderForValue)
public DataQualityRule.Builder setUniquenessExpectation(DataQualityRule.UniquenessExpectation.Builder builderForValue)ColumnAggregate rule which evaluates whether the column has duplicates.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
| Name | Description |
| builderForValue | DataQualityRule.UniquenessExpectation.Builder |
| Type | Description |
| DataQualityRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DataQualityRule.Builder |