Interface PrivacyMetric.KAnonymityConfigOrBuilder (3.8.0)

public static interface PrivacyMetric.KAnonymityConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntityId()

public abstract EntityId getEntityId()

Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.

.google.privacy.dlp.v2.EntityId entity_id = 2;

Returns
TypeDescription
EntityId

The entityId.

getEntityIdOrBuilder()

public abstract EntityIdOrBuilder getEntityIdOrBuilder()

Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.

.google.privacy.dlp.v2.EntityId entity_id = 2;

Returns
TypeDescription
EntityIdOrBuilder

getQuasiIds(int index)

public abstract FieldId getQuasiIds(int index)

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId

getQuasiIdsCount()

public abstract int getQuasiIdsCount()

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.

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

Returns
TypeDescription
int

getQuasiIdsList()

public abstract List<FieldId> getQuasiIdsList()

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.

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

Returns
TypeDescription
List<FieldId>

getQuasiIdsOrBuilder(int index)

public abstract FieldIdOrBuilder getQuasiIdsOrBuilder(int index)

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldIdOrBuilder

getQuasiIdsOrBuilderList()

public abstract List<? extends FieldIdOrBuilder> getQuasiIdsOrBuilderList()

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.

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

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

hasEntityId()

public abstract boolean hasEntityId()

Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.

.google.privacy.dlp.v2.EntityId entity_id = 2;

Returns
TypeDescription
boolean

Whether the entityId field is set.