Class PrivacyMetric.KMapEstimationConfig (3.10.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivacyMetric.KMapEstimationConfig

Static Fields

AUXILIARY_TABLES_FIELD_NUMBER

public static final int AUXILIARY_TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

QUASI_IDS_FIELD_NUMBER

public static final int QUASI_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_CODE_FIELD_NUMBER

public static final int REGION_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivacyMetric.KMapEstimationConfig getDefaultInstance()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PrivacyMetric.KMapEstimationConfig.Builder newBuilder()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

newBuilder(PrivacyMetric.KMapEstimationConfig prototype)

public static PrivacyMetric.KMapEstimationConfig.Builder newBuilder(PrivacyMetric.KMapEstimationConfig prototype)
Parameter
NameDescription
prototypePrivacyMetric.KMapEstimationConfig
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

parseDelimitedFrom(InputStream input)

public static PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivacyMetric.KMapEstimationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivacyMetric.KMapEstimationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivacyMetric.KMapEstimationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivacyMetric.KMapEstimationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivacyMetric.KMapEstimationConfig> parser()
Returns
TypeDescription
Parser<KMapEstimationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAuxiliaryTables(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.AuxiliaryTable

getAuxiliaryTablesCount()

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;

Returns
TypeDescription
int

getAuxiliaryTablesList()

public 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;

Returns
TypeDescription
List<AuxiliaryTable>

getAuxiliaryTablesOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder

getAuxiliaryTablesOrBuilderList()

public 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;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder>

getDefaultInstanceForType()

public PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig

getParserForType()

public Parser<PrivacyMetric.KMapEstimationConfig> getParserForType()
Returns
TypeDescription
Parser<KMapEstimationConfig>
Overrides

getQuasiIds(int index)

public PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index)

Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.

repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField

getQuasiIdsCount()

public int getQuasiIdsCount()

Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.

repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getQuasiIdsList()

public List<PrivacyMetric.KMapEstimationConfig.TaggedField> getQuasiIdsList()

Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.

repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<TaggedField>

getQuasiIdsOrBuilder(int index)

public PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder(int index)

Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.

repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder

getQuasiIdsOrBuilderList()

public List<? extends PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> getQuasiIdsOrBuilderList()

Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.

repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder>

getRegionCode()

public String getRegionCode()

ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.

string region_code = 2;

Returns
TypeDescription
String

The regionCode.

getRegionCodeBytes()

public ByteString getRegionCodeBytes()

ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.

string region_code = 2;

Returns
TypeDescription
ByteString

The bytes for regionCode.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivacyMetric.KMapEstimationConfig.Builder newBuilderForType()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivacyMetric.KMapEstimationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivacyMetric.KMapEstimationConfig.Builder toBuilder()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException