Class DataProfilePubSubCondition.PubSubExpressions.Builder (3.47.0)

public static final class DataProfilePubSubCondition.PubSubExpressions.Builder extends GeneratedMessageV3.Builder<DataProfilePubSubCondition.PubSubExpressions.Builder> implements DataProfilePubSubCondition.PubSubExpressionsOrBuilder

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions

Static Methods

getDescriptor()

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

Methods

addAllConditions(Iterable<? extends DataProfilePubSubCondition.PubSubCondition> values)

public DataProfilePubSubCondition.PubSubExpressions.Builder addAllConditions(Iterable<? extends DataProfilePubSubCondition.PubSubCondition> values)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition>
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

addConditions(DataProfilePubSubCondition.PubSubCondition value)

public DataProfilePubSubCondition.PubSubExpressions.Builder addConditions(DataProfilePubSubCondition.PubSubCondition value)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameter
Name Description
value DataProfilePubSubCondition.PubSubCondition
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

addConditions(DataProfilePubSubCondition.PubSubCondition.Builder builderForValue)

public DataProfilePubSubCondition.PubSubExpressions.Builder addConditions(DataProfilePubSubCondition.PubSubCondition.Builder builderForValue)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameter
Name Description
builderForValue DataProfilePubSubCondition.PubSubCondition.Builder
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

addConditions(int index, DataProfilePubSubCondition.PubSubCondition value)

public DataProfilePubSubCondition.PubSubExpressions.Builder addConditions(int index, DataProfilePubSubCondition.PubSubCondition value)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameters
Name Description
index int
value DataProfilePubSubCondition.PubSubCondition
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

addConditions(int index, DataProfilePubSubCondition.PubSubCondition.Builder builderForValue)

public DataProfilePubSubCondition.PubSubExpressions.Builder addConditions(int index, DataProfilePubSubCondition.PubSubCondition.Builder builderForValue)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameters
Name Description
index int
builderForValue DataProfilePubSubCondition.PubSubCondition.Builder
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

addConditionsBuilder()

public DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder()

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder

addConditionsBuilder(int index)

public DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder(int index)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameter
Name Description
index int
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataProfilePubSubCondition.PubSubExpressions build()
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions

buildPartial()

public DataProfilePubSubCondition.PubSubExpressions buildPartial()
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions

clear()

public DataProfilePubSubCondition.PubSubExpressions.Builder clear()
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

clearConditions()

public DataProfilePubSubCondition.PubSubExpressions.Builder clearConditions()

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLogicalOperator()

public DataProfilePubSubCondition.PubSubExpressions.Builder clearLogicalOperator()

The operator to apply to the collection of conditions.

.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1;

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfilePubSubCondition.PubSubExpressions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof <