public static final class DataProfilePubSubCondition.PubSubCondition.Builder extends GeneratedMessageV3.Builder<DataProfilePubSubCondition.PubSubCondition.Builder> implements DataProfilePubSubCondition.PubSubConditionOrBuilder
A condition consisting of a value.
Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition.PubSubCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataProfilePubSubCondition.PubSubCondition build()
buildPartial()
public DataProfilePubSubCondition.PubSubCondition buildPartial()
clear()
public DataProfilePubSubCondition.PubSubCondition.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataProfilePubSubCondition.PubSubCondition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMinimumRiskScore()
public DataProfilePubSubCondition.PubSubCondition.Builder clearMinimumRiskScore()
The minimum data risk score that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;
clearMinimumSensitivityScore()
public DataProfilePubSubCondition.PubSubCondition.Builder clearMinimumSensitivityScore()
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfilePubSubCondition.PubSubCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public DataProfilePubSubCondition.PubSubCondition.Builder clearValue()
clone()
public DataProfilePubSubCondition.PubSubCondition.Builder clone()
Overrides
getDefaultInstanceForType()
public DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMinimumRiskScore()
public DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore()
The minimum data risk score that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;
getMinimumRiskScoreValue()
public int getMinimumRiskScoreValue()
The minimum data risk score that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for minimumRiskScore.
|
getMinimumSensitivityScore()
public DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore()
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
getMinimumSensitivityScoreValue()
public int getMinimumSensitivityScoreValue()
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for minimumSensitivityScore.
|
getValueCase()
public DataProfilePubSubCondition.PubSubCondition.ValueCase getValueCase()
hasMinimumRiskScore()
public boolean hasMinimumRiskScore()
The minimum data risk score that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;
Returns |
Type |
Description |
boolean |
Whether the minimumRiskScore field is set.
|
hasMinimumSensitivityScore()
public boolean hasMinimumSensitivityScore()
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
Returns |
Type |
Description |
boolean |
Whether the minimumSensitivityScore field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataProfilePubSubCondition.PubSubCondition other)
public DataProfilePubSubCondition.PubSubCondition.Builder mergeFrom(DataProfilePubSubCondition.PubSubCondition other)
public DataProfilePubSubCondition.PubSubCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataProfilePubSubCondition.PubSubCondition.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition.PubSubCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition.PubSubCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMinimumRiskScore(DataProfilePubSubCondition.ProfileScoreBucket value)
public DataProfilePubSubCondition.PubSubCondition.Builder setMinimumRiskScore(DataProfilePubSubCondition.ProfileScoreBucket value)
The minimum data risk score that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;
setMinimumRiskScoreValue(int value)
public DataProfilePubSubCondition.PubSubCondition.Builder setMinimumRiskScoreValue(int value)
The minimum data risk score that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for minimumRiskScore to set.
|
setMinimumSensitivityScore(DataProfilePubSubCondition.ProfileScoreBucket value)
public DataProfilePubSubCondition.PubSubCondition.Builder setMinimumSensitivityScore(DataProfilePubSubCondition.ProfileScoreBucket value)
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
setMinimumSensitivityScoreValue(int value)
public DataProfilePubSubCondition.PubSubCondition.Builder setMinimumSensitivityScoreValue(int value)
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for minimumSensitivityScore to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfilePubSubCondition.PubSubCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition.PubSubCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides