Class PrivacyMetric.KMapEstimationConfig.Builder (3.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField>
Returns
TypeDescription
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
NameDescription
valuePrivacyMetric.KMapEstimationConfig.AuxiliaryTable
Returns
TypeDescription
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
NameDescription
builderForValuePrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePrivacyMetric.KMapEstimationConfig.AuxiliaryTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuePrivacyMetric.KMapEstimationConfig.TaggedField
Returns
TypeDescription
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
NameDescription
builderForValuePrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePrivacyMetric.KMapEstimationConfig.TaggedField
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.KMapEstimationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides

build()

public PrivacyMetric.KMapEstimationConfig build()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig

buildPartial()

public PrivacyMetric.KMapEstimationConfig buildPartial()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PrivacyMetric.KMapEstimationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivacyMetric.KMapEstimationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

This builder for chaining.

clone()

public PrivacyMetric.KMapEstimationConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder>

getDefaultInstanceForType()

public PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for regionCode.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PrivacyMetric.KMapEstimationConfig other)

public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(PrivacyMetric.KMapEstimationConfig other)
Parameter
NameDescription
otherPrivacyMetric.KMapEstimationConfig
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrivacyMetric.KMapEstimationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.KMapEstimationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valuePrivacyMetric.KMapEstimationConfig.AuxiliaryTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.KMapEstimationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuePrivacyMetric.KMapEstimationConfig.TaggedField
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Returns
TypeDescription
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
NameDescription
valueString

The regionCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for regionCode to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.KMapEstimationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.Builder
Overrides