Class PrivacyMetric.Builder (3.49.0)

public static final class PrivacyMetric.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.Builder> implements PrivacyMetricOrBuilder

Privacy metric to compute for reidentification risk analysis.

Protobuf type google.privacy.dlp.v2.PrivacyMetric

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivacyMetric build()
Returns
Type Description
PrivacyMetric

buildPartial()

public PrivacyMetric buildPartial()
Returns
Type Description
PrivacyMetric

clear()

public PrivacyMetric.Builder clear()
Returns
Type Description
PrivacyMetric.Builder
Overrides

clearCategoricalStatsConfig()

public PrivacyMetric.Builder clearCategoricalStatsConfig()

Categorical stats

.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;

Returns
Type Description
PrivacyMetric.Builder

clearDeltaPresenceEstimationConfig()

public PrivacyMetric.Builder clearDeltaPresenceEstimationConfig()

delta-presence

.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;

Returns
Type Description
PrivacyMetric.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearKAnonymityConfig()

public PrivacyMetric.Builder clearKAnonymityConfig()