Class PrivacyMetric.KAnonymityConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
      • getDefaultInstanceForType

        public PrivacyMetric.KAnonymityConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PrivacyMetric.KAnonymityConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PrivacyMetric.KAnonymityConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PrivacyMetric.KAnonymityConfig.Builder>
      • getQuasiIdsList

        public List<FieldId> 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:
        getQuasiIdsList in interface PrivacyMetric.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:
        getQuasiIdsCount in interface PrivacyMetric.KAnonymityConfigOrBuilder
      • getQuasiIds

        public FieldId getQuasiIds​(int index)
         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:
        getQuasiIds in interface PrivacyMetric.KAnonymityConfigOrBuilder
      • setQuasiIds

        public PrivacyMetric.KAnonymityConfig.Builder setQuasiIds​(int index,
                                                                  FieldId value)
         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

        public PrivacyMetric.KAnonymityConfig.Builder addQuasiIds​(FieldId value)
         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 value)
         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​(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

        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

        public PrivacyMetric.KAnonymityConfig.Builder addAllQuasiIds​(Iterable<? extends FieldId> values)
         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

        public PrivacyMetric.KAnonymityConfig.Builder 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

        public PrivacyMetric.KAnonymityConfig.Builder removeQuasiIds​(int index)
         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

        public FieldId.Builder getQuasiIdsBuilder​(int index)
         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

        public FieldIdOrBuilder getQuasiIdsOrBuilder​(int index)
         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:
        getQuasiIdsOrBuilder in interface PrivacyMetric.KAnonymityConfigOrBuilder
      • getQuasiIdsOrBuilderList

        public List<? extends FieldIdOrBuilder> 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:
        getQuasiIdsOrBuilderList in interface PrivacyMetric.KAnonymityConfigOrBuilder
      • addQuasiIdsBuilder

        public FieldId.Builder 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

        public FieldId.Builder addQuasiIdsBuilder​(int index)
         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

        public List<FieldId.Builder> 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:
        hasEntityId in interface PrivacyMetric.KAnonymityConfigOrBuilder
        Returns:
        Whether the entityId field is set.
      • getEntityId

        public EntityId 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:
        getEntityId in interface PrivacyMetric.KAnonymityConfigOrBuilder
        Returns:
        The entityId.
      • setEntityId

        public PrivacyMetric.KAnonymityConfig.Builder setEntityId​(EntityId value)
         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

        public PrivacyMetric.KAnonymityConfig.Builder setEntityId​(EntityId.Builder builderForValue)
         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

        public PrivacyMetric.KAnonymityConfig.Builder mergeEntityId​(EntityId value)
         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

        public PrivacyMetric.KAnonymityConfig.Builder 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

        public EntityId.Builder 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

        public EntityIdOrBuilder 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:
        getEntityIdOrBuilder in interface PrivacyMetric.KAnonymityConfigOrBuilder