Class DataQualityScanRuleResult.Builder (1.34.0)

public static final class DataQualityScanRuleResult.Builder extends 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 type google.cloud.dataplex.v1.DataQualityScanRuleResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataQualityScanRuleResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

build()

public DataQualityScanRuleResult build()
Returns
TypeDescription
DataQualityScanRuleResult

buildPartial()

public DataQualityScanRuleResult buildPartial()
Returns
TypeDescription
DataQualityScanRuleResult

clear()

public DataQualityScanRuleResult.Builder clear()
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

clearColumn()

public DataQualityScanRuleResult.Builder clearColumn()

The column which this rule is evaluated against.

string column = 3;

Returns
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataQualityScanRuleResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

clearJobId()

public DataQualityScanRuleResult.Builder clearJobId()

Identifier of the specific data scan job this log entry is for.

string job_id = 1;

Returns
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualityScanRuleResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

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
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

clearRuleDimension()

public DataQualityScanRuleResult.Builder clearRuleDimension()

The dimension of the data quality rule.

string rule_dimension = 7;

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

clearRuleName()

public DataQualityScanRuleResult.Builder clearRuleName()

The name of the data quality rule.

string rule_name = 4;

Returns
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

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
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

clone()

public DataQualityScanRuleResult.Builder clone()
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

getColumn()

public String getColumn()

The column which this rule is evaluated against.

string column = 3;

Returns
TypeDescription
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

The column which this rule is evaluated against.

string column = 3;

Returns
TypeDescription
ByteString

The bytes for column.

getDataSource()

public String getDataSource()

The data source of the data scan (e.g. BigQuery table name).

string data_source = 2;

Returns
TypeDescription
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

The data source of the data scan (e.g. BigQuery table name).

string data_source = 2;

Returns
TypeDescription
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public DataQualityScanRuleResult getDefaultInstanceForType()
Returns
TypeDescription
DataQualityScanRuleResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
long

The evaluatedRowCount.

getEvalutionType()

public DataQualityScanRuleResult.EvaluationType getEvalutionType()

The evaluation type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;

Returns
TypeDescription
DataQualityScanRuleResult.EvaluationType

The evalutionType.

getEvalutionTypeValue()

public int getEvalutionTypeValue()

The evaluation type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for evalutionType.

getJobId()

public String getJobId()

Identifier of the specific data scan job this log entry is for.

string job_id = 1;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Identifier of the specific data scan job this log entry is for.

string job_id = 1;

Returns
TypeDescription
ByteString

The bytes for jobId.

getNullRowCount()

public long getNullRowCount()

The number of rows with null values in the specified column.

int64 null_row_count = 12;

Returns
TypeDescription
long

The nullRowCount.

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;

Returns
TypeDescription
long

The passedRowCount.

getResult()

public DataQualityScanRuleResult.Result getResult()

The result of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;

Returns
TypeDescription
DataQualityScanRuleResult.Result

The result.

getResultValue()

public int getResultValue()

The result of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for result.

getRuleDimension()

public String getRuleDimension()

The dimension of the data quality rule.

string rule_dimension = 7;

Returns
TypeDescription
String

The ruleDimension.

getRuleDimensionBytes()

public ByteString getRuleDimensionBytes()

The dimension of the data quality rule.

string rule_dimension = 7;

Returns
TypeDescription
ByteString

The bytes for ruleDimension.

getRuleName()

public String getRuleName()

The name of the data quality rule.

string rule_name = 4;

Returns
TypeDescription
String

The ruleName.

getRuleNameBytes()

public ByteString getRuleNameBytes()

The name of the data quality rule.

string rule_name = 4;

Returns
TypeDescription
ByteString

The bytes for ruleName.

getRuleType()

public DataQualityScanRuleResult.RuleType getRuleType()

The type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;

Returns
TypeDescription
DataQualityScanRuleResult.RuleType

The ruleType.

getRuleTypeValue()

public int getRuleTypeValue()

The type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for ruleType.

getThresholdPercent()

public double getThresholdPercent()

The passing threshold ([0.0, 100.0]) of the data quality rule.

double threshold_percent = 8;

Returns
TypeDescription
double

The thresholdPercent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualityScanRuleResult other)

public DataQualityScanRuleResult.Builder mergeFrom(DataQualityScanRuleResult other)
Parameter
NameDescription
otherDataQualityScanRuleResult
Returns
TypeDescription
DataQualityScanRuleResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataQualityScanRuleResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataQualityScanRuleResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityScanRuleResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

setColumn(String value)

public DataQualityScanRuleResult.Builder setColumn(String value)

The column which this rule is evaluated against.

string column = 3;

Parameter
NameDescription
valueString

The column to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public DataQualityScanRuleResult.Builder setColumnBytes(ByteString value)

The column which this rule is evaluated against.

string column = 3;

Parameter
NameDescription
valueByteString

The bytes for column to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setDataSource(String value)

public DataQualityScanRuleResult.Builder setDataSource(String value)

The data source of the data scan (e.g. BigQuery table name).

string data_source = 2;

Parameter
NameDescription
valueString

The dataSource to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setDataSourceBytes(ByteString value)

public DataQualityScanRuleResult.Builder setDataSourceBytes(ByteString value)

The data source of the data scan (e.g. BigQuery table name).

string data_source = 2;

Parameter
NameDescription
valueByteString

The bytes for dataSource to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setEvaluatedRowCount(long value)

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;

Parameter
NameDescription
valuelong

The evaluatedRowCount to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setEvalutionType(DataQualityScanRuleResult.EvaluationType value)

public DataQualityScanRuleResult.Builder setEvalutionType(DataQualityScanRuleResult.EvaluationType value)

The evaluation type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;

Parameter
NameDescription
valueDataQualityScanRuleResult.EvaluationType

The evalutionType to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setEvalutionTypeValue(int value)

public DataQualityScanRuleResult.Builder setEvalutionTypeValue(int value)

The evaluation type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;

Parameter
NameDescription
valueint

The enum numeric value on the wire for evalutionType to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualityScanRuleResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

setJobId(String value)

public DataQualityScanRuleResult.Builder setJobId(String value)

Identifier of the specific data scan job this log entry is for.

string job_id = 1;

Parameter
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public DataQualityScanRuleResult.Builder setJobIdBytes(ByteString value)

Identifier of the specific data scan job this log entry is for.

string job_id = 1;

Parameter
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setNullRowCount(long value)

public DataQualityScanRuleResult.Builder setNullRowCount(long value)

The number of rows with null values in the specified column.

int64 null_row_count = 12;

Parameter
NameDescription
valuelong

The nullRowCount to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setPassedRowCount(long value)

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;

Parameter
NameDescription
valuelong

The passedRowCount to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataQualityScanRuleResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides

setResult(DataQualityScanRuleResult.Result value)

public DataQualityScanRuleResult.Builder setResult(DataQualityScanRuleResult.Result value)

The result of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;

Parameter
NameDescription
valueDataQualityScanRuleResult.Result

The result to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setResultValue(int value)

public DataQualityScanRuleResult.Builder setResultValue(int value)

The result of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;

Parameter
NameDescription
valueint

The enum numeric value on the wire for result to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRuleDimension(String value)

public DataQualityScanRuleResult.Builder setRuleDimension(String value)

The dimension of the data quality rule.

string rule_dimension = 7;

Parameter
NameDescription
valueString

The ruleDimension to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRuleDimensionBytes(ByteString value)

public DataQualityScanRuleResult.Builder setRuleDimensionBytes(ByteString value)

The dimension of the data quality rule.

string rule_dimension = 7;

Parameter
NameDescription
valueByteString

The bytes for ruleDimension to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRuleName(String value)

public DataQualityScanRuleResult.Builder setRuleName(String value)

The name of the data quality rule.

string rule_name = 4;

Parameter
NameDescription
valueString

The ruleName to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRuleNameBytes(ByteString value)

public DataQualityScanRuleResult.Builder setRuleNameBytes(ByteString value)

The name of the data quality rule.

string rule_name = 4;

Parameter
NameDescription
valueByteString

The bytes for ruleName to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRuleType(DataQualityScanRuleResult.RuleType value)

public DataQualityScanRuleResult.Builder setRuleType(DataQualityScanRuleResult.RuleType value)

The type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;

Parameter
NameDescription
valueDataQualityScanRuleResult.RuleType

The ruleType to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setRuleTypeValue(int value)

public DataQualityScanRuleResult.Builder setRuleTypeValue(int value)

The type of the data quality rule.

.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;

Parameter
NameDescription
valueint

The enum numeric value on the wire for ruleType to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setThresholdPercent(double value)

public DataQualityScanRuleResult.Builder setThresholdPercent(double value)

The passing threshold ([0.0, 100.0]) of the data quality rule.

double threshold_percent = 8;

Parameter
NameDescription
valuedouble

The thresholdPercent to set.

Returns
TypeDescription
DataQualityScanRuleResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityScanRuleResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualityScanRuleResult.Builder
Overrides