Class DataProfilePubSubCondition.PubSubExpressions.Builder (3.57.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 OneofDescriptor
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

clone()

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

getConditions(int index)

public DataProfilePubSubCondition.PubSubCondition getConditions(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

getConditionsBuilder(int index)

public DataProfilePubSubCondition.PubSubCondition.Builder getConditionsBuilder(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

getConditionsBuilderList()

public List<DataProfilePubSubCondition.PubSubCondition.Builder> getConditionsBuilderList()

Conditions to apply to the expression.

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

Returns
Type Description
List<Builder>

getConditionsCount()

public int getConditionsCount()

Conditions to apply to the expression.

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

Returns
Type Description
int

getConditionsList()

public List<DataProfilePubSubCondition.PubSubCondition> getConditionsList()

Conditions to apply to the expression.

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

Returns
Type Description
List<PubSubCondition>

getConditionsOrBuilder(int index)

public DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder(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.PubSubConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends DataProfilePubSubCondition.PubSubConditionOrBuilder> getConditionsOrBuilderList()

Conditions to apply to the expression.

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

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>

getDefaultInstanceForType()

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

getDescriptorForType()

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

getLogicalOperator()

public DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator()

The operator to apply to the collection of conditions.

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

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator

The logicalOperator.

getLogicalOperatorValue()

public int getLogicalOperatorValue()

The operator to apply to the collection of conditions.

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

Returns
Type Description
int

The enum numeric value on the wire for logicalOperator.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfilePubSubCondition.PubSubExpressions other)

public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(DataProfilePubSubCondition.PubSubExpressions other)
Parameter
Name Description
other DataProfilePubSubCondition.PubSubExpressions
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.PubSubExpressions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

removeConditions(int index)

public DataProfilePubSubCondition.PubSubExpressions.Builder removeConditions(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.PubSubExpressions.Builder

setConditions(int index, DataProfilePubSubCondition.PubSubCondition value)

public DataProfilePubSubCondition.PubSubExpressions.Builder setConditions(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

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

public DataProfilePubSubCondition.PubSubExpressions.Builder setConditions(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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLogicalOperator(DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator value)

public DataProfilePubSubCondition.PubSubExpressions.Builder setLogicalOperator(DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator value)

The operator to apply to the collection of conditions.

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

Parameter
Name Description
value DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator

The logicalOperator to set.

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

This builder for chaining.

setLogicalOperatorValue(int value)

public DataProfilePubSubCondition.PubSubExpressions.Builder setLogicalOperatorValue(int value)

The operator to apply to the collection of conditions.

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

Parameter
Name Description
value int

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

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.PubSubExpressions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides