Class DataQualityDimensionResult.Builder (1.42.0)

public static final class DataQualityDimensionResult.Builder extends GeneratedMessageV3.Builder<DataQualityDimensionResult.Builder> implements DataQualityDimensionResultOrBuilder

DataQualityDimensionResult provides a more detailed, per-dimension view of the results.

Protobuf type google.cloud.dataplex.v1.DataQualityDimensionResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataQualityDimensionResult build()
Returns
Type Description
DataQualityDimensionResult

buildPartial()

public DataQualityDimensionResult buildPartial()
Returns
Type Description
DataQualityDimensionResult

clear()

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

clearDimension()

public DataQualityDimensionResult.Builder clearDimension()

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityDimensionResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPassed()

public DataQualityDimensionResult.Builder clearPassed()

Whether the dimension passed or failed.

bool passed = 3;

Returns
Type Description
DataQualityDimensionResult.Builder

This builder for chaining.

clearScore()

public DataQualityDimensionResult.Builder clearScore()

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.

The score ranges between [0, 100] (up to two decimal points).

optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityDimensionResult.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DataQualityDimensionResult getDefaultInstanceForType()
Returns
Type Description
DataQualityDimensionResult

getDescriptorForType()

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

getDimension()

public DataQualityDimension getDimension()

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityDimension

The dimension.

getDimensionBuilder()

public DataQualityDimension.Builder getDimensionBuilder()

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityDimension.Builder

getDimensionOrBuilder()

public DataQualityDimensionOrBuilder getDimensionOrBuilder()

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityDimensionOrBuilder

getPassed()

public boolean getPassed()

Whether the dimension passed or failed.

bool passed = 3;

Returns
Type Description
boolean

The passed.

getScore()

public float getScore()

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.

The score ranges between [0, 100] (up to two decimal points).

optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The score.

hasDimension()

public boolean hasDimension()

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dimension field is set.

hasScore()

public boolean hasScore()

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.

The score ranges between [0, 100] (up to two decimal points).

optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the score field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDimension(DataQualityDimension value)

public DataQualityDimensionResult.Builder mergeDimension(DataQualityDimension value)

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataQualityDimension
Returns
Type Description
DataQualityDimensionResult.Builder

mergeFrom(DataQualityDimensionResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDimension(DataQualityDimension value)

public DataQualityDimensionResult.Builder setDimension(DataQualityDimension value)

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataQualityDimension
Returns
Type Description
DataQualityDimensionResult.Builder

setDimension(DataQualityDimension.Builder builderForValue)

public DataQualityDimensionResult.Builder setDimension(DataQualityDimension.Builder builderForValue)

Output only. The dimension config specified in the DataQualitySpec, as is.

.google.cloud.dataplex.v1.DataQualityDimension dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPassed(boolean value)

public DataQualityDimensionResult.Builder setPassed(boolean value)

Whether the dimension passed or failed.

bool passed = 3;

Parameter
Name Description
value boolean

The passed to set.

Returns
Type Description
DataQualityDimensionResult.Builder

This builder for chaining.

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

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

setScore(float value)

public DataQualityDimensionResult.Builder setScore(float value)

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.

The score ranges between [0, 100] (up to two decimal points).

optional float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value float

The score to set.

Returns
Type Description
DataQualityDimensionResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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