Class AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder (3.49.0)

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

Histogram of value frequencies in the column.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllBucketValues(Iterable<? extends ValueFrequency> values)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addAllBucketValues(Iterable<? extends ValueFrequency> values)

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
values Iterable<? extends com.google.privacy.dlp.v2.ValueFrequency>
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

addBucketValues(ValueFrequency value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addBucketValues(ValueFrequency value)

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
value ValueFrequency
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

addBucketValues(ValueFrequency.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addBucketValues(ValueFrequency.Builder builderForValue)

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
builderForValue ValueFrequency.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

addBucketValues(int index, ValueFrequency value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addBucketValues(int index, ValueFrequency value)

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;

Parameters
Name Description
index int
value ValueFrequency
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

addBucketValues(int index, ValueFrequency.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addBucketValues(int index, ValueFrequency.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ValueFrequency.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

addBucketValuesBuilder()

public ValueFrequency.Builder addBucketValuesBuilder()

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
ValueFrequency.Builder

addBucketValuesBuilder(int index)

public ValueFrequency.Builder addBucketValuesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clear()
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

clearBucketSize()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearBucketSize()

Total number of values in this bucket.

int64 bucket_size = 3;

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

clearBucketValueCount()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearBucketValueCount()

Total number of distinct values in this bucket.

int64 bucket_value_count = 5;

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

clearBucketValues()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearBucketValues()

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
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

clearValueFrequencyLowerBound()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearValueFrequencyLowerBound()

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

int64 value_frequency_lower_bound = 1;

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

clearValueFrequencyUpperBound()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearValueFrequencyUpperBound()

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

int64 value_frequency_upper_bound = 2;

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

clone()

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

getBucketValuesBuilder(int index)

public ValueFrequency.Builder getBucketValuesBuilder(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.Builder

getBucketValuesBuilderList()

public List<ValueFrequency.Builder> getBucketValuesBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeFrom(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other)
Parameter
Name Description
other AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

removeBucketValues(int index)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder removeBucketValues(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
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

setBucketSize(long value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setBucketSize(long value)

Total number of values in this bucket.

int64 bucket_size = 3;

Parameter
Name Description
value long

The bucketSize to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

setBucketValueCount(long value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setBucketValueCount(long value)

Total number of distinct values in this bucket.

int64 bucket_value_count = 5;

Parameter
Name Description
value long

The bucketValueCount to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

setBucketValues(int index, ValueFrequency value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setBucketValues(int index, ValueFrequency value)

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;

Parameters
Name Description
index int
value ValueFrequency
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

setBucketValues(int index, ValueFrequency.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setBucketValues(int index, ValueFrequency.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ValueFrequency.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

setValueFrequencyLowerBound(long value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setValueFrequencyLowerBound(long value)

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

int64 value_frequency_lower_bound = 1;

Parameter
Name Description
value long

The valueFrequencyLowerBound to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

setValueFrequencyUpperBound(long value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setValueFrequencyUpperBound(long value)

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

int64 value_frequency_upper_bound = 2;

Parameter
Name Description
value long

The valueFrequencyUpperBound to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.