Package com.google.privacy.dlp.v2
Class PrivacyMetric.KAnonymityConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder
- All Implemented Interfaces:
PrivacyMetric.KAnonymityConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrivacyMetric.KAnonymityConfig
public static final class PrivacyMetric.KAnonymityConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
implements PrivacyMetric.KAnonymityConfigOrBuilder
k-anonymity metric, used for analysis of reidentification risk.Protobuf type
google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllQuasiIds(Iterable<? extends FieldId> values) Set of fields to compute k-anonymity over.addQuasiIds(int index, FieldId value) Set of fields to compute k-anonymity over.addQuasiIds(int index, FieldId.Builder builderForValue) Set of fields to compute k-anonymity over.addQuasiIds(FieldId value) Set of fields to compute k-anonymity over.addQuasiIds(FieldId.Builder builderForValue) Set of fields to compute k-anonymity over.Set of fields to compute k-anonymity over.addQuasiIdsBuilder(int index) Set of fields to compute k-anonymity over.build()clear()Message indicating that multiple rows might be associated to a single individual.Set of fields to compute k-anonymity over.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMessage indicating that multiple rows might be associated to a single individual.Message indicating that multiple rows might be associated to a single individual.Message indicating that multiple rows might be associated to a single individual.getQuasiIds(int index) Set of fields to compute k-anonymity over.getQuasiIdsBuilder(int index) Set of fields to compute k-anonymity over.Set of fields to compute k-anonymity over.intSet of fields to compute k-anonymity over.Set of fields to compute k-anonymity over.getQuasiIdsOrBuilder(int index) Set of fields to compute k-anonymity over.List<? extends FieldIdOrBuilder>Set of fields to compute k-anonymity over.booleanMessage indicating that multiple rows might be associated to a single individual.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEntityId(EntityId value) Message indicating that multiple rows might be associated to a single individual.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeQuasiIds(int index) Set of fields to compute k-anonymity over.setEntityId(EntityId value) Message indicating that multiple rows might be associated to a single individual.setEntityId(EntityId.Builder builderForValue) Message indicating that multiple rows might be associated to a single individual.setQuasiIds(int index, FieldId value) Set of fields to compute k-anonymity over.setQuasiIds(int index, FieldId.Builder builderForValue) Set of fields to compute k-anonymity over.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>
-
mergeFrom
public PrivacyMetric.KAnonymityConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivacyMetric.KAnonymityConfig.Builder>- Throws:
IOException
-
getQuasiIdsList
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;- Specified by:
getQuasiIdsListin interfacePrivacyMetric.KAnonymityConfigOrBuilder
-
getQuasiIdsCount
public int getQuasiIdsCount()Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;- Specified by:
getQuasiIdsCountin interfacePrivacyMetric.KAnonymityConfigOrBuilder
-
getQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;- Specified by:
getQuasiIdsin interfacePrivacyMetric.KAnonymityConfigOrBuilder
-
setQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
setQuasiIds
public PrivacyMetric.KAnonymityConfig.Builder setQuasiIds(int index, FieldId.Builder builderForValue) Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
addQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
addQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
addQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
addQuasiIds
public PrivacyMetric.KAnonymityConfig.Builder addQuasiIds(int index, FieldId.Builder builderForValue) Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
addAllQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
clearQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
removeQuasiIds
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
getQuasiIdsBuilder
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
getQuasiIdsOrBuilder
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;- Specified by:
getQuasiIdsOrBuilderin interfacePrivacyMetric.KAnonymityConfigOrBuilder
-
getQuasiIdsOrBuilderList
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;- Specified by:
getQuasiIdsOrBuilderListin interfacePrivacyMetric.KAnonymityConfigOrBuilder
-
addQuasiIdsBuilder
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
addQuasiIdsBuilder
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
getQuasiIdsBuilderList
Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.
repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; -
hasEntityId
public boolean hasEntityId()Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2;- Specified by:
hasEntityIdin interfacePrivacyMetric.KAnonymityConfigOrBuilder- Returns:
- Whether the entityId field is set.
-
getEntityId
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2;- Specified by:
getEntityIdin interfacePrivacyMetric.KAnonymityConfigOrBuilder- Returns:
- The entityId.
-
setEntityId
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2; -
setEntityId
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2; -
mergeEntityId
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2; -
clearEntityId
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2; -
getEntityIdBuilder
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2; -
getEntityIdOrBuilder
Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.
.google.privacy.dlp.v2.EntityId entity_id = 2;- Specified by:
getEntityIdOrBuilderin interfacePrivacyMetric.KAnonymityConfigOrBuilder
-