Class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder (3.51.0)

public static final class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder extends GeneratedMessageV3.Builder<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder> implements AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder

Histogram of k-anonymity equivalence classes.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

Static Methods

getDescriptor()

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

Methods

addAllBucketValues(Iterable<? extends AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> values)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addAllBucketValues(Iterable<? extends AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> values)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass>
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

addBucketValues(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addBucketValues(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
value AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

addBucketValues(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addBucketValues(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
builderForValue AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

addBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
value AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

addBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
builderForValue AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

addBucketValuesBuilder()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder()

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addBucketValuesBuilder(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder(int index)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

build()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket build()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

buildPartial()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket buildPartial()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

clear()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clear()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

clearBucketSize()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearBucketSize()

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

clearBucketValueCount()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearBucketValueCount()

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

clearBucketValues()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearBucketValues()

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

clearEquivalenceClassSizeLowerBound()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearEquivalenceClassSizeLowerBound()

Lower bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_lower_bound = 1;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

clearEquivalenceClassSizeUpperBound()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearEquivalenceClassSizeUpperBound()

Upper bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_upper_bound = 2;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

clone()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clone()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

getBucketSize()

public long getBucketSize()

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Returns
Type Description
long

The bucketSize.

getBucketValueCount()

public long getBucketValueCount()

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

Returns
Type Description
long

The bucketValueCount.

getBucketValues(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

getBucketValuesBuilder(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder getBucketValuesBuilder(int index)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

getBucketValuesBuilderList()

public List<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder> getBucketValuesBuilderList()

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Returns
Type Description
List<Builder>

getBucketValuesCount()

public int getBucketValuesCount()

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Returns
Type Description
int

getBucketValuesList()

public List<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> getBucketValuesList()

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Returns
Type Description
List<KAnonymityEquivalenceClass>

getBucketValuesOrBuilder(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder(int index)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder

getBucketValuesOrBuilderList()

public List<? extends AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> getBucketValuesOrBuilderList()

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEquivalenceClassSizeLowerBound()

public long getEquivalenceClassSizeLowerBound()

Lower bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_lower_bound = 1;

Returns
Type Description
long

The equivalenceClassSizeLowerBound.

getEquivalenceClassSizeUpperBound()

public long getEquivalenceClassSizeUpperBound()

Upper bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_upper_bound = 2;

Returns
Type Description
long

The equivalenceClassSizeUpperBound.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other)
Parameter
Name Description
other AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

removeBucketValues(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder removeBucketValues(int index)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

setBucketSize(long value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setBucketSize(long value)

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Parameter
Name Description
value long

The bucketSize to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

setBucketValueCount(long value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setBucketValueCount(long value)

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

Parameter
Name Description
value long

The bucketValueCount to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

setBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
value AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

setBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setBucketValues(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue)

Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
builderForValue AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

setEquivalenceClassSizeLowerBound(long value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setEquivalenceClassSizeLowerBound(long value)

Lower bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_lower_bound = 1;

Parameter
Name Description
value long

The equivalenceClassSizeLowerBound to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

setEquivalenceClassSizeUpperBound(long value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setEquivalenceClassSizeUpperBound(long value)

Upper bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_upper_bound = 2;

Parameter
Name Description
value long

The equivalenceClassSizeUpperBound to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

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

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides