Class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass>
Returns
TypeDescription
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
NameDescription
valueAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Returns
TypeDescription
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
NameDescription
builderForValueAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

build()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket build()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

buildPartial()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket buildPartial()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

clear()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

clone()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clone()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

getBucketSize()

public long getBucketSize()

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Returns
TypeDescription
long

The bucketSize.

getBucketValueCount()

public long getBucketValueCount()

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

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

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The sensitiveValueFrequencyUpperBound.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder mergeFrom(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other)
Parameter
NameDescription
otherAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuelong

The bucketSize to set.

Returns
TypeDescription
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
NameDescription
valuelong

The bucketValueCount to set.

Returns
TypeDescription
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
NameDescription
indexint
valueAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The sensitiveValueFrequencyLowerBound to set.

Returns
TypeDescription
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
NameDescription
valuelong

The sensitiveValueFrequencyUpperBound to set.

Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides