Class DataQualitySpec.Builder (0.15.0)

public static final class DataQualitySpec.Builder extends GeneratedMessageV3.Builder<DataQualitySpec.Builder> implements DataQualitySpecOrBuilder

DataQualityScan related setting.

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

Static Methods

getDescriptor()

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

Methods

addAllRules(Iterable<? extends DataQualityRule> values)

public DataQualitySpec.Builder addAllRules(Iterable<? extends DataQualityRule> values)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRules(DataQualityRule value)

public DataQualitySpec.Builder addRules(DataQualityRule value)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
value DataQualityRule
Returns
Type Description
DataQualitySpec.Builder

addRules(DataQualityRule.Builder builderForValue)

public DataQualitySpec.Builder addRules(DataQualityRule.Builder builderForValue)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
builderForValue DataQualityRule.Builder
Returns
Type Description
DataQualitySpec.Builder

addRules(int index, DataQualityRule value)

public DataQualitySpec.Builder addRules(int index, DataQualityRule value)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
Name Description
index int
value DataQualityRule
Returns
Type Description
DataQualitySpec.Builder

addRules(int index, DataQualityRule.Builder builderForValue)

public DataQualitySpec.Builder addRules(int index, DataQualityRule.Builder builderForValue)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
Name Description
index int
builderForValue DataQualityRule.Builder
Returns
Type Description
DataQualitySpec.Builder

addRulesBuilder()

public DataQualityRule.Builder addRulesBuilder()

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Returns
Type Description
DataQualityRule.Builder

addRulesBuilder(int index)

public DataQualityRule.Builder addRulesBuilder(int index)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRule.Builder

build()

public DataQualitySpec build()
Returns
Type Description
DataQualitySpec

buildPartial()

public DataQualitySpec buildPartial()
Returns
Type Description
DataQualitySpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRules()

public DataQualitySpec.Builder clearRules()

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Returns
Type Description
DataQualitySpec.Builder

clone()

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

getDefaultInstanceForType()

public DataQualitySpec getDefaultInstanceForType()
Returns
Type Description
DataQualitySpec

getDescriptorForType()

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

getRules(int index)

public DataQualityRule getRules(int index)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRule

getRulesBuilder(int index)

public DataQualityRule.Builder getRulesBuilder(int index)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRule.Builder

getRulesBuilderList()

public List<DataQualityRule.Builder> getRulesBuilderList()

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Returns
Type Description
List<Builder>

getRulesCount()

public int getRulesCount()

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Returns
Type Description
int

getRulesList()

public List<DataQualityRule> getRulesList()

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Returns
Type Description
List<DataQualityRule>

getRulesOrBuilder(int index)

public DataQualityRuleOrBuilder getRulesOrBuilder(int index)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleOrBuilder

getRulesOrBuilderList()

public List<? extends DataQualityRuleOrBuilder> getRulesOrBuilderList()

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataQualitySpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRules(int index)

public DataQualitySpec.Builder removeRules(int index)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
DataQualitySpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRules(int index, DataQualityRule value)

public DataQualitySpec.Builder setRules(int index, DataQualityRule value)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
Name Description
index int
value DataQualityRule
Returns
Type Description
DataQualitySpec.Builder

setRules(int index, DataQualityRule.Builder builderForValue)

public DataQualitySpec.Builder setRules(int index, DataQualityRule.Builder builderForValue)

The list of rules to evaluate against a data source. At least one rule is required.

repeated .google.events.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
Name Description
index int
builderForValue DataQualityRule.Builder
Returns
Type Description
DataQualitySpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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