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
Static Fields
BUCKET_SIZE_FIELD_NUMBER
public static final int BUCKET_SIZE_FIELD_NUMBER
Field Value
BUCKET_VALUES_FIELD_NUMBER
public static final int BUCKET_VALUES_FIELD_NUMBER
Field Value
BUCKET_VALUE_COUNT_FIELD_NUMBER
public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER
Field Value
EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER
public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER
Field Value
EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER
public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilder()
Returns
newBuilder(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket prototype)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket prototype)
Parameter
Returns
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
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
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
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
Type | Description |
List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> | |
getDefaultInstanceForType()
public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions