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
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
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
Returns
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
Returns
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
Returns
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
Returns
addConditionsBuilder()
public DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder()
Conditions to apply to the expression.
repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition.PubSubExpressions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataProfilePubSubCondition.PubSubExpressions build()
Returns
buildPartial()
public DataProfilePubSubCondition.PubSubExpressions buildPartial()
Returns
clear()
public DataProfilePubSubCondition.PubSubExpressions.Builder clear()
Returns
Overrides
clearConditions()
public DataProfilePubSubCondition.PubSubExpressions.Builder clearConditions()
Conditions to apply to the expression.
repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public DataProfilePubSubCondition.PubSubExpressions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfilePubSubCondition.PubSubExpressions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DataProfilePubSubCondition.PubSubExpressions.Builder clone()
Returns
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
Returns
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
Returns
getConditionsBuilderList()
public List<DataProfilePubSubCondition.PubSubCondition.Builder> getConditionsBuilderList()
Conditions to apply to the expression.
repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;
Returns
getConditionsCount()
public int getConditionsCount()
Conditions to apply to the expression.
repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;
Returns
getConditionsList()
public List<DataProfilePubSubCondition.PubSubCondition> getConditionsList()
Conditions to apply to the expression.
repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;
Returns
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DataProfilePubSubCondition.PubSubExpressions other)
public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(DataProfilePubSubCondition.PubSubExpressions other)
Parameter
Returns
public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataProfilePubSubCondition.PubSubExpressions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition.PubSubExpressions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition.PubSubExpressions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfilePubSubCondition.PubSubExpressions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition.PubSubExpressions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides