Class RecordCondition.Expressions.Builder (3.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecordCondition.Expressions build()
Returns
TypeDescription
RecordCondition.Expressions

buildPartial()

public RecordCondition.Expressions buildPartial()
Returns
TypeDescription
RecordCondition.Expressions

clear()

public RecordCondition.Expressions.Builder clear()
Returns
TypeDescription
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
TypeDescription
RecordCondition.Expressions.Builder

clearField(Descriptors.FieldDescriptor field)

public RecordCondition.Expressions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RecordCondition.Expressions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public RecordCondition.Expressions.Builder clearType()
Returns
TypeDescription
RecordCondition.Expressions.Builder

clone()

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

getConditions()

public RecordCondition.Conditions getConditions()

Conditions to apply to the expression.

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

Returns
TypeDescription
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
TypeDescription
RecordCondition.Conditions.Builder

getConditionsOrBuilder()

public RecordCondition.ConditionsOrBuilder getConditionsOrBuilder()

Conditions to apply to the expression.

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

Returns
TypeDescription
RecordCondition.ConditionsOrBuilder

getDefaultInstanceForType()

public RecordCondition.Expressions getDefaultInstanceForType()
Returns
TypeDescription
RecordCondition.Expressions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for logicalOperator.

getTypeCase()

public RecordCondition.Expressions.TypeCase getTypeCase()
Returns
TypeDescription
RecordCondition.Expressions.TypeCase

hasConditions()

public boolean hasConditions()

Conditions to apply to the expression.

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

Returns
TypeDescription
boolean

Whether the conditions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueRecordCondition.Conditions
Returns
TypeDescription
RecordCondition.Expressions.Builder

mergeFrom(RecordCondition.Expressions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public RecordCondition.Expressions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRecordCondition.Expressions.LogicalOperator

The logicalOperator to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for logicalOperator to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecordCondition.Expressions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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