public static final class PrivacyMetric.KAnonymityConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder> implements PrivacyMetric.KAnonymityConfigOrBuilder
k-anonymity metric, used for analysis of reidentification risk.Protobuf type
google.privacy.dlp.v2beta2.PrivacyMetric.KAnonymityConfig
Modifier and Type | Method and Description |
---|---|
PrivacyMetric.KAnonymityConfig.Builder |
addAllQuasiIds(java.lang.Iterable<? extends FieldId> values)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
addQuasiIds(FieldId.Builder builderForValue)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
addQuasiIds(FieldId value)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
addQuasiIds(int index,
FieldId.Builder builderForValue)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
addQuasiIds(int index,
FieldId value)
Set of fields to compute k-anonymity over.
|
FieldId.Builder |
addQuasiIdsBuilder()
Set of fields to compute k-anonymity over.
|
FieldId.Builder |
addQuasiIdsBuilder(int index)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
PrivacyMetric.KAnonymityConfig |
build() |
PrivacyMetric.KAnonymityConfig |
buildPartial() |
PrivacyMetric.KAnonymityConfig.Builder |
clear() |
PrivacyMetric.KAnonymityConfig.Builder |
clearEntityId()
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
PrivacyMetric.KAnonymityConfig.Builder |
clearField(Descriptors.FieldDescriptor field) |
PrivacyMetric.KAnonymityConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
PrivacyMetric.KAnonymityConfig.Builder |
clearQuasiIds()
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
clone() |
PrivacyMetric.KAnonymityConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
EntityId |
getEntityId()
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
EntityId.Builder |
getEntityIdBuilder()
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.
|
FieldId.Builder |
getQuasiIdsBuilder(int index)
Set of fields to compute k-anonymity over.
|
java.util.List<FieldId.Builder> |
getQuasiIdsBuilderList()
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PrivacyMetric.KAnonymityConfig.Builder |
mergeEntityId(EntityId value)
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
PrivacyMetric.KAnonymityConfig.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
PrivacyMetric.KAnonymityConfig.Builder |
mergeFrom(Message other) |
PrivacyMetric.KAnonymityConfig.Builder |
mergeFrom(PrivacyMetric.KAnonymityConfig other) |
PrivacyMetric.KAnonymityConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
PrivacyMetric.KAnonymityConfig.Builder |
removeQuasiIds(int index)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
setEntityId(EntityId.Builder builderForValue)
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
PrivacyMetric.KAnonymityConfig.Builder |
setEntityId(EntityId value)
Optional message indicating that each distinct entity_id should not
contribute to the k-anonymity count more than once per equivalence class.
|
PrivacyMetric.KAnonymityConfig.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
PrivacyMetric.KAnonymityConfig.Builder |
setQuasiIds(int index,
FieldId.Builder builderForValue)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
setQuasiIds(int index,
FieldId value)
Set of fields to compute k-anonymity over.
|
PrivacyMetric.KAnonymityConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PrivacyMetric.KAnonymityConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public PrivacyMetric.KAnonymityConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public PrivacyMetric.KAnonymityConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public PrivacyMetric.KAnonymityConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(PrivacyMetric.KAnonymityConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
java.io.IOException
public 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;
getQuasiIdsList
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public 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;
getQuasiIdsCount
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public 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;
getQuasiIds
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public PrivacyMetric.KAnonymityConfig.Builder setQuasiIds(int index, FieldId value)
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;
public PrivacyMetric.KAnonymityConfig.Builder setQuasiIds(int index, FieldId.Builder builderForValue)
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;
public PrivacyMetric.KAnonymityConfig.Builder addQuasiIds(FieldId value)
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;
public PrivacyMetric.KAnonymityConfig.Builder addQuasiIds(int index, FieldId value)
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;
public PrivacyMetric.KAnonymityConfig.Builder addQuasiIds(FieldId.Builder builderForValue)
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;
public PrivacyMetric.KAnonymityConfig.Builder addQuasiIds(int index, FieldId.Builder builderForValue)
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;
public PrivacyMetric.KAnonymityConfig.Builder addAllQuasiIds(java.lang.Iterable<? extends FieldId> values)
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;
public PrivacyMetric.KAnonymityConfig.Builder clearQuasiIds()
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;
public PrivacyMetric.KAnonymityConfig.Builder removeQuasiIds(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;
public FieldId.Builder getQuasiIdsBuilder(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;
public 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;
getQuasiIdsOrBuilder
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public 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;
getQuasiIdsOrBuilderList
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public FieldId.Builder addQuasiIdsBuilder()
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;
public FieldId.Builder addQuasiIdsBuilder(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;
public java.util.List<FieldId.Builder> getQuasiIdsBuilderList()
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;
public 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;
hasEntityId
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public 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;
getEntityId
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public PrivacyMetric.KAnonymityConfig.Builder setEntityId(EntityId value)
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;
public PrivacyMetric.KAnonymityConfig.Builder setEntityId(EntityId.Builder builderForValue)
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;
public PrivacyMetric.KAnonymityConfig.Builder mergeEntityId(EntityId value)
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;
public PrivacyMetric.KAnonymityConfig.Builder clearEntityId()
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;
public EntityId.Builder getEntityIdBuilder()
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;
public 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;
getEntityIdOrBuilder
in interface PrivacyMetric.KAnonymityConfigOrBuilder
public final PrivacyMetric.KAnonymityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
public final PrivacyMetric.KAnonymityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>