Class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket (3.58.0)

public static final class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket extends GeneratedMessageV3 implements AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder

Histogram of k-anonymity equivalence classes.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

Static Fields

BUCKET_SIZE_FIELD_NUMBER

public static final int BUCKET_SIZE_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_VALUES_FIELD_NUMBER

public static final int BUCKET_VALUES_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_VALUE_COUNT_FIELD_NUMBER

public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER

public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER

public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstance()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

getDescriptor()

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

newBuilder()

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilder()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

newBuilder(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket prototype)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket prototype)
Parameter
Name Description
prototype AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> parser()
Returns
Type Description
Parser<KAnonymityHistogramBucket>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.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
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

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
Type Description
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
Type Description
List<KAnonymityEquivalenceClass>

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
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder

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

getDefaultInstanceForType()

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

getEquivalenceClassSizeLowerBound()

public long getEquivalenceClassSizeLowerBound()

Lower bound on the size of the equivalence classes in this bucket.

int64 equivalence_class_size_lower_bound = 1;

Returns
Type Description
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
Type Description
long

The equivalenceClassSizeUpperBound.

getParserForType()

public Parser<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> getParserForType()
Returns
Type Description
Parser<KAnonymityHistogramBucket>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilderForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder toBuilder()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException