Package com.google.cloud.dataplex.v1
Class DataQualityRule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class DataQualityRule
extends com.google.protobuf.GeneratedMessage
implements DataQualityRuleOrBuilder
A rule captures data quality intent about a data source.Protobuf type
google.cloud.dataplex.v1.DataQualityRule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA rule captures data quality intent about a data source.static final classSpecifies a SQL statement that is evaluated to return up to 10 scalar values that are used to debug rules.static interfacestatic final classEvaluates whether each column value is null.static interfacestatic final classEvaluates whether each column value lies between a specified range.static interfacestatic final classEvaluates whether each column value matches a specified regex.static interfacestatic final classEvaluates whether each row passes the specified condition.static interfacestatic enumstatic final classEvaluates whether each column value is contained by a specified set.static interfacestatic final classA SQL statement that is evaluated to return rows that match an invalid state.static interfacestatic final classEvaluates whether the column aggregate statistic lies between a specified range.static interfacestatic final classEvaluates whether the provided expression is true.static interfacestatic final classEvaluates whether the column has duplicates.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.getDebugQueries(int index) Optional.intOptional.Optional.getDebugQueriesOrBuilder(int index) Optional.List<? extends DataQualityRule.DebugQueryOrBuilder>Optional.static DataQualityRuleOptional.com.google.protobuf.ByteStringOptional.static final com.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.com.google.protobuf.Parser<DataQualityRule>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 row in a table passes the specified condition.Row-level rule which evaluates whether each row in a table passes the specified condition.intRow-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 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.doubleOptional.Row-level rule which evaluates whether each column value is unique.Row-level rule which evaluates whether each column value is unique.inthashCode()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 booleanstatic DataQualityRule.Builderstatic DataQualityRule.BuildernewBuilder(DataQualityRule prototype) protected DataQualityRule.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RANGE_EXPECTATION_FIELD_NUMBER
public static final int RANGE_EXPECTATION_FIELD_NUMBER- See Also:
-
NON_NULL_EXPECTATION_FIELD_NUMBER
public static final int NON_NULL_EXPECTATION_FIELD_NUMBER- See Also:
-
SET_EXPECTATION_FIELD_NUMBER
public static final int SET_EXPECTATION_FIELD_NUMBER- See Also:
-
REGEX_EXPECTATION_FIELD_NUMBER
public static final int REGEX_EXPECTATION_FIELD_NUMBER- See Also:
-
UNIQUENESS_EXPECTATION_FIELD_NUMBER
public static final int UNIQUENESS_EXPECTATION_FIELD_NUMBER- See Also:
-
STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER
public static final int STATISTIC_RANGE_EXPECTATION_FIELD_NUMBER- See Also:
-
ROW_CONDITION_EXPECTATION_FIELD_NUMBER
public static final int ROW_CONDITION_EXPECTATION_FIELD_NUMBER- See Also:
-
TABLE_CONDITION_EXPECTATION_FIELD_NUMBER
public static final int TABLE_CONDITION_EXPECTATION_FIELD_NUMBER- See Also:
-
SQL_ASSERTION_FIELD_NUMBER
public static final int SQL_ASSERTION_FIELD_NUMBER- See Also:
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER- See Also:
-
IGNORE_NULL_FIELD_NUMBER
public static final int IGNORE_NULL_FIELD_NUMBER- See Also:
-
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER- See Also:
-
THRESHOLD_FIELD_NUMBER
public static final int THRESHOLD_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
SUSPENDED_FIELD_NUMBER
public static final int SUSPENDED_FIELD_NUMBER- See Also:
-
DEBUG_QUERIES_FIELD_NUMBER
public static final int DEBUG_QUERIES_FIELD_NUMBER- See Also:
-
-
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
-
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
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
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
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
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static DataQualityRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityRule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-