Class RecordCondition.Builder (3.1.4)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecordCondition.Builder
Overrides

build()

public RecordCondition build()
Returns
TypeDescription
RecordCondition

buildPartial()

public RecordCondition buildPartial()
Returns
TypeDescription
RecordCondition

clear()

public RecordCondition.Builder clear()
Returns
TypeDescription
RecordCondition.Builder
Overrides

clearExpressions()

public RecordCondition.Builder clearExpressions()

An expression.

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

Returns
TypeDescription
RecordCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public RecordCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RecordCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecordCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RecordCondition.Builder
Overrides

clone()

public RecordCondition.Builder clone()
Returns
TypeDescription
RecordCondition.Builder
Overrides

getDefaultInstanceForType()

public RecordCondition getDefaultInstanceForType()
Returns
TypeDescription
RecordCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpressions()

public RecordCondition.Expressions getExpressions()

An expression.

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

Returns
TypeDescription
RecordCondition.Expressions

The expressions.

getExpressionsBuilder()

public RecordCondition.Expressions.Builder getExpressionsBuilder()

An expression.

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

Returns
TypeDescription
RecordCondition.Expressions.Builder

getExpressionsOrBuilder()

public RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

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

Returns
TypeDescription
RecordCondition.ExpressionsOrBuilder

hasExpressions()

public boolean hasExpressions()

An expression.

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

Returns
TypeDescription
boolean

Whether the expressions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExpressions(RecordCondition.Expressions value)

public RecordCondition.Builder mergeExpressions(RecordCondition.Expressions value)

An expression.

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

Parameter
NameDescription
valueRecordCondition.Expressions
Returns
TypeDescription
RecordCondition.Builder

mergeFrom(RecordCondition other)

public RecordCondition.Builder mergeFrom(RecordCondition other)
Parameter
NameDescription
otherRecordCondition
Returns
TypeDescription
RecordCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecordCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordCondition.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RecordCondition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RecordCondition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueRecordCondition.Expressions
Returns
TypeDescription
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
NameDescription
builderForValueRecordCondition.Expressions.Builder
Returns
TypeDescription
RecordCondition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecordCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecordCondition.Builder
Overrides

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

public RecordCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecordCondition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecordCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RecordCondition.Builder
Overrides