Class DataQualityDimensionResult.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataQualityDimensionResult build()
Returns
TypeDescription
DataQualityDimensionResult

buildPartial()

public DataQualityDimensionResult buildPartial()
Returns
TypeDescription
DataQualityDimensionResult

clear()

public DataQualityDimensionResult.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataQualityDimensionResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPassed()

public DataQualityDimensionResult.Builder clearPassed()

Whether the dimension passed or failed.

bool passed = 3;

Returns
TypeDescription
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
TypeDescription
DataQualityDimensionResult.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DataQualityDimensionResult getDefaultInstanceForType()
Returns
TypeDescription
DataQualityDimensionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataQualityDimensionOrBuilder

getPassed()

public boolean getPassed()

Whether the dimension passed or failed.

bool passed = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the score field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataQualityDimension
Returns
TypeDescription
DataQualityDimensionResult.Builder

mergeFrom(DataQualityDimensionResult other)

public DataQualityDimensionResult.Builder mergeFrom(DataQualityDimensionResult other)
Parameter
NameDescription
otherDataQualityDimensionResult
Returns
TypeDescription
DataQualityDimensionResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityDimensionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataQualityDimension
Returns
TypeDescription
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
NameDescription
builderForValueDataQualityDimension.Builder
Returns
TypeDescription
DataQualityDimensionResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPassed(boolean value)

public DataQualityDimensionResult.Builder setPassed(boolean value)

Whether the dimension passed or failed.

bool passed = 3;

Parameter
NameDescription
valueboolean

The passed to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The score to set.

Returns
TypeDescription
DataQualityDimensionResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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