Class DataQualityRule.RangeExpectation

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

public static final class DataQualityRule.RangeExpectation extends com.google.protobuf.GeneratedMessage implements DataQualityRule.RangeExpectationOrBuilder
 Evaluates whether each column value lies between a specified range.
 
Protobuf type google.cloud.dataplex.v1.DataQualityRule.RangeExpectation
See Also:
  • Field Details

    • MIN_VALUE_FIELD_NUMBER

      public static final int MIN_VALUE_FIELD_NUMBER
      See Also:
    • MAX_VALUE_FIELD_NUMBER

      public static final int MAX_VALUE_FIELD_NUMBER
      See Also:
    • STRICT_MIN_ENABLED_FIELD_NUMBER

      public static final int STRICT_MIN_ENABLED_FIELD_NUMBER
      See Also:
    • STRICT_MAX_ENABLED_FIELD_NUMBER

      public static final int STRICT_MAX_ENABLED_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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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 DataQualityRule.RangeExpectation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static DataQualityRule.RangeExpectation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static DataQualityRule.RangeExpectation.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static DataQualityRule.RangeExpectation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataQualityRule.RangeExpectation> parser()
    • getParserForType

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