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.v2.PrivacyMetric.KAnonymityConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllQuasiIds(Iterable<? extends FieldId> values)
public PrivacyMetric.KAnonymityConfig.Builder addAllQuasiIds(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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.FieldId>
|
addQuasiIds(FieldId value)
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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
value |
FieldId
|
addQuasiIds(FieldId.Builder builderForValue)
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.v2.FieldId quasi_ids = 1;
addQuasiIds(int index, FieldId value)
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.v2.FieldId quasi_ids = 1;
Parameters |
Name |
Description |
index |
int
|
value |
FieldId
|
addQuasiIds(int index, FieldId.Builder builderForValue)
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.v2.FieldId quasi_ids = 1;
addQuasiIdsBuilder()
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.v2.FieldId quasi_ids = 1;
addQuasiIdsBuilder(int index)
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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.KAnonymityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivacyMetric.KAnonymityConfig build()
buildPartial()
public PrivacyMetric.KAnonymityConfig buildPartial()
clear()
public PrivacyMetric.KAnonymityConfig.Builder clear()
Overrides
clearEntityId()
public PrivacyMetric.KAnonymityConfig.Builder clearEntityId()
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;
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.KAnonymityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.KAnonymityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQuasiIds()
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.v2.FieldId quasi_ids = 1;
clone()
public PrivacyMetric.KAnonymityConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PrivacyMetric.KAnonymityConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntityId()
public 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 |
Type |
Description |
EntityId |
The entityId.
|
getEntityIdBuilder()
public EntityId.Builder getEntityIdBuilder()
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;
getEntityIdOrBuilder()
public 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;
getQuasiIds(int index)
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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
index |
int
|
getQuasiIdsBuilder(int index)
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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
index |
int
|
getQuasiIdsBuilderList()
public 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.v2.FieldId quasi_ids = 1;
getQuasiIdsCount()
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.v2.FieldId quasi_ids = 1;
Returns |
Type |
Description |
int |
|
getQuasiIdsList()
public 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;
getQuasiIdsOrBuilder(int index)
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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
index |
int
|
getQuasiIdsOrBuilderList()
public 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 |
Type |
Description |
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> |
|
hasEntityId()
public 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 |
Type |
Description |
boolean |
Whether the entityId field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEntityId(EntityId value)
public PrivacyMetric.KAnonymityConfig.Builder mergeEntityId(EntityId value)
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;
Parameter |
Name |
Description |
value |
EntityId
|
mergeFrom(PrivacyMetric.KAnonymityConfig other)
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(PrivacyMetric.KAnonymityConfig other)
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.KAnonymityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeQuasiIds(int index)
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.v2.FieldId quasi_ids = 1;
Parameter |
Name |
Description |
index |
int
|
setEntityId(EntityId value)
public PrivacyMetric.KAnonymityConfig.Builder setEntityId(EntityId value)
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;
Parameter |
Name |
Description |
value |
EntityId
|
setEntityId(EntityId.Builder builderForValue)
public PrivacyMetric.KAnonymityConfig.Builder setEntityId(EntityId.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.KAnonymityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQuasiIds(int index, FieldId value)
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.v2.FieldId quasi_ids = 1;
Parameters |
Name |
Description |
index |
int
|
value |
FieldId
|
setQuasiIds(int index, FieldId.Builder builderForValue)
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.v2.FieldId quasi_ids = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivacyMetric.KAnonymityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.KAnonymityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides