Interface FixedSizeBucketingConfigOrBuilder (3.52.0)

public interface FixedSizeBucketingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketSize()

public abstract double getBucketSize()

Required. Size of each bucket (except for minimum and maximum buckets). So if lower_bound = 10, upper_bound = 89, and bucket_size = 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.

double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The bucketSize.

getLowerBound()

public abstract Value getLowerBound()

Required. Lower bound value of buckets. All values less than lower_bound are grouped together into a single bucket; for example if lower_bound = 10, then all values less than 10 are replaced with the value "-10".

.google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Value

The lowerBound.

getLowerBoundOrBuilder()

public abstract ValueOrBuilder getLowerBoundOrBuilder()

Required. Lower bound value of buckets. All values less than lower_bound are grouped together into a single bucket; for example if lower_bound = 10, then all values less than 10 are replaced with the value "-10".

.google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueOrBuilder

getUpperBound()

public abstract Value getUpperBound()

Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if upper_bound = 89, then all values greater than 89 are replaced with the value "89+".

.google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Value

The upperBound.

getUpperBoundOrBuilder()

public abstract ValueOrBuilder getUpperBoundOrBuilder()

Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if upper_bound = 89, then all values greater than 89 are replaced with the value "89+".

.google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueOrBuilder

hasLowerBound()

public abstract boolean hasLowerBound()

Required. Lower bound value of buckets. All values less than lower_bound are grouped together into a single bucket; for example if lower_bound = 10, then all values less than 10 are replaced with the value "-10".

.google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lowerBound field is set.

hasUpperBound()

public abstract boolean hasUpperBound()

Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if upper_bound = 89, then all values greater than 89 are replaced with the value "89+".

.google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the upperBound field is set.