Class DataProfileSpec.SelectedFields.Builder (1.81.0)

public static final class DataProfileSpec.SelectedFields.Builder extends GeneratedMessage.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
Type Description
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
Name Description
values Iterable<String>

The fieldNames to add.

Returns
Type Description
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
Name Description
value String

The fieldNames to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the fieldNames to add.

Returns
Type Description
DataProfileSpec.SelectedFields.Builder

This builder for chaining.

build()

public DataProfileSpec.SelectedFields build()
Returns
Type Description
DataProfileSpec.SelectedFields

buildPartial()

public DataProfileSpec.SelectedFields buildPartial()
Returns
Type Description
DataProfileSpec.SelectedFields

clear()

public DataProfileSpec.SelectedFields.Builder clear()
Returns
Type Description
DataProfileSpec.SelectedFields.Builder
Overrides

clearFieldNames()

public DataProfileSpec.SelectedFields.Builder clearFieldNames()

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];

Returns
Type Description
DataProfileSpec.SelectedFields.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataProfileSpec.SelectedFields getDefaultInstanceForType()
Returns
Type Description
DataProfileSpec.SelectedFields

getDescriptorForType()

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

getFieldNames(int index)

public String getFieldNames(int index)

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
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fieldNames at the given index.

getFieldNamesBytes(int index)

public ByteString getFieldNamesBytes(int index)

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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fieldNames at the given index.

getFieldNamesCount()

public int getFieldNamesCount()

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];

Returns
Type Description
int

The count of fieldNames.

getFieldNamesList()

public ProtocolStringList getFieldNamesList()

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];

Returns
Type Description
ProtocolStringList

A list containing the fieldNames.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileSpec.SelectedFields other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFieldNames(int index, String value)

public DataProfileSpec.SelectedFields.Builder setFieldNames(int index, 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];

Parameters
Name Description
index int

The index to set the value at.

value String

The fieldNames to set.

Returns
Type Description
DataProfileSpec.SelectedFields.Builder

This builder for chaining.