Class PrivacyMetric.DeltaPresenceEstimationConfig

public static final class PrivacyMetric.DeltaPresenceEstimationConfig extends GeneratedMessageV3 implements PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder

\u03b4-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute \u03b4-presence exactly without knowing the attack dataset, so we use a statistical model instead.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivacyMetric.DeltaPresenceEstimationConfig

Fields

AUXILIARY_TABLES_FIELD_NUMBER

public static final int AUXILIARY_TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

QUASI_IDS_FIELD_NUMBER

public static final int QUASI_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_CODE_FIELD_NUMBER

public static final int REGION_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
NameDescription
indexint
Returns
TypeDescription
StatisticalTable

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.StatisticalTableOrBuilder>

getDefaultInstance()

public static PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstance()
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig

getDefaultInstanceForType()

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getParserForType()

public Parser<PrivacyMetric.DeltaPresenceEstimationConfig> getParserForType()
Returns
TypeDescription
Parser<DeltaPresenceEstimationConfig>
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
NameDescription
indexint
Returns
TypeDescription
QuasiId

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static PrivacyMetric.DeltaPresenceEstimationConfig.Builder newBuilder()
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

newBuilder(PrivacyMetric.DeltaPresenceEstimationConfig prototype)

public static PrivacyMetric.DeltaPresenceEstimationConfig.Builder newBuilder(PrivacyMetric.DeltaPresenceEstimationConfig prototype)
Parameter
NameDescription
prototypePrivacyMetric.DeltaPresenceEstimationConfig
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

newBuilderForType()

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder newBuilderForType()
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivacyMetric.DeltaPresenceEstimationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivacyMetric.DeltaPresenceEstimationConfig> parser()
Returns
TypeDescription
Parser<DeltaPresenceEstimationConfig>

toBuilder()

public PrivacyMetric.DeltaPresenceEstimationConfig.Builder toBuilder()
Returns
TypeDescription
PrivacyMetric.DeltaPresenceEstimationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException