Class RecordCondition.Conditions.Builder (3.47.0)

public static final class RecordCondition.Conditions.Builder extends GeneratedMessageV3.Builder<RecordCondition.Conditions.Builder> implements RecordCondition.ConditionsOrBuilder

A collection of conditions.

Protobuf type google.privacy.dlp.v2.RecordCondition.Conditions

Static Methods

getDescriptor()

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

Methods

addAllConditions(Iterable<? extends RecordCondition.Condition> values)

public RecordCondition.Conditions.Builder addAllConditions(Iterable<? extends RecordCondition.Condition> values)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.RecordCondition.Condition>
Returns
Type Description
RecordCondition.Conditions.Builder

addConditions(RecordCondition.Condition value)

public RecordCondition.Conditions.Builder addConditions(RecordCondition.Condition value)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameter
Name Description
value RecordCondition.Condition
Returns
Type Description
RecordCondition.Conditions.Builder

addConditions(RecordCondition.Condition.Builder builderForValue)

public RecordCondition.Conditions.Builder addConditions(RecordCondition.Condition.Builder builderForValue)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameter
Name Description
builderForValue RecordCondition.Condition.Builder
Returns
Type Description
RecordCondition.Conditions.Builder

addConditions(int index, RecordCondition.Condition value)

public RecordCondition.Conditions.Builder addConditions(int index, RecordCondition.Condition value)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameters
Name Description
index int
value RecordCondition.Condition
Returns
Type Description
RecordCondition.Conditions.Builder

addConditions(int index, RecordCondition.Condition.Builder builderForValue)

public RecordCondition.Conditions.Builder addConditions(int index, RecordCondition.Condition.Builder builderForValue)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameters
Name Description
index int
builderForValue RecordCondition.Condition.Builder
Returns
Type Description
RecordCondition.Conditions.Builder

addConditionsBuilder()

public RecordCondition.Condition.Builder addConditionsBuilder()

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Returns
Type Description
RecordCondition.Condition.Builder

addConditionsBuilder(int index)

public RecordCondition.Condition.Builder addConditionsBuilder(int index)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
RecordCondition.Condition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearConditions()

public RecordCondition.Conditions.Builder clearConditions()

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Returns
Type Description
RecordCondition.Conditions.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConditions(int index)

public RecordCondition.Condition getConditions(int index)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
RecordCondition.Condition

getConditionsBuilder(int index)

public RecordCondition.Condition.Builder getConditionsBuilder(int index)

A collection of conditions.

repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;

Parameter
Name Description
index int