Class DataQualityResult.Builder (1.19.0)

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

The output of a DataQualityScan.

Protobuf type google.cloud.dataplex.v1.DataQualityResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.DataQualityDimensionResult>
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.DataQualityRuleResult>
Returns
TypeDescription
DataQualityResult.Builder

addDimensions(DataQualityDimensionResult value)

public DataQualityResult.Builder addDimensions(DataQualityDimensionResult value)

A list of results at the dimension level.

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

Parameter
NameDescription
valueDataQualityDimensionResult
Returns
TypeDescription
DataQualityResult.Builder

addDimensions(DataQualityDimensionResult.Builder builderForValue)

public DataQualityResult.Builder addDimensions(DataQualityDimensionResult.Builder builderForValue)

A list of results at the dimension level.

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

Parameter
NameDescription
builderForValueDataQualityDimensionResult.Builder
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
NameDescription
indexint
valueDataQualityDimensionResult
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
NameDescription
indexint
builderForValueDataQualityDimensionResult.Builder
Returns
TypeDescription
DataQualityResult.Builder

addDimensionsBuilder()

public DataQualityDimensionResult.Builder addDimensionsBuilder()

A list of results at the dimension level.

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

Returns
TypeDescription
DataQualityDimensionResult.Builder

addDimensionsBuilder(int index)

public DataQualityDimensionResult.Builder addDimensionsBuilder(int index)

A list of results at the dimension level.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityDimensionResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataQualityResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
NameDescription
valueDataQualityRuleResult
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
NameDescription
builderForValueDataQualityRuleResult.Builder
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
NameDescription
indexint
valueDataQualityRuleResult
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
NameDescription
indexint
builderForValueDataQualityRuleResult.Builder
Returns
TypeDescription
DataQualityResult.Builder

addRulesBuilder()

public DataQualityRuleResult.Builder addRulesBuilder()

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

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

Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityRuleResult.Builder

build()

public DataQualityResult build()
Returns
TypeDescription
DataQualityResult

buildPartial()

public DataQualityResult buildPartial()
Returns
TypeDescription
DataQualityResult

clear()

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

clearDimensions()

public DataQualityResult.Builder clearDimensions()

A list of results at the dimension level.

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

Returns
TypeDescription
DataQualityResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPassed()

public DataQualityResult.Builder clearPassed()

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

bool passed = 5;

Returns
TypeDescription
DataQualityResult.Builder

This builder for chaining.

clearRowCount()

public DataQualityResult.Builder clearRowCount()

The count of rows processed.

int64 row_count = 4;

Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Returns
TypeDescription
DataQualityResult.Builder

clearScannedData()

public DataQualityResult.Builder clearScannedData()

The data scanned for this result.

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

Returns
TypeDescription
DataQualityResult.Builder

clone()

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

getDefaultInstanceForType()

public DataQualityResult getDefaultInstanceForType()
Returns
TypeDescription
DataQualityResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensions(int index)

public DataQualityDimensionResult getDimensions(int index)

A list of results at the dimension level.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityDimensionResult

getDimensionsBuilder(int index)

public DataQualityDimensionResult.Builder getDimensionsBuilder(int index)

A list of results at the dimension level.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityDimensionResult.Builder

getDimensionsBuilderList()

public List<DataQualityDimensionResult.Builder> getDimensionsBuilderList()

A list of results at the dimension level.

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

Returns
TypeDescription
List<Builder>

getDimensionsCount()

public int getDimensionsCount()

A list of results at the dimension level.

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

Returns
TypeDescription
int

getDimensionsList()

public List<DataQualityDimensionResult> getDimensionsList()

A list of results at the dimension level.

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

Returns
TypeDescription
List<DataQualityDimensionResult>

getDimensionsOrBuilder(int index)

public DataQualityDimensionResultOrBuilder getDimensionsOrBuilder(int index)

A list of results at the dimension level.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityDimensionResultOrBuilder

getDimensionsOrBuilderList()

public List<? extends DataQualityDimensionResultOrBuilder> getDimensionsOrBuilderList()

A list of results at the dimension level.

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

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>

getPassed()

public boolean getPassed()

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

bool passed = 5;

Returns
TypeDescription
boolean

The passed.

getRowCount()

public long getRowCount()

The count of rows processed.

int64 row_count = 4;

Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityRuleResult

getRulesBuilder(int index)

public DataQualityRuleResult.Builder getRulesBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityRuleResult.Builder

getRulesBuilderList()

public List<DataQualityRuleResult.Builder> getRulesBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getRulesCount()

public int getRulesCount()

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

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

Returns
TypeDescription
int

getRulesList()

public List<DataQualityRuleResult> getRulesList()

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

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

Returns
TypeDescription
List<DataQualityRuleResult>

getRulesOrBuilder(int index)

public DataQualityRuleResultOrBuilder getRulesOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityRuleResultOrBuilder

getRulesOrBuilderList()

public List<? extends DataQualityRuleResultOrBuilder> getRulesOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>

getScannedData()

public ScannedData getScannedData()

The data scanned for this result.

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

Returns
TypeDescription
ScannedData

The scannedData.

getScannedDataBuilder()

public ScannedData.Builder getScannedDataBuilder()

The data scanned for this result.

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

Returns
TypeDescription
ScannedData.Builder

getScannedDataOrBuilder()

public ScannedDataOrBuilder getScannedDataOrBuilder()

The data scanned for this result.

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

Returns
TypeDescription
ScannedDataOrBuilder

hasScannedData()

public boolean hasScannedData()

The data scanned for this result.

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

Returns
TypeDescription
boolean

Whether the scannedData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualityResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeScannedData(ScannedData value)

public DataQualityResult.Builder mergeScannedData(ScannedData value)

The data scanned for this result.

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

Parameter
NameDescription
valueScannedData
Returns
TypeDescription
DataQualityResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDimensions(int index)

public DataQualityResult.Builder removeDimensions(int index)

A list of results at the dimension level.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
NameDescription
indexint
valueDataQualityDimensionResult
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;

Parameters
NameDescription
indexint
builderForValueDataQualityDimensionResult.Builder
Returns
TypeDescription
DataQualityResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualityResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The passed to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataQualityResult.Builder
Overrides

setRowCount(long value)

public DataQualityResult.Builder setRowCount(long value)

The count of rows processed.

int64 row_count = 4;

Parameter
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
NameDescription
indexint
valueDataQualityRuleResult
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRuleResult rules = 3;

Parameters
NameDescription
indexint
builderForValueDataQualityRuleResult.Builder
Returns
TypeDescription
DataQualityResult.Builder

setScannedData(ScannedData value)

public DataQualityResult.Builder setScannedData(ScannedData value)

The data scanned for this result.

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

Parameter
NameDescription
valueScannedData
Returns
TypeDescription
DataQualityResult.Builder

setScannedData(ScannedData.Builder builderForValue)

public DataQualityResult.Builder setScannedData(ScannedData.Builder builderForValue)

The data scanned for this result.

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

Parameter
NameDescription
builderForValueScannedData.Builder
Returns
TypeDescription
DataQualityResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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