Class AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket (3.57.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

Static Fields

BUCKET_SIZE_FIELD_NUMBER

public static final int BUCKET_SIZE_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_VALUES_FIELD_NUMBER

public static final int BUCKET_VALUES_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_VALUE_COUNT_FIELD_NUMBER

public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MAX_ANONYMITY_FIELD_NUMBER

public static final int MAX_ANONYMITY_FIELD_NUMBER
Field Value
Type Description
int

MIN_ANONYMITY_FIELD_NUMBER

public static final int MIN_ANONYMITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstance()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilder()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)
Parameter
Name Description
prototype AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> parser()
Returns
Type Description
Parser<KMapEstimationHistogramBucket>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues

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
Type Description
int

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
Type Description
List<KMapEstimationQuasiIdValues>

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
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder

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
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

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
Type Description
Parser<KMapEstimationHistogramBucket>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilderForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder toBuilder()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException