Class AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder (3.51.0)

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

Result of the k-anonymity computation.

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

Static Methods

getDescriptor()

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

Methods

addAllEquivalenceClassHistogramBuckets(Iterable<? extends AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> values)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

addEquivalenceClassHistogramBuckets(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder addEquivalenceClassHistogramBuckets(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value)

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

addEquivalenceClassHistogramBuckets(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder addEquivalenceClassHistogramBuckets(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue)

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

addEquivalenceClassHistogramBuckets(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

addEquivalenceClassHistogramBuckets(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

addEquivalenceClassHistogramBucketsBuilder()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder()

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

addEquivalenceClassHistogramBucketsBuilder(int index)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEquivalenceClassHistogramBuckets()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder clearEquivalenceClassHistogramBuckets()

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEquivalenceClassHistogramBuckets(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index)

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

getEquivalenceClassHistogramBucketsBuilder(int index)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

getEquivalenceClassHistogramBucketsBuilderList()

public List<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder> getEquivalenceClassHistogramBucketsBuilderList()

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

Returns
Type Description
List<Builder>

getEquivalenceClassHistogramBucketsCount()

public int getEquivalenceClassHistogramBucketsCount()

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

Returns
Type Description
int

getEquivalenceClassHistogramBucketsList()

public List<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> getEquivalenceClassHistogramBucketsList()

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

Returns
Type Description
List<KAnonymityHistogramBucket>

getEquivalenceClassHistogramBucketsOrBuilder(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder(int index)

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

getEquivalenceClassHistogramBucketsOrBuilderList()

public List<? extends AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> getEquivalenceClassHistogramBucketsOrBuilderList()

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEquivalenceClassHistogramBuckets(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder removeEquivalenceClassHistogramBuckets(int index)

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

setEquivalenceClassHistogramBuckets(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

setEquivalenceClassHistogramBuckets(int index, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue)

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

Histogram of k-anonymity equivalence classes.

repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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