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 class
DataQualityRule.Builder
A rule captures data quality intent about a data source.static class
DataQualityRule.NonNullExpectation
Evaluates whether each column value is null.static interface
DataQualityRule.NonNullExpectationOrBuilder
static class
DataQualityRule.RangeExpectation
Evaluates whether each column value lies between a specified range.static interface
DataQualityRule.RangeExpectationOrBuilder
static class
DataQualityRule.RegexExpectation
Evaluates whether each column value matches a specified regex.static interface
DataQualityRule.RegexExpectationOrBuilder
static class
DataQualityRule.RowConditionExpectation
Evaluates whether each row passes the specified condition.static interface
DataQualityRule.RowConditionExpectationOrBuilder
static class
DataQualityRule.RuleTypeCase
static class
DataQualityRule.SetExpectation
Evaluates whether each column value is contained by a specified set.static interface
DataQualityRule.SetExpectationOrBuilder
static class
DataQualityRule.StatisticRangeExpectation
Evaluates whether the column aggregate statistic lies between a specified range.static interface
DataQualityRule.StatisticRangeExpectationOrBuilder
static class
DataQualityRule.TableConditionExpectation
Evaluates whether the provided expression is true.static interface
DataQualityRule.TableConditionExpectationOrBuilder
static class
DataQualityRule.UniquenessExpectation
Evaluates whether the column has duplicates.static interface
DataQualityRule.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 int
COLUMN_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DIMENSION_FIELD_NUMBER
static int
IGNORE_NULL_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NON_NULL_EXPECTATION_FIELD_NUMBER
static int
RANGE_EXPECTATION_FIELD_NUMBER
static int
REGEX_EXPECTATION_FIELD_NUMBER
static int
ROW_CONDITION_EXPECTATION_FIELD_NUMBER
static int
SET_EXPECTATION_FIELD_NUMBER
static int
STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER
static int
TABLE_CONDITION_EXPECTATION_FIELD_NUMBER
static int
THRESHOLD_FIELD_NUMBER
static int
UNIQUENESS_EXPECTATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getColumn()
Optional.com.google.protobuf.ByteString
getColumnBytes()
Optional.static DataQualityRule
getDefaultInstance()
DataQualityRule
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDimension()
Required.com.google.protobuf.ByteString
getDimensionBytes()
Required.boolean
getIgnoreNull()
Optional.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.DataQualityRule.NonNullExpectation
getNonNullExpectation()
Row-level rule which evaluates whether each column value is null.DataQualityRule.NonNullExpectationOrBuilder
getNonNullExpectationOrBuilder()
Row-level rule which evaluates whether each column value is null.com.google.protobuf.Parser<DataQualityRule>
getParserForType()
DataQualityRule.RangeExpectation
getRangeExpectation()
Row-level rule which evaluates whether each column value lies between a specified range.DataQualityRule.RangeExpectationOrBuilder
getRangeExpectationOrBuilder()
Row-level rule which evaluates whether each column value lies between a specified range.DataQualityRule.RegexExpectation
getRegexExpectation()
Row-level rule which evaluates whether each column value matches a specified regex.DataQualityRule.RegexExpectationOrBuilder
getRegexExpectationOrBuilder()
Row-level rule which evaluates whether each column value matches a specified regex.DataQualityRule.RowConditionExpectation
getRowConditionExpectation()
Row-level rule which evaluates whether each row in a table passes the specified condition.DataQualityRule.RowConditionExpectationOrBuilder
getRowConditionExpectationOrBuilder()
Row-level rule which evaluates whether each row in a table passes the specified condition.DataQualityRule.RuleTypeCase
getRuleTypeCase()
int
getSerializedSize()
DataQualityRule.SetExpectation
getSetExpectation()
Row-level rule which evaluates whether each column value is contained by a specified set.DataQualityRule.SetExpectationOrBuilder
getSetExpectationOrBuilder()
Row-level rule which evaluates whether each column value is contained by a specified set.DataQualityRule.StatisticRangeExpectation
getStatisticRangeExpectation()
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.DataQualityRule.StatisticRangeExpectationOrBuilder
getStatisticRangeExpectationOrBuilder()
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.DataQualityRule.TableConditionExpectation
getTableConditionExpectation()
Aggregate rule which evaluates whether the provided expression is true for a table.DataQualityRule.TableConditionExpectationOrBuilder
getTableConditionExpectationOrBuilder()
Aggregate rule which evaluates whether the provided expression is true for a table.double
getThreshold()
Optional.DataQualityRule.UniquenessExpectation
getUniquenessExpectation()
Row-level rule which evaluates whether each column value is unique.DataQualityRule.UniquenessExpectationOrBuilder
getUniquenessExpectationOrBuilder()
Row-level rule which evaluates whether each column value is unique.int
hashCode()
boolean
hasNonNullExpectation()
Row-level rule which evaluates whether each column value is null.boolean
hasRangeExpectation()
Row-level rule which evaluates whether each column value lies between a specified range.boolean
hasRegexExpectation()
Row-level rule which evaluates whether each column value matches a specified regex.boolean
hasRowConditionExpectation()
Row-level rule which evaluates whether each row in a table passes the specified condition.boolean
hasSetExpectation()
Row-level rule which evaluates whether each column value is contained by a specified set.boolean
hasStatisticRangeExpectation()
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.boolean
hasTableConditionExpectation()
Aggregate rule which evaluates whether the provided expression is true for a table.boolean
hasUniquenessExpectation()
Row-level rule which evaluates whether each column value is unique.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DataQualityRule.Builder
newBuilder()
static DataQualityRule.Builder
newBuilder(DataQualityRule prototype)
DataQualityRule.Builder
newBuilderForType()
protected DataQualityRule.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DataQualityRule
parseDelimitedFrom(InputStream input)
static DataQualityRule
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRule
parseFrom(byte[] data)
static DataQualityRule
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRule
parseFrom(com.google.protobuf.ByteString data)
static DataQualityRule
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRule
parseFrom(com.google.protobuf.CodedInputStream input)
static DataQualityRule
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRule
parseFrom(InputStream input)
static DataQualityRule
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRule
parseFrom(ByteBuffer data)
static DataQualityRule
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DataQualityRule>
parser()
DataQualityRule.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getRuleTypeCase
public DataQualityRule.RuleTypeCase getRuleTypeCase()
- Specified by:
getRuleTypeCase
in 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:
hasRangeExpectation
in 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:
getRangeExpectation
in 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:
getRangeExpectationOrBuilder
in 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:
hasNonNullExpectation
in 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:
getNonNullExpectation
in 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:
getNonNullExpectationOrBuilder
in 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:
hasSetExpectation
in 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:
getSetExpectation
in 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:
getSetExpectationOrBuilder
in 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:
hasRegexExpectation
in 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:
getRegexExpectation
in 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:
getRegexExpectationOrBuilder
in 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:
hasUniquenessExpectation
in 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:
getUniquenessExpectation
in 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:
getUniquenessExpectationOrBuilder
in 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:
hasStatisticRangeExpectation
in 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:
getStatisticRangeExpectation
in 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:
getStatisticRangeExpectationOrBuilder
in 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:
hasRowConditionExpectation
in 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:
getRowConditionExpectation
in 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:
getRowConditionExpectationOrBuilder
in 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:
hasTableConditionExpectation
in 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:
getTableConditionExpectation
in 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:
getTableConditionExpectationOrBuilder
in 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:
getColumn
in 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:
getColumnBytes
in 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:
getIgnoreNull
in 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:
getDimension
in 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:
getDimensionBytes
in 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:
getThreshold
in 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:
getName
in 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:
getNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in interfaceDataQualityRuleOrBuilder
- Returns:
- The bytes for description.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataQualityRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-