Class AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder (3.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.ValueFrequency>
Returns
TypeDescription
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
NameDescription
valueValueFrequency
Returns
TypeDescription
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
NameDescription
builderForValueValueFrequency.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueValueFrequency
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValueFrequency.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ValueFrequency.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clear()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

clearBucketSize()

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearBucketSize()

Total number of values in this bucket.

int64 bucket_size = 3;

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

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.

clone()

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeFrom(AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other)
Parameter
NameDescription
otherAnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuelong

The bucketSize to set.

Returns
TypeDescription
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
NameDescription
valuelong

The bucketValueCount to set.

Returns
TypeDescription
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
NameDescription
indexint
valueValueFrequency
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValueFrequency.Builder
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The valueFrequencyLowerBound to set.

Returns
TypeDescription
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
NameDescription
valuelong

The valueFrequencyUpperBound to set.

Returns
TypeDescription
AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

This builder for chaining.