Send feedback
Class AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket (3.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.0 keyboard_arrow_down
public static final class AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket extends GeneratedMessageV3 implements AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucketOrBuilder
A KMapEstimationHistogramBucket message with the following values:
min_anonymity: 3
max_anonymity: 5
frequency: 42
means that there are 42 records whose quasi-identifier values correspond
to 3, 4 or 5 people in the overlying population. An important particular
case is when min_anonymity = max_anonymity = 1: the frequency field then
corresponds to the number of uniquely identifiable records.
Protobuf type
google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Static Fields
BUCKET_SIZE_FIELD_NUMBER
public static final int BUCKET_SIZE_FIELD_NUMBER
Field Value
BUCKET_VALUES_FIELD_NUMBER
public static final int BUCKET_VALUES_FIELD_NUMBER
Field Value
BUCKET_VALUE_COUNT_FIELD_NUMBER
public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER
Field Value
MAX_ANONYMITY_FIELD_NUMBER
public static final int MAX_ANONYMITY_FIELD_NUMBER
Field Value
MIN_ANONYMITY_FIELD_NUMBER
public static final int MIN_ANONYMITY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket . Builder newBuilder ()
Returns
newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket . Builder newBuilder ( AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket prototype )
Parameter
Returns
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getBucketSize()
public long getBucketSize ()
Number of records within these anonymity bounds.
int64 bucket_size = 5;
Returns
Type Description long The bucketSize.
getBucketValueCount()
public long getBucketValueCount ()
Total number of distinct quasi-identifier tuple values in this bucket.
int64 bucket_value_count = 7;
Returns
Type Description long The bucketValueCount.
getBucketValues(int index)
public AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationQuasiIdValues getBucketValues ( int index )
Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
Parameter
Returns
getBucketValuesCount()
public int getBucketValuesCount ()
Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
Returns
getBucketValuesList()
public List<AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationQuasiIdValues > getBucketValuesList ()
Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
Returns
getBucketValuesOrBuilder(int index)
public AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder ( int index )
Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
Parameter
Returns
getBucketValuesOrBuilderList()
public List <? extends AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationQuasiIdValuesOrBuilder > getBucketValuesOrBuilderList ()
Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
Returns
Type Description List <? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder >
getDefaultInstanceForType()
public AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket getDefaultInstanceForType ()
Returns
getMaxAnonymity()
public long getMaxAnonymity ()
Always greater than or equal to min_anonymity.
int64 max_anonymity = 2;
Returns
Type Description long The maxAnonymity.
getMinAnonymity()
public long getMinAnonymity ()
Always positive.
int64 min_anonymity = 1;
Returns
Type Description long The minAnonymity.
getParserForType()
public Parser<AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public AnalyzeDataSourceRiskDetails . KMapEstimationResult . KMapEstimationHistogramBucket . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]