Package com.google.privacy.dlp.v2
Interface RecordCondition.ConditionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecordCondition.Condition,RecordCondition.Condition.Builder
- Enclosing class:
- RecordCondition
public static interface RecordCondition.ConditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasField
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:
- Whether the field field is set.
-
getField
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:
- The field.
-
getFieldOrBuilder
FieldIdOrBuilder getFieldOrBuilder()Required. Field within the record this condition is evaluated against.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; -
getOperatorValue
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:
- The enum numeric value on the wire for operator.
-
getOperator
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:
- The operator.
-
hasValue
boolean hasValue()Value to compare against. [Mandatory, except for `EXISTS` tests.]
.google.privacy.dlp.v2.Value value = 4;- Returns:
- Whether the value field is set.
-
getValue
Value getValue()Value to compare against. [Mandatory, except for `EXISTS` tests.]
.google.privacy.dlp.v2.Value value = 4;- Returns:
- The value.
-
getValueOrBuilder
ValueOrBuilder getValueOrBuilder()Value to compare against. [Mandatory, except for `EXISTS` tests.]
.google.privacy.dlp.v2.Value value = 4;
-