Interface RecordCondition.ConditionOrBuilder (3.51.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the value field is set.