Package com.google.cloud.dataplex.v1
Class DataQualityRuleResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.DataQualityRuleResult
- All Implemented Interfaces:
DataQualityRuleResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataQualityRuleResult
extends com.google.protobuf.GeneratedMessage
implements DataQualityRuleResultOrBuilder
DataQualityRuleResult provides a more detailed, per-rule view of the results.Protobuf type
google.cloud.dataplex.v1.DataQualityRuleResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDataQualityRuleResult provides a more detailed, per-rule view of the results.static final classContains a single result from the debug query.static interfacestatic final classContains all results from a debug query.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 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 TypeMethodDescriptionbooleanlongOutput only.getDebugQueriesResultSets(int index) Output only.intOutput only.Output only.getDebugQueriesResultSetsOrBuilder(int index) Output only.Output only.static DataQualityRuleResultstatic final com.google.protobuf.Descriptors.DescriptorlongOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.com.google.protobuf.Parser<DataQualityRuleResult>booleanOutput only.longOutput only.doubleOutput only.getRule()Output only.Output only.intinthashCode()booleanhasRule()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(DataQualityRuleResult prototype) protected DataQualityRuleResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataQualityRuleResultparseDelimitedFrom(InputStream input) static DataQualityRuleResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityRuleResultparseFrom(byte[] data) static DataQualityRuleResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityRuleResultparseFrom(com.google.protobuf.ByteString data) static DataQualityRuleResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityRuleResultparseFrom(com.google.protobuf.CodedInputStream input) static DataQualityRuleResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityRuleResultparseFrom(InputStream input) static DataQualityRuleResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityRuleResultparseFrom(ByteBuffer data) static DataQualityRuleResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataQualityRuleResult>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
-
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER- See Also:
-
PASSED_FIELD_NUMBER
public static final int PASSED_FIELD_NUMBER- See Also:
-
EVALUATED_COUNT_FIELD_NUMBER
public static final int EVALUATED_COUNT_FIELD_NUMBER- See Also:
-
PASSED_COUNT_FIELD_NUMBER
public static final int PASSED_COUNT_FIELD_NUMBER- See Also:
-
NULL_COUNT_FIELD_NUMBER
public static final int NULL_COUNT_FIELD_NUMBER- See Also:
-
PASS_RATIO_FIELD_NUMBER
public static final int PASS_RATIO_FIELD_NUMBER- See Also:
-
FAILING_ROWS_QUERY_FIELD_NUMBER
public static final int FAILING_ROWS_QUERY_FIELD_NUMBER- See Also:
-
ASSERTION_ROW_COUNT_FIELD_NUMBER
public static final int ASSERTION_ROW_COUNT_FIELD_NUMBER- See Also:
-
DEBUG_QUERIES_RESULT_SETS_FIELD_NUMBER
public static final int DEBUG_QUERIES_RESULT_SETS_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
-
hasRule
public boolean hasRule()Output only. The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRulein interfaceDataQualityRuleResultOrBuilder- Returns:
- Whether the rule field is set.
-
getRule
Output only. The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRulein interfaceDataQualityRuleResultOrBuilder- Returns:
- The rule.
-
getRuleOrBuilder
Output only. The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRuleOrBuilderin interfaceDataQualityRuleResultOrBuilder
-
getPassed
public boolean getPassed()Output only. Whether the rule passed or failed.
bool passed = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPassedin interfaceDataQualityRuleResultOrBuilder- Returns:
- The passed.
-
getEvaluatedCount
public long getEvaluatedCount()Output only. The number of rows a rule was evaluated against. This field is only valid for row-level type rules. Evaluated count can be configured to either * include all rows (default) - with `null` rows automatically failing rule evaluation, or * exclude `null` rows from the `evaluated_count`, by setting `ignore_nulls = true`. This field is not set for rule SqlAssertion.
int64 evaluated_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEvaluatedCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The evaluatedCount.
-
getPassedCount
public long getPassedCount()Output only. The number of rows which passed a rule evaluation. This field is only valid for row-level type rules. This field is not set for rule SqlAssertion.
int64 passed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPassedCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The passedCount.
-
getNullCount
public long getNullCount()Output only. The number of rows with null values in the specified column.
int64 null_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNullCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The nullCount.
-
getPassRatio
public double getPassRatio()Output only. The ratio of **passed_count / evaluated_count**. This field is only valid for row-level type rules.
double pass_ratio = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPassRatioin interfaceDataQualityRuleResultOrBuilder- Returns:
- The passRatio.
-
getFailingRowsQuery
Output only. The query to find rows that did not pass this rule. This field is only valid for row-level type rules.
string failing_rows_query = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailingRowsQueryin interfaceDataQualityRuleResultOrBuilder- Returns:
- The failingRowsQuery.
-
getFailingRowsQueryBytes
public com.google.protobuf.ByteString getFailingRowsQueryBytes()Output only. The query to find rows that did not pass this rule. This field is only valid for row-level type rules.
string failing_rows_query = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailingRowsQueryBytesin interfaceDataQualityRuleResultOrBuilder- Returns:
- The bytes for failingRowsQuery.
-
getAssertionRowCount
public long getAssertionRowCount()Output only. The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.
int64 assertion_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAssertionRowCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The assertionRowCount.
-
getDebugQueriesResultSetsList
Output only. Contains the results of all debug queries for this rule. The number of result sets will correspond to the number of [debug_queries][google.cloud.dataplex.v1.DataQualityRule.debug_queries].
repeated .google.cloud.dataplex.v1.DataQualityRuleResult.DebugQueryResultSet debug_queries_result_sets = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDebugQueriesResultSetsListin interfaceDataQualityRuleResultOrBuilder
-
getDebugQueriesResultSetsOrBuilderList
public List<? extends DataQualityRuleResult.DebugQueryResultSetOrBuilder> getDebugQueriesResultSetsOrBuilderList()Output only. Contains the results of all debug queries for this rule. The number of result sets will correspond to the number of [debug_queries][google.cloud.dataplex.v1.DataQualityRule.debug_queries].
repeated .google.cloud.dataplex.v1.DataQualityRuleResult.DebugQueryResultSet debug_queries_result_sets = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDebugQueriesResultSetsOrBuilderListin interfaceDataQualityRuleResultOrBuilder
-
getDebugQueriesResultSetsCount
public int getDebugQueriesResultSetsCount()Output only. Contains the results of all debug queries for this rule. The number of result sets will correspond to the number of [debug_queries][google.cloud.dataplex.v1.DataQualityRule.debug_queries].
repeated .google.cloud.dataplex.v1.DataQualityRuleResult.DebugQueryResultSet debug_queries_result_sets = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDebugQueriesResultSetsCountin interfaceDataQualityRuleResultOrBuilder
-
getDebugQueriesResultSets
Output only. Contains the results of all debug queries for this rule. The number of result sets will correspond to the number of [debug_queries][google.cloud.dataplex.v1.DataQualityRule.debug_queries].
repeated .google.cloud.dataplex.v1.DataQualityRuleResult.DebugQueryResultSet debug_queries_result_sets = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDebugQueriesResultSetsin interfaceDataQualityRuleResultOrBuilder
-
getDebugQueriesResultSetsOrBuilder
public DataQualityRuleResult.DebugQueryResultSetOrBuilder getDebugQueriesResultSetsOrBuilder(int index) Output only. Contains the results of all debug queries for this rule. The number of result sets will correspond to the number of [debug_queries][google.cloud.dataplex.v1.DataQualityRule.debug_queries].
repeated .google.cloud.dataplex.v1.DataQualityRuleResult.DebugQueryResultSet debug_queries_result_sets = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDebugQueriesResultSetsOrBuilderin interfaceDataQualityRuleResultOrBuilder
-
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 DataQualityRuleResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRuleResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRuleResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRuleResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityRuleResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataQualityRuleResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityRuleResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataQualityRuleResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataQualityRuleResult 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 DataQualityRuleResult.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
-