Class DataQualityRule.Builder

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

public static final class DataQualityRule.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataQualityRule.Builder> implements DataQualityRuleOrBuilder
 A rule captures data quality intent about a data source.
 
Protobuf type google.cloud.dataplex.v1.DataQualityRule
  • 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.Builder>
    • clear

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

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

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

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

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

      public DataQualityRule.Builder mergeFrom(DataQualityRule other)
    • isInitialized

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

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

      public DataQualityRule.RuleTypeCase getRuleTypeCase()
      Specified by:
      getRuleTypeCase in interface DataQualityRuleOrBuilder
    • clearRuleType

      public DataQualityRule.Builder clearRuleType()
    • hasRangeExpectation

      public boolean hasRangeExpectation()
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
      Specified by:
      hasRangeExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the rangeExpectation field is set.
    • getRangeExpectation

      public DataQualityRule.RangeExpectation getRangeExpectation()
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
      Specified by:
      getRangeExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The rangeExpectation.
    • setRangeExpectation

      public DataQualityRule.Builder setRangeExpectation(DataQualityRule.RangeExpectation value)
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    • setRangeExpectation

      public DataQualityRule.Builder setRangeExpectation(DataQualityRule.RangeExpectation.Builder builderForValue)
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    • mergeRangeExpectation

      public DataQualityRule.Builder mergeRangeExpectation(DataQualityRule.RangeExpectation value)
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    • clearRangeExpectation

      public DataQualityRule.Builder clearRangeExpectation()
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    • getRangeExpectationBuilder

      public DataQualityRule.RangeExpectation.Builder getRangeExpectationBuilder()
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
    • getRangeExpectationOrBuilder

      public DataQualityRule.RangeExpectationOrBuilder getRangeExpectationOrBuilder()
       Row-level rule which evaluates whether each column value lies between a
       specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.RangeExpectation range_expectation = 1;
      Specified by:
      getRangeExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasNonNullExpectation

      public boolean hasNonNullExpectation()
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
      Specified by:
      hasNonNullExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the nonNullExpectation field is set.
    • getNonNullExpectation

      public DataQualityRule.NonNullExpectation getNonNullExpectation()
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
      Specified by:
      getNonNullExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The nonNullExpectation.
    • setNonNullExpectation

      public DataQualityRule.Builder setNonNullExpectation(DataQualityRule.NonNullExpectation value)
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
    • setNonNullExpectation

      public DataQualityRule.Builder setNonNullExpectation(DataQualityRule.NonNullExpectation.Builder builderForValue)
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
    • mergeNonNullExpectation

      public DataQualityRule.Builder mergeNonNullExpectation(DataQualityRule.NonNullExpectation value)
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
    • clearNonNullExpectation

      public DataQualityRule.Builder clearNonNullExpectation()
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
    • getNonNullExpectationBuilder

      public DataQualityRule.NonNullExpectation.Builder getNonNullExpectationBuilder()
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
    • getNonNullExpectationOrBuilder

      public DataQualityRule.NonNullExpectationOrBuilder getNonNullExpectationOrBuilder()
       Row-level rule which evaluates whether each column value is null.
       
      .google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation non_null_expectation = 2;
      Specified by:
      getNonNullExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasSetExpectation

      public boolean hasSetExpectation()
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      Specified by:
      hasSetExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the setExpectation field is set.
    • getSetExpectation

      public DataQualityRule.SetExpectation getSetExpectation()
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      Specified by:
      getSetExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The setExpectation.
    • setSetExpectation

      public DataQualityRule.Builder setSetExpectation(DataQualityRule.SetExpectation value)
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    • setSetExpectation

      public DataQualityRule.Builder setSetExpectation(DataQualityRule.SetExpectation.Builder builderForValue)
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    • mergeSetExpectation

      public DataQualityRule.Builder mergeSetExpectation(DataQualityRule.SetExpectation value)
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    • clearSetExpectation

      public DataQualityRule.Builder clearSetExpectation()
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    • getSetExpectationBuilder

      public DataQualityRule.SetExpectation.Builder getSetExpectationBuilder()
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
    • getSetExpectationOrBuilder

      public DataQualityRule.SetExpectationOrBuilder getSetExpectationOrBuilder()
       Row-level rule which evaluates whether each column value is contained by
       a specified set.
       
      .google.cloud.dataplex.v1.DataQualityRule.SetExpectation set_expectation = 3;
      Specified by:
      getSetExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasRegexExpectation

      public boolean hasRegexExpectation()
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
      Specified by:
      hasRegexExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the regexExpectation field is set.
    • getRegexExpectation

      public DataQualityRule.RegexExpectation getRegexExpectation()
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
      Specified by:
      getRegexExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The regexExpectation.
    • setRegexExpectation

      public DataQualityRule.Builder setRegexExpectation(DataQualityRule.RegexExpectation value)
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    • setRegexExpectation

      public DataQualityRule.Builder setRegexExpectation(DataQualityRule.RegexExpectation.Builder builderForValue)
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    • mergeRegexExpectation

      public DataQualityRule.Builder mergeRegexExpectation(DataQualityRule.RegexExpectation value)
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    • clearRegexExpectation

      public DataQualityRule.Builder clearRegexExpectation()
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    • getRegexExpectationBuilder

      public DataQualityRule.RegexExpectation.Builder getRegexExpectationBuilder()
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
    • getRegexExpectationOrBuilder

      public DataQualityRule.RegexExpectationOrBuilder getRegexExpectationOrBuilder()
       Row-level rule which evaluates whether each column value matches a
       specified regex.
       
      .google.cloud.dataplex.v1.DataQualityRule.RegexExpectation regex_expectation = 4;
      Specified by:
      getRegexExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasUniquenessExpectation

      public boolean hasUniquenessExpectation()
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
      Specified by:
      hasUniquenessExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the uniquenessExpectation field is set.
    • getUniquenessExpectation

      public DataQualityRule.UniquenessExpectation getUniquenessExpectation()
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
      Specified by:
      getUniquenessExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The uniquenessExpectation.
    • setUniquenessExpectation

      public DataQualityRule.Builder setUniquenessExpectation(DataQualityRule.UniquenessExpectation value)
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
    • setUniquenessExpectation

      public DataQualityRule.Builder setUniquenessExpectation(DataQualityRule.UniquenessExpectation.Builder builderForValue)
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
    • mergeUniquenessExpectation

      public DataQualityRule.Builder mergeUniquenessExpectation(DataQualityRule.UniquenessExpectation value)
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
    • clearUniquenessExpectation

      public DataQualityRule.Builder clearUniquenessExpectation()
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
    • getUniquenessExpectationBuilder

      public DataQualityRule.UniquenessExpectation.Builder getUniquenessExpectationBuilder()
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
    • getUniquenessExpectationOrBuilder

      public DataQualityRule.UniquenessExpectationOrBuilder getUniquenessExpectationOrBuilder()
       Row-level rule which evaluates whether each column value is unique.
       
      .google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation uniqueness_expectation = 100;
      Specified by:
      getUniquenessExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasStatisticRangeExpectation

      public boolean hasStatisticRangeExpectation()
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
      Specified by:
      hasStatisticRangeExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the statisticRangeExpectation field is set.
    • getStatisticRangeExpectation

      public DataQualityRule.StatisticRangeExpectation getStatisticRangeExpectation()
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
      Specified by:
      getStatisticRangeExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The statisticRangeExpectation.
    • setStatisticRangeExpectation

      public DataQualityRule.Builder setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value)
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
    • setStatisticRangeExpectation

      public DataQualityRule.Builder setStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation.Builder builderForValue)
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
    • mergeStatisticRangeExpectation

      public DataQualityRule.Builder mergeStatisticRangeExpectation(DataQualityRule.StatisticRangeExpectation value)
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
    • clearStatisticRangeExpectation

      public DataQualityRule.Builder clearStatisticRangeExpectation()
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
    • getStatisticRangeExpectationBuilder

      public DataQualityRule.StatisticRangeExpectation.Builder getStatisticRangeExpectationBuilder()
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
    • getStatisticRangeExpectationOrBuilder

      public DataQualityRule.StatisticRangeExpectationOrBuilder getStatisticRangeExpectationOrBuilder()
       Aggregate rule which evaluates whether the column aggregate
       statistic lies between a specified range.
       
      .google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation statistic_range_expectation = 101;
      Specified by:
      getStatisticRangeExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasRowConditionExpectation

      public boolean hasRowConditionExpectation()
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
      Specified by:
      hasRowConditionExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the rowConditionExpectation field is set.
    • getRowConditionExpectation

      public DataQualityRule.RowConditionExpectation getRowConditionExpectation()
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
      Specified by:
      getRowConditionExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The rowConditionExpectation.
    • setRowConditionExpectation

      public DataQualityRule.Builder setRowConditionExpectation(DataQualityRule.RowConditionExpectation value)
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
    • setRowConditionExpectation

      public DataQualityRule.Builder setRowConditionExpectation(DataQualityRule.RowConditionExpectation.Builder builderForValue)
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
    • mergeRowConditionExpectation

      public DataQualityRule.Builder mergeRowConditionExpectation(DataQualityRule.RowConditionExpectation value)
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
    • clearRowConditionExpectation

      public DataQualityRule.Builder clearRowConditionExpectation()
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
    • getRowConditionExpectationBuilder

      public DataQualityRule.RowConditionExpectation.Builder getRowConditionExpectationBuilder()
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
    • getRowConditionExpectationOrBuilder

      public DataQualityRule.RowConditionExpectationOrBuilder getRowConditionExpectationOrBuilder()
       Row-level rule which evaluates whether each row in a table passes the
       specified condition.
       
      .google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation row_condition_expectation = 200;
      Specified by:
      getRowConditionExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasTableConditionExpectation

      public boolean hasTableConditionExpectation()
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
      Specified by:
      hasTableConditionExpectation in interface DataQualityRuleOrBuilder
      Returns:
      Whether the tableConditionExpectation field is set.
    • getTableConditionExpectation

      public DataQualityRule.TableConditionExpectation getTableConditionExpectation()
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
      Specified by:
      getTableConditionExpectation in interface DataQualityRuleOrBuilder
      Returns:
      The tableConditionExpectation.
    • setTableConditionExpectation

      public DataQualityRule.Builder setTableConditionExpectation(DataQualityRule.TableConditionExpectation value)
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
    • setTableConditionExpectation

      public DataQualityRule.Builder setTableConditionExpectation(DataQualityRule.TableConditionExpectation.Builder builderForValue)
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
    • mergeTableConditionExpectation

      public DataQualityRule.Builder mergeTableConditionExpectation(DataQualityRule.TableConditionExpectation value)
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
    • clearTableConditionExpectation

      public DataQualityRule.Builder clearTableConditionExpectation()
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
    • getTableConditionExpectationBuilder

      public DataQualityRule.TableConditionExpectation.Builder getTableConditionExpectationBuilder()
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
    • getTableConditionExpectationOrBuilder

      public DataQualityRule.TableConditionExpectationOrBuilder getTableConditionExpectationOrBuilder()
       Aggregate rule which evaluates whether the provided expression is true
       for a table.
       
      .google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation table_condition_expectation = 201;
      Specified by:
      getTableConditionExpectationOrBuilder in interface DataQualityRuleOrBuilder
    • hasSqlAssertion

      public boolean hasSqlAssertion()
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
      Specified by:
      hasSqlAssertion in interface DataQualityRuleOrBuilder
      Returns:
      Whether the sqlAssertion field is set.
    • getSqlAssertion

      public DataQualityRule.SqlAssertion getSqlAssertion()
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
      Specified by:
      getSqlAssertion in interface DataQualityRuleOrBuilder
      Returns:
      The sqlAssertion.
    • setSqlAssertion

      public DataQualityRule.Builder setSqlAssertion(DataQualityRule.SqlAssertion value)
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
    • setSqlAssertion

      public DataQualityRule.Builder setSqlAssertion(DataQualityRule.SqlAssertion.Builder builderForValue)
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
    • mergeSqlAssertion

      public DataQualityRule.Builder mergeSqlAssertion(DataQualityRule.SqlAssertion value)
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
    • clearSqlAssertion

      public DataQualityRule.Builder clearSqlAssertion()
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
    • getSqlAssertionBuilder

      public DataQualityRule.SqlAssertion.Builder getSqlAssertionBuilder()
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
    • getSqlAssertionOrBuilder

      public DataQualityRule.SqlAssertionOrBuilder getSqlAssertionOrBuilder()
       Aggregate rule which evaluates the number of rows returned for the
       provided statement. If any rows are returned, this rule fails.
       
      .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
      Specified by:
      getSqlAssertionOrBuilder in interface DataQualityRuleOrBuilder
    • getColumn

      public String getColumn()
       Optional. The unnested column which this rule is evaluated against.
       
      string column = 500 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getColumn in interface DataQualityRuleOrBuilder
      Returns:
      The column.
    • getColumnBytes

      public com.google.protobuf.ByteString getColumnBytes()
       Optional. The unnested column which this rule is evaluated against.
       
      string column = 500 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getColumnBytes in interface DataQualityRuleOrBuilder
      Returns:
      The bytes for column.
    • setColumn

      public DataQualityRule.Builder setColumn(String value)
       Optional. The unnested column which this rule is evaluated against.
       
      string column = 500 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The column to set.
      Returns:
      This builder for chaining.
    • clearColumn

      public DataQualityRule.Builder clearColumn()
       Optional. The unnested column which this rule is evaluated against.
       
      string column = 500 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setColumnBytes

      public DataQualityRule.Builder setColumnBytes(com.google.protobuf.ByteString value)
       Optional. The unnested column which this rule is evaluated against.
       
      string column = 500 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for column to set.
      Returns:
      This builder for chaining.
    • getIgnoreNull

      public boolean getIgnoreNull()
       Optional. Rows with `null` values will automatically fail a rule, unless
       `ignore_null` is `true`. In that case, such `null` rows are trivially
       considered passing.
      
       This field is only valid for the following type of rules:
      
       * RangeExpectation
       * RegexExpectation
       * SetExpectation
       * UniquenessExpectation
       
      bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIgnoreNull in interface DataQualityRuleOrBuilder
      Returns:
      The ignoreNull.
    • setIgnoreNull

      public DataQualityRule.Builder setIgnoreNull(boolean value)
       Optional. Rows with `null` values will automatically fail a rule, unless
       `ignore_null` is `true`. In that case, such `null` rows are trivially
       considered passing.
      
       This field is only valid for the following type of rules:
      
       * RangeExpectation
       * RegexExpectation
       * SetExpectation
       * UniquenessExpectation
       
      bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ignoreNull to set.
      Returns:
      This builder for chaining.
    • clearIgnoreNull

      public DataQualityRule.Builder clearIgnoreNull()
       Optional. Rows with `null` values will automatically fail a rule, unless
       `ignore_null` is `true`. In that case, such `null` rows are trivially
       considered passing.
      
       This field is only valid for the following type of rules:
      
       * RangeExpectation
       * RegexExpectation
       * SetExpectation
       * UniquenessExpectation
       
      bool ignore_null = 501 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDimension

      public String getDimension()
       Optional. The dimension a rule belongs to. Results are also aggregated at
       the dimension level. Custom dimension name is supported with all uppercase
       letters and maximum length of 30 characters.
       
      string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimension in interface DataQualityRuleOrBuilder
      Returns:
      The dimension.
    • getDimensionBytes

      public com.google.protobuf.ByteString getDimensionBytes()
       Optional. The dimension a rule belongs to. Results are also aggregated at
       the dimension level. Custom dimension name is supported with all uppercase
       letters and maximum length of 30 characters.
       
      string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionBytes in interface DataQualityRuleOrBuilder
      Returns:
      The bytes for dimension.
    • setDimension

      public DataQualityRule.Builder setDimension(String value)
       Optional. The dimension a rule belongs to. Results are also aggregated at
       the dimension level. Custom dimension name is supported with all uppercase
       letters and maximum length of 30 characters.
       
      string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The dimension to set.
      Returns:
      This builder for chaining.
    • clearDimension

      public DataQualityRule.Builder clearDimension()
       Optional. The dimension a rule belongs to. Results are also aggregated at
       the dimension level. Custom dimension name is supported with all uppercase
       letters and maximum length of 30 characters.
       
      string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDimensionBytes

      public DataQualityRule.Builder setDimensionBytes(com.google.protobuf.ByteString value)
       Optional. The dimension a rule belongs to. Results are also aggregated at
       the dimension level. Custom dimension name is supported with all uppercase
       letters and maximum length of 30 characters.
       
      string dimension = 502 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for dimension to set.
      Returns:
      This builder for chaining.
    • getThreshold

      public double getThreshold()
       Optional. The minimum ratio of **passing_rows / total_rows** required to
       pass this rule, with a range of [0.0, 1.0].
      
       0 indicates default value (i.e. 1.0).
      
       This field is only valid for row-level type rules.
       
      double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getThreshold in interface DataQualityRuleOrBuilder
      Returns:
      The threshold.
    • setThreshold

      public DataQualityRule.Builder setThreshold(double value)
       Optional. The minimum ratio of **passing_rows / total_rows** required to
       pass this rule, with a range of [0.0, 1.0].
      
       0 indicates default value (i.e. 1.0).
      
       This field is only valid for row-level type rules.
       
      double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The threshold to set.
      Returns:
      This builder for chaining.
    • clearThreshold

      public DataQualityRule.Builder clearThreshold()
       Optional. The minimum ratio of **passing_rows / total_rows** required to
       pass this rule, with a range of [0.0, 1.0].
      
       0 indicates default value (i.e. 1.0).
      
       This field is only valid for row-level type rules.
       
      double threshold = 503 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Optional. A mutable name for the rule.
      
       * The name must contain only letters (a-z, A-Z), numbers (0-9), or
       hyphens (-).
       * The maximum length is 63 characters.
       * Must start with a letter.
       * Must end with a number or a letter.
       
      string name = 504 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getName in interface DataQualityRuleOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional. A mutable name for the rule.
      
       * The name must contain only letters (a-z, A-Z), numbers (0-9), or
       hyphens (-).
       * The maximum length is 63 characters.
       * Must start with a letter.
       * Must end with a number or a letter.
       
      string name = 504 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNameBytes in interface DataQualityRuleOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DataQualityRule.Builder setName(String value)
       Optional. A mutable name for the rule.
      
       * The name must contain only letters (a-z, A-Z), numbers (0-9), or
       hyphens (-).
       * The maximum length is 63 characters.
       * Must start with a letter.
       * Must end with a number or a letter.
       
      string name = 504 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DataQualityRule.Builder clearName()
       Optional. A mutable name for the rule.
      
       * The name must contain only letters (a-z, A-Z), numbers (0-9), or
       hyphens (-).
       * The maximum length is 63 characters.
       * Must start with a letter.
       * Must end with a number or a letter.
       
      string name = 504 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataQualityRule.Builder setNameBytes(com.google.protobuf.ByteString value)
       Optional. A mutable name for the rule.
      
       * The name must contain only letters (a-z, A-Z), numbers (0-9), or
       hyphens (-).
       * The maximum length is 63 characters.
       * Must start with a letter.
       * Must end with a number or a letter.
       
      string name = 504 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of the rule.
      
       * The maximum length is 1,024 characters.
       
      string description = 505 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DataQualityRuleOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the rule.
      
       * The maximum length is 1,024 characters.
       
      string description = 505 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DataQualityRuleOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DataQualityRule.Builder setDescription(String value)
       Optional. Description of the rule.
      
       * The maximum length is 1,024 characters.
       
      string description = 505 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DataQualityRule.Builder clearDescription()
       Optional. Description of the rule.
      
       * The maximum length is 1,024 characters.
       
      string description = 505 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DataQualityRule.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the rule.
      
       * The maximum length is 1,024 characters.
       
      string description = 505 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getSuspended

      public boolean getSuspended()
       Optional. Whether the Rule is active or suspended.
       Default is false.
       
      bool suspended = 506 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSuspended in interface DataQualityRuleOrBuilder
      Returns:
      The suspended.
    • setSuspended

      public DataQualityRule.Builder setSuspended(boolean value)
       Optional. Whether the Rule is active or suspended.
       Default is false.
       
      bool suspended = 506 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The suspended to set.
      Returns:
      This builder for chaining.
    • clearSuspended

      public DataQualityRule.Builder clearSuspended()
       Optional. Whether the Rule is active or suspended.
       Default is false.
       
      bool suspended = 506 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDebugQueriesList

      public List<DataQualityRule.DebugQuery> getDebugQueriesList()
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDebugQueriesList in interface DataQualityRuleOrBuilder
    • getDebugQueriesCount

      public int getDebugQueriesCount()
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDebugQueriesCount in interface DataQualityRuleOrBuilder
    • getDebugQueries

      public DataQualityRule.DebugQuery getDebugQueries(int index)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDebugQueries in interface DataQualityRuleOrBuilder
    • setDebugQueries

      public DataQualityRule.Builder setDebugQueries(int index, DataQualityRule.DebugQuery value)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • setDebugQueries

      public DataQualityRule.Builder setDebugQueries(int index, DataQualityRule.DebugQuery.Builder builderForValue)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • addDebugQueries

      public DataQualityRule.Builder addDebugQueries(DataQualityRule.DebugQuery value)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • addDebugQueries

      public DataQualityRule.Builder addDebugQueries(int index, DataQualityRule.DebugQuery value)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • addDebugQueries

      public DataQualityRule.Builder addDebugQueries(DataQualityRule.DebugQuery.Builder builderForValue)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • addDebugQueries

      public DataQualityRule.Builder addDebugQueries(int index, DataQualityRule.DebugQuery.Builder builderForValue)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • addAllDebugQueries

      public DataQualityRule.Builder addAllDebugQueries(Iterable<? extends DataQualityRule.DebugQuery> values)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • clearDebugQueries

      public DataQualityRule.Builder clearDebugQueries()
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • removeDebugQueries

      public DataQualityRule.Builder removeDebugQueries(int index)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • getDebugQueriesBuilder

      public DataQualityRule.DebugQuery.Builder getDebugQueriesBuilder(int index)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • getDebugQueriesOrBuilder

      public DataQualityRule.DebugQueryOrBuilder getDebugQueriesOrBuilder(int index)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDebugQueriesOrBuilder in interface DataQualityRuleOrBuilder
    • getDebugQueriesOrBuilderList

      public List<? extends DataQualityRule.DebugQueryOrBuilder> getDebugQueriesOrBuilderList()
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDebugQueriesOrBuilderList in interface DataQualityRuleOrBuilder
    • addDebugQueriesBuilder

      public DataQualityRule.DebugQuery.Builder addDebugQueriesBuilder()
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • addDebugQueriesBuilder

      public DataQualityRule.DebugQuery.Builder addDebugQueriesBuilder(int index)
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];
    • getDebugQueriesBuilderList

      public List<DataQualityRule.DebugQuery.Builder> getDebugQueriesBuilderList()
       Optional. Specifies the debug queries for this rule.
       Currently, only one query is supported, but this may be expanded in the
       future.
       
      repeated .google.cloud.dataplex.v1.DataQualityRule.DebugQuery debug_queries = 510 [(.google.api.field_behavior) = OPTIONAL];