[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface DataQualityRuleResultOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.DataQualityRuleResultOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.DataQualityRuleResultOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.DataQualityRuleResultOrBuilder) \n\n public interface DataQualityRuleResultOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEvaluatedCount()\n\n public abstract long getEvaluatedCount()\n\nThe number of rows a rule was evaluated against. This field is only valid\nfor ColumnMap type rules.\nEvaluated count can be configured to either\n\n- include all rows (default) - with `null` rows automatically failing rule evaluation, or\n- exclude `null` rows from the `evaluated_count`, by setting `ignore_nulls = true`.\n\n`int64 evaluated_count = 9;`\n\n### getFailingRowsQuery()\n\n public abstract String getFailingRowsQuery()\n\nThe query to find rows that did not pass this rule.\nOnly applies to ColumnMap and RowCondition rules.\n\n`string failing_rows_query = 10;`\n\n### getFailingRowsQueryBytes()\n\n public abstract ByteString getFailingRowsQueryBytes()\n\nThe query to find rows that did not pass this rule.\nOnly applies to ColumnMap and RowCondition rules.\n\n`string failing_rows_query = 10;`\n\n### getNullCount()\n\n public abstract long getNullCount()\n\nThe number of rows with null values in the specified column.\n\n`int64 null_count = 5;`\n\n### getPassRatio()\n\n public abstract double getPassRatio()\n\nThe ratio of **passed_count / evaluated_count**.\nThis field is only valid for ColumnMap type rules.\n\n`double pass_ratio = 6;`\n\n### getPassed()\n\n public abstract boolean getPassed()\n\nWhether the rule passed or failed.\n\n`bool passed = 7;`\n\n### getPassedCount()\n\n public abstract long getPassedCount()\n\nThe number of rows which passed a rule evaluation.\nThis field is only valid for ColumnMap type rules.\n\n`int64 passed_count = 8;`\n\n### getRule()\n\n public abstract DataQualityRule getRule()\n\nThe rule specified in the DataQualitySpec, as is.\n\n`.google.events.cloud.dataplex.v1.DataQualityRule rule = 1;`\n\n### getRuleOrBuilder()\n\n public abstract DataQualityRuleOrBuilder getRuleOrBuilder()\n\nThe rule specified in the DataQualitySpec, as is.\n\n`.google.events.cloud.dataplex.v1.DataQualityRule rule = 1;`\n\n### hasRule()\n\n public abstract boolean hasRule()\n\nThe rule specified in the DataQualitySpec, as is.\n\n`.google.events.cloud.dataplex.v1.DataQualityRule rule = 1;`"]]