Class AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder (3.8.0)

public static final class AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder extends GeneratedMessageV3.Builder<AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addAllBucketValues(Iterable<? extends AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> values)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addAllBucketValues(Iterable<? extends AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> values)

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
valuesIterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues>
Returns

addBucketValues(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addBucketValues(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value)

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

addBucketValues(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addBucketValues(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue)

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

addBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value)

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;

Parameters Returns

addBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue)

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;

Parameters Returns

addBucketValuesBuilder()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder()

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

addBucketValuesBuilder(int index)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder(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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket build()
Returns

buildPartial()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket buildPartial()
Returns

clear()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clear()
Returns Overrides

clearBucketSize()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearBucketSize()

Number of records within these anonymity bounds.

int64 bucket_size = 5;

Returns

clearBucketValueCount()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearBucketValueCount()

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

int64 bucket_value_count = 7;

Returns

clearBucketValues()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearBucketValues()

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

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearMaxAnonymity()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearMaxAnonymity()

Always greater than or equal to min_anonymity.

int64 max_anonymity = 2;

Returns

clearMinAnonymity()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearMinAnonymity()

Always positive.

int64 min_anonymity = 1;

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clone()

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder clone()
Returns 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

getBucketValuesBuilder(int index)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder getBucketValuesBuilder(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

getBucketValuesBuilderList()

public List<AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder> getBucketValuesBuilderList()

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<Builder>

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

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder mergeFrom(AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

removeBucketValues(int index)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder removeBucketValues(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

setBucketSize(long value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setBucketSize(long value)

Number of records within these anonymity bounds.

int64 bucket_size = 5;

Parameter
NameDescription
valuelong

The bucketSize to set.

Returns

setBucketValueCount(long value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setBucketValueCount(long value)

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

int64 bucket_value_count = 7;

Parameter
NameDescription
valuelong

The bucketValueCount to set.

Returns

setBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value)

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;

Parameters Returns

setBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setBucketValues(int index, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue)

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;

Parameters Returns

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

setMaxAnonymity(long value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setMaxAnonymity(long value)

Always greater than or equal to min_anonymity.

int64 max_anonymity = 2;

Parameter
NameDescription
valuelong

The maxAnonymity to set.

Returns

setMinAnonymity(long value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setMinAnonymity(long value)

Always positive.

int64 min_anonymity = 1;

Parameter
NameDescription
valuelong

The minAnonymity to set.

Returns

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides