public static final class RecordCondition.Expressions.Builder extends GeneratedMessageV3.Builder<RecordCondition.Expressions.Builder> implements RecordCondition.ExpressionsOrBuilder
An expression, consisting of an operator and conditions.
Protobuf type google.privacy.dlp.v2.RecordCondition.Expressions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordCondition.Expressions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RecordCondition.Expressions build()
Returns
buildPartial()
public RecordCondition.Expressions buildPartial()
Returns
clear()
public RecordCondition.Expressions.Builder clear()
Returns
Overrides
clearConditions()
public RecordCondition.Expressions.Builder clearConditions()
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public RecordCondition.Expressions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLogicalOperator()
public RecordCondition.Expressions.Builder clearLogicalOperator()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordCondition.Expressions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
public RecordCondition.Expressions.Builder clearType()
Returns
clone()
public RecordCondition.Expressions.Builder clone()
Returns
Overrides
getConditions()
public RecordCondition.Conditions getConditions()
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Returns
getConditionsBuilder()
public RecordCondition.Conditions.Builder getConditionsBuilder()
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Returns
getConditionsOrBuilder()
public RecordCondition.ConditionsOrBuilder getConditionsOrBuilder()
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Returns
getDefaultInstanceForType()
public RecordCondition.Expressions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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.
|
getTypeCase()
public RecordCondition.Expressions.TypeCase getTypeCase()
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConditions(RecordCondition.Conditions value)
public RecordCondition.Expressions.Builder mergeConditions(RecordCondition.Conditions value)
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Parameter
Returns
mergeFrom(RecordCondition.Expressions other)
public RecordCondition.Expressions.Builder mergeFrom(RecordCondition.Expressions other)
Parameter
Returns
public RecordCondition.Expressions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RecordCondition.Expressions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordCondition.Expressions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConditions(RecordCondition.Conditions value)
public RecordCondition.Expressions.Builder setConditions(RecordCondition.Conditions value)
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Parameter
Returns
setConditions(RecordCondition.Conditions.Builder builderForValue)
public RecordCondition.Expressions.Builder setConditions(RecordCondition.Conditions.Builder builderForValue)
Conditions to apply to the expression.
.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RecordCondition.Expressions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLogicalOperator(RecordCondition.Expressions.LogicalOperator value)
public RecordCondition.Expressions.Builder setLogicalOperator(RecordCondition.Expressions.LogicalOperator value)
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;
Parameter
Returns
setLogicalOperatorValue(int value)
public RecordCondition.Expressions.Builder setLogicalOperatorValue(int value)
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;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for logicalOperator to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordCondition.Expressions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordCondition.Expressions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides