Package com.google.cloud.dataplex.v1
Class DataQualityRule
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.DataQualityRule
-
- All Implemented Interfaces:
DataQualityRuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DataQualityRule extends com.google.protobuf.GeneratedMessageV3 implements DataQualityRuleOrBuilder
A rule captures data quality intent about a data source.
Protobuf typegoogle.cloud.dataplex.v1.DataQualityRule- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataQualityRule.BuilderA rule captures data quality intent about a data source.static classDataQualityRule.NonNullExpectationEvaluates whether each column value is null.static interfaceDataQualityRule.NonNullExpectationOrBuilderstatic classDataQualityRule.RangeExpectationEvaluates whether each column value lies between a specified range.static interfaceDataQualityRule.RangeExpectationOrBuilderstatic classDataQualityRule.RegexExpectationEvaluates whether each column value matches a specified regex.static interfaceDataQualityRule.RegexExpectationOrBuilderstatic classDataQualityRule.RowConditionExpectationEvaluates whether each row passes the specified condition.static interfaceDataQualityRule.RowConditionExpectationOrBuilderstatic classDataQualityRule.RuleTypeCasestatic classDataQualityRule.SetExpectationEvaluates whether each column value is contained by a specified set.static interfaceDataQualityRule.SetExpectationOrBuilderstatic classDataQualityRule.StatisticRangeExpectationEvaluates whether the column aggregate statistic lies between a specified range.static interfaceDataQualityRule.StatisticRangeExpectationOrBuilderstatic classDataQualityRule.TableConditionExpectationEvaluates whether the provided expression is true.static interfaceDataQualityRule.TableConditionExpectationOrBuilderstatic classDataQualityRule.UniquenessExpectationEvaluates whether the column has duplicates.static interfaceDataQualityRule.UniquenessExpectationOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLUMN_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDIMENSION_FIELD_NUMBERstatic intIGNORE_NULL_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNON_NULL_EXPECTATION_FIELD_NUMBERstatic intRANGE_EXPECTATION_FIELD_NUMBERstatic intREGEX_EXPECTATION_FIELD_NUMBERstatic intROW_CONDITION_EXPECTATION_FIELD_NUMBERstatic intSET_EXPECTATION_FIELD_NUMBERstatic intSTATISTIC_RANGE_EXPECTATION_FIELD_NUMBERstatic intTABLE_CONDITION_EXPECTATION_FIELD_NUMBERstatic intTHRESHOLD_FIELD_NUMBERstatic intUNIQUENESS_EXPECTATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetColumn()Optional.com.google.protobuf.ByteStringgetColumnBytes()Optional.static DataQualityRulegetDefaultInstance()DataQualityRulegetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDimension()Required.com.google.protobuf.ByteStringgetDimensionBytes()Required.booleangetIgnoreNull()Optional.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.DataQualityRule.NonNullExpectationgetNonNullExpectation()Row-level rule which evaluates whether each column value is null.DataQualityRule.NonNullExpectationOrBuildergetNonNullExpectationOrBuilder()Row-level rule which evaluates whether each column value is null.com.google.protobuf.Parser<DataQualityRule>getParserForType()DataQualityRule.RangeExpectationgetRangeExpectation()Row-level rule which evaluates whether each column value lies between a specified range.DataQualityRule.RangeExpectationOrBuildergetRangeExpectationOrBuilder()Row-level rule which evaluates whether each column value lies between a specified range.DataQualityRule.RegexExpectationgetRegexExpectation()Row-level rule which evaluates whether each column value matches a specified regex.DataQualityRule.RegexExpectationOrBuildergetRegexExpectationOrBuilder()Row-level rule which evaluates whether each column value matches a specified regex.DataQualityRule.RowConditionExpectationgetRowConditionExpectation()Row-level rule which evaluates whether each row in a table passes the specified condition.DataQualityRule.RowConditionExpectationOrBuildergetRowConditionExpectationOrBuilder()Row-level rule which evaluates whether each row in a table passes the specified condition.DataQualityRule.RuleTypeCasegetRuleTypeCase()intgetSerializedSize()DataQualityRule.SetExpectationgetSetExpectation()Row-level rule which evaluates whether each column value is contained by a specified set.DataQualityRule.SetExpectationOrBuildergetSetExpectationOrBuilder()Row-level rule which evaluates whether each column value is contained by a specified set.DataQualityRule.StatisticRangeExpectationgetStatisticRangeExpectation()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.DataQualityRule.StatisticRangeExpectationOrBuildergetStatisticRangeExpectationOrBuilder()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.DataQualityRule.TableConditionExpectationgetTableConditionExpectation()Aggregate rule which evaluates whether the provided expression is true for a table.DataQualityRule.TableConditionExpectationOrBuildergetTableConditionExpectationOrBuilder()Aggregate rule which evaluates whether the provided expression is true for a table.doublegetThreshold()Optional.DataQualityRule.UniquenessExpectationgetUniquenessExpectation()Row-level rule which evaluates whether each column value is unique.DataQualityRule.UniquenessExpectationOrBuildergetUniquenessExpectationOrBuilder()Row-level rule which evaluates whether each column value is unique.inthashCode()booleanhasNonNullExpectation()Row-level rule which evaluates whether each column value is null.booleanhasRangeExpectation()Row-level rule which evaluates whether each column value lies between a specified range.booleanhasRegexExpectation()Row-level rule which evaluates whether each column value matches a specified regex.booleanhasRowConditionExpectation()Row-level rule which evaluates whether each row in a table passes the specified condition.booleanhasSetExpectation()Row-level rule which evaluates whether each column value is contained by a specified set.booleanhasStatisticRangeExpectation()Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.booleanhasTableConditionExpectation()Aggregate rule which evaluates whether the provided expression is true for a table.booleanhasUniquenessExpectation()Row-level rule which evaluates whether each column value is unique.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataQualityRule.BuildernewBuilder()static DataQualityRule.BuildernewBuilder(DataQualityRule prototype)DataQualityRule.BuildernewBuilderForType()protected DataQualityRule.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataQualityRuleparseDelimitedFrom(InputStream input)static DataQualityRuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataQualityRuleparseFrom(byte[] data)static DataQualityRuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataQualityRuleparseFrom(com.google.protobuf.ByteString data)static DataQualityRuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataQualityRuleparseFrom(com.google.protobuf.CodedInputStream input)static DataQualityRuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataQualityRuleparseFrom(InputStream input)static DataQualityRuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataQualityRuleparseFrom(ByteBuffer data)static DataQualityRuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataQualityRule>parser()DataQualityRule.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RANGE_EXPECTATION_FIELD_NUMBER
public static final int RANGE_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NON_NULL_EXPECTATION_FIELD_NUMBER
public static final int NON_NULL_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SET_EXPECTATION_FIELD_NUMBER
public static final int SET_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGEX_EXPECTATION_FIELD_NUMBER
public static final int REGEX_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIQUENESS_EXPECTATION_FIELD_NUMBER
public static final int UNIQUENESS_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER
public static final int STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_CONDITION_EXPECTATION_FIELD_NUMBER
public static final int ROW_CONDITION_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_CONDITION_EXPECTATION_FIELD_NUMBER
public static final int TABLE_CONDITION_EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_NULL_FIELD_NUMBER
public static final int IGNORE_NULL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THRESHOLD_FIELD_NUMBER
public static final int THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRuleTypeCase
public DataQualityRule.RuleTypeCase getRuleTypeCase()
- Specified by:
getRuleTypeCasein interfaceDataQualityRuleOrBuilder
-
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
public DataQualityRule.RangeExpectation 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.
-
getRangeExpectationOrBuilder
public DataQualityRule.RangeExpectationOrBuilder 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
public DataQualityRule.NonNullExpectation 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.
-
getNonNullExpectationOrBuilder
public DataQualityRule.NonNullExpectationOrBuilder 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
public DataQualityRule.SetExpectation 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.
-
getSetExpectationOrBuilder
public DataQualityRule.SetExpectationOrBuilder 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
public DataQualityRule.RegexExpectation 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.
-
getRegexExpectationOrBuilder
public DataQualityRule.RegexExpectationOrBuilder 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
public DataQualityRule.UniquenessExpectation 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.
-
getUniquenessExpectationOrBuilder
public DataQualityRule.UniquenessExpectationOrBuilder 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
public DataQualityRule.StatisticRangeExpectation 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.
-
getStatisticRangeExpectationOrBuilder
public DataQualityRule.StatisticRangeExpectationOrBuilder 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
public DataQualityRule.RowConditionExpectation 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.
-
getRowConditionExpectationOrBuilder
public DataQualityRule.RowConditionExpectationOrBuilder 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
public DataQualityRule.TableConditionExpectation 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.
-
getTableConditionExpectationOrBuilder
public DataQualityRule.TableConditionExpectationOrBuilder 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
-
getColumn
public String 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.
-
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 row-level type rules.
bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIgnoreNullin interfaceDataQualityRuleOrBuilder- Returns:
- The ignoreNull.
-
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];- Specified by:
getDimensionin interfaceDataQualityRuleOrBuilder- Returns:
- The dimension.
-
getDimensionBytes
public com.google.protobuf.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];- Specified by:
getDimensionBytesin interfaceDataQualityRuleOrBuilder- Returns:
- The bytes for dimension.
-
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.
-
getName
public String 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.
-
getDescription
public String 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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataQualityRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRule parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityRule parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataQualityRule.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataQualityRule.Builder newBuilder()
-
newBuilder
public static DataQualityRule.Builder newBuilder(DataQualityRule prototype)
-
toBuilder
public DataQualityRule.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataQualityRule getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataQualityRule> parser()
-
getParserForType
public com.google.protobuf.Parser<DataQualityRule> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataQualityRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-