Package com.google.cloud.dataplex.v1
Class DataQualityScanRuleResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
- com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Builder
-
- All Implemented Interfaces:
DataQualityScanRuleResultOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DataQualityScanRuleResult
public static final class DataQualityScanRuleResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder> implements DataQualityScanRuleResultOrBuilder
Information about the result of a data quality rule for data quality scan. The monitored resource is 'DataScan'.
Protobuf typegoogle.cloud.dataplex.v1.DataQualityScanRuleResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataQualityScanRuleResult.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataQualityScanRuleResult
build()
DataQualityScanRuleResult
buildPartial()
DataQualityScanRuleResult.Builder
clear()
DataQualityScanRuleResult.Builder
clearColumn()
The column which this rule is evaluated against.DataQualityScanRuleResult.Builder
clearDataSource()
The data source of the data scan (e.g.DataQualityScanRuleResult.Builder
clearEvaluatedRowCount()
The number of rows evaluated against the data quality rule.DataQualityScanRuleResult.Builder
clearEvalutionType()
The evaluation type of the data quality rule.DataQualityScanRuleResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataQualityScanRuleResult.Builder
clearJobId()
Identifier of the specific data scan job this log entry is for.DataQualityScanRuleResult.Builder
clearNullRowCount()
The number of rows with null values in the specified column.DataQualityScanRuleResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataQualityScanRuleResult.Builder
clearPassedRowCount()
The number of rows which passed a rule evaluation.DataQualityScanRuleResult.Builder
clearResult()
The result of the data quality rule.DataQualityScanRuleResult.Builder
clearRuleDimension()
The dimension of the data quality rule.DataQualityScanRuleResult.Builder
clearRuleName()
The name of the data quality rule.DataQualityScanRuleResult.Builder
clearRuleType()
The type of the data quality rule.DataQualityScanRuleResult.Builder
clearThresholdPercent()
The passing threshold ([0.0, 100.0]) of the data quality rule.DataQualityScanRuleResult.Builder
clone()
String
getColumn()
The column which this rule is evaluated against.com.google.protobuf.ByteString
getColumnBytes()
The column which this rule is evaluated against.String
getDataSource()
The data source of the data scan (e.g.com.google.protobuf.ByteString
getDataSourceBytes()
The data source of the data scan (e.g.DataQualityScanRuleResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getEvaluatedRowCount()
The number of rows evaluated against the data quality rule.DataQualityScanRuleResult.EvaluationType
getEvalutionType()
The evaluation type of the data quality rule.int
getEvalutionTypeValue()
The evaluation type of the data quality rule.String
getJobId()
Identifier of the specific data scan job this log entry is for.com.google.protobuf.ByteString
getJobIdBytes()
Identifier of the specific data scan job this log entry is for.long
getNullRowCount()
The number of rows with null values in the specified column.long
getPassedRowCount()
The number of rows which passed a rule evaluation.DataQualityScanRuleResult.Result
getResult()
The result of the data quality rule.int
getResultValue()
The result of the data quality rule.String
getRuleDimension()
The dimension of the data quality rule.com.google.protobuf.ByteString
getRuleDimensionBytes()
The dimension of the data quality rule.String
getRuleName()
The name of the data quality rule.com.google.protobuf.ByteString
getRuleNameBytes()
The name of the data quality rule.DataQualityScanRuleResult.RuleType
getRuleType()
The type of the data quality rule.int
getRuleTypeValue()
The type of the data quality rule.double
getThresholdPercent()
The passing threshold ([0.0, 100.0]) of the data quality rule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DataQualityScanRuleResult.Builder
mergeFrom(DataQualityScanRuleResult other)
DataQualityScanRuleResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataQualityScanRuleResult.Builder
mergeFrom(com.google.protobuf.Message other)
DataQualityScanRuleResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataQualityScanRuleResult.Builder
setColumn(String value)
The column which this rule is evaluated against.DataQualityScanRuleResult.Builder
setColumnBytes(com.google.protobuf.ByteString value)
The column which this rule is evaluated against.DataQualityScanRuleResult.Builder
setDataSource(String value)
The data source of the data scan (e.g.DataQualityScanRuleResult.Builder
setDataSourceBytes(com.google.protobuf.ByteString value)
The data source of the data scan (e.g.DataQualityScanRuleResult.Builder
setEvaluatedRowCount(long value)
The number of rows evaluated against the data quality rule.DataQualityScanRuleResult.Builder
setEvalutionType(DataQualityScanRuleResult.EvaluationType value)
The evaluation type of the data quality rule.DataQualityScanRuleResult.Builder
setEvalutionTypeValue(int value)
The evaluation type of the data quality rule.DataQualityScanRuleResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataQualityScanRuleResult.Builder
setJobId(String value)
Identifier of the specific data scan job this log entry is for.DataQualityScanRuleResult.Builder
setJobIdBytes(com.google.protobuf.ByteString value)
Identifier of the specific data scan job this log entry is for.DataQualityScanRuleResult.Builder
setNullRowCount(long value)
The number of rows with null values in the specified column.DataQualityScanRuleResult.Builder
setPassedRowCount(long value)
The number of rows which passed a rule evaluation.DataQualityScanRuleResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataQualityScanRuleResult.Builder
setResult(DataQualityScanRuleResult.Result value)
The result of the data quality rule.DataQualityScanRuleResult.Builder
setResultValue(int value)
The result of the data quality rule.DataQualityScanRuleResult.Builder
setRuleDimension(String value)
The dimension of the data quality rule.DataQualityScanRuleResult.Builder
setRuleDimensionBytes(com.google.protobuf.ByteString value)
The dimension of the data quality rule.DataQualityScanRuleResult.Builder
setRuleName(String value)
The name of the data quality rule.DataQualityScanRuleResult.Builder
setRuleNameBytes(com.google.protobuf.ByteString value)
The name of the data quality rule.DataQualityScanRuleResult.Builder
setRuleType(DataQualityScanRuleResult.RuleType value)
The type of the data quality rule.DataQualityScanRuleResult.Builder
setRuleTypeValue(int value)
The type of the data quality rule.DataQualityScanRuleResult.Builder
setThresholdPercent(double value)
The passing threshold ([0.0, 100.0]) of the data quality rule.DataQualityScanRuleResult.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
clear
public DataQualityScanRuleResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
getDefaultInstanceForType
public DataQualityScanRuleResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataQualityScanRuleResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataQualityScanRuleResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataQualityScanRuleResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
setField
public DataQualityScanRuleResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
clearField
public DataQualityScanRuleResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
clearOneof
public DataQualityScanRuleResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
setRepeatedField
public DataQualityScanRuleResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
addRepeatedField
public DataQualityScanRuleResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
mergeFrom
public DataQualityScanRuleResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataQualityScanRuleResult.Builder>
-
mergeFrom
public DataQualityScanRuleResult.Builder mergeFrom(DataQualityScanRuleResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataQualityScanRuleResult.Builder>
- Throws:
IOException
-
getJobId
public String getJobId()
Identifier of the specific data scan job this log entry is for.
string job_id = 1;
- Specified by:
getJobId
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The jobId.
-
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 interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getDataSource
public String getDataSource()
The data source of the data scan (e.g. BigQuery table name).
string data_source = 2;
- Specified by:
getDataSource
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The dataSource.
-
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 interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getColumn
public String getColumn()
The column which this rule is evaluated against.
string column = 3;
- Specified by:
getColumn
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()
The column which this rule is evaluated against.
string column = 3;
- Specified by:
getColumnBytes
in interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getRuleName
public String getRuleName()
The name of the data quality rule.
string rule_name = 4;
- Specified by:
getRuleName
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The ruleName.
-
getRuleNameBytes
public com.google.protobuf.ByteString getRuleNameBytes()
The name of the data quality rule.
string rule_name = 4;
- Specified by:
getRuleNameBytes
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The bytes for ruleName.
-
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 interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getRuleType
public DataQualityScanRuleResult.RuleType getRuleType()
The type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
- Specified by:
getRuleType
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The ruleType.
-
setRuleType
public DataQualityScanRuleResult.Builder setRuleType(DataQualityScanRuleResult.RuleType value)
The type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
- Parameters:
value
- The 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 interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getEvalutionType
public DataQualityScanRuleResult.EvaluationType getEvalutionType()
The evaluation type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
- Specified by:
getEvalutionType
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The evalutionType.
-
setEvalutionType
public DataQualityScanRuleResult.Builder setEvalutionType(DataQualityScanRuleResult.EvaluationType value)
The evaluation type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
- Parameters:
value
- The 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.
-
getRuleDimension
public String getRuleDimension()
The dimension of the data quality rule.
string rule_dimension = 7;
- Specified by:
getRuleDimension
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The ruleDimension.
-
getRuleDimensionBytes
public com.google.protobuf.ByteString getRuleDimensionBytes()
The dimension of the data quality rule.
string rule_dimension = 7;
- Specified by:
getRuleDimensionBytes
in interfaceDataQualityScanRuleResultOrBuilder
- 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 interfaceDataQualityScanRuleResultOrBuilder
- 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 interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getResult
public DataQualityScanRuleResult.Result getResult()
The result of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
- Specified by:
getResult
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The result.
-
setResult
public DataQualityScanRuleResult.Builder setResult(DataQualityScanRuleResult.Result value)
The result of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
- Parameters:
value
- The 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 interfaceDataQualityScanRuleResultOrBuilder
- 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 interfaceDataQualityScanRuleResultOrBuilder
- 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.
-
getNullRowCount
public long getNullRowCount()
The number of rows with null values in the specified column.
int64 null_row_count = 12;
- Specified by:
getNullRowCount
in interfaceDataQualityScanRuleResultOrBuilder
- Returns:
- The nullRowCount.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
mergeUnknownFields
public final DataQualityScanRuleResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityScanRuleResult.Builder>
-
-