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