Class RecordCondition.Expressions.Builder (3.48.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecordCondition.Expressions build()
Returns
Type Description
RecordCondition.Expressions

buildPartial()

public RecordCondition.Expressions buildPartial()
Returns
Type Description
RecordCondition.Expressions

clear()

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

clearConditions()

public RecordCondition.Expressions.Builder clearConditions()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
RecordCondition.Expressions.Builder

clearField(Descriptors.FieldDescriptor field)

public RecordCondition.Expressions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RecordCondition.Expressions.Builder
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
Type Description
RecordCondition.Expressions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public RecordCondition.Expressions.Builder clearType()
Returns
Type Description
RecordCondition.Expressions.Builder

clone()

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

getConditions()

public RecordCondition.Conditions getConditions()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
RecordCondition.Conditions

The conditions.

getConditionsBuilder()

public RecordCondition.Conditions.Builder getConditionsBuilder()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
RecordCondition.Conditions.Builder

getConditionsOrBuilder()

public RecordCondition.ConditionsOrBuilder getConditionsOrBuilder()

Conditions to apply to the expression.

.google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;

Returns
Type Description
RecordCondition.ConditionsOrBuilder

getDefaultInstanceForType()

public RecordCondition.Expressions getDefaultInstanceForType()
Returns
Type Description
RecordCondition.Expressions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
RecordCondition.Expressions.LogicalOperator

The logicalOperator.

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
Type Description
RecordCondition.Expressions.TypeCase

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value RecordCondition.Conditions
Returns
Type Description
RecordCondition.Expressions.Builder

mergeFrom(RecordCondition.Expressions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordCondition.Expressions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordCondition.Expressions.Builder
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
Name Description
value RecordCondition.Conditions
Returns
Type Description
RecordCondition.Expressions.Builder

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
Name Description
builderForValue RecordCondition.Conditions.Builder
Returns
Type Description
RecordCondition.Expressions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecordCondition.Expressions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordCondition.Expressions.Builder
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
Name Description
value RecordCondition.Expressions.LogicalOperator

The logicalOperator to set.

Returns
Type Description
RecordCondition.Expressions.Builder

This builder for chaining.

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
Type Description
RecordCondition.Expressions.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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