Class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder (3.58.0)

public static final class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder extends GeneratedMessageV3.Builder<AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder> implements AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder

Histogram of l-diversity equivalence class sensitive value frequencies.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

Static Methods

getDescriptor()

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

Methods

addAllBucketValues(Iterable<? extends AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> values)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addAllBucketValues(Iterable<? extends AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass>
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

addBucketValues(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addBucketValues(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
value AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

addBucketValues(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addBucketValues(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
builderForValue AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

addBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
value AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

addBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
builderForValue AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

addBucketValuesBuilder()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder

addBucketValuesBuilder(int index)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket build()
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

buildPartial()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket buildPartial()
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

clear()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clear()
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

clearBucketSize()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearBucketSize()

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

clearBucketValueCount()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearBucketValueCount()

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

clearBucketValues()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSensitiveValueFrequencyLowerBound()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearSensitiveValueFrequencyLowerBound()

Lower bound on the sensitive value frequencies of the equivalence classes in this bucket.

int64 sensitive_value_frequency_lower_bound = 1;

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

clearSensitiveValueFrequencyUpperBound()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearSensitiveValueFrequencyUpperBound()

Upper bound on the sensitive value frequencies of the equivalence classes in this bucket.

int64 sensitive_value_frequency_upper_bound = 2;

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

clone()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clone()
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.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.LDiversityResult.LDiversityEquivalenceClass 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

getBucketValuesBuilder(int index)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder

getBucketValuesBuilderList()

public List<AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Returns
Type Description
int

getBucketValuesList()

public List<AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Returns
Type Description
List<LDiversityEquivalenceClass>

getBucketValuesOrBuilder(int index)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder

getBucketValuesOrBuilderList()

public List<? extends AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder> 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

getDescriptorForType()

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

getSensitiveValueFrequencyLowerBound()

public long getSensitiveValueFrequencyLowerBound()

Lower bound on the sensitive value frequencies of the equivalence classes in this bucket.

int64 sensitive_value_frequency_lower_bound = 1;

Returns
Type Description
long

The sensitiveValueFrequencyLowerBound.

getSensitiveValueFrequencyUpperBound()

public long getSensitiveValueFrequencyUpperBound()

Upper bound on the sensitive value frequencies of the equivalence classes in this bucket.

int64 sensitive_value_frequency_upper_bound = 2;

Returns
Type Description
long

The sensitiveValueFrequencyUpperBound.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder mergeFrom(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other)
Parameter
Name Description
other AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBucketValues(int index)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

setBucketSize(long value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.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.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

setBucketValueCount(long value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.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.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

setBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder setBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
value AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

setBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder setBucketValues(int index, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.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.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;

Parameters
Name Description
index int
builderForValue AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSensitiveValueFrequencyLowerBound(long value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder setSensitiveValueFrequencyLowerBound(long value)

Lower bound on the sensitive value frequencies of the equivalence classes in this bucket.

int64 sensitive_value_frequency_lower_bound = 1;

Parameter
Name Description
value long

The sensitiveValueFrequencyLowerBound to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

setSensitiveValueFrequencyUpperBound(long value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder setSensitiveValueFrequencyUpperBound(long value)

Upper bound on the sensitive value frequencies of the equivalence classes in this bucket.

int64 sensitive_value_frequency_upper_bound = 2;

Parameter
Name Description
value long

The sensitiveValueFrequencyUpperBound to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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