Package com.google.cloud.dataplex.v1
Class DataQualityRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder>
com.google.cloud.dataplex.v1.DataQualityRule.Builder
- All Implemented Interfaces:
DataQualityRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataQualityRule
public static final class DataQualityRule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder>
implements DataQualityRuleOrBuilder
A rule captures data quality intent about a data source.Protobuf type
google.cloud.dataplex.v1.DataQualityRule-
Method Summary
Modifier and TypeMethodDescriptionaddAllDebugQueries(Iterable<? extends DataQualityRule.DebugQuery> values) Optional.addDebugQueries(int index, DataQualityRule.DebugQuery value) Optional.addDebugQueries(int index, DataQualityRule.DebugQuery.Builder builderForValue) Optional.Optional.addDebugQueries(DataQualityRule.DebugQuery.Builder builderForValue) Optional.Optional.addDebugQueriesBuilder(int index) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Row-level rule which evaluates whether each column value is null.Row-level rule which evaluates whether each column value lies between a specified range.Row-level rule which evaluates whether each column value matches a specified regex.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each column value is contained by a specified set.Aggregate rule which evaluates the number of rows returned for the provided statement.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.Optional.Aggregate rule which evaluates whether the provided expression is true for a table.Optional.Row-level rule which evaluates whether each column value is unique.Optional.com.google.protobuf.ByteStringOptional.getDebugQueries(int index) Optional.getDebugQueriesBuilder(int index) Optional.Optional.intOptional.Optional.getDebugQueriesOrBuilder(int index) Optional.List<? extends DataQualityRule.DebugQueryOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.booleanOptional.getName()Optional.com.google.protobuf.ByteStringOptional.Row-level rule which evaluates whether each column value is null.Row-level rule which evaluates whether each column value is null.Row-level rule which evaluates whether each column value is null.Row-level rule which evaluates whether each column value lies between a specified range.Row-level rule which evaluates whether each column value lies between a specified range.Row-level rule which evaluates whether each column value lies between a specified range.Row-level rule which evaluates whether each column value matches a specified regex.Row-level rule which evaluates whether each column value matches a specified regex.Row-level rule which evaluates whether each column value matches a specified regex.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each column value is contained by a specified set.Row-level rule which evaluates whether each column value is contained by a specified set.Row-level rule which evaluates whether each column value is contained by a specified set.Aggregate rule which evaluates the number of rows returned for the provided statement.Aggregate rule which evaluates the number of rows returned for the provided statement.Aggregate rule which evaluates the number of rows returned for the provided statement.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.booleanOptional.Aggregate rule which evaluates whether the provided expression is true for a table.Aggregate rule which evaluates whether the provided expression is true for a table.Aggregate rule which evaluates whether the provided expression is true for a table.doubleOptional.Row-level rule which evaluates whether each column value is unique.Row-level rule which evaluates whether each column value is unique.Row-level rule which evaluates whether each column value is unique.booleanRow-level rule which evaluates whether each column value is null.booleanRow-level rule which evaluates whether each column value lies between a specified range.booleanRow-level rule which evaluates whether each column value matches a specified regex.booleanRow-level rule which evaluates whether each row in a table passes the specified condition.booleanRow-level rule which evaluates whether each column value is contained by a specified set.booleanAggregate rule which evaluates the number of rows returned for the provided statement.booleanAggregate rule which evaluates whether the column aggregate statistic lies between a specified range.booleanAggregate rule which evaluates whether the provided expression is true for a table.booleanRow-level rule which evaluates whether each column value is unique.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DataQualityRule other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Row-level rule which evaluates whether each column value is null.Row-level rule which evaluates whether each column value lies between a specified range.Row-level rule which evaluates whether each column value matches a specified regex.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each column value is contained by a specified set.Aggregate rule which evaluates the number of rows returned for the provided statement.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.Aggregate rule which evaluates whether the provided expression is true for a table.Row-level rule which evaluates whether each column value is unique.removeDebugQueries(int index) Optional.Optional.setColumnBytes(com.google.protobuf.ByteString value) Optional.setDebugQueries(int index, DataQualityRule.DebugQuery value) Optional.setDebugQueries(int index, DataQualityRule.DebugQuery.Builder builderForValue) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDimension(String value) Optional.setDimensionBytes(com.google.protobuf.ByteString value) Optional.setIgnoreNull(boolean value) Optional.Optional.setNameBytes(com.google.protobuf.ByteString value) Optional.Row-level rule which evaluates whether each column value is null.setNonNullExpectation(DataQualityRule.NonNullExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value is null.Row-level rule which evaluates whether each column value lies between a specified range.setRangeExpectation(DataQualityRule.RangeExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value lies between a specified range.Row-level rule which evaluates whether each column value matches a specified regex.setRegexExpectation(DataQualityRule.RegexExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value matches a specified regex.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each row in a table passes the specified condition.Row-level rule which evaluates whether each column value is contained by a specified set.setSetExpectation(DataQualityRule.SetExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value is contained by a specified set.Aggregate rule which evaluates the number of rows returned for the provided statement.setSqlAssertion(DataQualityRule.SqlAssertion.Builder builderForValue) Aggregate rule which evaluates the number of rows returned for the provided statement.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.setSuspended(boolean value) Optional.Aggregate rule which evaluates whether the provided expression is true for a table.Aggregate rule which evaluates whether the provided expression is true for a table.setThreshold(double value) Optional.Row-level rule which evaluates whether each column value is unique.setUniquenessExpectation(DataQualityRule.UniquenessExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value is unique.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualityRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder>
-
mergeFrom
public DataQualityRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualityRule.Builder>- Throws:
IOException
-
getRuleTypeCase
- Specified by:
getRuleTypeCasein interfaceDataQualityRuleOrBuilder
-
clearRuleType
-
hasRangeExpectation
public boolean hasRangeExpectation()Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;- Specified by:
hasRangeExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the rangeExpectation field is set.
-
getRangeExpectation
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;- Specified by:
getRangeExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The rangeExpectation.
-
setRangeExpectation
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; -
setRangeExpectation
public DataQualityRule.Builder setRangeExpectation(DataQualityRule.RangeExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; -
mergeRangeExpectation
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; -
clearRangeExpectation
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; -
getRangeExpectationBuilder
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1; -
getRangeExpectationOrBuilder
Row-level rule which evaluates whether each column value lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;- Specified by:
getRangeExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasNonNullExpectation
public boolean hasNonNullExpectation()Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;- Specified by:
hasNonNullExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the nonNullExpectation field is set.
-
getNonNullExpectation
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;- Specified by:
getNonNullExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The nonNullExpectation.
-
setNonNullExpectation
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; -
setNonNullExpectation
public DataQualityRule.Builder setNonNullExpectation(DataQualityRule.NonNullExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; -
mergeNonNullExpectation
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; -
clearNonNullExpectation
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; -
getNonNullExpectationBuilder
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2; -
getNonNullExpectationOrBuilder
Row-level rule which evaluates whether each column value is null.
.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;- Specified by:
getNonNullExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasSetExpectation
public boolean hasSetExpectation()Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;- Specified by:
hasSetExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the setExpectation field is set.
-
getSetExpectation
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;- Specified by:
getSetExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The setExpectation.
-
setSetExpectation
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; -
setSetExpectation
public DataQualityRule.Builder setSetExpectation(DataQualityRule.SetExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; -
mergeSetExpectation
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; -
clearSetExpectation
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; -
getSetExpectationBuilder
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3; -
getSetExpectationOrBuilder
Row-level rule which evaluates whether each column value is contained by a specified set.
.google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;- Specified by:
getSetExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasRegexExpectation
public boolean hasRegexExpectation()Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;- Specified by:
hasRegexExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the regexExpectation field is set.
-
getRegexExpectation
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;- Specified by:
getRegexExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The regexExpectation.
-
setRegexExpectation
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; -
setRegexExpectation
public DataQualityRule.Builder setRegexExpectation(DataQualityRule.RegexExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; -
mergeRegexExpectation
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; -
clearRegexExpectation
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; -
getRegexExpectationBuilder
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4; -
getRegexExpectationOrBuilder
Row-level rule which evaluates whether each column value matches a specified regex.
.google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;- Specified by:
getRegexExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasUniquenessExpectation
public boolean hasUniquenessExpectation()Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;- Specified by:
hasUniquenessExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the uniquenessExpectation field is set.
-
getUniquenessExpectation
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;- Specified by:
getUniquenessExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The uniquenessExpectation.
-
setUniquenessExpectation
public DataQualityRule.Builder setUniquenessExpectation(DataQualityRule.UniquenessExpectation value) Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; -
setUniquenessExpectation
public DataQualityRule.Builder setUniquenessExpectation(DataQualityRule.UniquenessExpectation.Builder builderForValue) Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; -
mergeUniquenessExpectation
public DataQualityRule.Builder mergeUniquenessExpectation(DataQualityRule.UniquenessExpectation value) Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; -
clearUniquenessExpectation
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; -
getUniquenessExpectationBuilder
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100; -
getUniquenessExpectationOrBuilder
Row-level rule which evaluates whether each column value is unique.
.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;- Specified by:
getUniquenessExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasStatisticRangeExpectation
public boolean hasStatisticRangeExpectation()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;- Specified by:
hasStatisticRangeExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the statisticRangeExpectation field is set.
-
getStatisticRangeExpectation
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;- Specified by:
getStatisticRangeExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The statisticRangeExpectation.
-
setStatisticRangeExpectation
public DataQualityRule.Builder setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value) Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; -
setStatisticRangeExpectation
public DataQualityRule.Builder setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation.Builder builderForValue) Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; -
mergeStatisticRangeExpectation
public DataQualityRule.Builder mergeStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value) Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; -
clearStatisticRangeExpectation
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; -
getStatisticRangeExpectationBuilder
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101; -
getStatisticRangeExpectationOrBuilder
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;- Specified by:
getStatisticRangeExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasRowConditionExpectation
public boolean hasRowConditionExpectation()Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;- Specified by:
hasRowConditionExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the rowConditionExpectation field is set.
-
getRowConditionExpectation
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;- Specified by:
getRowConditionExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The rowConditionExpectation.
-
setRowConditionExpectation
public DataQualityRule.Builder setRowConditionExpectation(DataQualityRule.RowConditionExpectation value) Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; -
setRowConditionExpectation
public DataQualityRule.Builder setRowConditionExpectation(DataQualityRule.RowConditionExpectation.Builder builderForValue) Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; -
mergeRowConditionExpectation
public DataQualityRule.Builder mergeRowConditionExpectation(DataQualityRule.RowConditionExpectation value) Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; -
clearRowConditionExpectation
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; -
getRowConditionExpectationBuilder
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200; -
getRowConditionExpectationOrBuilder
Row-level rule which evaluates whether each row in a table passes the specified condition.
.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;- Specified by:
getRowConditionExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasTableConditionExpectation
public boolean hasTableConditionExpectation()Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;- Specified by:
hasTableConditionExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the tableConditionExpectation field is set.
-
getTableConditionExpectation
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;- Specified by:
getTableConditionExpectationin interfaceDataQualityRuleOrBuilder- Returns:
- The tableConditionExpectation.
-
setTableConditionExpectation
public DataQualityRule.Builder setTableConditionExpectation(DataQualityRule.TableConditionExpectation value) Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; -
setTableConditionExpectation
public DataQualityRule.Builder setTableConditionExpectation(DataQualityRule.TableConditionExpectation.Builder builderForValue) Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; -
mergeTableConditionExpectation
public DataQualityRule.Builder mergeTableConditionExpectation(DataQualityRule.TableConditionExpectation value) Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; -
clearTableConditionExpectation
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; -
getTableConditionExpectationBuilder
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201; -
getTableConditionExpectationOrBuilder
Aggregate rule which evaluates whether the provided expression is true for a table.
.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;- Specified by:
getTableConditionExpectationOrBuilderin interfaceDataQualityRuleOrBuilder
-
hasSqlAssertion
public boolean hasSqlAssertion()Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;- Specified by:
hasSqlAssertionin interfaceDataQualityRuleOrBuilder- Returns:
- Whether the sqlAssertion field is set.
-
getSqlAssertion
Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;- Specified by:
getSqlAssertionin interfaceDataQualityRuleOrBuilder- Returns:
- The sqlAssertion.
-
setSqlAssertion
Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202; -
setSqlAssertion
public DataQualityRule.Builder setSqlAssertion(DataQualityRule.SqlAssertion.Builder builderForValue) Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202; -
mergeSqlAssertion
Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202; -
clearSqlAssertion
Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202; -
getSqlAssertionBuilder
Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202; -
getSqlAssertionOrBuilder
Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
.google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;- Specified by:
getSqlAssertionOrBuilderin interfaceDataQualityRuleOrBuilder
-
getColumn
Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getColumnin interfaceDataQualityRuleOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getColumnBytesin interfaceDataQualityRuleOrBuilder- Returns:
- The bytes for column.
-
setColumn
Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setColumnBytes
Optional. The unnested column which this rule is evaluated against.
string column = 500 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for column to set.- Returns:
- This builder for chaining.
-
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. This field is only valid for the following type of rules: * RangeExpectation * RegexExpectation * SetExpectation * UniquenessExpectation
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIgnoreNullin interfaceDataQualityRuleOrBuilder- Returns:
- The ignoreNull.
-
setIgnoreNull
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. This field is only valid for the following type of rules: * RangeExpectation * RegexExpectation * SetExpectation * UniquenessExpectation
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The ignoreNull to set.- Returns:
- This builder for chaining.
-
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. This field is only valid for the following type of rules: * RangeExpectation * RegexExpectation * SetExpectation * UniquenessExpectation
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDimension
Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionin interfaceDataQualityRuleOrBuilder- Returns:
- The dimension.
-
getDimensionBytes
public com.google.protobuf.ByteString getDimensionBytes()Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionBytesin interfaceDataQualityRuleOrBuilder- Returns:
- The bytes for dimension.
-
setDimension
Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The dimension to set.- Returns:
- This builder for chaining.
-
clearDimension
Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDimensionBytes
Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for dimension to set.- Returns:
- This builder for chaining.
-
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). This field is only valid for row-level type rules.
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getThresholdin interfaceDataQualityRuleOrBuilder- Returns:
- The threshold.
-
setThreshold
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). This field is only valid for row-level type rules.
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The threshold to set.- Returns:
- This builder for chaining.
-
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). This field is only valid for row-level type rules.
double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getName
Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceDataQualityRuleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceDataQualityRuleOrBuilder- Returns:
- The bytes for name.
-
setName
Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNameBytes
Optional. A mutable name for the rule. * The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). * The maximum length is 63 characters. * Must start with a letter. * Must end with a number or a letter.
string name = 504 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDataQualityRuleOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceDataQualityRuleOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. Description of the rule. * The maximum length is 1,024 characters.
string description = 505 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getSuspended
public boolean getSuspended()Optional. Whether the Rule is active or suspended. Default is false.
bool suspended = 506 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSuspendedin interfaceDataQualityRuleOrBuilder- Returns:
- The suspended.
-
setSuspended
Optional. Whether the Rule is active or suspended. Default is false.
bool suspended = 506 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The suspended to set.- Returns:
- This builder for chaining.
-
clearSuspended
Optional. Whether the Rule is active or suspended. Default is false.
bool suspended = 506 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDebugQueriesList
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDebugQueriesListin interfaceDataQualityRuleOrBuilder
-
getDebugQueriesCount
public int getDebugQueriesCount()Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDebugQueriesCountin interfaceDataQualityRuleOrBuilder
-
getDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDebugQueriesin interfaceDataQualityRuleOrBuilder
-
setDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
setDebugQueries
public DataQualityRule.Builder setDebugQueries(int index, DataQualityRule.DebugQuery.Builder builderForValue) Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
addDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
addDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
addDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
addDebugQueries
public DataQualityRule.Builder addDebugQueries(int index, DataQualityRule.DebugQuery.Builder builderForValue) Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
addAllDebugQueries
public DataQualityRule.Builder addAllDebugQueries(Iterable<? extends DataQualityRule.DebugQuery> values) Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
clearDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
removeDebugQueries
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
getDebugQueriesBuilder
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
getDebugQueriesOrBuilder
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDebugQueriesOrBuilderin interfaceDataQualityRuleOrBuilder
-
getDebugQueriesOrBuilderList
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDebugQueriesOrBuilderListin interfaceDataQualityRuleOrBuilder
-
addDebugQueriesBuilder
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
addDebugQueriesBuilder
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL]; -
getDebugQueriesBuilderList
Optional. Specifies the debug queries for this rule. Currently, only one query is supported, but this may be expanded in the future.
repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
-