Class RecordCondition.Builder (3.52.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordCondition.Builder
Overrides

build()

public RecordCondition build()
Returns
Type Description
RecordCondition

buildPartial()

public RecordCondition buildPartial()
Returns
Type Description
RecordCondition

clear()

public RecordCondition.Builder clear()
Returns
Type Description
RecordCondition.Builder
Overrides

clearExpressions()

public RecordCondition.Builder clearExpressions()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
RecordCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public RecordCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RecordCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecordCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RecordCondition.Builder
Overrides

clone()

public RecordCondition.Builder clone()
Returns
Type Description
RecordCondition.Builder
Overrides

getDefaultInstanceForType()

public RecordCondition getDefaultInstanceForType()
Returns
Type Description
RecordCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpressions()

public RecordCondition.Expressions getExpressions()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
RecordCondition.Expressions

The expressions.

getExpressionsBuilder()

public RecordCondition.Expressions.Builder getExpressionsBuilder()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
RecordCondition.Expressions.Builder

getExpressionsOrBuilder()

public RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
Type Description
RecordCondition.ExpressionsOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpressions(RecordCondition.Expressions value)

public RecordCondition.Builder mergeExpressions(RecordCondition.Expressions value)

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Parameter
Name Description
value RecordCondition.Expressions
Returns
Type Description
RecordCondition.Builder

mergeFrom(RecordCondition other)

public RecordCondition.Builder mergeFrom(RecordCondition other)
Parameter
Name Description
other RecordCondition
Returns
Type Description
RecordCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecordCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RecordCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RecordCondition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordCondition.Builder
Overrides

setExpressions(RecordCondition.Expressions value)

public RecordCondition.Builder setExpressions(RecordCondition.Expressions value)

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Parameter
Name Description
value RecordCondition.Expressions
Returns
Type Description
RecordCondition.Builder

setExpressions(RecordCondition.Expressions.Builder builderForValue)

public RecordCondition.Builder setExpressions(RecordCondition.Expressions.Builder builderForValue)

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Parameter
Name Description
builderForValue RecordCondition.Expressions.Builder
Returns
Type Description
RecordCondition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecordCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordCondition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RecordCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RecordCondition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecordCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordCondition.Builder
Overrides