public static interface PrivacyMetric.KAnonymityConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
EntityId |
getEntityId()
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
EntityIdOrBuilder |
getEntityIdOrBuilder()
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
FieldId |
getQuasiIds(int index)
Set of fields to compute k-anonymity over.
|
int |
getQuasiIdsCount()
Set of fields to compute k-anonymity over.
|
java.util.List<FieldId> |
getQuasiIdsList()
Set of fields to compute k-anonymity over.
|
FieldIdOrBuilder |
getQuasiIdsOrBuilder(int index)
Set of fields to compute k-anonymity over.
|
java.util.List<? extends FieldIdOrBuilder> |
getQuasiIdsOrBuilderList()
Set of fields to compute k-anonymity over.
|
boolean |
hasEntityId()
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.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.v2beta2.FieldId quasi_ids = 1;
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.v2beta2.FieldId quasi_ids = 1;
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.v2beta2.FieldId quasi_ids = 1;
java.util.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.v2beta2.FieldId quasi_ids = 1;
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.v2beta2.FieldId quasi_ids = 1;
boolean hasEntityId()
Optional message indicating that each distinct entity_id should not contribute to the k-anonymity count more than once per equivalence class. If an entity_id appears on several rows with different quasi-identifier tuples, it will contribute to each count exactly once. This can lead to unexpected results. Consider a table where ID 1 is associated to quasi-identifier "foo", ID 2 to "bar", and ID 3 to *both* quasi-identifiers "foo" and "bar" (on separate rows), and where this ID is used as entity_id. Then, the anonymity value associated to ID 3 will be 2, even if it is the only ID to be associated to both values "foo" and "bar".
.google.privacy.dlp.v2beta2.EntityId entity_id = 2;
EntityId getEntityId()
Optional message indicating that each distinct entity_id should not contribute to the k-anonymity count more than once per equivalence class. If an entity_id appears on several rows with different quasi-identifier tuples, it will contribute to each count exactly once. This can lead to unexpected results. Consider a table where ID 1 is associated to quasi-identifier "foo", ID 2 to "bar", and ID 3 to *both* quasi-identifiers "foo" and "bar" (on separate rows), and where this ID is used as entity_id. Then, the anonymity value associated to ID 3 will be 2, even if it is the only ID to be associated to both values "foo" and "bar".
.google.privacy.dlp.v2beta2.EntityId entity_id = 2;
EntityIdOrBuilder getEntityIdOrBuilder()
Optional message indicating that each distinct entity_id should not contribute to the k-anonymity count more than once per equivalence class. If an entity_id appears on several rows with different quasi-identifier tuples, it will contribute to each count exactly once. This can lead to unexpected results. Consider a table where ID 1 is associated to quasi-identifier "foo", ID 2 to "bar", and ID 3 to *both* quasi-identifiers "foo" and "bar" (on separate rows), and where this ID is used as entity_id. Then, the anonymity value associated to ID 3 will be 2, even if it is the only ID to be associated to both values "foo" and "bar".
.google.privacy.dlp.v2beta2.EntityId entity_id = 2;