Package com.google.cloud.dataplex.v1
Class DataQualityScanRuleResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.DataQualityScanRuleResult
- All Implemented Interfaces:
DataQualityScanRuleResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataQualityScanRuleResult
extends com.google.protobuf.GeneratedMessage
implements DataQualityScanRuleResultOrBuilder
Information about the result of a data quality rule for data quality scan. The monitored resource is 'DataScan'.Protobuf type
google.cloud.dataplex.v1.DataQualityScanRuleResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about the result of a data quality rule for data quality scan.static enumThe evaluation type of the data quality rule.static enumWhether the data quality rule passed or failed.static enumThe type of the data quality rule.Nested 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 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 TypeMethodDescriptionbooleanlongThe number of rows returned by the SQL statement in a SQL assertion rule.The column which this rule is evaluated against.com.google.protobuf.ByteStringThe column which this rule is evaluated against.The data source of the data scan (e.g.com.google.protobuf.ByteStringThe data source of the data scan (e.g.static DataQualityScanRuleResultstatic final com.google.protobuf.Descriptors.DescriptorlongThe number of rows evaluated against the data quality rule.The evaluation type of the data quality rule.intThe evaluation type of the data quality rule.getJobId()Identifier of the specific data scan job this log entry is for.com.google.protobuf.ByteStringIdentifier of the specific data scan job this log entry is for.longThe number of rows with null values in the specified column.com.google.protobuf.Parser<DataQualityScanRuleResult>longThe number of rows which passed a rule evaluation.The result of the data quality rule.intThe result of the data quality rule.The dimension of the data quality rule.com.google.protobuf.ByteStringThe dimension of the data quality rule.The name of the data quality rule.com.google.protobuf.ByteStringThe name of the data quality rule.The type of the data quality rule.intThe type of the data quality rule.intdoubleThe passing threshold ([0.0, 100.0]) of the data quality rule.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(DataQualityScanRuleResult prototype) protected DataQualityScanRuleResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataQualityScanRuleResultparseDelimitedFrom(InputStream input) static DataQualityScanRuleResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityScanRuleResultparseFrom(byte[] data) static DataQualityScanRuleResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityScanRuleResultparseFrom(com.google.protobuf.ByteString data) static DataQualityScanRuleResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityScanRuleResultparseFrom(com.google.protobuf.CodedInputStream input) static DataQualityScanRuleResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityScanRuleResultparseFrom(InputStream input) static DataQualityScanRuleResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataQualityScanRuleResultparseFrom(ByteBuffer data) static DataQualityScanRuleResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataQualityScanRuleResult>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
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER- See Also:
-
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER- See Also:
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER- See Also:
-
RULE_NAME_FIELD_NUMBER
public static final int RULE_NAME_FIELD_NUMBER- See Also:
-
RULE_TYPE_FIELD_NUMBER
public static final int RULE_TYPE_FIELD_NUMBER- See Also:
-
EVALUTION_TYPE_FIELD_NUMBER
public static final int EVALUTION_TYPE_FIELD_NUMBER- See Also:
-
RULE_DIMENSION_FIELD_NUMBER
public static final int RULE_DIMENSION_FIELD_NUMBER- See Also:
-
THRESHOLD_PERCENT_FIELD_NUMBER
public static final int THRESHOLD_PERCENT_FIELD_NUMBER- See Also:
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER- See Also:
-
EVALUATED_ROW_COUNT_FIELD_NUMBER
public static final int EVALUATED_ROW_COUNT_FIELD_NUMBER- See Also:
-
PASSED_ROW_COUNT_FIELD_NUMBER
public static final int PASSED_ROW_COUNT_FIELD_NUMBER- See Also:
-
NULL_ROW_COUNT_FIELD_NUMBER
public static final int NULL_ROW_COUNT_FIELD_NUMBER- See Also:
-
ASSERTION_ROW_COUNT_FIELD_NUMBER
public static final int ASSERTION_ROW_COUNT_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
-
getJobId
Identifier of the specific data scan job this log entry is for.
string job_id = 1;- Specified by:
getJobIdin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()Identifier of the specific data scan job this log entry is for.
string job_id = 1;- Specified by:
getJobIdBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for jobId.
-
getDataSource
The data source of the data scan (e.g. BigQuery table name).
string data_source = 2;- Specified by:
getDataSourcein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The dataSource.
-
getDataSourceBytes
public com.google.protobuf.ByteString getDataSourceBytes()The data source of the data scan (e.g. BigQuery table name).
string data_source = 2;- Specified by:
getDataSourceBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for dataSource.
-
getColumn
The column which this rule is evaluated against.
string column = 3;- Specified by:
getColumnin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()The column which this rule is evaluated against.
string column = 3;- Specified by:
getColumnBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for column.
-
getRuleName
The name of the data quality rule.
string rule_name = 4;- Specified by:
getRuleNamein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The ruleName.
-
getRuleNameBytes
public com.google.protobuf.ByteString getRuleNameBytes()The name of the data quality rule.
string rule_name = 4;- Specified by:
getRuleNameBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for ruleName.
-
getRuleTypeValue
public int getRuleTypeValue()The type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;- Specified by:
getRuleTypeValuein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The enum numeric value on the wire for ruleType.
-
getRuleType
The type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;- Specified by:
getRuleTypein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The ruleType.
-
getEvalutionTypeValue
public int getEvalutionTypeValue()The evaluation type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;- Specified by:
getEvalutionTypeValuein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The enum numeric value on the wire for evalutionType.
-
getEvalutionType
The evaluation type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;- Specified by:
getEvalutionTypein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The evalutionType.
-
getRuleDimension
The dimension of the data quality rule.
string rule_dimension = 7;- Specified by:
getRuleDimensionin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The ruleDimension.
-
getRuleDimensionBytes
public com.google.protobuf.ByteString getRuleDimensionBytes()The dimension of the data quality rule.
string rule_dimension = 7;- Specified by:
getRuleDimensionBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for ruleDimension.
-
getThresholdPercent
public double getThresholdPercent()The passing threshold ([0.0, 100.0]) of the data quality rule.
double threshold_percent = 8;- Specified by:
getThresholdPercentin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The thresholdPercent.
-
getResultValue
public int getResultValue()The result of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;- Specified by:
getResultValuein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
getResult
The result of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;- Specified by:
getResultin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The result.
-
getEvaluatedRowCount
public long getEvaluatedRowCount()The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.
int64 evaluated_row_count = 10;- Specified by:
getEvaluatedRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The evaluatedRowCount.
-
getPassedRowCount
public long getPassedRowCount()The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.
int64 passed_row_count = 11;- Specified by:
getPassedRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The passedRowCount.
-
getNullRowCount
public long getNullRowCount()The number of rows with null values in the specified column.
int64 null_row_count = 12;- Specified by:
getNullRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The nullRowCount.
-
getAssertionRowCount
public long getAssertionRowCount()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 = 13;- Specified by:
getAssertionRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The assertionRowCount.
-
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 DataQualityScanRuleResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityScanRuleResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult 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 DataQualityScanRuleResult.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
-