Send feedback
Class DataProfilePubSubCondition.PubSubCondition.Builder (3.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.1 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition . PubSubCondition . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DataProfilePubSubCondition . PubSubCondition build ()
Returns
buildPartial()
public DataProfilePubSubCondition . PubSubCondition buildPartial ()
Returns
clear()
public DataProfilePubSubCondition . PubSubCondition . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataProfilePubSubCondition . PubSubCondition . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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;
Returns
clearMinimumSensitivityScore()
public DataProfilePubSubCondition . PubSubCondition . Builder clearMinimumSensitivityScore ()
The minimum sensitivity level that triggers the condition.
.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfilePubSubCondition . PubSubCondition . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearValue()
public DataProfilePubSubCondition . PubSubCondition . Builder clearValue ()
Returns
clone()
public DataProfilePubSubCondition . PubSubCondition . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public DataProfilePubSubCondition . PubSubCondition getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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;
Returns
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;
Returns
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 ()
Returns
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(DataProfilePubSubCondition.PubSubCondition other)
public DataProfilePubSubCondition . PubSubCondition . Builder mergeFrom ( DataProfilePubSubCondition . PubSubCondition other )
Parameter
Returns
public DataProfilePubSubCondition . PubSubCondition . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataProfilePubSubCondition . PubSubCondition . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition . PubSubCondition . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubCondition . PubSubCondition . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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;
Parameter
Returns
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.
Returns
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;
Parameter
Returns
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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfilePubSubCondition . PubSubCondition . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubCondition . PubSubCondition . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]