public static final class PrivacyMetric.LDiversityConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.LDiversityConfig.Builder> implements PrivacyMetric.LDiversityConfigOrBuilder
l-diversity metric, used for analysis of reidentification risk.
Protobuf type google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllQuasiIds(Iterable<? extends FieldId> values)
public PrivacyMetric.LDiversityConfig.Builder addAllQuasiIds(Iterable<? extends FieldId> values)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.FieldId>
|
addQuasiIds(FieldId value)
public PrivacyMetric.LDiversityConfig.Builder addQuasiIds(FieldId value)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
value | FieldId
|
addQuasiIds(FieldId.Builder builderForValue)
public PrivacyMetric.LDiversityConfig.Builder addQuasiIds(FieldId.Builder builderForValue)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
addQuasiIds(int index, FieldId value)
public PrivacyMetric.LDiversityConfig.Builder addQuasiIds(int index, FieldId value)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
addQuasiIds(int index, FieldId.Builder builderForValue)
public PrivacyMetric.LDiversityConfig.Builder addQuasiIds(int index, FieldId.Builder builderForValue)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
addQuasiIdsBuilder()
public FieldId.Builder addQuasiIdsBuilder()
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
addQuasiIdsBuilder(int index)
public FieldId.Builder addQuasiIdsBuilder(int index)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.LDiversityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivacyMetric.LDiversityConfig build()
buildPartial()
public PrivacyMetric.LDiversityConfig buildPartial()
clear()
public PrivacyMetric.LDiversityConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.LDiversityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.LDiversityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQuasiIds()
public PrivacyMetric.LDiversityConfig.Builder clearQuasiIds()
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
clearSensitiveAttribute()
public PrivacyMetric.LDiversityConfig.Builder clearSensitiveAttribute()
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
clone()
public PrivacyMetric.LDiversityConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PrivacyMetric.LDiversityConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getQuasiIds(int index)
public FieldId getQuasiIds(int index)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
index | int
|
getQuasiIdsBuilder(int index)
public FieldId.Builder getQuasiIdsBuilder(int index)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
index | int
|
getQuasiIdsBuilderList()
public List<FieldId.Builder> getQuasiIdsBuilderList()
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
getQuasiIdsCount()
public int getQuasiIdsCount()
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Returns |
---|
Type | Description |
int | |
getQuasiIdsList()
public List<FieldId> getQuasiIdsList()
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
getQuasiIdsOrBuilder(int index)
public FieldIdOrBuilder getQuasiIdsOrBuilder(int index)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
index | int
|
getQuasiIdsOrBuilderList()
public List<? extends FieldIdOrBuilder> getQuasiIdsOrBuilderList()
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Returns |
---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> | |
getSensitiveAttribute()
public FieldId getSensitiveAttribute()
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
Returns |
---|
Type | Description |
FieldId | The sensitiveAttribute.
|
getSensitiveAttributeBuilder()
public FieldId.Builder getSensitiveAttributeBuilder()
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
getSensitiveAttributeOrBuilder()
public FieldIdOrBuilder getSensitiveAttributeOrBuilder()
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
hasSensitiveAttribute()
public boolean hasSensitiveAttribute()
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
Returns |
---|
Type | Description |
boolean | Whether the sensitiveAttribute field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivacyMetric.LDiversityConfig other)
public PrivacyMetric.LDiversityConfig.Builder mergeFrom(PrivacyMetric.LDiversityConfig other)
public PrivacyMetric.LDiversityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivacyMetric.LDiversityConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSensitiveAttribute(FieldId value)
public PrivacyMetric.LDiversityConfig.Builder mergeSensitiveAttribute(FieldId value)
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
Parameter |
---|
Name | Description |
value | FieldId
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.LDiversityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeQuasiIds(int index)
public PrivacyMetric.LDiversityConfig.Builder removeQuasiIds(int index)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.LDiversityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQuasiIds(int index, FieldId value)
public PrivacyMetric.LDiversityConfig.Builder setQuasiIds(int index, FieldId value)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
setQuasiIds(int index, FieldId.Builder builderForValue)
public PrivacyMetric.LDiversityConfig.Builder setQuasiIds(int index, FieldId.Builder builderForValue)
Set of quasi-identifiers indicating how equivalence classes are
defined for the l-diversity computation. When multiple fields are
specified, they are considered a single composite key.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivacyMetric.LDiversityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSensitiveAttribute(FieldId value)
public PrivacyMetric.LDiversityConfig.Builder setSensitiveAttribute(FieldId value)
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
Parameter |
---|
Name | Description |
value | FieldId
|
setSensitiveAttribute(FieldId.Builder builderForValue)
public PrivacyMetric.LDiversityConfig.Builder setSensitiveAttribute(FieldId.Builder builderForValue)
Sensitive field for computing the l-value.
.google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.LDiversityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides