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.GeneratedMessage.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.GeneratedMessage.Builder<DataQualityScanRuleResult.Builder>
implements DataQualityScanRuleResultOrBuilder
Information about the result of a data quality rule for data quality scan. The monitored resource is 'DataScan'.Protobuf type
google.cloud.dataplex.v1.DataQualityScanRuleResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of rows returned by the SQL statement in a SQL assertion rule.The column which this rule is evaluated against.The data source of the data scan (e.g.The number of rows evaluated against the data quality rule.The evaluation type of the data quality rule.Identifier of the specific data scan job this log entry is for.The number of rows with null values in the specified column.The number of rows which passed a rule evaluation.The result of the data quality rule.The dimension of the data quality rule.The name of the data quality rule.The type of the data quality rule.The passing threshold ([0.0, 100.0]) of the data quality rule.longThe number of rows returned by the SQL statement in a SQL assertion rule.The column which this rule is evaluated against.com.google.protobuf.ByteStringThe column which this rule is evaluated against.The data source of the data scan (e.g.com.google.protobuf.ByteStringThe data source of the data scan (e.g.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe number of rows evaluated against the data quality rule.The evaluation type of the data quality rule.intThe evaluation type of the data quality rule.getJobId()Identifier of the specific data scan job this log entry is for.com.google.protobuf.ByteStringIdentifier of the specific data scan job this log entry is for.longThe number of rows with null values in the specified column.longThe number of rows which passed a rule evaluation.The result of the data quality rule.intThe result of the data quality rule.The dimension of the data quality rule.com.google.protobuf.ByteStringThe dimension of the data quality rule.The name of the data quality rule.com.google.protobuf.ByteStringThe name of the data quality rule.The type of the data quality rule.intThe type of the data quality rule.doubleThe passing threshold ([0.0, 100.0]) of the data quality rule.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAssertionRowCount(long value) The number of rows returned by the SQL statement in a SQL assertion rule.The column which this rule is evaluated against.setColumnBytes(com.google.protobuf.ByteString value) The column which this rule is evaluated against.setDataSource(String value) The data source of the data scan (e.g.setDataSourceBytes(com.google.protobuf.ByteString value) The data source of the data scan (e.g.setEvaluatedRowCount(long value) The number of rows evaluated against the data quality rule.The evaluation type of the data quality rule.setEvalutionTypeValue(int value) The evaluation type of the data quality rule.Identifier of the specific data scan job this log entry is for.setJobIdBytes(com.google.protobuf.ByteString value) Identifier of the specific data scan job this log entry is for.setNullRowCount(long value) The number of rows with null values in the specified column.setPassedRowCount(long value) The number of rows which passed a rule evaluation.The result of the data quality rule.setResultValue(int value) The result of the data quality rule.setRuleDimension(String value) The dimension of the data quality rule.setRuleDimensionBytes(com.google.protobuf.ByteString value) The dimension of the data quality rule.setRuleName(String value) The name of the data quality rule.setRuleNameBytes(com.google.protobuf.ByteString value) The name of the data quality rule.The type of the data quality rule.setRuleTypeValue(int value) The type of the data quality rule.setThresholdPercent(double value) The passing threshold ([0.0, 100.0]) of the data quality rule.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataQualityScanRuleResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataQualityScanRuleResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataQualityScanRuleResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualityScanRuleResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataQualityScanRuleResult.Builder>
-
mergeFrom
public DataQualityScanRuleResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualityScanRuleResult.Builder>- Throws:
IOException
-
getJobId
Identifier of the specific data scan job this log entry is for.
string job_id = 1;- Specified by:
getJobIdin 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:
getJobIdBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
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
Identifier of the specific data scan job this log entry is for.
string job_id = 1;- Returns:
- This builder for chaining.
-
setJobIdBytes
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
The data source of the data scan (e.g. BigQuery table name).
string data_source = 2;- Specified by:
getDataSourcein 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:
getDataSourceBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for dataSource.
-
setDataSource
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
The data source of the data scan (e.g. BigQuery table name).
string data_source = 2;- Returns:
- This builder for chaining.
-
setDataSourceBytes
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
The column which this rule is evaluated against.
string column = 3;- Specified by:
getColumnin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()The column which this rule is evaluated against.
string column = 3;- Specified by:
getColumnBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for column.
-
setColumn
The column which this rule is evaluated against.
string column = 3;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
The column which this rule is evaluated against.
string column = 3;- Returns:
- This builder for chaining.
-
setColumnBytes
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
The name of the data quality rule.
string rule_name = 4;- Specified by:
getRuleNamein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The ruleName.
-
getRuleNameBytes
public com.google.protobuf.ByteString getRuleNameBytes()The name of the data quality rule.
string rule_name = 4;- Specified by:
getRuleNameBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for ruleName.
-
setRuleName
The name of the data quality rule.
string rule_name = 4;- Parameters:
value- The ruleName to set.- Returns:
- This builder for chaining.
-
clearRuleName
The name of the data quality rule.
string rule_name = 4;- Returns:
- This builder for chaining.
-
setRuleNameBytes
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:
getRuleTypeValuein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The enum numeric value on the wire for ruleType.
-
setRuleTypeValue
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
The type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;- Specified by:
getRuleTypein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The ruleType.
-
setRuleType
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
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:
getEvalutionTypeValuein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The enum numeric value on the wire for evalutionType.
-
setEvalutionTypeValue
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
The evaluation type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;- Specified by:
getEvalutionTypein 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
The evaluation type of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;- Returns:
- This builder for chaining.
-
getRuleDimension
The dimension of the data quality rule.
string rule_dimension = 7;- Specified by:
getRuleDimensionin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The ruleDimension.
-
getRuleDimensionBytes
public com.google.protobuf.ByteString getRuleDimensionBytes()The dimension of the data quality rule.
string rule_dimension = 7;- Specified by:
getRuleDimensionBytesin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The bytes for ruleDimension.
-
setRuleDimension
The dimension of the data quality rule.
string rule_dimension = 7;- Parameters:
value- The ruleDimension to set.- Returns:
- This builder for chaining.
-
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:
getThresholdPercentin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The thresholdPercent.
-
setThresholdPercent
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
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:
getResultValuein interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
setResultValue
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
The result of the data quality rule.
.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;- Specified by:
getResultin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The result.
-
setResult
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
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:
getEvaluatedRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The evaluatedRowCount.
-
setEvaluatedRowCount
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
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:
getPassedRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The passedRowCount.
-
setPassedRowCount
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
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:
getNullRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The nullRowCount.
-
setNullRowCount
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
The number of rows with null values in the specified column.
int64 null_row_count = 12;- Returns:
- This builder for chaining.
-
getAssertionRowCount
public long getAssertionRowCount()The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.
int64 assertion_row_count = 13;- Specified by:
getAssertionRowCountin interfaceDataQualityScanRuleResultOrBuilder- Returns:
- The assertionRowCount.
-
setAssertionRowCount
The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.
int64 assertion_row_count = 13;- Parameters:
value- The assertionRowCount to set.- Returns:
- This builder for chaining.
-
clearAssertionRowCount
The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.
int64 assertion_row_count = 13;- Returns:
- This builder for chaining.
-