Class DataProfilePubSubCondition.PubSubExpressions.Builder (3.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition>
Returns
TypeDescription
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
NameDescription
valueDataProfilePubSubCondition.PubSubCondition
Returns
TypeDescription
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
NameDescription
builderForValueDataProfilePubSubCondition.PubSubCondition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataProfilePubSubCondition.PubSubCondition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataProfilePubSubCondition.PubSubCondition.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataProfilePubSubCondition.PubSubExpressions build()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

buildPartial()

public DataProfilePubSubCondition.PubSubExpressions buildPartial()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

clear()

public DataProfilePubSubCondition.PubSubExpressions.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder

clearField(Descriptors.FieldDescriptor field)

public DataProfilePubSubCondition.PubSubExpressions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfilePubSubCondition.PubSubExpressions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

clone()

public DataProfilePubSubCondition.PubSubExpressions.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getConditionsCount()

public int getConditionsCount()

Conditions to apply to the expression.

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

Returns
TypeDescription
int

getConditionsList()

public List<DataProfilePubSubCondition.PubSubCondition> getConditionsList()

Conditions to apply to the expression.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>

getDefaultInstanceForType()

public DataProfilePubSubCondition.PubSubExpressions getDefaultInstanceForType()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for logicalOperator.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataProfilePubSubCondition.PubSubExpressions other)

public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(DataProfilePubSubCondition.PubSubExpressions other)
Parameter
NameDescription
otherDataProfilePubSubCondition.PubSubExpressions
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.PubSubExpressions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDataProfilePubSubCondition.PubSubCondition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataProfilePubSubCondition.PubSubCondition.Builder
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfilePubSubCondition.PubSubExpressions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator

The logicalOperator to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.PubSubExpressions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder
Overrides