Interface PrivacyMetric.LDiversityConfigOrBuilder (3.49.0)

public static interface PrivacyMetric.LDiversityConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQuasiIds(int index)

public abstract FieldId getQuasiIds(int index)

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;

Parameter
Name Description
index int
Returns
Type Description
FieldId

getQuasiIdsCount()

public abstract int getQuasiIdsCount()

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;

Returns
Type Description
int

getQuasiIdsList()

public abstract List<FieldId> getQuasiIdsList()

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;

Returns
Type Description
List<FieldId>

getQuasiIdsOrBuilder(int index)

public abstract FieldIdOrBuilder getQuasiIdsOrBuilder(int index)

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;

Parameter
Name Description
index int
Returns
Type Description
FieldIdOrBuilder

getQuasiIdsOrBuilderList()

public abstract List<? extends FieldIdOrBuilder> getQuasiIdsOrBuilderList()

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder>

getSensitiveAttribute()

public abstract FieldId getSensitiveAttribute()

Sensitive field for computing the l-value.

.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;

Returns
Type Description
FieldId

The sensitiveAttribute.

getSensitiveAttributeOrBuilder()

public abstract FieldIdOrBuilder getSensitiveAttributeOrBuilder()

Sensitive field for computing the l-value.

.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;

Returns
Type Description
FieldIdOrBuilder

hasSensitiveAttribute()

public abstract boolean hasSensitiveAttribute()

Sensitive field for computing the l-value.

.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;

Returns
Type Description
boolean

Whether the sensitiveAttribute field is set.