Class AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket (3.46.0)

public static final class AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket extends GeneratedMessageV3 implements AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder

Histogram of value frequencies in the column.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

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

VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER

public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER

public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstance()
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

getDescriptor()

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

newBuilder()

public static AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder newBuilder()
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

newBuilder(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype)

public static AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype)
Parameter
Name Description
prototype AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> parser()
Returns
Type Description
Parser<CategoricalStatsHistogramBucket>

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 values in this bucket.

int64 bucket_size = 3;

Returns
Type Description
long

The bucketSize.

getBucketValueCount()

public long getBucketValueCount()

Total number of distinct values in this bucket.

int64 bucket_value_count = 5;

Returns
Type Description
long

The bucketValueCount.

getBucketValues(int index)

public ValueFrequency getBucketValues(int index)

Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
ValueFrequency

getBucketValuesCount()

public int getBucketValuesCount()

Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;

Returns
Type Description
int

getBucketValuesList()

public List<ValueFrequency> getBucketValuesList()

Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;

Returns
Type Description
List<ValueFrequency>

getBucketValuesOrBuilder(int index)

public ValueFrequencyOrBuilder getBucketValuesOrBuilder(int index)

Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;

Parameter
Name Description
index int
Returns
Type Description
ValueFrequencyOrBuilder

getBucketValuesOrBuilderList()

public List<? extends ValueFrequencyOrBuilder> getBucketValuesOrBuilderList()

Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.

repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

getParserForType()

public Parser<AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> getParserForType()
Returns
Type Description
Parser<CategoricalStatsHistogramBucket>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValueFrequencyLowerBound()

public long getValueFrequencyLowerBound()

Lower bound on the value frequency of the values in this bucket.

int64 value_frequency_lower_bound = 1;

Returns
Type Description
long

The valueFrequencyLowerBound.

getValueFrequencyUpperBound()

public long getValueFrequencyUpperBound()

Upper bound on the value frequency of the values in this bucket.

int64 value_frequency_upper_bound = 2;

Returns
Type Description
long

The valueFrequencyUpperBound.

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.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder newBuilderForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.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.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder toBuilder()
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

writeTo(CodedOutputStream output)

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