public static final class PrivacyMetric.KMapEstimationConfig extends GeneratedMessageV3 implements PrivacyMetric.KMapEstimationConfigOrBuilder
Reidentifiability metric. This corresponds to a risk model similar to what is called "journalist risk" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.Protobuf type
google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig| Modifier and Type | Class and Description |
|---|---|
static class |
PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
An auxiliary table contains statistical information on the relative
frequency of different quasi-identifiers values.
|
static interface |
PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder |
static class |
PrivacyMetric.KMapEstimationConfig.Builder
Reidentifiability metric.
|
static class |
PrivacyMetric.KMapEstimationConfig.TaggedField
A column with a semantic tag attached.
|
static interface |
PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder |
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 |
AUXILIARY_TABLES_FIELD_NUMBER |
static int |
QUASI_IDS_FIELD_NUMBER |
static int |
REGION_CODE_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 REGION_CODE_FIELD_NUMBER
public static final int AUXILIARY_TABLES_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<PrivacyMetric.KMapEstimationConfig.TaggedField> getQuasiIdsList()
Fields considered to be quasi-identifiers. No two columns can have the same tag. [required]
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;getQuasiIdsList in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic java.util.List<? extends PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> getQuasiIdsOrBuilderList()
Fields considered to be quasi-identifiers. No two columns can have the same tag. [required]
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;getQuasiIdsOrBuilderList in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic int getQuasiIdsCount()
Fields considered to be quasi-identifiers. No two columns can have the same tag. [required]
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;getQuasiIdsCount in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index)
Fields considered to be quasi-identifiers. No two columns can have the same tag. [required]
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;getQuasiIds in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder(int index)
Fields considered to be quasi-identifiers. No two columns can have the same tag. [required]
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;getQuasiIdsOrBuilder in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic java.lang.String getRegionCode()
ISO 3166-1 alpha-2 region code to use in the statistical modeling. Required if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;getRegionCode in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic ByteString getRegionCodeBytes()
ISO 3166-1 alpha-2 region code to use in the statistical modeling. Required if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;getRegionCodeBytes in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic java.util.List<PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> getAuxiliaryTablesList()
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;getAuxiliaryTablesList in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic java.util.List<? extends PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> getAuxiliaryTablesOrBuilderList()
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;getAuxiliaryTablesOrBuilderList in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic int getAuxiliaryTablesCount()
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;getAuxiliaryTablesCount in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;getAuxiliaryTables in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.
repeated .google.privacy.dlp.v2beta2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;getAuxiliaryTablesOrBuilder in interface PrivacyMetric.KMapEstimationConfigOrBuilderpublic 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.KMapEstimationConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PrivacyMetric.KMapEstimationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic PrivacyMetric.KMapEstimationConfig.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static PrivacyMetric.KMapEstimationConfig.Builder newBuilder()
public static PrivacyMetric.KMapEstimationConfig.Builder newBuilder(PrivacyMetric.KMapEstimationConfig prototype)
public PrivacyMetric.KMapEstimationConfig.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected PrivacyMetric.KMapEstimationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static PrivacyMetric.KMapEstimationConfig getDefaultInstance()
public static Parser<PrivacyMetric.KMapEstimationConfig> parser()
public Parser<PrivacyMetric.KMapEstimationConfig> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder