Class AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket (3.22.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
TypeDescription
int

BUCKET_VALUES_FIELD_NUMBER

public static final int BUCKET_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

BUCKET_VALUE_COUNT_FIELD_NUMBER

public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_ANONYMITY_FIELD_NUMBER

public static final int MAX_ANONYMITY_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_ANONYMITY_FIELD_NUMBER

public static final int MIN_ANONYMITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstance()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)
Parameter
NameDescription
prototypeAnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucketSize()

public long getBucketSize()

Number of records within these anonymity bounds.

int64 bucket_size = 5;

Returns
TypeDescription
long

The bucketSize.

getBucketValueCount()

public long getBucketValueCount()

Total number of distinct quasi-identifier tuple values in this bucket.

int64 bucket_value_count = 7;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

getMaxAnonymity()

public long getMaxAnonymity()

Always greater than or equal to min_anonymity.

int64 max_anonymity = 2;

Returns
TypeDescription
long

The maxAnonymity.

getMinAnonymity()

public long getMinAnonymity()

Always positive.

int64 min_anonymity = 1;

Returns
TypeDescription
long

The minAnonymity.

getParserForType()

public Parser<AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> getParserForType()
Returns
TypeDescription
Parser<KMapEstimationHistogramBucket>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilderForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder toBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException