Class DataScanEvent.DataQualityResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
All Implemented Interfaces:
DataScanEvent.DataQualityResultOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DataScanEvent

public static final class DataScanEvent.DataQualityResult extends com.google.protobuf.GeneratedMessage implements DataScanEvent.DataQualityResultOrBuilder
 Data quality result for data scan job.
 
Protobuf type google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
See Also:
  • Field Details

    • ROW_COUNT_FIELD_NUMBER

      public static final int ROW_COUNT_FIELD_NUMBER
      See Also:
    • PASSED_FIELD_NUMBER

      public static final int PASSED_FIELD_NUMBER
      See Also:
    • DIMENSION_PASSED_FIELD_NUMBER

      public static final int DIMENSION_PASSED_FIELD_NUMBER
      See Also:
    • SCORE_FIELD_NUMBER

      public static final int SCORE_FIELD_NUMBER
      See Also:
    • DIMENSION_SCORE_FIELD_NUMBER

      public static final int DIMENSION_SCORE_FIELD_NUMBER
      See Also:
    • COLUMN_SCORE_FIELD_NUMBER

      public static final int COLUMN_SCORE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRowCount

      public long getRowCount()
       The count of rows processed in the data scan job.
       
      int64 row_count = 1;
      Specified by:
      getRowCount in interface DataScanEvent.DataQualityResultOrBuilder
      Returns:
      The rowCount.
    • getPassed

      public boolean getPassed()
       Whether the data quality result was `pass` or not.
       
      bool passed = 2;
      Specified by:
      getPassed in interface DataScanEvent.DataQualityResultOrBuilder
      Returns:
      The passed.
    • getDimensionPassedCount

      public int getDimensionPassedCount()
      Description copied from interface: DataScanEvent.DataQualityResultOrBuilder
       The result of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the bool value depicting whether the dimension result was
       `pass` or not.
       
      map<string, bool> dimension_passed = 3;
      Specified by:
      getDimensionPassedCount in interface DataScanEvent.DataQualityResultOrBuilder
    • containsDimensionPassed

      public boolean containsDimensionPassed(String key)
       The result of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the bool value depicting whether the dimension result was
       `pass` or not.
       
      map<string, bool> dimension_passed = 3;
      Specified by:
      containsDimensionPassed in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionPassed

      @Deprecated public Map<String,Boolean> getDimensionPassed()
      Deprecated.
      Specified by:
      getDimensionPassed in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionPassedMap

      public Map<String,Boolean> getDimensionPassedMap()
       The result of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the bool value depicting whether the dimension result was
       `pass` or not.
       
      map<string, bool> dimension_passed = 3;
      Specified by:
      getDimensionPassedMap in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionPassedOrDefault

      public boolean getDimensionPassedOrDefault(String key, boolean defaultValue)
       The result of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the bool value depicting whether the dimension result was
       `pass` or not.
       
      map<string, bool> dimension_passed = 3;
      Specified by:
      getDimensionPassedOrDefault in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionPassedOrThrow

      public boolean getDimensionPassedOrThrow(String key)
       The result of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the bool value depicting whether the dimension result was
       `pass` or not.
       
      map<string, bool> dimension_passed = 3;
      Specified by:
      getDimensionPassedOrThrow in interface DataScanEvent.DataQualityResultOrBuilder
    • getScore

      public float getScore()
       The table-level data quality score for the data scan job.
      
       The data quality score ranges between [0, 100] (up to two decimal
       points).
       
      float score = 4;
      Specified by:
      getScore in interface DataScanEvent.DataQualityResultOrBuilder
      Returns:
      The score.
    • getDimensionScoreCount

      public int getDimensionScoreCount()
      Description copied from interface: DataScanEvent.DataQualityResultOrBuilder
       The score of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the data quality score for the dimension.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> dimension_score = 5;
      Specified by:
      getDimensionScoreCount in interface DataScanEvent.DataQualityResultOrBuilder
    • containsDimensionScore

      public boolean containsDimensionScore(String key)
       The score of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the data quality score for the dimension.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> dimension_score = 5;
      Specified by:
      containsDimensionScore in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionScore

      @Deprecated public Map<String,Float> getDimensionScore()
      Deprecated.
      Specified by:
      getDimensionScore in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionScoreMap

      public Map<String,Float> getDimensionScoreMap()
       The score of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the data quality score for the dimension.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> dimension_score = 5;
      Specified by:
      getDimensionScoreMap in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionScoreOrDefault

      public float getDimensionScoreOrDefault(String key, float defaultValue)
       The score of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the data quality score for the dimension.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> dimension_score = 5;
      Specified by:
      getDimensionScoreOrDefault in interface DataScanEvent.DataQualityResultOrBuilder
    • getDimensionScoreOrThrow

      public float getDimensionScoreOrThrow(String key)
       The score of each dimension for data quality result.
       The key of the map is the name of the dimension.
       The value is the data quality score for the dimension.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> dimension_score = 5;
      Specified by:
      getDimensionScoreOrThrow in interface DataScanEvent.DataQualityResultOrBuilder
    • getColumnScoreCount

      public int getColumnScoreCount()
      Description copied from interface: DataScanEvent.DataQualityResultOrBuilder
       The score of each column scanned in the data scan job.
       The key of the map is the name of the column.
       The value is the data quality score for the column.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> column_score = 6;
      Specified by:
      getColumnScoreCount in interface DataScanEvent.DataQualityResultOrBuilder
    • containsColumnScore

      public boolean containsColumnScore(String key)
       The score of each column scanned in the data scan job.
       The key of the map is the name of the column.
       The value is the data quality score for the column.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> column_score = 6;
      Specified by:
      containsColumnScore in interface DataScanEvent.DataQualityResultOrBuilder
    • getColumnScore

      @Deprecated public Map<String,Float> getColumnScore()
      Deprecated.
      Use getColumnScoreMap() instead.
      Specified by:
      getColumnScore in interface DataScanEvent.DataQualityResultOrBuilder
    • getColumnScoreMap

      public Map<String,Float> getColumnScoreMap()
       The score of each column scanned in the data scan job.
       The key of the map is the name of the column.
       The value is the data quality score for the column.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> column_score = 6;
      Specified by:
      getColumnScoreMap in interface DataScanEvent.DataQualityResultOrBuilder
    • getColumnScoreOrDefault

      public float getColumnScoreOrDefault(String key, float defaultValue)
       The score of each column scanned in the data scan job.
       The key of the map is the name of the column.
       The value is the data quality score for the column.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> column_score = 6;
      Specified by:
      getColumnScoreOrDefault in interface DataScanEvent.DataQualityResultOrBuilder
    • getColumnScoreOrThrow

      public float getColumnScoreOrThrow(String key)
       The score of each column scanned in the data scan job.
       The key of the map is the name of the column.
       The value is the data quality score for the column.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      map<string, float> column_score = 6;
      Specified by:
      getColumnScoreOrThrow in interface DataScanEvent.DataQualityResultOrBuilder
    • 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 DataScanEvent.DataQualityResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataScanEvent.DataQualityResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataScanEvent.DataQualityResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataScanEvent.DataQualityResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataScanEvent.DataQualityResult.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataScanEvent.DataQualityResult.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataScanEvent.DataQualityResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataScanEvent.DataQualityResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataScanEvent.DataQualityResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataScanEvent.DataQualityResult> 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 DataScanEvent.DataQualityResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder