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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BucketingConfig.Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BucketingConfig.Bucket build()
buildPartial()
public BucketingConfig.Bucket buildPartial()
clear()
public BucketingConfig.Bucket.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BucketingConfig.Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMax()
public BucketingConfig.Bucket.Builder clearMax()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public BucketingConfig.Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public BucketingConfig.Bucket.Builder clone()
Overrides
getDefaultInstanceForType()
public BucketingConfig.Bucket getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getMaxOrBuilder()
public ValueOrBuilder getMaxOrBuilder()
Upper bound of the range, exclusive; type must match min.
.google.privacy.dlp.v2.Value max = 2;
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;
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;
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];
getReplacementValueOrBuilder()
public ValueOrBuilder getReplacementValueOrBuilder()
Required. Replacement value for this bucket.
.google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BucketingConfig.Bucket other)
public BucketingConfig.Bucket.Builder mergeFrom(BucketingConfig.Bucket other)
public BucketingConfig.Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BucketingConfig.Bucket.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
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
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BucketingConfig.Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BucketingConfig.Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BucketingConfig.Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final BucketingConfig.Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides