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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getJobId

      public String getJobId()
       Identifier of the specific data scan job this log entry is for.
       
      string job_id = 1;
      Specified by:
      getJobId in interface DataQualityScanRuleResultOrBuilder
      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:
      getJobIdBytes in interface DataQualityScanRuleResultOrBuilder
      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:
      getDataSource in interface DataQualityScanRuleResultOrBuilder
      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:
      getDataSourceBytes in interface DataQualityScanRuleResultOrBuilder
      Returns:
      The bytes for dataSource.
    • getColumn

      public String getColumn()
       The column which this rule is evaluated against.
       
      string column = 3;
      Specified by:
      getColumn in interface DataQualityScanRuleResultOrBuilder
      Returns:
      The column.
    • 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.
    • getRuleName

      public String getRuleName()
       The name of the data quality rule.
       
      string rule_name = 4;
      Specified by:
      getRuleName in interface DataQualityScanRuleResultOrBuilder
      Returns:
      The ruleName.
    • getRuleNameBytes

      public com.google.protobuf.ByteString getRuleNameBytes()
       The name of the data quality rule.
       
      string rule_name = 4;
      Specified by:
      getRuleNameBytes in interface DataQualityScanRuleResultOrBuilder
      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:
      getRuleTypeValue in interface DataQualityScanRuleResultOrBuilder
      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:
      getRuleType in interface DataQualityScanRuleResultOrBuilder
      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:
      getEvalutionTypeValue in interface DataQualityScanRuleResultOrBuilder
      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:
      getEvalutionType in interface DataQualityScanRuleResultOrBuilder
      Returns:
      The evalutionType.
    • getRuleDimension

      public String getRuleDimension()
       The dimension of the data quality rule.
       
      string rule_dimension = 7;
      Specified by:
      getRuleDimension in interface DataQualityScanRuleResultOrBuilder
      Returns:
      The ruleDimension.
    • 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.
    • getResult

       The result of the data quality rule.
       
      .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
      Specified by:
      getResult in interface DataQualityScanRuleResultOrBuilder
      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:
      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.
    • getNullRowCount

      public long getNullRowCount()
       The number of rows with null values in the specified column.
       
      int64 null_row_count = 12;
      Specified by:
      getNullRowCount in interface DataQualityScanRuleResultOrBuilder
      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:
      getAssertionRowCount in interface DataQualityScanRuleResultOrBuilder
      Returns:
      The assertionRowCount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

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

      public static DataQualityScanRuleResult.Builder newBuilder()
    • newBuilder

      public static DataQualityScanRuleResult.Builder newBuilder(DataQualityScanRuleResult prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataQualityScanRuleResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataQualityScanRuleResult> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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