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.v2beta2.PrivacyMetric.KAnonymityConfig| Modifier and Type | Class and Description |
|---|---|
static class |
PrivacyMetric.KAnonymityConfig.Builder
k-anonymity metric, used for analysis of reidentification risk.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ENTITY_ID_FIELD_NUMBER |
static int |
QUASI_IDS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int QUASI_IDS_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic 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.KAnonymityConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static PrivacyMetric.KAnonymityConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KAnonymityConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KAnonymityConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KAnonymityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic PrivacyMetric.KAnonymityConfig.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static PrivacyMetric.KAnonymityConfig.Builder newBuilder()
public static PrivacyMetric.KAnonymityConfig.Builder newBuilder(PrivacyMetric.KAnonymityConfig prototype)
public PrivacyMetric.KAnonymityConfig.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected PrivacyMetric.KAnonymityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static PrivacyMetric.KAnonymityConfig getDefaultInstance()
public static Parser<PrivacyMetric.KAnonymityConfig> parser()
public Parser<PrivacyMetric.KAnonymityConfig> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public PrivacyMetric.KAnonymityConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder