Class 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 type google.cloud.dataplex.v1.DataQualityScanRuleResult
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • 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:
        getJobIdBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for jobId.
      • 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:
        getDataSourceBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for dataSource.
      • getColumnBytes

        public com.google.protobuf.ByteString getColumnBytes()
         The column which this rule is evaluated against.
         
        string column = 3;
        Specified by:
        getColumnBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for column.
      • getRuleTypeValue

        public int getRuleTypeValue()
         The type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
        Specified by:
        getRuleTypeValue in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The enum numeric value on the wire for ruleType.
      • getEvalutionTypeValue

        public int getEvalutionTypeValue()
         The evaluation type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
        Specified by:
        getEvalutionTypeValue in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The enum numeric value on the wire for evalutionType.
      • getRuleDimensionBytes

        public com.google.protobuf.ByteString getRuleDimensionBytes()
         The dimension of the data quality rule.
         
        string rule_dimension = 7;
        Specified by:
        getRuleDimensionBytes in interface DataQualityScanRuleResultOrBuilder
        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:
        getThresholdPercent in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The thresholdPercent.
      • getResultValue

        public int getResultValue()
         The result of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
        Specified by:
        getResultValue in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The enum numeric value on the wire for 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:
        getEvaluatedRowCount in interface DataQualityScanRuleResultOrBuilder
        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:
        getPassedRowCount in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The passedRowCount.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public DataQualityScanRuleResult.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public DataQualityScanRuleResult.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected DataQualityScanRuleResult.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DataQualityScanRuleResult> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public DataQualityScanRuleResult getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder