Class RecordCondition.Expressions (3.4.0)

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

An expression, consisting or 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
TypeDescription
int

LOGICAL_OPERATOR_FIELD_NUMBER

public static final int LOGICAL_OPERATOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecordCondition.Expressions getDefaultInstance()
Returns
TypeDescription
RecordCondition.Expressions

getDescriptor()

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

newBuilder()

public static RecordCondition.Expressions.Builder newBuilder()
Returns
TypeDescription
RecordCondition.Expressions.Builder

newBuilder(RecordCondition.Expressions prototype)

public static RecordCondition.Expressions.Builder newBuilder(RecordCondition.Expressions prototype)
Parameter
NameDescription
prototypeRecordCondition.Expressions
Returns
TypeDescription
RecordCondition.Expressions.Builder

parseDelimitedFrom(InputStream input)

public static RecordCondition.Expressions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordCondition.Expressions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RecordCondition.Expressions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RecordCondition.Expressions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RecordCondition.Expressions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RecordCondition.Expressions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RecordCondition.Expressions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordCondition.Expressions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RecordCondition.Expressions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RecordCondition.Expressions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConditions()

public RecordCondition.Conditions getConditions()

Conditions to apply to the expression.

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

Returns
TypeDescription
RecordCondition.Conditions

The conditions.

getConditionsOrBuilder()

public RecordCondition.ConditionsOrBuilder getConditionsOrBuilder()

Conditions to apply to the expression.

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

Returns
TypeDescription
RecordCondition.ConditionsOrBuilder

getDefaultInstanceForType()

public RecordCondition.Expressions getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for logicalOperator.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCase()

public RecordCondition.Expressions.TypeCase getTypeCase()
Returns
TypeDescription
RecordCondition.Expressions.TypeCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConditions()

public boolean hasConditions()

Conditions to apply to the expression.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RecordCondition.Expressions.Builder toBuilder()
Returns
TypeDescription
RecordCondition.Expressions.Builder

writeTo(CodedOutputStream output)

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