Interface RecordCondition.ConditionOrBuilder

public static interface RecordCondition.ConditionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getField()

public abstract FieldId getField()

Required. Field within the record this condition is evaluated against.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldId

The field.

getFieldOrBuilder()

public abstract FieldIdOrBuilder getFieldOrBuilder()

Required. Field within the record this condition is evaluated against.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldIdOrBuilder

getOperator()

public abstract RelationalOperator getOperator()

Required. Operator used to compare the field or infoType to the value.

.google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RelationalOperator

The operator.

getOperatorValue()

public abstract int getOperatorValue()

Required. Operator used to compare the field or infoType to the value.

.google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for operator.

getValue()

public abstract Value getValue()

Value to compare against. [Mandatory, except for EXISTS tests.]

.google.privacy.dlp.v2.Value value = 4;

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public abstract ValueOrBuilder getValueOrBuilder()

Value to compare against. [Mandatory, except for EXISTS tests.]

.google.privacy.dlp.v2.Value value = 4;

Returns
TypeDescription
ValueOrBuilder

hasField()

public abstract boolean hasField()

Required. Field within the record this condition is evaluated against.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the field field is set.

hasValue()

public abstract boolean hasValue()

Value to compare against. [Mandatory, except for EXISTS tests.]

.google.privacy.dlp.v2.Value value = 4;

Returns
TypeDescription
boolean

Whether the value field is set.