Class RecordCondition.Conditions.Builder (3.46.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
Returns
Type Description
RecordCondition.Condition.Builder

getConditionsBuilderList()

public List<RecordCondition.Condition.Builder> getConditionsBuilderList()

A collection of conditions.

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

Returns
Type Description
List<Builder>

getConditionsCount()

public int getConditionsCount()

A collection of conditions.

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

Returns
Type Description
int

getConditionsList()

public List<RecordCondition.Condition> getConditionsList()

A collection of conditions.

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

Returns
Type Description
List<Condition>

getConditionsOrBuilder(int index)

public RecordCondition.ConditionOrBuilder getConditionsOrBuilder(int index)

A collection of conditions.

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

Parameter
Name Description
index int
Returns
Type Description
RecordCondition.ConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends RecordCondition.ConditionOrBuilder> getConditionsOrBuilderList()

A collection of conditions.

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

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder>

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RecordCondition.Conditions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordCondition.Conditions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordCondition.Conditions.Builder
Overrides

removeConditions(int index)

public RecordCondition.Conditions.Builder removeConditions(int index)

A collection of conditions.

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

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

setConditions(int index, RecordCondition.Condition value)

public RecordCondition.Conditions.Builder setConditions(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

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

public RecordCondition.Conditions.Builder setConditions(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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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