Class RecordCondition.Conditions.Builder (3.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.RecordCondition.Condition>
Returns
TypeDescription
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
NameDescription
valueRecordCondition.Condition
Returns
TypeDescription
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
NameDescription
builderForValueRecordCondition.Condition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRecordCondition.Condition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRecordCondition.Condition.Builder
Returns
TypeDescription
RecordCondition.Conditions.Builder

addConditionsBuilder()

public RecordCondition.Condition.Builder addConditionsBuilder()

A collection of conditions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RecordCondition.Condition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public RecordCondition.Conditions.Builder clear()
Returns
TypeDescription
RecordCondition.Conditions.Builder
Overrides

clearConditions()

public RecordCondition.Conditions.Builder clearConditions()

A collection of conditions.

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

Returns
TypeDescription
RecordCondition.Conditions.Builder

clearField(Descriptors.FieldDescriptor field)

public RecordCondition.Conditions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RecordCondition.Conditions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RecordCondition.Conditions.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RecordCondition.Condition.Builder

getConditionsBuilderList()

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

A collection of conditions.

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

Returns
TypeDescription
List<Builder>

getConditionsCount()

public int getConditionsCount()

A collection of conditions.

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

Returns
TypeDescription
int

getConditionsList()

public List<RecordCondition.Condition> getConditionsList()

A collection of conditions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RecordCondition.ConditionOrBuilder

getConditionsOrBuilderList()

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

A collection of conditions.

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

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RecordCondition.Conditions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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