Package com.google.cloud.dataplex.v1
Class DataQualityScanRuleResult
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.DataQualityScanRuleResult
-
- All Implemented Interfaces:
DataQualityScanRuleResultOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class DataQualityScanRuleResult extends com.google.protobuf.GeneratedMessageV3 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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataQualityScanRuleResult.Builder
Information about the result of a data quality rule for data quality scan.static class
DataQualityScanRuleResult.EvaluationType
The evaluation type of the data quality rule.static class
DataQualityScanRuleResult.Result
Whether the data quality rule passed or failed.static class
DataQualityScanRuleResult.RuleType
The type of the data quality rule.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
COLUMN_FIELD_NUMBER
static int
DATA_SOURCE_FIELD_NUMBER
static int
EVALUATED_ROW_COUNT_FIELD_NUMBER
static int
EVALUTION_TYPE_FIELD_NUMBER
static int
JOB_ID_FIELD_NUMBER
static int
NULL_ROW_COUNT_FIELD_NUMBER
static int
PASSED_ROW_COUNT_FIELD_NUMBER
static int
RESULT_FIELD_NUMBER
static int
RULE_DIMENSION_FIELD_NUMBER
static int
RULE_NAME_FIELD_NUMBER
static int
RULE_TYPE_FIELD_NUMBER
static int
THRESHOLD_PERCENT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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.static DataQualityScanRuleResult
getDefaultInstance()
DataQualityScanRuleResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.com.google.protobuf.Parser<DataQualityScanRuleResult>
getParserForType()
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.int
getSerializedSize()
double
getThresholdPercent()
The passing threshold ([0.0, 100.0]) of the data quality rule.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DataQualityScanRuleResult.Builder
newBuilder()
static DataQualityScanRuleResult.Builder
newBuilder(DataQualityScanRuleResult prototype)
DataQualityScanRuleResult.Builder
newBuilderForType()
protected DataQualityScanRuleResult.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DataQualityScanRuleResult
parseDelimitedFrom(InputStream input)
static DataQualityScanRuleResult
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityScanRuleResult
parseFrom(byte[] data)
static DataQualityScanRuleResult
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityScanRuleResult
parseFrom(com.google.protobuf.ByteString data)
static DataQualityScanRuleResult
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityScanRuleResult
parseFrom(com.google.protobuf.CodedInputStream input)
static DataQualityScanRuleResult
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityScanRuleResult
parseFrom(InputStream input)
static DataQualityScanRuleResult
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataQualityScanRuleResult
parseFrom(ByteBuffer data)
static DataQualityScanRuleResult
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DataQualityScanRuleResult>
parser()
DataQualityScanRuleResult.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_NAME_FIELD_NUMBER
public static final int RULE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_TYPE_FIELD_NUMBER
public static final int RULE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVALUTION_TYPE_FIELD_NUMBER
public static final int EVALUTION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_DIMENSION_FIELD_NUMBER
public static final int RULE_DIMENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THRESHOLD_PERCENT_FIELD_NUMBER
public static final int THRESHOLD_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVALUATED_ROW_COUNT_FIELD_NUMBER
public static final int EVALUATED_ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSED_ROW_COUNT_FIELD_NUMBER
public static final int PASSED_ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULL_ROW_COUNT_FIELD_NUMBER
public static final int NULL_ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataQualityScanRuleResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityScanRuleResult parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataQualityScanRuleResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataQualityScanRuleResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataQualityScanRuleResult.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataQualityScanRuleResult.Builder newBuilder()
-
newBuilder
public static DataQualityScanRuleResult.Builder newBuilder(DataQualityScanRuleResult prototype)
-
toBuilder
public DataQualityScanRuleResult.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataQualityScanRuleResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataQualityScanRuleResult getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataQualityScanRuleResult> parser()
-
getParserForType
public com.google.protobuf.Parser<DataQualityScanRuleResult> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataQualityScanRuleResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-