Class DataScanEvent.DataQualityResult.Builder

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

public static final class DataScanEvent.DataQualityResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder> implements DataScanEvent.DataQualityResultOrBuilder
 Data quality result for data scan job.
 
Protobuf type google.cloud.dataplex.v1.DataScanEvent.DataQualityResult
  • 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.Builder<DataScanEvent.DataQualityResult.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
    • getDefaultInstanceForType

      public DataScanEvent.DataQualityResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DataScanEvent.DataQualityResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataScanEvent.DataQualityResult.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
    • mergeFrom

      public DataScanEvent.DataQualityResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataScanEvent.DataQualityResult.Builder>
      Throws:
      IOException
    • 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.
    • setRowCount

      public DataScanEvent.DataQualityResult.Builder setRowCount(long value)
       The count of rows processed in the data scan job.
       
      int64 row_count = 1;
      Parameters:
      value - The rowCount to set.
      Returns:
      This builder for chaining.
    • clearRowCount

       The count of rows processed in the data scan job.
       
      int64 row_count = 1;
      Returns:
      This builder for chaining.
    • 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.
    • setPassed

      public DataScanEvent.DataQualityResult.Builder setPassed(boolean value)
       Whether the data quality result was `pass` or not.
       
      bool passed = 2;
      Parameters:
      value - The passed to set.
      Returns:
      This builder for chaining.
    • clearPassed

       Whether the data quality result was `pass` or not.
       
      bool passed = 2;
      Returns:
      This builder for chaining.
    • 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
    • clearDimensionPassed

      public DataScanEvent.DataQualityResult.Builder clearDimensionPassed()
    • removeDimensionPassed

      public DataScanEvent.DataQualityResult.Builder removeDimensionPassed(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;
    • getMutableDimensionPassed

      @Deprecated public Map<String,Boolean> getMutableDimensionPassed()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDimensionPassed

      public DataScanEvent.DataQualityResult.Builder putDimensionPassed(String key, boolean value)
       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;
    • putAllDimensionPassed

      public DataScanEvent.DataQualityResult.Builder putAllDimensionPassed(Map<String,Boolean> values)
       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;
    • 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.
    • setScore

      public DataScanEvent.DataQualityResult.Builder setScore(float value)
       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;
      Parameters:
      value - The score to set.
      Returns:
      This builder for chaining.
    • clearScore

       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;
      Returns:
      This builder for chaining.
    • 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
    • clearDimensionScore

      public DataScanEvent.DataQualityResult.Builder clearDimensionScore()
    • removeDimensionScore

      public DataScanEvent.DataQualityResult.Builder removeDimensionScore(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;
    • getMutableDimensionScore

      @Deprecated public Map<String,Float> getMutableDimensionScore()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDimensionScore

      public DataScanEvent.DataQualityResult.Builder putDimensionScore(String key, float value)
       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;
    • putAllDimensionScore

      public DataScanEvent.DataQualityResult.Builder putAllDimensionScore(Map<String,Float> values)
       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;
    • 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
    • clearColumnScore

      public DataScanEvent.DataQualityResult.Builder clearColumnScore()
    • removeColumnScore

      public DataScanEvent.DataQualityResult.Builder removeColumnScore(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;
    • getMutableColumnScore

      @Deprecated public Map<String,Float> getMutableColumnScore()
      Deprecated.
      Use alternate mutation accessors instead.
    • putColumnScore

      public DataScanEvent.DataQualityResult.Builder putColumnScore(String key, float value)
       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;
    • putAllColumnScore

      public DataScanEvent.DataQualityResult.Builder putAllColumnScore(Map<String,Float> values)
       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;