Class DataScanEvent.DataQualityResult.Builder (1.38.0)

public static final class DataScanEvent.DataQualityResult.Builder extends GeneratedMessageV3.Builder<DataScanEvent.DataQualityResult.Builder> implements DataScanEvent.DataQualityResultOrBuilder

Data quality result for data scan job.

Protobuf type google.cloud.dataplex.v1.DataScanEvent.DataQualityResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataScanEvent.DataQualityResult build()
Returns
TypeDescription
DataScanEvent.DataQualityResult

buildPartial()

public DataScanEvent.DataQualityResult buildPartial()
Returns
TypeDescription
DataScanEvent.DataQualityResult

clear()

public DataScanEvent.DataQualityResult.Builder clear()
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder
Overrides

clearColumnScore()

public DataScanEvent.DataQualityResult.Builder clearColumnScore()
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

clearDimensionPassed()

public DataScanEvent.DataQualityResult.Builder clearDimensionPassed()
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

clearDimensionScore()

public DataScanEvent.DataQualityResult.Builder clearDimensionScore()
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPassed()

public DataScanEvent.DataQualityResult.Builder clearPassed()

Whether the data quality result was pass or not.

bool passed = 2;

Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

This builder for chaining.

clearRowCount()

public DataScanEvent.DataQualityResult.Builder clearRowCount()

The count of rows processed in the data scan job.

int64 row_count = 1;

Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

This builder for chaining.

clearScore()

public DataScanEvent.DataQualityResult.Builder 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
TypeDescription
DataScanEvent.DataQualityResult.Builder

This builder for chaining.

clone()

public DataScanEvent.DataQualityResult.Builder clone()
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder
Overrides

containsColumnScore(String key)

public boolean containsColumnScore(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsDimensionPassed(String key)

public boolean containsDimensionPassed(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsDimensionScore(String key)

public boolean containsDimensionScore(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getColumnScore() (deprecated)

public Map<String,Float> getColumnScore()

Use #getColumnScoreMap() instead.

Returns
TypeDescription
Map<String,java.lang.Float>

getColumnScoreCount()

public int getColumnScoreCount()

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;

Returns
TypeDescription
int

getColumnScoreMap()

public Map<String,Float> 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;

Returns
TypeDescription
Map<String,java.lang.Float>

getColumnScoreOrDefault(String key, float defaultValue)

public float getColumnScoreOrDefault(String key, float defaultValue)

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;

Parameters
NameDescription
keyString
defaultValuefloat
Returns
TypeDescription
float

getColumnScoreOrThrow(String key)

public float getColumnScoreOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
float

getDefaultInstanceForType()

public DataScanEvent.DataQualityResult getDefaultInstanceForType()
Returns
TypeDescription
DataScanEvent.DataQualityResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionPassed() (deprecated)

public Map<String,Boolean> getDimensionPassed()
Returns
TypeDescription
Map<String,java.lang.Boolean>

getDimensionPassedCount()

public int getDimensionPassedCount()

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;

Returns
TypeDescription
int

getDimensionPassedMap()

public Map<String,Boolean> 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;

Returns
TypeDescription
Map<String,java.lang.Boolean>

getDimensionPassedOrDefault(String key, boolean defaultValue)

public boolean getDimensionPassedOrDefault(String key, boolean defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueboolean
Returns
TypeDescription
boolean

getDimensionPassedOrThrow(String key)

public boolean getDimensionPassedOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDimensionScore() (deprecated)

public Map<String,Float> getDimensionScore()
Returns
TypeDescription
Map<String,java.lang.Float>

getDimensionScoreCount()

public int getDimensionScoreCount()

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;

Returns
TypeDescription
int

getDimensionScoreMap()

public Map<String,Float> 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;

Returns
TypeDescription
Map<String,java.lang.Float>

getDimensionScoreOrDefault(String key, float defaultValue)

public float getDimensionScoreOrDefault(String key, float defaultValue)

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;

Parameters
NameDescription
keyString
defaultValuefloat
Returns
TypeDescription
float

getDimensionScoreOrThrow(String key)

public float getDimensionScoreOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
float

getMutableColumnScore() (deprecated)

public Map<String,Float> getMutableColumnScore()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Float>

getMutableDimensionPassed() (deprecated)

public Map<String,Boolean> getMutableDimensionPassed()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Boolean>

getMutableDimensionScore() (deprecated)

public Map<String,Float> getMutableDimensionScore()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Float>

getPassed()

public boolean getPassed()

Whether the data quality result was pass or not.

bool passed = 2;

Returns
TypeDescription
boolean

The passed.

getRowCount()

public long getRowCount()

The count of rows processed in the data scan job.

int64 row_count = 1;

Returns
TypeDescription
long

The rowCount.

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;

Returns
TypeDescription
float

The score.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataScanEvent.DataQualityResult other)

public DataScanEvent.DataQualityResult.Builder mergeFrom(DataScanEvent.DataQualityResult other)
Parameter
NameDescription
otherDataScanEvent.DataQualityResult
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllColumnScore(Map<String,Float> values)

public DataScanEvent.DataQualityResult.Builder putAllColumnScore(Map<String,Float> values)

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;

Parameter
NameDescription
valuesMap<String,java.lang.Float>
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

putAllDimensionPassed(Map<String,Boolean> values)

public DataScanEvent.DataQualityResult.Builder putAllDimensionPassed(Map<String,Boolean> values)

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;

Parameter
NameDescription
valuesMap<String,java.lang.Boolean>
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

putAllDimensionScore(Map<String,Float> values)

public DataScanEvent.DataQualityResult.Builder putAllDimensionScore(Map<String,Float> values)

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;

Parameter
NameDescription
valuesMap<String,java.lang.Float>
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

putColumnScore(String key, float value)

public DataScanEvent.DataQualityResult.Builder putColumnScore(String key, float value)

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;

Parameters
NameDescription
keyString
valuefloat
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

putDimensionPassed(String key, boolean value)

public DataScanEvent.DataQualityResult.Builder putDimensionPassed(String key, boolean value)

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;

Parameters
NameDescription
keyString
valueboolean
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

putDimensionScore(String key, float value)

public DataScanEvent.DataQualityResult.Builder putDimensionScore(String key, float value)

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;

Parameters
NameDescription
keyString
valuefloat
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

removeColumnScore(String key)

public DataScanEvent.DataQualityResult.Builder removeColumnScore(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

removeDimensionPassed(String key)

public DataScanEvent.DataQualityResult.Builder removeDimensionPassed(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

removeDimensionScore(String key)

public DataScanEvent.DataQualityResult.Builder removeDimensionScore(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPassed(boolean value)

public DataScanEvent.DataQualityResult.Builder setPassed(boolean value)

Whether the data quality result was pass or not.

bool passed = 2;

Parameter
NameDescription
valueboolean

The passed to set.

Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

This builder for chaining.

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

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

setRowCount(long value)

public DataScanEvent.DataQualityResult.Builder setRowCount(long value)

The count of rows processed in the data scan job.

int64 row_count = 1;

Parameter
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

This builder for chaining.

setScore(float value)

public DataScanEvent.DataQualityResult.Builder setScore(float value)

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;

Parameter
NameDescription
valuefloat

The score to set.

Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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