Class DataQualityRule.RangeExpectation.Builder

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

public static final class DataQualityRule.RangeExpectation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataQualityRule.RangeExpectation.Builder> implements DataQualityRule.RangeExpectationOrBuilder
 Evaluates whether each column value lies between a specified range.
 
Protobuf type google.cloud.dataplex.v1.DataQualityRule.RangeExpectation
  • 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<DataQualityRule.RangeExpectation.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<DataQualityRule.RangeExpectation.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<DataQualityRule.RangeExpectation.Builder>
    • getDefaultInstanceForType

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

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

      public DataQualityRule.RangeExpectation.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<DataQualityRule.RangeExpectation.Builder>
      Throws:
      IOException
    • getMinValue

      public String getMinValue()
       Optional. The minimum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string min_value = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinValue in interface DataQualityRule.RangeExpectationOrBuilder
      Returns:
      The minValue.
    • getMinValueBytes

      public com.google.protobuf.ByteString getMinValueBytes()
       Optional. The minimum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string min_value = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinValueBytes in interface DataQualityRule.RangeExpectationOrBuilder
      Returns:
      The bytes for minValue.
    • setMinValue

       Optional. The minimum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string min_value = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The minValue to set.
      Returns:
      This builder for chaining.
    • clearMinValue

       Optional. The minimum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string min_value = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setMinValueBytes

      public DataQualityRule.RangeExpectation.Builder setMinValueBytes(com.google.protobuf.ByteString value)
       Optional. The minimum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string min_value = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for minValue to set.
      Returns:
      This builder for chaining.
    • getMaxValue

      public String getMaxValue()
       Optional. The maximum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string max_value = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxValue in interface DataQualityRule.RangeExpectationOrBuilder
      Returns:
      The maxValue.
    • getMaxValueBytes

      public com.google.protobuf.ByteString getMaxValueBytes()
       Optional. The maximum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string max_value = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxValueBytes in interface DataQualityRule.RangeExpectationOrBuilder
      Returns:
      The bytes for maxValue.
    • setMaxValue

       Optional. The maximum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string max_value = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxValue to set.
      Returns:
      This builder for chaining.
    • clearMaxValue

       Optional. The maximum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string max_value = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setMaxValueBytes

      public DataQualityRule.RangeExpectation.Builder setMaxValueBytes(com.google.protobuf.ByteString value)
       Optional. The maximum column value allowed for a row to pass this
       validation. At least one of `min_value` and `max_value` need to be
       provided.
       
      string max_value = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for maxValue to set.
      Returns:
      This builder for chaining.
    • getStrictMinEnabled

      public boolean getStrictMinEnabled()
       Optional. Whether each value needs to be strictly greater than ('>') the
       minimum, or if equality is allowed.
      
       Only relevant if a `min_value` has been defined. Default = false.
       
      bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStrictMinEnabled in interface DataQualityRule.RangeExpectationOrBuilder
      Returns:
      The strictMinEnabled.
    • setStrictMinEnabled

      public DataQualityRule.RangeExpectation.Builder setStrictMinEnabled(boolean value)
       Optional. Whether each value needs to be strictly greater than ('>') the
       minimum, or if equality is allowed.
      
       Only relevant if a `min_value` has been defined. Default = false.
       
      bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The strictMinEnabled to set.
      Returns:
      This builder for chaining.
    • clearStrictMinEnabled

      public DataQualityRule.RangeExpectation.Builder clearStrictMinEnabled()
       Optional. Whether each value needs to be strictly greater than ('>') the
       minimum, or if equality is allowed.
      
       Only relevant if a `min_value` has been defined. Default = false.
       
      bool strict_min_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getStrictMaxEnabled

      public boolean getStrictMaxEnabled()
       Optional. Whether each value needs to be strictly lesser than ('<') the
       maximum, or if equality is allowed.
      
       Only relevant if a `max_value` has been defined. Default = false.
       
      bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStrictMaxEnabled in interface DataQualityRule.RangeExpectationOrBuilder
      Returns:
      The strictMaxEnabled.
    • setStrictMaxEnabled

      public DataQualityRule.RangeExpectation.Builder setStrictMaxEnabled(boolean value)
       Optional. Whether each value needs to be strictly lesser than ('<') the
       maximum, or if equality is allowed.
      
       Only relevant if a `max_value` has been defined. Default = false.
       
      bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The strictMaxEnabled to set.
      Returns:
      This builder for chaining.
    • clearStrictMaxEnabled

      public DataQualityRule.RangeExpectation.Builder clearStrictMaxEnabled()
       Optional. Whether each value needs to be strictly lesser than ('<') the
       maximum, or if equality is allowed.
      
       Only relevant if a `max_value` has been defined. Default = false.
       
      bool strict_max_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.