Class RecordSuppression.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordSuppression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecordSuppression.Builder
Overrides

build()

public RecordSuppression build()
Returns
TypeDescription
RecordSuppression

buildPartial()

public RecordSuppression buildPartial()
Returns
TypeDescription
RecordSuppression

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RecordSuppression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RecordSuppression.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecordSuppression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RecordSuppression.Builder
Overrides

clone()

public RecordSuppression.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RecordConditionOrBuilder

getDefaultInstanceForType()

public RecordSuppression getDefaultInstanceForType()
Returns
TypeDescription
RecordSuppression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the condition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueRecordCondition
Returns
TypeDescription
RecordSuppression.Builder

mergeFrom(RecordSuppression other)

public RecordSuppression.Builder mergeFrom(RecordSuppression other)
Parameter
NameDescription
otherRecordSuppression
Returns
TypeDescription
RecordSuppression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecordSuppression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RecordSuppression.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RecordSuppression.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordSuppression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueRecordCondition
Returns
TypeDescription
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
NameDescription
builderForValueRecordCondition.Builder
Returns
TypeDescription
RecordSuppression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecordSuppression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecordSuppression.Builder
Overrides

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

public RecordSuppression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecordSuppression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecordSuppression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RecordSuppression.Builder
Overrides