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 |
---|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilder()
newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(InputStream input)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(CodedInputStream input)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(InputStream input)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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
|
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;
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
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides