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 class
DataQualityRuleResult.Builder
DataQualityRuleResult 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 int
EVALUATED_COUNT_FIELD_NUMBER
static int
FAILING_ROWS_QUERY_FIELD_NUMBER
static int
NULL_COUNT_FIELD_NUMBER
static int
PASS_RATIO_FIELD_NUMBER
static int
PASSED_COUNT_FIELD_NUMBER
static int
PASSED_FIELD_NUMBER
static int
RULE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static DataQualityRuleResult
getDefaultInstance()
DataQualityRuleResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getEvaluatedCount()
The number of rows a rule was evaluated against.String
getFailingRowsQuery()
The query to find rows that did not pass this rule.com.google.protobuf.ByteString
getFailingRowsQueryBytes()
The query to find rows that did not pass this rule.long
getNullCount()
The number of rows with null values in the specified column.com.google.protobuf.Parser<DataQualityRuleResult>
getParserForType()
boolean
getPassed()
Whether the rule passed or failed.long
getPassedCount()
The number of rows which passed a rule evaluation.double
getPassRatio()
The ratio of **passed_count / evaluated_count**.DataQualityRule
getRule()
The rule specified in the DataQualitySpec, as is.DataQualityRuleOrBuilder
getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.int
getSerializedSize()
int
hashCode()
boolean
hasRule()
The rule specified in the DataQualitySpec, as is.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DataQualityRuleResult.Builder
newBuilder()
static DataQualityRuleResult.Builder
newBuilder(DataQualityRuleResult prototype)
DataQualityRuleResult.Builder
newBuilderForType()
protected DataQualityRuleResult.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DataQualityRuleResult
parseDelimitedFrom(InputStream input)
static DataQualityRuleResult
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRuleResult
parseFrom(byte[] data)
static DataQualityRuleResult
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRuleResult
parseFrom(com.google.protobuf.ByteString data)
static DataQualityRuleResult
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRuleResult
parseFrom(com.google.protobuf.CodedInputStream input)
static DataQualityRuleResult
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRuleResult
parseFrom(InputStream input)
static DataQualityRuleResult
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityRuleResult
parseFrom(ByteBuffer data)
static DataQualityRuleResult
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DataQualityRuleResult>
parser()
DataQualityRuleResult.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
-
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:
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
-
hasRule
public boolean hasRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
- Specified by:
hasRule
in 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:
getRule
in 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:
getRuleOrBuilder
in interfaceDataQualityRuleResultOrBuilder
-
getPassed
public boolean getPassed()
Whether the rule passed or failed.
bool passed = 7;
- Specified by:
getPassed
in 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:
getEvaluatedCount
in 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:
getPassedCount
in 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:
getNullCount
in 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:
getPassRatio
in 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:
getFailingRowsQuery
in 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:
getFailingRowsQueryBytes
in interfaceDataQualityRuleResultOrBuilder
- Returns:
- The bytes for failingRowsQuery.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityRuleResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataQualityRuleResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-