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.v2.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;
getQuasiIdsList
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;
getQuasiIdsOrBuilderList
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public int getQuasiIdsCount()
Fields considered to be quasi-identifiers. No two columns can have the same tag. [required]
repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;
getQuasiIdsCount
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;
getQuasiIds
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1;
getQuasiIdsOrBuilder
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.KMapEstimationConfigOrBuilder
public 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.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
getAuxiliaryTablesList
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
getAuxiliaryTablesOrBuilderList
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
getAuxiliaryTablesCount
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
getAuxiliaryTables
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public 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.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
getAuxiliaryTablesOrBuilder
in interface PrivacyMetric.KMapEstimationConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static PrivacyMetric.KMapEstimationConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PrivacyMetric.KMapEstimationConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PrivacyMetric.KMapEstimationConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PrivacyMetric.KMapEstimationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PrivacyMetric.KMapEstimationConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static PrivacyMetric.KMapEstimationConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PrivacyMetric.KMapEstimationConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static PrivacyMetric.KMapEstimationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public PrivacyMetric.KMapEstimationConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static PrivacyMetric.KMapEstimationConfig.Builder newBuilder()
public static PrivacyMetric.KMapEstimationConfig.Builder newBuilder(PrivacyMetric.KMapEstimationConfig prototype)
public PrivacyMetric.KMapEstimationConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected PrivacyMetric.KMapEstimationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static PrivacyMetric.KMapEstimationConfig getDefaultInstance()
public static Parser<PrivacyMetric.KMapEstimationConfig> parser()
public Parser<PrivacyMetric.KMapEstimationConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder