public static final class PrivacyMetric.KAnonymityConfig extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
Static Fields
ENTITY_ID_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
QUASI_IDS_FIELD_NUMBER
public static final int QUASI_IDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PrivacyMetric.KAnonymityConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PrivacyMetric.KAnonymityConfig.Builder newBuilder()
newBuilder(PrivacyMetric.KAnonymityConfig prototype)
public static PrivacyMetric.KAnonymityConfig.Builder newBuilder(PrivacyMetric.KAnonymityConfig prototype)
public static PrivacyMetric.KAnonymityConfig parseDelimitedFrom(InputStream input)
public static PrivacyMetric.KAnonymityConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PrivacyMetric.KAnonymityConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivacyMetric.KAnonymityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PrivacyMetric.KAnonymityConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivacyMetric.KAnonymityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivacyMetric.KAnonymityConfig parseFrom(CodedInputStream input)
public static PrivacyMetric.KAnonymityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivacyMetric.KAnonymityConfig parseFrom(InputStream input)
public static PrivacyMetric.KAnonymityConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PrivacyMetric.KAnonymityConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivacyMetric.KAnonymityConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PrivacyMetric.KAnonymityConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public PrivacyMetric.KAnonymityConfig getDefaultInstanceForType()
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.
|
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;
getParserForType()
public Parser<PrivacyMetric.KAnonymityConfig> getParserForType()
Overrides
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
|
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> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PrivacyMetric.KAnonymityConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivacyMetric.KAnonymityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PrivacyMetric.KAnonymityConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides