Class DataQualityDimensionResult.Builder

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

public static final class DataQualityDimensionResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataQualityDimensionResult.Builder> implements DataQualityDimensionResultOrBuilder
 DataQualityDimensionResult provides a more detailed, per-dimension view of
 the results.
 
Protobuf type google.cloud.dataplex.v1.DataQualityDimensionResult
  • 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.Builder<DataQualityDimensionResult.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<DataQualityDimensionResult.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<DataQualityDimensionResult.Builder>
    • getDefaultInstanceForType

      public DataQualityDimensionResult 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 DataQualityDimensionResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataQualityDimensionResult.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<DataQualityDimensionResult.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<DataQualityDimensionResult.Builder>
    • mergeFrom

      public DataQualityDimensionResult.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<DataQualityDimensionResult.Builder>
      Throws:
      IOException
    • hasDimension

      public boolean hasDimension()
       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDimension in interface DataQualityDimensionResultOrBuilder
      Returns:
      Whether the dimension field is set.
    • getDimension

      public DataQualityDimension getDimension()
       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDimension in interface DataQualityDimensionResultOrBuilder
      Returns:
      The dimension.
    • setDimension

       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDimension

       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDimension

       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDimension

      public DataQualityDimensionResult.Builder clearDimension()
       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDimensionBuilder

      public DataQualityDimension.Builder getDimensionBuilder()
       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDimensionOrBuilder

      public DataQualityDimensionOrBuilder getDimensionOrBuilder()
       Output only. The dimension config specified in the DataQualitySpec, as is.
       
      .google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDimensionOrBuilder in interface DataQualityDimensionResultOrBuilder
    • getPassed

      public boolean getPassed()
       Output only. Whether the dimension passed or failed.
       
      bool passed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPassed in interface DataQualityDimensionResultOrBuilder
      Returns:
      The passed.
    • setPassed

      public DataQualityDimensionResult.Builder setPassed(boolean value)
       Output only. Whether the dimension passed or failed.
       
      bool passed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The passed to set.
      Returns:
      This builder for chaining.
    • clearPassed

      public DataQualityDimensionResult.Builder clearPassed()
       Output only. Whether the dimension passed or failed.
       
      bool passed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasScore

      public boolean hasScore()
       Output only. The dimension-level data quality score for this data scan job
       if and only if the 'dimension' field is set.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasScore in interface DataQualityDimensionResultOrBuilder
      Returns:
      Whether the score field is set.
    • getScore

      public float getScore()
       Output only. The dimension-level data quality score for this data scan job
       if and only if the 'dimension' field is set.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScore in interface DataQualityDimensionResultOrBuilder
      Returns:
      The score.
    • setScore

      public DataQualityDimensionResult.Builder setScore(float value)
       Output only. The dimension-level data quality score for this data scan job
       if and only if the 'dimension' field is set.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The score to set.
      Returns:
      This builder for chaining.
    • clearScore

       Output only. The dimension-level data quality score for this data scan job
       if and only if the 'dimension' field is set.
      
       The score ranges between [0, 100] (up to two decimal
       points).
       
      optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.