Package com.google.privacy.dlp.v2
Class PrivacyMetric.DeltaPresenceEstimationConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.DeltaPresenceEstimationConfig.Builder>
com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder
- All Implemented Interfaces:
PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrivacyMetric.DeltaPresenceEstimationConfig
public static final class PrivacyMetric.DeltaPresenceEstimationConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.DeltaPresenceEstimationConfig.Builder>
implements PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.Protobuf type
google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllAuxiliaryTables(Iterable<? extends StatisticalTable> values) Several auxiliary tables can be used in the analysis.addAllQuasiIds(Iterable<? extends QuasiId> values) Required.addAuxiliaryTables(int index, StatisticalTable value) Several auxiliary tables can be used in the analysis.addAuxiliaryTables(int index, StatisticalTable.Builder builderForValue) Several auxiliary tables can be used in the analysis.Several auxiliary tables can be used in the analysis.addAuxiliaryTables(StatisticalTable.Builder builderForValue) Several auxiliary tables can be used in the analysis.Several auxiliary tables can be used in the analysis.addAuxiliaryTablesBuilder(int index) Several auxiliary tables can be used in the analysis.addQuasiIds(int index, QuasiId value) Required.addQuasiIds(int index, QuasiId.Builder builderForValue) Required.addQuasiIds(QuasiId value) Required.addQuasiIds(QuasiId.Builder builderForValue) Required.Required.addQuasiIdsBuilder(int index) Required.build()clear()Several auxiliary tables can be used in the analysis.Required.ISO 3166-1 alpha-2 region code to use in the statistical modeling.getAuxiliaryTables(int index) Several auxiliary tables can be used in the analysis.getAuxiliaryTablesBuilder(int index) Several auxiliary tables can be used in the analysis.Several auxiliary tables can be used in the analysis.intSeveral auxiliary tables can be used in the analysis.Several auxiliary tables can be used in the analysis.getAuxiliaryTablesOrBuilder(int index) Several auxiliary tables can be used in the analysis.List<? extends StatisticalTableOrBuilder>Several auxiliary tables can be used in the analysis.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetQuasiIds(int index) Required.getQuasiIdsBuilder(int index) Required.Required.intRequired.Required.getQuasiIdsOrBuilder(int index) Required.List<? extends QuasiIdOrBuilder>Required.ISO 3166-1 alpha-2 region code to use in the statistical modeling.com.google.protobuf.ByteStringISO 3166-1 alpha-2 region code to use in the statistical modeling.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAuxiliaryTables(int index) Several auxiliary tables can be used in the analysis.removeQuasiIds(int index) Required.setAuxiliaryTables(int index, StatisticalTable value) Several auxiliary tables can be used in the analysis.setAuxiliaryTables(int index, StatisticalTable.Builder builderForValue) Several auxiliary tables can be used in the analysis.setQuasiIds(int index, QuasiId value) Required.setQuasiIds(int index, QuasiId.Builder builderForValue) Required.setRegionCode(String value) ISO 3166-1 alpha-2 region code to use in the statistical modeling.setRegionCodeBytes(com.google.protobuf.ByteString value) ISO 3166-1 alpha-2 region code to use in the statistical modeling.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.DeltaPresenceEstimationConfig.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.DeltaPresenceEstimationConfig.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.DeltaPresenceEstimationConfig.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
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivacyMetric.DeltaPresenceEstimationConfig.Builder>
-
mergeFrom
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder mergeFrom(PrivacyMetric.DeltaPresenceEstimationConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.DeltaPresenceEstimationConfig.Builder>
-
mergeFrom
public PrivacyMetric.DeltaPresenceEstimationConfig.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.DeltaPresenceEstimationConfig.Builder>- Throws:
IOException
-
getQuasiIdsList
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuasiIdsListin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
getQuasiIdsCount
public int getQuasiIdsCount()Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuasiIdsCountin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
getQuasiIds
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuasiIdsin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
setQuasiIds
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
setQuasiIds
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setQuasiIds(int index, QuasiId.Builder builderForValue) Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
addQuasiIds
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
addQuasiIds
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
addQuasiIds
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addQuasiIds(QuasiId.Builder builderForValue) Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
addQuasiIds
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addQuasiIds(int index, QuasiId.Builder builderForValue) Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
addAllQuasiIds
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAllQuasiIds(Iterable<? extends QuasiId> values) Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearQuasiIds
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
removeQuasiIds
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
getQuasiIdsBuilder
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
getQuasiIdsOrBuilder
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuasiIdsOrBuilderin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
getQuasiIdsOrBuilderList
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuasiIdsOrBuilderListin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
addQuasiIdsBuilder
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
addQuasiIdsBuilder
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
getQuasiIdsBuilderList
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.
repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRegionCode
ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;- Specified by:
getRegionCodein interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder- Returns:
- The regionCode.
-
getRegionCodeBytes
public com.google.protobuf.ByteString getRegionCodeBytes()ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;- Specified by:
getRegionCodeBytesin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder- Returns:
- The bytes for regionCode.
-
setRegionCode
ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;- Parameters:
value- The regionCode to set.- Returns:
- This builder for chaining.
-
clearRegionCode
ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;- Returns:
- This builder for chaining.
-
setRegionCodeBytes
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setRegionCodeBytes(com.google.protobuf.ByteString value) ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
string region_code = 2;- Parameters:
value- The bytes for regionCode to set.- Returns:
- This builder for chaining.
-
getAuxiliaryTablesList
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;- Specified by:
getAuxiliaryTablesListin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
getAuxiliaryTablesCount
public int getAuxiliaryTablesCount()Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;- Specified by:
getAuxiliaryTablesCountin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
getAuxiliaryTables
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;- Specified by:
getAuxiliaryTablesin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
setAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setAuxiliaryTables(int index, StatisticalTable value) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
setAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder setAuxiliaryTables(int index, StatisticalTable.Builder builderForValue) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
addAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(StatisticalTable value) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
addAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(int index, StatisticalTable value) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
addAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(StatisticalTable.Builder builderForValue) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
addAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAuxiliaryTables(int index, StatisticalTable.Builder builderForValue) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
addAllAuxiliaryTables
public PrivacyMetric.DeltaPresenceEstimationConfig.Builder addAllAuxiliaryTables(Iterable<? extends StatisticalTable> values) Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
clearAuxiliaryTables
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
removeAuxiliaryTables
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
getAuxiliaryTablesBuilder
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
getAuxiliaryTablesOrBuilder
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;- Specified by:
getAuxiliaryTablesOrBuilderin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
getAuxiliaryTablesOrBuilderList
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;- Specified by:
getAuxiliaryTablesOrBuilderListin interfacePrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
-
addAuxiliaryTablesBuilder
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
addAuxiliaryTablesBuilder
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; -
getAuxiliaryTablesBuilderList
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.
repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
-