Class RecordSuppression.Builder (3.50.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordSuppression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordSuppression.Builder
Overrides

build()

public RecordSuppression build()
Returns
Type Description
RecordSuppression

buildPartial()

public RecordSuppression buildPartial()
Returns
Type Description
RecordSuppression

clear()

public RecordSuppression.Builder clear()
Returns
Type Description
RecordSuppression.Builder
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
Type Description
RecordSuppression.Builder

clearField(Descriptors.FieldDescriptor field)

public RecordSuppression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RecordSuppression.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecordSuppression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RecordSuppression.Builder
Overrides

clone()

public RecordSuppression.Builder clone()
Returns
Type Description
RecordSuppression.Builder
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
Type Description
RecordCondition

The condition.

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
Type Description
RecordCondition.Builder

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
Type Description
RecordConditionOrBuilder

getDefaultInstanceForType()

public RecordSuppression getDefaultInstanceForType()
Returns
Type Description
RecordSuppression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value RecordCondition
Returns
Type Description
RecordSuppression.Builder

mergeFrom(RecordSuppression other)

public RecordSuppression.Builder mergeFrom(RecordSuppression other)
Parameter
Name Description
other RecordSuppression
Returns
Type Description
RecordSuppression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecordSuppression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordSuppression.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RecordSuppression.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RecordSuppression.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordSuppression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordSuppression.Builder
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
Name Description
value RecordCondition
Returns
Type Description
RecordSuppression.Builder

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
Name Description
builderForValue RecordCondition.Builder
Returns
Type Description
RecordSuppression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecordSuppression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordSuppression.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RecordSuppression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RecordSuppression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecordSuppression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordSuppression.Builder
Overrides