Class DataQualityRuleResult.Builder

    • Method Detail

      • 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.Builder<DataQualityRuleResult.Builder>
      • clear

        public DataQualityRuleResult.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.GeneratedMessageV3.Builder<DataQualityRuleResult.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.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • getDefaultInstanceForType

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

        public DataQualityRuleResult build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DataQualityRuleResult buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DataQualityRuleResult.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • clearField

        public DataQualityRuleResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • clearOneof

        public DataQualityRuleResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • setRepeatedField

        public DataQualityRuleResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • addRepeatedField

        public DataQualityRuleResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • isInitialized

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

        public DataQualityRuleResult.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<DataQualityRuleResult.Builder>
        Throws:
        IOException
      • hasRule

        public boolean hasRule()
         The rule specified in the DataQualitySpec, as is.
         
        .google.cloud.dataplex.v1.DataQualityRule rule = 1;
        Specified by:
        hasRule in interface DataQualityRuleResultOrBuilder
        Returns:
        Whether the rule field is set.
      • clearRule

        public DataQualityRuleResult.Builder clearRule()
         The rule specified in the DataQualitySpec, as is.
         
        .google.cloud.dataplex.v1.DataQualityRule rule = 1;
      • getRuleBuilder

        public DataQualityRule.Builder getRuleBuilder()
         The rule specified in the DataQualitySpec, as is.
         
        .google.cloud.dataplex.v1.DataQualityRule rule = 1;
      • setPassed

        public DataQualityRuleResult.Builder setPassed​(boolean value)
         Whether the rule passed or failed.
         
        bool passed = 7;
        Parameters:
        value - The passed to set.
        Returns:
        This builder for chaining.
      • clearPassed

        public DataQualityRuleResult.Builder clearPassed()
         Whether the rule passed or failed.
         
        bool passed = 7;
        Returns:
        This builder for chaining.
      • getEvaluatedCount

        public long getEvaluatedCount()
         The number of rows a rule was evaluated against.
        
         This field is only valid for row-level type rules.
        
         Evaluated count can be configured to either
        
         * include all rows (default) - with `null` rows automatically failing rule
         evaluation, or
         * exclude `null` rows from the `evaluated_count`, by setting
         `ignore_nulls = true`.
         
        int64 evaluated_count = 9;
        Specified by:
        getEvaluatedCount in interface DataQualityRuleResultOrBuilder
        Returns:
        The evaluatedCount.
      • setEvaluatedCount

        public DataQualityRuleResult.Builder setEvaluatedCount​(long value)
         The number of rows a rule was evaluated against.
        
         This field is only valid for row-level type rules.
        
         Evaluated count can be configured to either
        
         * include all rows (default) - with `null` rows automatically failing rule
         evaluation, or
         * exclude `null` rows from the `evaluated_count`, by setting
         `ignore_nulls = true`.
         
        int64 evaluated_count = 9;
        Parameters:
        value - The evaluatedCount to set.
        Returns:
        This builder for chaining.
      • clearEvaluatedCount

        public DataQualityRuleResult.Builder clearEvaluatedCount()
         The number of rows a rule was evaluated against.
        
         This field is only valid for row-level type rules.
        
         Evaluated count can be configured to either
        
         * include all rows (default) - with `null` rows automatically failing rule
         evaluation, or
         * exclude `null` rows from the `evaluated_count`, by setting
         `ignore_nulls = true`.
         
        int64 evaluated_count = 9;
        Returns:
        This builder for chaining.
      • getPassedCount

        public long getPassedCount()
         The number of rows which passed a rule evaluation.
        
         This field is only valid for row-level type rules.
         
        int64 passed_count = 8;
        Specified by:
        getPassedCount in interface DataQualityRuleResultOrBuilder
        Returns:
        The passedCount.
      • setPassedCount

        public DataQualityRuleResult.Builder setPassedCount​(long value)
         The number of rows which passed a rule evaluation.
        
         This field is only valid for row-level type rules.
         
        int64 passed_count = 8;
        Parameters:
        value - The passedCount to set.
        Returns:
        This builder for chaining.
      • clearPassedCount

        public DataQualityRuleResult.Builder clearPassedCount()
         The number of rows which passed a rule evaluation.
        
         This field is only valid for row-level type rules.
         
        int64 passed_count = 8;
        Returns:
        This builder for chaining.
      • getNullCount

        public long getNullCount()
         The number of rows with null values in the specified column.
         
        int64 null_count = 5;
        Specified by:
        getNullCount in interface DataQualityRuleResultOrBuilder
        Returns:
        The nullCount.
      • setNullCount

        public DataQualityRuleResult.Builder setNullCount​(long value)
         The number of rows with null values in the specified column.
         
        int64 null_count = 5;
        Parameters:
        value - The nullCount to set.
        Returns:
        This builder for chaining.
      • clearNullCount

        public DataQualityRuleResult.Builder clearNullCount()
         The number of rows with null values in the specified column.
         
        int64 null_count = 5;
        Returns:
        This builder for chaining.
      • getPassRatio

        public double getPassRatio()
         The ratio of **passed_count / evaluated_count**.
        
         This field is only valid for row-level type rules.
         
        double pass_ratio = 6;
        Specified by:
        getPassRatio in interface DataQualityRuleResultOrBuilder
        Returns:
        The passRatio.
      • setPassRatio

        public DataQualityRuleResult.Builder setPassRatio​(double value)
         The ratio of **passed_count / evaluated_count**.
        
         This field is only valid for row-level type rules.
         
        double pass_ratio = 6;
        Parameters:
        value - The passRatio to set.
        Returns:
        This builder for chaining.
      • clearPassRatio

        public DataQualityRuleResult.Builder clearPassRatio()
         The ratio of **passed_count / evaluated_count**.
        
         This field is only valid for row-level type rules.
         
        double pass_ratio = 6;
        Returns:
        This builder for chaining.
      • getFailingRowsQuery

        public String getFailingRowsQuery()
         The query to find rows that did not pass this rule.
        
         This field is only valid for row-level type rules.
         
        string failing_rows_query = 10;
        Specified by:
        getFailingRowsQuery in interface DataQualityRuleResultOrBuilder
        Returns:
        The failingRowsQuery.
      • getFailingRowsQueryBytes

        public com.google.protobuf.ByteString getFailingRowsQueryBytes()
         The query to find rows that did not pass this rule.
        
         This field is only valid for row-level type rules.
         
        string failing_rows_query = 10;
        Specified by:
        getFailingRowsQueryBytes in interface DataQualityRuleResultOrBuilder
        Returns:
        The bytes for failingRowsQuery.
      • setFailingRowsQuery

        public DataQualityRuleResult.Builder setFailingRowsQuery​(String value)
         The query to find rows that did not pass this rule.
        
         This field is only valid for row-level type rules.
         
        string failing_rows_query = 10;
        Parameters:
        value - The failingRowsQuery to set.
        Returns:
        This builder for chaining.
      • clearFailingRowsQuery

        public DataQualityRuleResult.Builder clearFailingRowsQuery()
         The query to find rows that did not pass this rule.
        
         This field is only valid for row-level type rules.
         
        string failing_rows_query = 10;
        Returns:
        This builder for chaining.
      • setFailingRowsQueryBytes

        public DataQualityRuleResult.Builder setFailingRowsQueryBytes​(com.google.protobuf.ByteString value)
         The query to find rows that did not pass this rule.
        
         This field is only valid for row-level type rules.
         
        string failing_rows_query = 10;
        Parameters:
        value - The bytes for failingRowsQuery to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DataQualityRuleResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>
      • mergeUnknownFields

        public final DataQualityRuleResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataQualityRuleResult.Builder>