Package com.google.cloud.dataplex.v1
Class DataQualityRuleResult
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class DataQualityRuleResult extends com.google.protobuf.GeneratedMessageV3 implements DataQualityRuleResultOrBuilder
DataQualityRuleResult provides a more detailed, per-rule view of the results.
Protobuf typegoogle.cloud.dataplex.v1.DataQualityRuleResult- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataQualityRuleResult.BuilderDataQualityRuleResult provides a more detailed, per-rule view of the results.-
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 intEVALUATED_COUNT_FIELD_NUMBERstatic intFAILING_ROWS_QUERY_FIELD_NUMBERstatic intNULL_COUNT_FIELD_NUMBERstatic intPASS_RATIO_FIELD_NUMBERstatic intPASSED_COUNT_FIELD_NUMBERstatic intPASSED_FIELD_NUMBERstatic intRULE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DataQualityRuleResultgetDefaultInstance()DataQualityRuleResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetEvaluatedCount()The number of rows a rule was evaluated against.StringgetFailingRowsQuery()The query to find rows that did not pass this rule.com.google.protobuf.ByteStringgetFailingRowsQueryBytes()The query to find rows that did not pass this rule.longgetNullCount()The number of rows with null values in the specified column.com.google.protobuf.Parser<DataQualityRuleResult>getParserForType()booleangetPassed()Whether the rule passed or failed.longgetPassedCount()The number of rows which passed a rule evaluation.doublegetPassRatio()The ratio of **passed_count / evaluated_count**.DataQualityRulegetRule()The rule specified in the DataQualitySpec, as is.DataQualityRuleOrBuildergetRuleOrBuilder()The rule specified in the DataQualitySpec, as is.intgetSerializedSize()inthashCode()booleanhasRule()The rule specified in the DataQualitySpec, as is.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataQualityRuleResult.BuildernewBuilder()static DataQualityRuleResult.BuildernewBuilder(DataQualityRuleResult prototype)DataQualityRuleResult.BuildernewBuilderForType()protected DataQualityRuleResult.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()DataQualityRuleResult.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
-
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSED_FIELD_NUMBER
public static final int PASSED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVALUATED_COUNT_FIELD_NUMBER
public static final int EVALUATED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSED_COUNT_FIELD_NUMBER
public static final int PASSED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULL_COUNT_FIELD_NUMBER
public static final int NULL_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASS_RATIO_FIELD_NUMBER
public static final int PASS_RATIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILING_ROWS_QUERY_FIELD_NUMBER
public static final int FAILING_ROWS_QUERY_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
-
hasRule
public boolean hasRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;- Specified by:
hasRulein interfaceDataQualityRuleResultOrBuilder- Returns:
- Whether the rule field is set.
-
getRule
public DataQualityRule getRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;- Specified by:
getRulein interfaceDataQualityRuleResultOrBuilder- Returns:
- The rule.
-
getRuleOrBuilder
public DataQualityRuleOrBuilder getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;- Specified by:
getRuleOrBuilderin interfaceDataQualityRuleResultOrBuilder
-
getPassed
public boolean getPassed()
Whether the rule passed or failed.
bool passed = 7;- Specified by:
getPassedin interfaceDataQualityRuleResultOrBuilder- Returns:
- The passed.
-
getEvaluatedCount
public long getEvaluatedCount()
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`.
int64 evaluated_count = 9;- Specified by:
getEvaluatedCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The evaluatedCount.
-
getPassedCount
public long getPassedCount()
The number of rows which passed a rule evaluation. This field is only valid for row-level type rules.
int64 passed_count = 8;- Specified by:
getPassedCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The passedCount.
-
getNullCount
public long getNullCount()
The number of rows with null values in the specified column.
int64 null_count = 5;- Specified by:
getNullCountin interfaceDataQualityRuleResultOrBuilder- Returns:
- The nullCount.
-
getPassRatio
public double getPassRatio()
The ratio of **passed_count / evaluated_count**. This field is only valid for row-level type rules.
double pass_ratio = 6;- Specified by:
getPassRatioin interfaceDataQualityRuleResultOrBuilder- Returns:
- The passRatio.
-
getFailingRowsQuery
public String getFailingRowsQuery()
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;- Specified by:
getFailingRowsQueryin interfaceDataQualityRuleResultOrBuilder- Returns:
- The failingRowsQuery.
-
getFailingRowsQueryBytes
public com.google.protobuf.ByteString getFailingRowsQueryBytes()
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;- Specified by:
getFailingRowsQueryBytesin interfaceDataQualityRuleResultOrBuilder- Returns:
- The bytes for failingRowsQuery.
-
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 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
public static DataQualityRuleResult parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityRuleResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityRuleResult parseDelimitedFrom(InputStream input) throws IOException
- 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
public DataQualityRuleResult.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataQualityRuleResult.Builder newBuilder()
-
newBuilder
public static DataQualityRuleResult.Builder newBuilder(DataQualityRuleResult prototype)
-
toBuilder
public DataQualityRuleResult.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityRuleResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataQualityRuleResult getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataQualityRuleResult> parser()
-
getParserForType
public com.google.protobuf.Parser<DataQualityRuleResult> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataQualityRuleResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-