public static final class PrivacyMetric.DeltaPresenceEstimationConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.DeltaPresenceEstimationConfig.Builder> implements PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
\u03b4-presence metric, used to estimate how likely it is for an attacker to
figure out that one given individual appears in a de-identified dataset.
Similarly to the k-map metric, we cannot compute \u03b4-presence exactly without
knowing the attack dataset, so we use a statistical model instead.
Protobuf type google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAuxiliaryTables(Iterable<? extends StatisticalTable> values)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAllAuxiliaryTables(Iterable<? extends StatisticalTable> values)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.StatisticalTable>
|
Returns
addAllQuasiIds(Iterable<? extends QuasiId> values)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAllQuasiIds(Iterable<? extends QuasiId> values)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.QuasiId>
|
Returns
addAuxiliaryTables(StatisticalTable value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(StatisticalTable value)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
addAuxiliaryTables(StatisticalTable.Builder builderForValue)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(StatisticalTable.Builder builderForValue)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
addAuxiliaryTables(int index, StatisticalTable value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(int index, StatisticalTable value)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameters
Returns
addAuxiliaryTables(int index, StatisticalTable.Builder builderForValue)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(int index, StatisticalTable.Builder builderForValue)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameters
Returns
addAuxiliaryTablesBuilder()
public StatisticalTable.Builder addAuxiliaryTablesBuilder()
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Returns
addAuxiliaryTablesBuilder(int index)
public StatisticalTable.Builder addAuxiliaryTablesBuilder(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
addQuasiIds(QuasiId value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addQuasiIds(QuasiId value)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addQuasiIds(QuasiId.Builder builderForValue)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addQuasiIds(QuasiId.Builder builderForValue)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addQuasiIds(int index, QuasiId value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addQuasiIds(int index, QuasiId value)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addQuasiIds(int index, QuasiId.Builder builderForValue)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addQuasiIds(int index, QuasiId.Builder builderForValue)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addQuasiIdsBuilder()
public QuasiId.Builder addQuasiIdsBuilder()
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
addQuasiIdsBuilder(int index)
public QuasiId.Builder addQuasiIdsBuilder(int index)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PrivacyMetric.DeltaPresenceEstimationConfig build()
Returns
buildPartial()
public PrivacyMetric.DeltaPresenceEstimationConfig buildPartial()
Returns
clear()
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clear()
Returns
Overrides
clearAuxiliaryTables()
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearAuxiliaryTables()
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQuasiIds()
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearQuasiIds()
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearRegionCode()
public PrivacyMetric.DeltaPresenceEstimationConfig.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.DeltaPresenceEstimationConfig.Builder clone()
Returns
Overrides
getAuxiliaryTables(int index)
public StatisticalTable getAuxiliaryTables(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
getAuxiliaryTablesBuilder(int index)
public StatisticalTable.Builder getAuxiliaryTablesBuilder(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
getAuxiliaryTablesBuilderList()
public List<StatisticalTable.Builder> getAuxiliaryTablesBuilderList()
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable 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 field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Returns
getAuxiliaryTablesList()
public List<StatisticalTable> getAuxiliaryTablesList()
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Returns
getAuxiliaryTablesOrBuilder(int index)
public StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
getAuxiliaryTablesOrBuilderList()
public List<? extends StatisticalTableOrBuilder> getAuxiliaryTablesOrBuilderList()
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.StatisticalTableOrBuilder> | |
getDefaultInstanceForType()
public PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getQuasiIds(int index)
public QuasiId getQuasiIds(int index)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getQuasiIdsBuilder(int index)
public QuasiId.Builder getQuasiIdsBuilder(int index)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getQuasiIdsBuilderList()
public List<QuasiId.Builder> getQuasiIdsBuilderList()
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getQuasiIdsCount()
public int getQuasiIdsCount()
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getQuasiIdsList()
public List<QuasiId> getQuasiIdsList()
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getQuasiIdsOrBuilder(int index)
public QuasiIdOrBuilder getQuasiIdsOrBuilder(int index)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getQuasiIdsOrBuilderList()
public List<? extends QuasiIdOrBuilder> getQuasiIdsOrBuilderList()
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.QuasiIdOrBuilder> | |
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.DeltaPresenceEstimationConfig other)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(PrivacyMetric.DeltaPresenceEstimationConfig other)
Parameter
Returns
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAuxiliaryTables(int index)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder removeAuxiliaryTables(int index)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameter
Returns
removeQuasiIds(int index)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder removeQuasiIds(int index)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAuxiliaryTables(int index, StatisticalTable value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setAuxiliaryTables(int index, StatisticalTable value)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameters
Returns
setAuxiliaryTables(int index, StatisticalTable.Builder builderForValue)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setAuxiliaryTables(int index, StatisticalTable.Builder builderForValue)
Several auxiliary tables can be used in the analysis. Each custom_tag
used to tag a quasi-identifiers field must appear in exactly one
field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setQuasiIds(int index, QuasiId value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setQuasiIds(int index, QuasiId value)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setQuasiIds(int index, QuasiId.Builder builderForValue)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setQuasiIds(int index, QuasiId.Builder builderForValue)
Required. Fields considered to be quasi-identifiers. No two fields can have the
same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setRegionCode(String value)
public PrivacyMetric.DeltaPresenceEstimationConfig.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.DeltaPresenceEstimationConfig.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.DeltaPresenceEstimationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.DeltaPresenceEstimationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides