- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class DataQualityRuleResult.Builder extends GeneratedMessageV3.Builder<DataQualityRuleResult.Builder> implements DataQualityRuleResultOrBuilder
DataQualityRuleResult provides a more detailed, per-rule view of the results.
Protobuf type google.cloud.dataplex.v1.DataQualityRuleResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataQualityRuleResult.BuilderImplements
DataQualityRuleResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRuleResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
build()
public DataQualityRuleResult build()
Returns | |
---|---|
Type | Description |
DataQualityRuleResult |
buildPartial()
public DataQualityRuleResult buildPartial()
Returns | |
---|---|
Type | Description |
DataQualityRuleResult |
clear()
public DataQualityRuleResult.Builder clear()
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
clearAssertionRowCount()
public DataQualityRuleResult.Builder clearAssertionRowCount()
Output only. 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearEvaluatedCount()
public DataQualityRuleResult.Builder clearEvaluatedCount()
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
null
rows automatically failing rule evaluation, or - exclude
null
rows from theevaluated_count
, by settingignore_nulls = true
.
int64 evaluated_count = 9;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearFailingRowsQuery()
public DataQualityRuleResult.Builder clearFailingRowsQuery()
The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
string failing_rows_query = 10;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataQualityRuleResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
clearNullCount()
public DataQualityRuleResult.Builder clearNullCount()
The number of rows with null values in the specified column.
int64 null_count = 5;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataQualityRuleResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
clearPassRatio()
public DataQualityRuleResult.Builder clearPassRatio()
The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
double pass_ratio = 6;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearPassed()
public DataQualityRuleResult.Builder clearPassed()
Whether the rule passed or failed.
bool passed = 7;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearPassedCount()
public DataQualityRuleResult.Builder clearPassedCount()
The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
int64 passed_count = 8;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
clearRule()
public DataQualityRuleResult.Builder clearRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
clone()
public DataQualityRuleResult.Builder clone()
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
getAssertionRowCount()
public long getAssertionRowCount()
Output only. 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The assertionRowCount. |
getDefaultInstanceForType()
public DataQualityRuleResult getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataQualityRuleResult |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEvaluatedCount()
public long getEvaluatedCount()
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
null
rows automatically failing rule evaluation, or - exclude
null
rows from theevaluated_count
, by settingignore_nulls = true
.
int64 evaluated_count = 9;
Returns | |
---|---|
Type | Description |
long |
The evaluatedCount. |
getFailingRowsQuery()
public String getFailingRowsQuery()
The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
string failing_rows_query = 10;
Returns | |
---|---|
Type | Description |
String |
The failingRowsQuery. |
getFailingRowsQueryBytes()
public ByteString getFailingRowsQueryBytes()
The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
string failing_rows_query = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for failingRowsQuery. |
getNullCount()
public long getNullCount()
The number of rows with null values in the specified column.
int64 null_count = 5;
Returns | |
---|---|
Type | Description |
long |
The nullCount. |
getPassRatio()
public double getPassRatio()
The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
double pass_ratio = 6;
Returns | |
---|---|
Type | Description |
double |
The passRatio. |
getPassed()
public boolean getPassed()
Whether the rule passed or failed.
bool passed = 7;
Returns | |
---|---|
Type | Description |
boolean |
The passed. |
getPassedCount()
public long getPassedCount()
The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
int64 passed_count = 8;
Returns | |
---|---|
Type | Description |
long |
The passedCount. |
getRule()
public DataQualityRule getRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns | |
---|---|
Type | Description |
DataQualityRule |
The rule. |
getRuleBuilder()
public DataQualityRule.Builder getRuleBuilder()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns | |
---|---|
Type | Description |
DataQualityRule.Builder |
getRuleOrBuilder()
public DataQualityRuleOrBuilder getRuleOrBuilder()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns | |
---|---|
Type | Description |
DataQualityRuleOrBuilder |
hasRule()
public boolean hasRule()
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the rule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataQualityRuleResult other)
public DataQualityRuleResult.Builder mergeFrom(DataQualityRuleResult other)
Parameter | |
---|---|
Name | Description |
other |
DataQualityRuleResult |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataQualityRuleResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataQualityRuleResult.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
mergeRule(DataQualityRule value)
public DataQualityRuleResult.Builder mergeRule(DataQualityRule value)
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Parameter | |
---|---|
Name | Description |
value |
DataQualityRule |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRuleResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
setAssertionRowCount(long value)
public DataQualityRuleResult.Builder setAssertionRowCount(long value)
Output only. 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The assertionRowCount to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setEvaluatedCount(long value)
public DataQualityRuleResult.Builder setEvaluatedCount(long value)
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
null
rows automatically failing rule evaluation, or - exclude
null
rows from theevaluated_count
, by settingignore_nulls = true
.
int64 evaluated_count = 9;
Parameter | |
---|---|
Name | Description |
value |
long The evaluatedCount to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setFailingRowsQuery(String value)
public DataQualityRuleResult.Builder setFailingRowsQuery(String value)
The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
string failing_rows_query = 10;
Parameter | |
---|---|
Name | Description |
value |
String The failingRowsQuery to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setFailingRowsQueryBytes(ByteString value)
public DataQualityRuleResult.Builder setFailingRowsQueryBytes(ByteString value)
The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
string failing_rows_query = 10;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for failingRowsQuery to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRuleResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
setNullCount(long value)
public DataQualityRuleResult.Builder setNullCount(long value)
The number of rows with null values in the specified column.
int64 null_count = 5;
Parameter | |
---|---|
Name | Description |
value |
long The nullCount to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setPassRatio(double value)
public DataQualityRuleResult.Builder setPassRatio(double value)
The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
double pass_ratio = 6;
Parameter | |
---|---|
Name | Description |
value |
double The passRatio to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setPassed(boolean value)
public DataQualityRuleResult.Builder setPassed(boolean value)
Whether the rule passed or failed.
bool passed = 7;
Parameter | |
---|---|
Name | Description |
value |
boolean The passed to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setPassedCount(long value)
public DataQualityRuleResult.Builder setPassedCount(long value)
The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
int64 passed_count = 8;
Parameter | |
---|---|
Name | Description |
value |
long The passedCount to set. |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataQualityRuleResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
setRule(DataQualityRule value)
public DataQualityRuleResult.Builder setRule(DataQualityRule value)
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Parameter | |
---|---|
Name | Description |
value |
DataQualityRule |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
setRule(DataQualityRule.Builder builderForValue)
public DataQualityRuleResult.Builder setRule(DataQualityRule.Builder builderForValue)
The rule specified in the DataQualitySpec, as is.
.google.cloud.dataplex.v1.DataQualityRule rule = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
DataQualityRule.Builder |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRuleResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataQualityRuleResult.Builder |