Class DataScanEvent.DataQualityResult.Builder (1.27.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

clearDimensionPassed()

public DataScanEvent.DataQualityResult.Builder clearDimensionPassed()
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.

clone()

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

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionPassed()

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

getMutableDimensionPassed()

public Map<String,Boolean> getMutableDimensionPassed()

Use alternate mutation accessors instead.

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

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

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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