Class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder (3.6.6)

See more code actions.
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

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

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 Returns

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 Returns

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 Returns

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 Returns

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket build()
Returns

buildPartial()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket buildPartial()
Returns

clear()

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

clearBucketSize()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearBucketSize()

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Returns

clearBucketValueCount()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder clearBucketValueCount()

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

Returns

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

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

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

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

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 Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

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 Returns

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 Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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