Interface PrivacyMetric.LDiversityConfigOrBuilder (3.45.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FieldId

The sensitiveAttribute.

getSensitiveAttributeOrBuilder()

public abstract FieldIdOrBuilder getSensitiveAttributeOrBuilder()

Sensitive field for computing the l-value.

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

Returns
TypeDescription
FieldIdOrBuilder

hasSensitiveAttribute()

public abstract boolean hasSensitiveAttribute()

Sensitive field for computing the l-value.

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

Returns
TypeDescription
boolean

Whether the sensitiveAttribute field is set.