public static final class PrivacyMetric.KMapEstimationConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.KMapEstimationConfig.Builder> 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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAuxiliaryTables(Iterable<? extends PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> values)
public PrivacyMetric.KMapEstimationConfig.Builder addAllAuxiliaryTables(Iterable<? extends PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> values)
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
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable>
|
Returns
addAllQuasiIds(Iterable<? extends PrivacyMetric.KMapEstimationConfig.TaggedField> values)
public PrivacyMetric.KMapEstimationConfig.Builder addAllQuasiIds(Iterable<? extends PrivacyMetric.KMapEstimationConfig.TaggedField> values)
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
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField>
|
Returns
addAuxiliaryTables(PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value)
public PrivacyMetric.KMapEstimationConfig.Builder addAuxiliaryTables(PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value)
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
Returns
addAuxiliaryTables(PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue)
public PrivacyMetric.KMapEstimationConfig.Builder addAuxiliaryTables(PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue)
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
Returns
addAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value)
public PrivacyMetric.KMapEstimationConfig.Builder addAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value)
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;
Parameters
Returns
addAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue)
public PrivacyMetric.KMapEstimationConfig.Builder addAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue)
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;
Parameters
Returns
addAuxiliaryTablesBuilder()
public PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder addAuxiliaryTablesBuilder()
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
addAuxiliaryTablesBuilder(int index)
public PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder addAuxiliaryTablesBuilder(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
Returns
addQuasiIds(PrivacyMetric.KMapEstimationConfig.TaggedField value)
public PrivacyMetric.KMapEstimationConfig.Builder addQuasiIds(PrivacyMetric.KMapEstimationConfig.TaggedField value)
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
Returns
addQuasiIds(PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue)
public PrivacyMetric.KMapEstimationConfig.Builder addQuasiIds(PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue)
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
Returns
addQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField value)
public PrivacyMetric.KMapEstimationConfig.Builder addQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField value)
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];
Parameters
Returns
addQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue)
public PrivacyMetric.KMapEstimationConfig.Builder addQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue)
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];
Parameters
Returns
addQuasiIdsBuilder()
public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder addQuasiIdsBuilder()
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
addQuasiIdsBuilder(int index)
public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder addQuasiIdsBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.KMapEstimationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PrivacyMetric.KMapEstimationConfig build()
Returns
buildPartial()
public PrivacyMetric.KMapEstimationConfig buildPartial()
Returns
clear()
public PrivacyMetric.KMapEstimationConfig.Builder clear()
Returns
Overrides
clearAuxiliaryTables()
public PrivacyMetric.KMapEstimationConfig.Builder clearAuxiliaryTables()
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
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.KMapEstimationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.KMapEstimationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQuasiIds()
public PrivacyMetric.KMapEstimationConfig.Builder clearQuasiIds()
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
clearRegionCode()
public PrivacyMetric.KMapEstimationConfig.Builder clearRegionCode()
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
clone()
public PrivacyMetric.KMapEstimationConfig.Builder clone()
Returns
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
Returns
getAuxiliaryTablesBuilder(int index)
public PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder getAuxiliaryTablesBuilder(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
Returns
getAuxiliaryTablesBuilderList()
public List<PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder> getAuxiliaryTablesBuilderList()
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> | |
getDefaultInstanceForType()
public PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getQuasiIdsBuilder(int index)
public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder getQuasiIdsBuilder(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
Returns
getQuasiIdsBuilderList()
public List<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder> getQuasiIdsBuilderList()
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
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
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
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
Returns
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
Type | Description |
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
Type | Description |
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
Type | Description |
ByteString | The bytes for regionCode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PrivacyMetric.KMapEstimationConfig other)
public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(PrivacyMetric.KMapEstimationConfig other)
Parameter
Returns
public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.KMapEstimationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAuxiliaryTables(int index)
public PrivacyMetric.KMapEstimationConfig.Builder removeAuxiliaryTables(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
Returns
removeQuasiIds(int index)
public PrivacyMetric.KMapEstimationConfig.Builder removeQuasiIds(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
Returns
setAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value)
public PrivacyMetric.KMapEstimationConfig.Builder setAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value)
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;
Parameters
Returns
setAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue)
public PrivacyMetric.KMapEstimationConfig.Builder setAuxiliaryTables(int index, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.KMapEstimationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField value)
public PrivacyMetric.KMapEstimationConfig.Builder setQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField value)
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];
Parameters
Returns
setQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue)
public PrivacyMetric.KMapEstimationConfig.Builder setQuasiIds(int index, PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue)
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];
Parameters
Returns
setRegionCode(String value)
public PrivacyMetric.KMapEstimationConfig.Builder setRegionCode(String value)
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;
Parameter
Name | Description |
value | String
The regionCode to set.
|
Returns
setRegionCodeBytes(ByteString value)
public PrivacyMetric.KMapEstimationConfig.Builder setRegionCodeBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for regionCode to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivacyMetric.KMapEstimationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.KMapEstimationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides