Class RecordCondition.Expressions (3.46.0)

public static final class RecordCondition.Expressions extends GeneratedMessageV3 implements RecordCondition.ExpressionsOrBuilder

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.RecordCondition.Expressions

Static Fields

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

LOGICAL_OPERATOR_FIELD_NUMBER

public static final int LOGICAL_OPERATOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecordCondition.Expressions getDefaultInstance()
Returns
Type Description
RecordCondition.Expressions

getDescriptor()

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

newBuilder()

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

newBuilder(RecordCondition.Expressions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConditions()

public RecordCondition.Conditions getConditions()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
RecordCondition.Conditions

The conditions.

getConditionsOrBuilder()

public RecordCondition.ConditionsOrBuilder getConditionsOrBuilder()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
RecordCondition.ConditionsOrBuilder

getDefaultInstanceForType()

public RecordCondition.Expressions getDefaultInstanceForType()
Returns
Type Description
RecordCondition.Expressions

getLogicalOperator()

public RecordCondition.Expressions.LogicalOperator getLogicalOperator()

The operator to apply to the result of conditions. Default and currently only supported value is AND.

.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;

Returns
Type Description
RecordCondition.Expressions.LogicalOperator

The logicalOperator.

getLogicalOperatorValue()

public int getLogicalOperatorValue()

The operator to apply to the result of conditions. Default and currently only supported value is AND.

.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;

Returns
Type Description
int

The enum numeric value on the wire for logicalOperator.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeCase()

public RecordCondition.Expressions.TypeCase getTypeCase()
Returns
Type Description
RecordCondition.Expressions.TypeCase

hasConditions()

public boolean hasConditions()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
boolean

Whether the conditions 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.Expressions.Builder newBuilderForType()
Returns
Type Description
RecordCondition.Expressions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecordCondition.Expressions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecordCondition.Expressions.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.Expressions.Builder toBuilder()
Returns
Type Description
RecordCondition.Expressions.Builder

writeTo(CodedOutputStream output)

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