public static final class RecordCondition.Builder extends GeneratedMessageV3.Builder<RecordCondition.Builder> implements RecordConditionOrBuilder
A condition for determining whether a transformation should be applied to
a field.
Protobuf type google.privacy.dlp.v2.RecordCondition
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RecordCondition build()
Returns
buildPartial()
public RecordCondition buildPartial()
Returns
clear()
public RecordCondition.Builder clear()
Returns
Overrides
clearExpressions()
public RecordCondition.Builder clearExpressions()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public RecordCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public RecordCondition.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RecordCondition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpressions()
public RecordCondition.Expressions getExpressions()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
getExpressionsBuilder()
public RecordCondition.Expressions.Builder getExpressionsBuilder()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
getExpressionsOrBuilder()
public RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
hasExpressions()
public boolean hasExpressions()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
Type | Description |
boolean | Whether the expressions field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExpressions(RecordCondition.Expressions value)
public RecordCondition.Builder mergeExpressions(RecordCondition.Expressions value)
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Parameter
Returns
mergeFrom(RecordCondition other)
public RecordCondition.Builder mergeFrom(RecordCondition other)
Parameter
Returns
public RecordCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RecordCondition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExpressions(RecordCondition.Expressions value)
public RecordCondition.Builder setExpressions(RecordCondition.Expressions value)
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Parameter
Returns
setExpressions(RecordCondition.Expressions.Builder builderForValue)
public RecordCondition.Builder setExpressions(RecordCondition.Expressions.Builder builderForValue)
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RecordCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides