Class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket (3.45.0)

public static final class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket extends GeneratedMessageV3 implements AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder

Histogram of l-diversity equivalence class sensitive value frequencies.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

Static Fields

BUCKET_SIZE_FIELD_NUMBER

public static final int BUCKET_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

BUCKET_VALUES_FIELD_NUMBER

public static final int BUCKET_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

BUCKET_VALUE_COUNT_FIELD_NUMBER

public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER

public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER

public static final int SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstance()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder newBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

newBuilder(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket prototype)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket prototype)
Parameter
NameDescription
prototypeAnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> parser()
Returns
TypeDescription
Parser<LDiversityHistogramBucket>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

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
TypeDescription
List<LDiversityEquivalenceClass>

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
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder

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
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

getParserForType()

public Parser<AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> getParserForType()
Returns
TypeDescription
Parser<LDiversityHistogramBucket>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder newBuilderForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder toBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException