public static final class DataProfilePubSubCondition.Builder extends GeneratedMessageV3.Builder<DataProfilePubSubCondition.Builder> implements DataProfilePubSubConditionOrBuilder
A condition for determining whether a PubSub should be triggered.
Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataProfilePubSubCondition build()
Returns
buildPartial()
public DataProfilePubSubCondition buildPartial()
Returns
clear()
public DataProfilePubSubCondition.Builder clear()
Returns
Overrides
clearExpressions()
public DataProfilePubSubCondition.Builder clearExpressions()
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DataProfilePubSubCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfilePubSubCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DataProfilePubSubCondition.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DataProfilePubSubCondition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpressions()
public DataProfilePubSubCondition.PubSubExpressions getExpressions()
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Returns
getExpressionsBuilder()
public DataProfilePubSubCondition.PubSubExpressions.Builder getExpressionsBuilder()
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Returns
getExpressionsOrBuilder()
public DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder()
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Returns
hasExpressions()
public boolean hasExpressions()
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Returns
Type | Description |
boolean | Whether the expressions field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExpressions(DataProfilePubSubCondition.PubSubExpressions value)
public DataProfilePubSubCondition.Builder mergeExpressions(DataProfilePubSubCondition.PubSubExpressions value)
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Parameter
Returns
mergeFrom(DataProfilePubSubCondition other)
public DataProfilePubSubCondition.Builder mergeFrom(DataProfilePubSubCondition other)
Parameter
Returns
public DataProfilePubSubCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataProfilePubSubCondition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExpressions(DataProfilePubSubCondition.PubSubExpressions value)
public DataProfilePubSubCondition.Builder setExpressions(DataProfilePubSubCondition.PubSubExpressions value)
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Parameter
Returns
setExpressions(DataProfilePubSubCondition.PubSubExpressions.Builder builderForValue)
public DataProfilePubSubCondition.Builder setExpressions(DataProfilePubSubCondition.PubSubExpressions.Builder builderForValue)
An expression.
.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfilePubSubCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides