Class PrivacyMetric.KMapEstimationConfig.Builder (3.53.0)

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
Type Description
Descriptor

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

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

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

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

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

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

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

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

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

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

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

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

This builder for chaining.

clone()

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

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

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

Returns
Type Description
List<AuxiliaryTable>

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
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder

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

getDescriptorForType()

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

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

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

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

Returns
Type Description
List<TaggedField>

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
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivacyMetric.KMapEstimationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

This builder for chaining.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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