Package com.google.cloud.dataplex.v1
Class DataScanEvent.DataQualityResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder
- All Implemented Interfaces:
DataScanEvent.DataQualityResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataScanEvent.DataQualityResult
public static final class DataScanEvent.DataQualityResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
implements DataScanEvent.DataQualityResultOrBuilder
Data quality result for data scan job.Protobuf type
google.cloud.dataplex.v1.DataScanEvent.DataQualityResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Whether the data quality result was `pass` or not.The count of rows processed in the data scan job.The table-level data quality score for the data scan job.booleanThe score of each column scanned in the data scan job.booleanThe result of each dimension for data quality result.booleanThe score of each dimension for data quality result.Deprecated.intThe score of each column scanned in the data scan job.The score of each column scanned in the data scan job.floatgetColumnScoreOrDefault(String key, float defaultValue) The score of each column scanned in the data scan job.floatThe score of each column scanned in the data scan job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intThe result of each dimension for data quality result.The result of each dimension for data quality result.booleangetDimensionPassedOrDefault(String key, boolean defaultValue) The result of each dimension for data quality result.booleanThe result of each dimension for data quality result.Deprecated.intThe score of each dimension for data quality result.The score of each dimension for data quality result.floatgetDimensionScoreOrDefault(String key, float defaultValue) The score of each dimension for data quality result.floatThe score of each dimension for data quality result.Deprecated.Deprecated.Deprecated.booleanWhether the data quality result was `pass` or not.longThe count of rows processed in the data scan job.floatgetScore()The table-level data quality score for the data scan job.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllColumnScore(Map<String, Float> values) The score of each column scanned in the data scan job.putAllDimensionPassed(Map<String, Boolean> values) The result of each dimension for data quality result.putAllDimensionScore(Map<String, Float> values) The score of each dimension for data quality result.putColumnScore(String key, float value) The score of each column scanned in the data scan job.putDimensionPassed(String key, boolean value) The result of each dimension for data quality result.putDimensionScore(String key, float value) The score of each dimension for data quality result.removeColumnScore(String key) The score of each column scanned in the data scan job.The result of each dimension for data quality result.The score of each dimension for data quality result.setPassed(boolean value) Whether the data quality result was `pass` or not.setRowCount(long value) The count of rows processed in the data scan job.setScore(float value) The table-level data quality score for the data scan job.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.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<DataScanEvent.DataQualityResult.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<DataScanEvent.DataQualityResult.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<DataScanEvent.DataQualityResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataScanEvent.DataQualityResult.Builder>
-
mergeFrom
public DataScanEvent.DataQualityResult.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<DataScanEvent.DataQualityResult.Builder>- Throws:
IOException
-
getRowCount
public long getRowCount()The count of rows processed in the data scan job.
int64 row_count = 1;- Specified by:
getRowCountin interfaceDataScanEvent.DataQualityResultOrBuilder- Returns:
- The rowCount.
-
setRowCount
The count of rows processed in the data scan job.
int64 row_count = 1;- Parameters:
value- The rowCount to set.- Returns:
- This builder for chaining.
-
clearRowCount
The count of rows processed in the data scan job.
int64 row_count = 1;- Returns:
- This builder for chaining.
-
getPassed
public boolean getPassed()Whether the data quality result was `pass` or not.
bool passed = 2;- Specified by:
getPassedin interfaceDataScanEvent.DataQualityResultOrBuilder- Returns:
- The passed.
-
setPassed
Whether the data quality result was `pass` or not.
bool passed = 2;- Parameters:
value- The passed to set.- Returns:
- This builder for chaining.
-
clearPassed
Whether the data quality result was `pass` or not.
bool passed = 2;- Returns:
- This builder for chaining.
-
getDimensionPassedCount
public int getDimensionPassedCount()Description copied from interface:DataScanEvent.DataQualityResultOrBuilderThe result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3;- Specified by:
getDimensionPassedCountin interfaceDataScanEvent.DataQualityResultOrBuilder
-
containsDimensionPassed
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3;- Specified by:
containsDimensionPassedin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionPassed
Deprecated.UsegetDimensionPassedMap()instead.- Specified by:
getDimensionPassedin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionPassedMap
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3;- Specified by:
getDimensionPassedMapin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionPassedOrDefault
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3;- Specified by:
getDimensionPassedOrDefaultin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionPassedOrThrow
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3;- Specified by:
getDimensionPassedOrThrowin interfaceDataScanEvent.DataQualityResultOrBuilder
-
clearDimensionPassed
-
removeDimensionPassed
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3; -
getMutableDimensionPassed
Deprecated.Use alternate mutation accessors instead. -
putDimensionPassed
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3; -
putAllDimensionPassed
The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was `pass` or not.
map<string, bool> dimension_passed = 3; -
getScore
public float getScore()The table-level data quality score for the data scan job. The data quality score ranges between [0, 100] (up to two decimal points).
float score = 4;- Specified by:
getScorein interfaceDataScanEvent.DataQualityResultOrBuilder- Returns:
- The score.
-
setScore
The table-level data quality score for the data scan job. The data quality score ranges between [0, 100] (up to two decimal points).
float score = 4;- Parameters:
value- The score to set.- Returns:
- This builder for chaining.
-
clearScore
The table-level data quality score for the data scan job. The data quality score ranges between [0, 100] (up to two decimal points).
float score = 4;- Returns:
- This builder for chaining.
-
getDimensionScoreCount
public int getDimensionScoreCount()Description copied from interface:DataScanEvent.DataQualityResultOrBuilderThe score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5;- Specified by:
getDimensionScoreCountin interfaceDataScanEvent.DataQualityResultOrBuilder
-
containsDimensionScore
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5;- Specified by:
containsDimensionScorein interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionScore
Deprecated.UsegetDimensionScoreMap()instead.- Specified by:
getDimensionScorein interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionScoreMap
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5;- Specified by:
getDimensionScoreMapin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionScoreOrDefault
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5;- Specified by:
getDimensionScoreOrDefaultin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getDimensionScoreOrThrow
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5;- Specified by:
getDimensionScoreOrThrowin interfaceDataScanEvent.DataQualityResultOrBuilder
-
clearDimensionScore
-
removeDimensionScore
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5; -
getMutableDimensionScore
Deprecated.Use alternate mutation accessors instead. -
putDimensionScore
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5; -
putAllDimensionScore
The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).
map<string, float> dimension_score = 5; -
getColumnScoreCount
public int getColumnScoreCount()Description copied from interface:DataScanEvent.DataQualityResultOrBuilderThe score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6;- Specified by:
getColumnScoreCountin interfaceDataScanEvent.DataQualityResultOrBuilder
-
containsColumnScore
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6;- Specified by:
containsColumnScorein interfaceDataScanEvent.DataQualityResultOrBuilder
-
getColumnScore
Deprecated.UsegetColumnScoreMap()instead.- Specified by:
getColumnScorein interfaceDataScanEvent.DataQualityResultOrBuilder
-
getColumnScoreMap
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6;- Specified by:
getColumnScoreMapin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getColumnScoreOrDefault
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6;- Specified by:
getColumnScoreOrDefaultin interfaceDataScanEvent.DataQualityResultOrBuilder
-
getColumnScoreOrThrow
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6;- Specified by:
getColumnScoreOrThrowin interfaceDataScanEvent.DataQualityResultOrBuilder
-
clearColumnScore
-
removeColumnScore
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6; -
getMutableColumnScore
Deprecated.Use alternate mutation accessors instead. -
putColumnScore
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6; -
putAllColumnScore
The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).
map<string, float> column_score = 6;
-