public static final class FixedSizeBucketingConfig.Builder extends GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder> implements FixedSizeBucketingConfigOrBuilder
Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies. The transformed value will be a hyphenated string of <lower_bound>-<upper_bound>, i.e if lower_bound = 10 and upper_bound = 20 all values that are within this bucket will be replaced with "10-20". This can be used on data of type: double, long. If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing.Protobuf type
google.privacy.dlp.v2.FixedSizeBucketingConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic FixedSizeBucketingConfig build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic FixedSizeBucketingConfig buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic FixedSizeBucketingConfig.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder mergeFrom(FixedSizeBucketingConfig other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public FixedSizeBucketingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<FixedSizeBucketingConfig.Builder>java.io.IOExceptionpublic boolean hasLowerBound()
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;hasLowerBound in interface FixedSizeBucketingConfigOrBuilderpublic Value getLowerBound()
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;getLowerBound in interface FixedSizeBucketingConfigOrBuilderpublic FixedSizeBucketingConfig.Builder setLowerBound(Value value)
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;public FixedSizeBucketingConfig.Builder setLowerBound(Value.Builder builderForValue)
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;public FixedSizeBucketingConfig.Builder mergeLowerBound(Value value)
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;public FixedSizeBucketingConfig.Builder clearLowerBound()
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;public Value.Builder getLowerBoundBuilder()
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;public ValueOrBuilder getLowerBoundOrBuilder()
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”. [Required].
.google.privacy.dlp.v2.Value lower_bound = 1;getLowerBoundOrBuilder in interface FixedSizeBucketingConfigOrBuilderpublic boolean hasUpperBound()
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;hasUpperBound in interface FixedSizeBucketingConfigOrBuilderpublic Value getUpperBound()
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;getUpperBound in interface FixedSizeBucketingConfigOrBuilderpublic FixedSizeBucketingConfig.Builder setUpperBound(Value value)
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;public FixedSizeBucketingConfig.Builder setUpperBound(Value.Builder builderForValue)
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;public FixedSizeBucketingConfig.Builder mergeUpperBound(Value value)
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;public FixedSizeBucketingConfig.Builder clearUpperBound()
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;public Value.Builder getUpperBoundBuilder()
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;public ValueOrBuilder getUpperBoundOrBuilder()
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+”. [Required].
.google.privacy.dlp.v2.Value upper_bound = 2;getUpperBoundOrBuilder in interface FixedSizeBucketingConfigOrBuilderpublic double getBucketSize()
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. [Required].
double bucket_size = 3;getBucketSize in interface FixedSizeBucketingConfigOrBuilderpublic FixedSizeBucketingConfig.Builder setBucketSize(double value)
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. [Required].
double bucket_size = 3;public FixedSizeBucketingConfig.Builder clearBucketSize()
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. [Required].
double bucket_size = 3;public final FixedSizeBucketingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>public final FixedSizeBucketingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<FixedSizeBucketingConfig.Builder>