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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.KMapEstimationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivacyMetric.KMapEstimationConfig build()
buildPartial()
public PrivacyMetric.KMapEstimationConfig buildPartial()
clear()
public PrivacyMetric.KMapEstimationConfig.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.KMapEstimationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.KMapEstimationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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;
clone()
public PrivacyMetric.KMapEstimationConfig.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
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;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
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];
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivacyMetric.KMapEstimationConfig other)
public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(PrivacyMetric.KMapEstimationConfig other)
public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.KMapEstimationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.KMapEstimationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivacyMetric.KMapEstimationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.KMapEstimationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides