public static final class RecordSuppression.Builder extends GeneratedMessageV3.Builder<RecordSuppression.Builder> implements RecordSuppressionOrBuilder
Configuration to suppress records whose suppression conditions evaluate to
true.
Protobuf type google.privacy.dlp.v2.RecordSuppression
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordSuppression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RecordSuppression build()
Returns
buildPartial()
public RecordSuppression buildPartial()
Returns
clear()
public RecordSuppression.Builder clear()
Returns
Overrides
clearCondition()
public RecordSuppression.Builder clearCondition()
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public RecordSuppression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordSuppression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public RecordSuppression.Builder clone()
Returns
Overrides
getCondition()
public RecordCondition getCondition()
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Returns
getConditionBuilder()
public RecordCondition.Builder getConditionBuilder()
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Returns
getConditionOrBuilder()
public RecordConditionOrBuilder getConditionOrBuilder()
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Returns
getDefaultInstanceForType()
public RecordSuppression getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasCondition()
public boolean hasCondition()
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Returns
Type | Description |
boolean | Whether the condition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCondition(RecordCondition value)
public RecordSuppression.Builder mergeCondition(RecordCondition value)
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Parameter
Returns
mergeFrom(RecordSuppression other)
public RecordSuppression.Builder mergeFrom(RecordSuppression other)
Parameter
Returns
public RecordSuppression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RecordSuppression.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordSuppression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCondition(RecordCondition value)
public RecordSuppression.Builder setCondition(RecordCondition value)
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Parameter
Returns
setCondition(RecordCondition.Builder builderForValue)
public RecordSuppression.Builder setCondition(RecordCondition.Builder builderForValue)
A condition that when it evaluates to true will result in the record being
evaluated to be suppressed from the transformed content.
.google.privacy.dlp.v2.RecordCondition condition = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RecordSuppression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordSuppression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordSuppression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides