Class PrivacyMetric.KAnonymityConfig

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static PrivacyMetric.KAnonymityConfig parseFrom​(ByteBuffer data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivacyMetric.KAnonymityConfig parseFrom​(ByteBuffer data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivacyMetric.KAnonymityConfig parseFrom​(com.google.protobuf.ByteString data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivacyMetric.KAnonymityConfig parseFrom​(com.google.protobuf.ByteString data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivacyMetric.KAnonymityConfig parseFrom​(byte[] data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivacyMetric.KAnonymityConfig parseFrom​(byte[] data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected PrivacyMetric.KAnonymityConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<PrivacyMetric.KAnonymityConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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