public static final class BucketingConfig.Bucket.Builder extends GeneratedMessageV3.Builder<BucketingConfig.Bucket.Builder> implements BucketingConfig.BucketOrBuilder
Bucket is represented as a range, along with replacement values.
Protobuf type google.privacy.dlp.v2.BucketingConfig.Bucket
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BucketingConfig.Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BucketingConfig.Bucket build()
Returns
buildPartial()
public BucketingConfig.Bucket buildPartial()
Returns
clear()
public BucketingConfig.Bucket.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BucketingConfig.Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMax()
public BucketingConfig.Bucket.Builder clearMax()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Returns
clearMin()
public BucketingConfig.Bucket.Builder clearMin()
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BucketingConfig.Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReplacementValue()
public BucketingConfig.Bucket.Builder clearReplacementValue()
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public BucketingConfig.Bucket.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BucketingConfig.Bucket getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMax()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Returns
Type | Description |
Value | The max.
|
getMaxBuilder()
public Value.Builder getMaxBuilder()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Returns
getMaxOrBuilder()
public ValueOrBuilder getMaxOrBuilder()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Returns
getMin()
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Returns
Type | Description |
Value | The min.
|
getMinBuilder()
public Value.Builder getMinBuilder()
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Returns
getMinOrBuilder()
public ValueOrBuilder getMinOrBuilder()
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Returns
getReplacementValue()
public Value getReplacementValue()
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
Value | The replacementValue.
|
getReplacementValueBuilder()
public Value.Builder getReplacementValueBuilder()
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getReplacementValueOrBuilder()
public ValueOrBuilder getReplacementValueOrBuilder()
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
hasMax()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Returns
Type | Description |
boolean | Whether the max field is set.
|
hasMin()
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Returns
Type | Description |
boolean | Whether the min field is set.
|
hasReplacementValue()
public boolean hasReplacementValue()
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the replacementValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BucketingConfig.Bucket other)
public BucketingConfig.Bucket.Builder mergeFrom(BucketingConfig.Bucket other)
Parameter
Returns
public BucketingConfig.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BucketingConfig.Bucket.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMax(Value value)
public BucketingConfig.Bucket.Builder mergeMax(Value value)
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Parameter
Name | Description |
value | Value
|
Returns
mergeMin(Value value)
public BucketingConfig.Bucket.Builder mergeMin(Value value)
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Parameter
Name | Description |
value | Value
|
Returns
mergeReplacementValue(Value value)
public BucketingConfig.Bucket.Builder mergeReplacementValue(Value value)
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | Value
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BucketingConfig.Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BucketingConfig.Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMax(Value value)
public BucketingConfig.Bucket.Builder setMax(Value value)
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Parameter
Name | Description |
value | Value
|
Returns
setMax(Value.Builder builderForValue)
public BucketingConfig.Bucket.Builder setMax(Value.Builder builderForValue)
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
Parameter
Returns
setMin(Value value)
public BucketingConfig.Bucket.Builder setMin(Value value)
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Parameter
Name | Description |
value | Value
|
Returns
setMin(Value.Builder builderForValue)
public BucketingConfig.Bucket.Builder setMin(Value.Builder builderForValue)
Lower bound of the range, inclusive. Type should be the same as max if
used.
.google.privacy.dlp.v2.Value min = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BucketingConfig.Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setReplacementValue(Value value)
public BucketingConfig.Bucket.Builder setReplacementValue(Value value)
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | Value
|
Returns
setReplacementValue(Value.Builder builderForValue)
public BucketingConfig.Bucket.Builder setReplacementValue(Value.Builder builderForValue)
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BucketingConfig.Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides