Class DataQualitySpec.Builder (1.14.0)

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

DataQualityScan related setting.

Protobuf type google.cloud.dataplex.v1.DataQualitySpec

Static Methods

getDescriptor()

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

Parameter
NameDescription
valueDataQualityRule
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
NameDescription
builderForValueDataQualityRule.Builder
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
NameDescription
indexint
valueDataQualityRule
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
NameDescription
indexint
builderForValueDataQualityRule.Builder
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualityRule.Builder

build()

public DataQualitySpec build()
Returns
TypeDescription
DataQualitySpec

buildPartial()

public DataQualitySpec buildPartial()
Returns
TypeDescription
DataQualitySpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualitySpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Returns
TypeDescription
DataQualitySpec.Builder

clone()

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

getDefaultInstanceForType()

public DataQualitySpec getDefaultInstanceForType()
Returns
TypeDescription
DataQualitySpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

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

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

Returns
TypeDescription
List<Builder>

getRulesCount()

public int getRulesCount()

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

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

Returns
TypeDescription
int

getRulesList()

public List<DataQualityRule> getRulesList()

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

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

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualitySpec other)

public DataQualitySpec.Builder mergeFrom(DataQualitySpec other)
Parameter
NameDescription
otherDataQualitySpec
Returns
TypeDescription
DataQualitySpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualitySpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataQualitySpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DataQualitySpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
NameDescription
indexint
valueDataQualityRule
Returns
TypeDescription
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.cloud.dataplex.v1.DataQualityRule rules = 1;

Parameters
NameDescription
indexint
builderForValueDataQualityRule.Builder
Returns
TypeDescription
DataQualitySpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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