Class DataQualityResult.Builder (0.16.0)

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

The output of a DataQualityScan.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDimensions(Iterable<? extends DataQualityDimensionResult> values)

public DataQualityResult.Builder addAllDimensions(Iterable<? extends DataQualityDimensionResult> values)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.dataplex.v1.DataQualityDimensionResult>
Returns
Type Description
DataQualityResult.Builder

addAllRules(Iterable<? extends DataQualityRuleResult> values)

public DataQualityResult.Builder addAllRules(Iterable<? extends DataQualityRuleResult> values)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.dataplex.v1.DataQualityRuleResult>
Returns
Type Description
DataQualityResult.Builder

addDimensions(DataQualityDimensionResult value)

public DataQualityResult.Builder addDimensions(DataQualityDimensionResult value)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
value DataQualityDimensionResult
Returns
Type Description
DataQualityResult.Builder

addDimensions(DataQualityDimensionResult.Builder builderForValue)

public DataQualityResult.Builder addDimensions(DataQualityDimensionResult.Builder builderForValue)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
builderForValue DataQualityDimensionResult.Builder
Returns
Type Description
DataQualityResult.Builder

addDimensions(int index, DataQualityDimensionResult value)

public DataQualityResult.Builder addDimensions(int index, DataQualityDimensionResult value)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
Name Description
index int
value DataQualityDimensionResult
Returns
Type Description
DataQualityResult.Builder

addDimensions(int index, DataQualityDimensionResult.Builder builderForValue)

public DataQualityResult.Builder addDimensions(int index, DataQualityDimensionResult.Builder builderForValue)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
Name Description
index int
builderForValue DataQualityDimensionResult.Builder
Returns
Type Description
DataQualityResult.Builder

addDimensionsBuilder()

public DataQualityDimensionResult.Builder addDimensionsBuilder()

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Returns
Type Description
DataQualityDimensionResult.Builder

addDimensionsBuilder(int index)

public DataQualityDimensionResult.Builder addDimensionsBuilder(int index)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
index int
Returns
Type Description
DataQualityDimensionResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataQualityResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataQualityResult.Builder
Overrides

addRules(DataQualityRuleResult value)

public DataQualityResult.Builder addRules(DataQualityRuleResult value)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
value DataQualityRuleResult
Returns
Type Description
DataQualityResult.Builder

addRules(DataQualityRuleResult.Builder builderForValue)

public DataQualityResult.Builder addRules(DataQualityRuleResult.Builder builderForValue)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
builderForValue DataQualityRuleResult.Builder
Returns
Type Description
DataQualityResult.Builder

addRules(int index, DataQualityRuleResult value)

public DataQualityResult.Builder addRules(int index, DataQualityRuleResult value)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
Name Description
index int
value DataQualityRuleResult
Returns
Type Description
DataQualityResult.Builder

addRules(int index, DataQualityRuleResult.Builder builderForValue)

public DataQualityResult.Builder addRules(int index, DataQualityRuleResult.Builder builderForValue)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
Name Description
index int
builderForValue DataQualityRuleResult.Builder
Returns
Type Description
DataQualityResult.Builder

addRulesBuilder()

public DataQualityRuleResult.Builder addRulesBuilder()

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
Type Description
DataQualityRuleResult.Builder

addRulesBuilder(int index)

public DataQualityRuleResult.Builder addRulesBuilder(int index)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleResult.Builder

build()

public DataQualityResult build()
Returns
Type Description
DataQualityResult

buildPartial()

public DataQualityResult buildPartial()
Returns
Type Description
DataQualityResult

clear()

public DataQualityResult.Builder clear()
Returns
Type Description
DataQualityResult.Builder
Overrides

clearDimensions()

public DataQualityResult.Builder clearDimensions()

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Returns
Type Description
DataQualityResult.Builder

clearField(Descriptors.FieldDescriptor field)

public DataQualityResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataQualityResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualityResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataQualityResult.Builder
Overrides

clearPassed()

public DataQualityResult.Builder clearPassed()

Overall data quality result -- true if all rules passed.

bool passed = 5;

Returns
Type Description
DataQualityResult.Builder

This builder for chaining.

clearRowCount()

public DataQualityResult.Builder clearRowCount()

The count of rows processed.

int64 row_count = 4;

Returns
Type Description
DataQualityResult.Builder

This builder for chaining.

clearRules()

public DataQualityResult.Builder clearRules()

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
Type Description
DataQualityResult.Builder

clearScannedData()

public DataQualityResult.Builder clearScannedData()

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Returns
Type Description
DataQualityResult.Builder

clone()

public DataQualityResult.Builder clone()
Returns
Type Description
DataQualityResult.Builder
Overrides

getDefaultInstanceForType()

public DataQualityResult getDefaultInstanceForType()
Returns
Type Description
DataQualityResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDimensions(int index)

public DataQualityDimensionResult getDimensions(int index)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
index int
Returns
Type Description
DataQualityDimensionResult

getDimensionsBuilder(int index)

public DataQualityDimensionResult.Builder getDimensionsBuilder(int index)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
index int
Returns
Type Description
DataQualityDimensionResult.Builder

getDimensionsBuilderList()

public List<DataQualityDimensionResult.Builder> getDimensionsBuilderList()

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Returns
Type Description
List<Builder>

getDimensionsCount()

public int getDimensionsCount()

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Returns
Type Description
int

getDimensionsList()

public List<DataQualityDimensionResult> getDimensionsList()

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Returns
Type Description
List<DataQualityDimensionResult>

getDimensionsOrBuilder(int index)

public DataQualityDimensionResultOrBuilder getDimensionsOrBuilder(int index)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
index int
Returns
Type Description
DataQualityDimensionResultOrBuilder

getDimensionsOrBuilderList()

public List<? extends DataQualityDimensionResultOrBuilder> getDimensionsOrBuilderList()

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Returns
Type Description
List<? extends com.google.events.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>

getPassed()

public boolean getPassed()

Overall data quality result -- true if all rules passed.

bool passed = 5;

Returns
Type Description
boolean

The passed.

getRowCount()

public long getRowCount()

The count of rows processed.

int64 row_count = 4;

Returns
Type Description
long

The rowCount.

getRules(int index)

public DataQualityRuleResult getRules(int index)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleResult

getRulesBuilder(int index)

public DataQualityRuleResult.Builder getRulesBuilder(int index)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleResult.Builder

getRulesBuilderList()

public List<DataQualityRuleResult.Builder> getRulesBuilderList()

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
Type Description
List<Builder>

getRulesCount()

public int getRulesCount()

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
Type Description
int

getRulesList()

public List<DataQualityRuleResult> getRulesList()

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
Type Description
List<DataQualityRuleResult>

getRulesOrBuilder(int index)

public DataQualityRuleResultOrBuilder getRulesOrBuilder(int index)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleResultOrBuilder

getRulesOrBuilderList()

public List<? extends DataQualityRuleResultOrBuilder> getRulesOrBuilderList()

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
Type Description
List<? extends com.google.events.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>

getScannedData()

public ScannedData getScannedData()

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Returns
Type Description
ScannedData

The scannedData.

getScannedDataBuilder()

public ScannedData.Builder getScannedDataBuilder()

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Returns
Type Description
ScannedData.Builder

getScannedDataOrBuilder()

public ScannedDataOrBuilder getScannedDataOrBuilder()

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Returns
Type Description
ScannedDataOrBuilder

hasScannedData()

public boolean hasScannedData()

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Returns
Type Description
boolean

Whether the scannedData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataQualityResult other)

public DataQualityResult.Builder mergeFrom(DataQualityResult other)
Parameter
Name Description
other DataQualityResult
Returns
Type Description
DataQualityResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataQualityResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataQualityResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataQualityResult.Builder
Overrides

mergeScannedData(ScannedData value)

public DataQualityResult.Builder mergeScannedData(ScannedData value)

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Parameter
Name Description
value ScannedData
Returns
Type Description
DataQualityResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualityResult.Builder
Overrides

removeDimensions(int index)

public DataQualityResult.Builder removeDimensions(int index)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
Name Description
index int
Returns
Type Description
DataQualityResult.Builder

removeRules(int index)

public DataQualityResult.Builder removeRules(int index)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
Name Description
index int
Returns
Type Description
DataQualityResult.Builder

setDimensions(int index, DataQualityDimensionResult value)

public DataQualityResult.Builder setDimensions(int index, DataQualityDimensionResult value)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
Name Description
index int
value DataQualityDimensionResult
Returns
Type Description
DataQualityResult.Builder

setDimensions(int index, DataQualityDimensionResult.Builder builderForValue)

public DataQualityResult.Builder setDimensions(int index, DataQualityDimensionResult.Builder builderForValue)

A list of results at the dimension level.

repeated .google.events.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
Name Description
index int
builderForValue DataQualityDimensionResult.Builder
Returns
Type Description
DataQualityResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualityResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataQualityResult.Builder
Overrides

setPassed(boolean value)

public DataQualityResult.Builder setPassed(boolean value)

Overall data quality result -- true if all rules passed.

bool passed = 5;

Parameter
Name Description
value boolean

The passed to set.

Returns
Type Description
DataQualityResult.Builder

This builder for chaining.

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

public DataQualityResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataQualityResult.Builder
Overrides

setRowCount(long value)

public DataQualityResult.Builder setRowCount(long value)

The count of rows processed.

int64 row_count = 4;

Parameter
Name Description
value long

The rowCount to set.

Returns
Type Description
DataQualityResult.Builder

This builder for chaining.

setRules(int index, DataQualityRuleResult value)

public DataQualityResult.Builder setRules(int index, DataQualityRuleResult value)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
Name Description
index int
value DataQualityRuleResult
Returns
Type Description
DataQualityResult.Builder

setRules(int index, DataQualityRuleResult.Builder builderForValue)

public DataQualityResult.Builder setRules(int index, DataQualityRuleResult.Builder builderForValue)

A list of all the rules in a job, and their results.

repeated .google.events.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
Name Description
index int
builderForValue DataQualityRuleResult.Builder
Returns
Type Description
DataQualityResult.Builder

setScannedData(ScannedData value)

public DataQualityResult.Builder setScannedData(ScannedData value)

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Parameter
Name Description
value ScannedData
Returns
Type Description
DataQualityResult.Builder

setScannedData(ScannedData.Builder builderForValue)

public DataQualityResult.Builder setScannedData(ScannedData.Builder builderForValue)

The data scanned for this result.

.google.events.cloud.dataplex.v1.ScannedData scanned_data = 7;

Parameter
Name Description
builderForValue ScannedData.Builder
Returns
Type Description
DataQualityResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualityResult.Builder
Overrides