Package com.google.cloud.dataplex.v1
Class DataQualityScanRuleResult
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class DataQualityScanRuleResult extends com.google.protobuf.GeneratedMessageV3 implements DataQualityScanRuleResultOrBuilder
Information about the result of a data quality rule for data quality scan. The monitored resource is 'DataScan'.
Protobuf typegoogle.cloud.dataplex.v1.DataQualityScanRuleResult- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataQualityScanRuleResult.BuilderInformation about the result of a data quality rule for data quality scan.static classDataQualityScanRuleResult.EvaluationTypeThe evaluation type of the data quality rule.static classDataQualityScanRuleResult.ResultWhether the data quality rule passed or failed.static classDataQualityScanRuleResult.RuleTypeThe type of the data quality rule.-
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 intCOLUMN_FIELD_NUMBERstatic intDATA_SOURCE_FIELD_NUMBERstatic intEVALUATED_ROW_COUNT_FIELD_NUMBERstatic intEVALUTION_TYPE_FIELD_NUMBERstatic intJOB_ID_FIELD_NUMBERstatic intNULL_ROW_COUNT_FIELD_NUMBERstatic intPASSED_ROW_COUNT_FIELD_NUMBERstatic intRESULT_FIELD_NUMBERstatic intRULE_DIMENSION_FIELD_NUMBERstatic intRULE_NAME_FIELD_NUMBERstatic intRULE_TYPE_FIELD_NUMBERstatic intTHRESHOLD_PERCENT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetColumn()The column which this rule is evaluated against.com.google.protobuf.ByteStringgetColumnBytes()The column which this rule is evaluated against.StringgetDataSource()The data source of the data scan (e.g.com.google.protobuf.ByteStringgetDataSourceBytes()The data source of the data scan (e.g.static DataQualityScanRuleResultgetDefaultInstance()DataQualityScanRuleResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetEvaluatedRowCount()The number of rows evaluated against the data quality rule.DataQualityScanRuleResult.EvaluationTypegetEvalutionType()The evaluation type of the data quality rule.intgetEvalutionTypeValue()The evaluation type of the data quality rule.StringgetJobId()Identifier of the specific data scan job this log entry is for.com.google.protobuf.ByteStringgetJobIdBytes()Identifier of the specific data scan job this log entry is for.longgetNullRowCount()The number of rows with null values in the specified column.com.google.protobuf.Parser<DataQualityScanRuleResult>getParserForType()longgetPassedRowCount()The number of rows which passed a rule evaluation.DataQualityScanRuleResult.ResultgetResult()The result of the data quality rule.intgetResultValue()The result of the data quality rule.StringgetRuleDimension()The dimension of the data quality rule.com.google.protobuf.ByteStringgetRuleDimensionBytes()The dimension of the data quality rule.StringgetRuleName()The name of the data quality rule.com.google.protobuf.ByteStringgetRuleNameBytes()The name of the data quality rule.DataQualityScanRuleResult.RuleTypegetRuleType()The type of the data quality rule.intgetRuleTypeValue()The type of the data quality rule.intgetSerializedSize()doublegetThresholdPercent()The passing threshold ([0.0, 100.0]) of the data quality rule.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataQualityScanRuleResult.BuildernewBuilder()static DataQualityScanRuleResult.BuildernewBuilder(DataQualityScanRuleResult prototype)DataQualityScanRuleResult.BuildernewBuilderForType()protected DataQualityScanRuleResult.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()DataQualityScanRuleResult.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
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_NAME_FIELD_NUMBER
public static final int RULE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_TYPE_FIELD_NUMBER
public static final int RULE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVALUTION_TYPE_FIELD_NUMBER
public static final int EVALUTION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_DIMENSION_FIELD_NUMBER
public static final int RULE_DIMENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THRESHOLD_PERCENT_FIELD_NUMBER
public static final int THRESHOLD_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVALUATED_ROW_COUNT_FIELD_NUMBER
public static final int EVALUATED_ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSED_ROW_COUNT_FIELD_NUMBER
public static final int PASSED_ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULL_ROW_COUNT_FIELD_NUMBER
public static final int NULL_ROW_COUNT_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
-
getJobId
public String 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
public String 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
public String 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
public String 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
public DataQualityScanRuleResult.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
public DataQualityScanRuleResult.EvaluationType 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
public String 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
public DataQualityScanRuleResult.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.
-
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 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
public static DataQualityScanRuleResult parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityScanRuleResult parseDelimitedFrom(InputStream input) throws IOException
- 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
public DataQualityScanRuleResult.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataQualityScanRuleResult.Builder newBuilder()
-
newBuilder
public static DataQualityScanRuleResult.Builder newBuilder(DataQualityScanRuleResult prototype)
-
toBuilder
public DataQualityScanRuleResult.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityScanRuleResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataQualityScanRuleResult getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataQualityScanRuleResult> parser()
-
getParserForType
public com.google.protobuf.Parser<DataQualityScanRuleResult> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataQualityScanRuleResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-