Class DataQualityScanRuleResult.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<DataQualityScanRuleResult.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<DataQualityScanRuleResult.Builder>
      • getDefaultInstanceForType

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

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

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

        public DataQualityScanRuleResult.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<DataQualityScanRuleResult.Builder>
      • isInitialized

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

        public DataQualityScanRuleResult.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<DataQualityScanRuleResult.Builder>
        Throws:
        IOException
      • getJobIdBytes

        public com.google.protobuf.ByteString getJobIdBytes()
         Identifier of the specific data scan job this log entry is for.
         
        string job_id = 1;
        Specified by:
        getJobIdBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for jobId.
      • setJobId

        public DataQualityScanRuleResult.Builder setJobId​(String value)
         Identifier of the specific data scan job this log entry is for.
         
        string job_id = 1;
        Parameters:
        value - The jobId to set.
        Returns:
        This builder for chaining.
      • clearJobId

        public DataQualityScanRuleResult.Builder clearJobId()
         Identifier of the specific data scan job this log entry is for.
         
        string job_id = 1;
        Returns:
        This builder for chaining.
      • setJobIdBytes

        public DataQualityScanRuleResult.Builder setJobIdBytes​(com.google.protobuf.ByteString value)
         Identifier of the specific data scan job this log entry is for.
         
        string job_id = 1;
        Parameters:
        value - The bytes for jobId to set.
        Returns:
        This builder for chaining.
      • getDataSourceBytes

        public com.google.protobuf.ByteString getDataSourceBytes()
         The data source of the data scan (e.g. BigQuery table name).
         
        string data_source = 2;
        Specified by:
        getDataSourceBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for dataSource.
      • setDataSource

        public DataQualityScanRuleResult.Builder setDataSource​(String value)
         The data source of the data scan (e.g. BigQuery table name).
         
        string data_source = 2;
        Parameters:
        value - The dataSource to set.
        Returns:
        This builder for chaining.
      • clearDataSource

        public DataQualityScanRuleResult.Builder clearDataSource()
         The data source of the data scan (e.g. BigQuery table name).
         
        string data_source = 2;
        Returns:
        This builder for chaining.
      • setDataSourceBytes

        public DataQualityScanRuleResult.Builder setDataSourceBytes​(com.google.protobuf.ByteString value)
         The data source of the data scan (e.g. BigQuery table name).
         
        string data_source = 2;
        Parameters:
        value - The bytes for dataSource to set.
        Returns:
        This builder for chaining.
      • getColumnBytes

        public com.google.protobuf.ByteString getColumnBytes()
         The column which this rule is evaluated against.
         
        string column = 3;
        Specified by:
        getColumnBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for column.
      • setColumn

        public DataQualityScanRuleResult.Builder setColumn​(String value)
         The column which this rule is evaluated against.
         
        string column = 3;
        Parameters:
        value - The column to set.
        Returns:
        This builder for chaining.
      • clearColumn

        public DataQualityScanRuleResult.Builder clearColumn()
         The column which this rule is evaluated against.
         
        string column = 3;
        Returns:
        This builder for chaining.
      • setColumnBytes

        public DataQualityScanRuleResult.Builder setColumnBytes​(com.google.protobuf.ByteString value)
         The column which this rule is evaluated against.
         
        string column = 3;
        Parameters:
        value - The bytes for column to set.
        Returns:
        This builder for chaining.
      • setRuleName

        public DataQualityScanRuleResult.Builder setRuleName​(String value)
         The name of the data quality rule.
         
        string rule_name = 4;
        Parameters:
        value - The ruleName to set.
        Returns:
        This builder for chaining.
      • clearRuleName

        public DataQualityScanRuleResult.Builder clearRuleName()
         The name of the data quality rule.
         
        string rule_name = 4;
        Returns:
        This builder for chaining.
      • setRuleNameBytes

        public DataQualityScanRuleResult.Builder setRuleNameBytes​(com.google.protobuf.ByteString value)
         The name of the data quality rule.
         
        string rule_name = 4;
        Parameters:
        value - The bytes for ruleName to set.
        Returns:
        This builder for chaining.
      • getRuleTypeValue

        public int getRuleTypeValue()
         The type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
        Specified by:
        getRuleTypeValue in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The enum numeric value on the wire for ruleType.
      • setRuleTypeValue

        public DataQualityScanRuleResult.Builder setRuleTypeValue​(int value)
         The type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
        Parameters:
        value - The enum numeric value on the wire for ruleType to set.
        Returns:
        This builder for chaining.
      • clearRuleType

        public DataQualityScanRuleResult.Builder clearRuleType()
         The type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
        Returns:
        This builder for chaining.
      • getEvalutionTypeValue

        public int getEvalutionTypeValue()
         The evaluation type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
        Specified by:
        getEvalutionTypeValue in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The enum numeric value on the wire for evalutionType.
      • setEvalutionTypeValue

        public DataQualityScanRuleResult.Builder setEvalutionTypeValue​(int value)
         The evaluation type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
        Parameters:
        value - The enum numeric value on the wire for evalutionType to set.
        Returns:
        This builder for chaining.
      • clearEvalutionType

        public DataQualityScanRuleResult.Builder clearEvalutionType()
         The evaluation type of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
        Returns:
        This builder for chaining.
      • getRuleDimensionBytes

        public com.google.protobuf.ByteString getRuleDimensionBytes()
         The dimension of the data quality rule.
         
        string rule_dimension = 7;
        Specified by:
        getRuleDimensionBytes in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The bytes for ruleDimension.
      • setRuleDimension

        public DataQualityScanRuleResult.Builder setRuleDimension​(String value)
         The dimension of the data quality rule.
         
        string rule_dimension = 7;
        Parameters:
        value - The ruleDimension to set.
        Returns:
        This builder for chaining.
      • clearRuleDimension

        public DataQualityScanRuleResult.Builder clearRuleDimension()
         The dimension of the data quality rule.
         
        string rule_dimension = 7;
        Returns:
        This builder for chaining.
      • setRuleDimensionBytes

        public DataQualityScanRuleResult.Builder setRuleDimensionBytes​(com.google.protobuf.ByteString value)
         The dimension of the data quality rule.
         
        string rule_dimension = 7;
        Parameters:
        value - The bytes for ruleDimension to set.
        Returns:
        This builder for chaining.
      • getThresholdPercent

        public double getThresholdPercent()
         The passing threshold ([0.0, 100.0]) of the data quality rule.
         
        double threshold_percent = 8;
        Specified by:
        getThresholdPercent in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The thresholdPercent.
      • setThresholdPercent

        public DataQualityScanRuleResult.Builder setThresholdPercent​(double value)
         The passing threshold ([0.0, 100.0]) of the data quality rule.
         
        double threshold_percent = 8;
        Parameters:
        value - The thresholdPercent to set.
        Returns:
        This builder for chaining.
      • clearThresholdPercent

        public DataQualityScanRuleResult.Builder clearThresholdPercent()
         The passing threshold ([0.0, 100.0]) of the data quality rule.
         
        double threshold_percent = 8;
        Returns:
        This builder for chaining.
      • getResultValue

        public int getResultValue()
         The result of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
        Specified by:
        getResultValue in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The enum numeric value on the wire for result.
      • setResultValue

        public DataQualityScanRuleResult.Builder setResultValue​(int value)
         The result of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
        Parameters:
        value - The enum numeric value on the wire for result to set.
        Returns:
        This builder for chaining.
      • clearResult

        public DataQualityScanRuleResult.Builder clearResult()
         The result of the data quality rule.
         
        .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
        Returns:
        This builder for chaining.
      • getEvaluatedRowCount

        public long getEvaluatedRowCount()
         The number of rows evaluated against the data quality rule.
         This field is only valid for rules of PER_ROW evaluation type.
         
        int64 evaluated_row_count = 10;
        Specified by:
        getEvaluatedRowCount in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The evaluatedRowCount.
      • setEvaluatedRowCount

        public DataQualityScanRuleResult.Builder setEvaluatedRowCount​(long value)
         The number of rows evaluated against the data quality rule.
         This field is only valid for rules of PER_ROW evaluation type.
         
        int64 evaluated_row_count = 10;
        Parameters:
        value - The evaluatedRowCount to set.
        Returns:
        This builder for chaining.
      • clearEvaluatedRowCount

        public DataQualityScanRuleResult.Builder clearEvaluatedRowCount()
         The number of rows evaluated against the data quality rule.
         This field is only valid for rules of PER_ROW evaluation type.
         
        int64 evaluated_row_count = 10;
        Returns:
        This builder for chaining.
      • getPassedRowCount

        public long getPassedRowCount()
         The number of rows which passed a rule evaluation.
         This field is only valid for rules of PER_ROW evaluation type.
         
        int64 passed_row_count = 11;
        Specified by:
        getPassedRowCount in interface DataQualityScanRuleResultOrBuilder
        Returns:
        The passedRowCount.
      • setPassedRowCount

        public DataQualityScanRuleResult.Builder setPassedRowCount​(long value)
         The number of rows which passed a rule evaluation.
         This field is only valid for rules of PER_ROW evaluation type.
         
        int64 passed_row_count = 11;
        Parameters:
        value - The passedRowCount to set.
        Returns:
        This builder for chaining.
      • clearPassedRowCount

        public DataQualityScanRuleResult.Builder clearPassedRowCount()
         The number of rows which passed a rule evaluation.
         This field is only valid for rules of PER_ROW evaluation type.
         
        int64 passed_row_count = 11;
        Returns:
        This builder for chaining.
      • setNullRowCount

        public DataQualityScanRuleResult.Builder setNullRowCount​(long value)
         The number of rows with null values in the specified column.
         
        int64 null_row_count = 12;
        Parameters:
        value - The nullRowCount to set.
        Returns:
        This builder for chaining.
      • clearNullRowCount

        public DataQualityScanRuleResult.Builder clearNullRowCount()
         The number of rows with null values in the specified column.
         
        int64 null_row_count = 12;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DataQualityScanRuleResult.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<DataQualityScanRuleResult.Builder>
      • mergeUnknownFields

        public final DataQualityScanRuleResult.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<DataQualityScanRuleResult.Builder>