Class RecordSuppression (3.26.0)

public final class RecordSuppression extends GeneratedMessageV3 implements RecordSuppressionOrBuilder

Configuration to suppress records whose suppression conditions evaluate to true.

Protobuf type google.privacy.dlp.v2.RecordSuppression

Static Fields

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecordSuppression getDefaultInstance()
Returns
TypeDescription
RecordSuppression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RecordSuppression.Builder newBuilder()
Returns
TypeDescription
RecordSuppression.Builder

newBuilder(RecordSuppression prototype)

public static RecordSuppression.Builder newBuilder(RecordSuppression prototype)
Parameter
NameDescription
prototypeRecordSuppression
Returns
TypeDescription
RecordSuppression.Builder

parseDelimitedFrom(InputStream input)

public static RecordSuppression parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordSuppression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RecordSuppression parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecordSuppression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecordSuppression parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecordSuppression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecordSuppression parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordSuppression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RecordSuppression parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordSuppression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RecordSuppression parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecordSuppression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordSuppression
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RecordSuppression> parser()
Returns
TypeDescription
Parser<RecordSuppression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<RecordSuppression> getParserForType()
Returns
TypeDescription
Parser<RecordSuppression>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RecordSuppression.Builder newBuilderForType()
Returns
TypeDescription
RecordSuppression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecordSuppression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RecordSuppression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RecordSuppression.Builder toBuilder()
Returns
TypeDescription
RecordSuppression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException