Class AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket (3.45.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
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

VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER

public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER

public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstance()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

getDescriptor()

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

newBuilder()

public static AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder newBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

newBuilder(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype)

public static AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder newBuilder(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype)
Parameter
NameDescription
prototypeAnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucketSize()

public long getBucketSize()

Total number of values in this bucket.

int64 bucket_size = 3;

Returns
TypeDescription
long

The bucketSize.

getBucketValueCount()

public long getBucketValueCount()

Total number of distinct values in this bucket.

int64 bucket_value_count = 5;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The valueFrequencyUpperBound.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder toBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

writeTo(CodedOutputStream output)

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