Class PrivacyMetric.DeltaPresenceEstimationConfig.Builder (3.47.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
value StatisticalTable
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
builderForValue StatisticalTable.Builder
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
value StatisticalTable
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
builderForValue StatisticalTable.Builder
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Type Description
StatisticalTable.Builder

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
Returns
Type Description
StatisticalTable.Builder

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
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
builderForValue QuasiId.Builder
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
value QuasiId
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
builderForValue QuasiId.Builder
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Type Description
QuasiId.Builder

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
Returns
Type Description
QuasiId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides

build()

public PrivacyMetric.DeltaPresenceEstimationConfig build()
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig

buildPartial()

public PrivacyMetric.DeltaPresenceEstimationConfig buildPartial()
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig

clear()

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clear()
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

This builder for chaining.

clone()

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder clone()
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
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
Returns
Type Description
StatisticalTable

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
Returns
Type Description
StatisticalTable.Builder

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
Type Description
List<Builder>

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;

Returns
Type Description
List<StatisticalTable>

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
Returns
Type Description
StatisticalTableOrBuilder

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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
QuasiId

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
Returns
Type Description
QuasiId.Builder

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
Type Description
List<Builder>

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

Returns
Type Description
List<QuasiId>

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
Returns
Type Description
QuasiIdOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivacyMetric.DeltaPresenceEstimationConfig other)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(PrivacyMetric.DeltaPresenceEstimationConfig other)
Parameter
Name Description
other PrivacyMetric.DeltaPresenceEstimationConfig
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
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
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
value StatisticalTable
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
builderForValue StatisticalTable.Builder
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
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
Name Description
index int
value QuasiId
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Name Description
index int
builderForValue QuasiId.Builder
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

This builder for chaining.

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
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.DeltaPresenceEstimationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides