/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/logs.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dataplex.v1;
public interface DataQualityScanRuleResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityScanRuleResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Identifier of the specific data scan job this log entry is for.
*
*
* string job_id = 1;
*
* @return The jobId.
*/
java.lang.String getJobId();
/**
*
*
*
* Identifier of the specific data scan job this log entry is for.
*
*
* string job_id = 1;
*
* @return The bytes for jobId.
*/
com.google.protobuf.ByteString getJobIdBytes();
/**
*
*
*
* The data source of the data scan (e.g. BigQuery table name).
*
*
* string data_source = 2;
*
* @return The dataSource.
*/
java.lang.String getDataSource();
/**
*
*
*
* The data source of the data scan (e.g. BigQuery table name).
*
*
* string data_source = 2;
*
* @return The bytes for dataSource.
*/
com.google.protobuf.ByteString getDataSourceBytes();
/**
*
*
*
* The column which this rule is evaluated against.
*
*
* string column = 3;
*
* @return The column.
*/
java.lang.String getColumn();
/**
*
*
*
* The column which this rule is evaluated against.
*
*
* string column = 3;
*
* @return The bytes for column.
*/
com.google.protobuf.ByteString getColumnBytes();
/**
*
*
*
* The name of the data quality rule.
*
*
* string rule_name = 4;
*
* @return The ruleName.
*/
java.lang.String getRuleName();
/**
*
*
*
* The name of the data quality rule.
*
*
* string rule_name = 4;
*
* @return The bytes for ruleName.
*/
com.google.protobuf.ByteString getRuleNameBytes();
/**
*
*
*
* The type of the data quality rule.
*
*
* .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
*
* @return The enum numeric value on the wire for ruleType.
*/
int getRuleTypeValue();
/**
*
*
*
* The type of the data quality rule.
*
*
* .google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType rule_type = 5;
*
* @return The ruleType.
*/
com.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType getRuleType();
/**
*
*
*
* The evaluation type of the data quality rule.
*
*
* .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
*
*
* @return The enum numeric value on the wire for evalutionType.
*/
int getEvalutionTypeValue();
/**
*
*
*
* The evaluation type of the data quality rule.
*
*
* .google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType evalution_type = 6;
*
*
* @return The evalutionType.
*/
com.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType getEvalutionType();
/**
*
*
*
* The dimension of the data quality rule.
*
*
* string rule_dimension = 7;
*
* @return The ruleDimension.
*/
java.lang.String getRuleDimension();
/**
*
*
*
* The dimension of the data quality rule.
*
*
* string rule_dimension = 7;
*
* @return The bytes for ruleDimension.
*/
com.google.protobuf.ByteString getRuleDimensionBytes();
/**
*
*
*
* The passing threshold ([0.0, 100.0]) of the data quality rule.
*
*
* double threshold_percent = 8;
*
* @return The thresholdPercent.
*/
double getThresholdPercent();
/**
*
*
*
* The result of the data quality rule.
*
*
* .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
*
* @return The enum numeric value on the wire for result.
*/
int getResultValue();
/**
*
*
*
* The result of the data quality rule.
*
*
* .google.cloud.dataplex.v1.DataQualityScanRuleResult.Result result = 9;
*
* @return The result.
*/
com.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result getResult();
/**
*
*
*
* 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;
*
* @return The evaluatedRowCount.
*/
long getEvaluatedRowCount();
/**
*
*
*
* 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;
*
* @return The passedRowCount.
*/
long getPassedRowCount();
/**
*
*
*
* The number of rows with null values in the specified column.
*
*
* int64 null_row_count = 12;
*
* @return The nullRowCount.
*/
long getNullRowCount();
/**
*
*
*
* The number of rows returned by the sql statement in the SqlAssertion rule.
* This field is only valid for SqlAssertion rules.
*
*
* int64 assertion_row_count = 13;
*
* @return The assertionRowCount.
*/
long getAssertionRowCount();
}