Class DataProfileSpec.SelectedFields.Builder (1.38.0)

public static final class DataProfileSpec.SelectedFields.Builder extends GeneratedMessageV3.Builder<DataProfileSpec.SelectedFields.Builder> implements DataProfileSpec.SelectedFieldsOrBuilder

The specification for fields to include or exclude in data profile scan.

Protobuf type google.cloud.dataplex.v1.DataProfileSpec.SelectedFields

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFieldNames(Iterable<String> values)

public DataProfileSpec.SelectedFields.Builder addAllFieldNames(Iterable<String> values)

Optional. Expected input is a list of fully qualified names of fields as in the schema.

Only top-level field names for nested fields are supported. For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.

repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<String>

The fieldNames to add.

Returns
TypeDescription
DataProfileSpec.SelectedFields.Builder

This builder for chaining.

addFieldNames(String value)

public DataProfileSpec.SelectedFields.Builder addFieldNames(String value)

Optional. Expected input is a list of fully qualified names of fields as in the schema.

Only top-level field names for nested fields are supported. For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.

repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The fieldNames to add.

Returns
TypeDescription
DataProfileSpec.SelectedFields.Builder

This builder for chaining.

addFieldNamesBytes(ByteString value)

public DataProfileSpec.SelectedFields.Builder addFieldNamesBytes(ByteString value)

Optional. Expected input is a list of fully qualified names of fields as in the schema.

Only top-level field names for nested fields are supported. For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.

repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes of the fieldNames to add.

Returns
TypeDescription
DataProfileSpec.SelectedFields.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataProfileSpec.SelectedFields build()
Returns
TypeDescription
DataProfileSpec.SelectedFields

buildPartial()

public DataProfileSpec.SelectedFields buildPartial()
Returns
TypeDescription
DataProfileSpec.SelectedFields

clear()

public DataProfileSpec.SelectedFields.Builder clear()
Returns
TypeDescription
DataProfileSpec.SelectedFields.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFieldNames()

public DataProfileSpec.SelectedFields.Builder clearFieldNames()