Class RecordCondition (3.48.0)

public final class RecordCondition extends GeneratedMessageV3 implements RecordConditionOrBuilder

A condition for determining whether a transformation should be applied to a field.

Protobuf type google.privacy.dlp.v2.RecordCondition

Static Fields

EXPRESSIONS_FIELD_NUMBER

public static final int EXPRESSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecordCondition getDefaultInstance()
Returns
Type Description
RecordCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RecordCondition.Builder newBuilder()
Returns
Type Description
RecordCondition.Builder

newBuilder(RecordCondition prototype)

public static RecordCondition.Builder newBuilder(RecordCondition prototype)
Parameter
Name Description
prototype RecordCondition
Returns
Type Description
RecordCondition.Builder

parseDelimitedFrom(InputStream input)

public static RecordCondition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecordCondition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RecordCondition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RecordCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecordCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecordCondition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RecordCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecordCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecordCondition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RecordCondition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RecordCondition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecordCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RecordCondition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RecordCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecordCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RecordCondition> parser()
Returns
Type Description
Parser<RecordCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RecordCondition getDefaultInstanceForType()
Returns
Type Description
RecordCondition

getExpressions()

public RecordCondition.Expressions getExpressions()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
RecordCondition.Expressions

The expressions.

getExpressionsOrBuilder()

public RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
RecordCondition.ExpressionsOrBuilder

getParserForType()

public Parser<RecordCondition> getParserForType()
Returns
Type Description
Parser<RecordCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasExpressions()

public boolean hasExpressions()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
boolean

Whether the expressions field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RecordCondition.Builder newBuilderForType()
Returns
Type Description
RecordCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecordCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecordCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RecordCondition.Builder toBuilder()
Returns
Type Description
RecordCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException