Class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder (3.8.0)

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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.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.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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass>
Returns

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 Returns

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 Returns

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 Returns

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 Returns

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

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
NameDescription
indexint
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket build()
Returns

buildPartial()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket buildPartial()
Returns

clear()

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

clearBucketSize()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearBucketSize()

Total number of equivalence classes in this bucket.

int64 bucket_size = 3;

Returns

clearBucketValueCount()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearBucketValueCount()

Total number of distinct equivalence classes in this bucket.

int64 bucket_value_count = 5;

Returns

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

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

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

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clone()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.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.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
NameDescription
indexint
Returns

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
NameDescription
indexint
Returns

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
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.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;

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

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
NameDescription
indexint
Returns

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
TypeDescription
List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType()
Returns

getDescriptorForType()

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

The equivalenceClassSizeUpperBound.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBucketSize(long value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.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.KAnonymityResult.KAnonymityHistogramBucket.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.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 Returns

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 Returns

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

The equivalenceClassSizeLowerBound to set.

Returns

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

The equivalenceClassSizeUpperBound to set.

Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides