public static final class PrivacyMetric.DeltaPresenceEstimationConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.DeltaPresenceEstimationConfig.Builder> implements PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
δ-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 δ-presence exactly without
knowing the attack dataset, so we use a statistical model instead.
Protobuf type google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
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 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>
|
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
value | QuasiId
|
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivacyMetric.DeltaPresenceEstimationConfig build()
buildPartial()
public PrivacyMetric.DeltaPresenceEstimationConfig buildPartial()
clear()
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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;
clone()
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivacyMetric.DeltaPresenceEstimationConfig other)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(PrivacyMetric.DeltaPresenceEstimationConfig other)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.DeltaPresenceEstimationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides