Class DataQualityRule.StatisticRangeExpectation

    • Field Detail

      • STRICT_MIN_ENABLED_FIELD_NUMBER

        public static final int STRICT_MIN_ENABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STRICT_MAX_ENABLED_FIELD_NUMBER

        public static final int STRICT_MAX_ENABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getStatisticValue

        public int getStatisticValue()
         Optional. The aggregate metric to evaluate.
         
        .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getStatisticValue in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The enum numeric value on the wire for statistic.
      • getMinValue

        public String getMinValue()
         Optional. The minimum column statistic 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMinValue in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The minValue.
      • getMinValueBytes

        public com.google.protobuf.ByteString getMinValueBytes()
         Optional. The minimum column statistic 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMinValueBytes in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The bytes for minValue.
      • getMaxValue

        public String getMaxValue()
         Optional. The maximum column statistic 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 = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMaxValue in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The maxValue.
      • getMaxValueBytes

        public com.google.protobuf.ByteString getMaxValueBytes()
         Optional. The maximum column statistic 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 = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMaxValueBytes in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The bytes for maxValue.
      • getStrictMinEnabled

        public boolean getStrictMinEnabled()
         Optional. Whether column statistic 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getStrictMinEnabled in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The strictMinEnabled.
      • getStrictMaxEnabled

        public boolean getStrictMaxEnabled()
         Optional. Whether column statistic 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getStrictMaxEnabled in interface DataQualityRule.StatisticRangeExpectationOrBuilder
        Returns:
        The strictMaxEnabled.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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.StatisticRangeExpectation parseFrom​(ByteBuffer data,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static DataQualityRule.StatisticRangeExpectation 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.StatisticRangeExpectation parseFrom​(byte[] data)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        protected DataQualityRule.StatisticRangeExpectation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DataQualityRule.StatisticRangeExpectation> 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.GeneratedMessageV3
      • getDefaultInstanceForType

        public DataQualityRule.StatisticRangeExpectation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder