public static final class DataProfilePubSubCondition.PubSubCondition extends GeneratedMessageV3 implements DataProfilePubSubCondition.PubSubConditionOrBuilder
A condition consisting of a value.
Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition
Static Fields
MINIMUM_RISK_SCORE_FIELD_NUMBER
public static final int MINIMUM_RISK_SCORE_FIELD_NUMBER
Field Value
MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER
public static final int MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataProfilePubSubCondition.PubSubCondition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataProfilePubSubCondition.PubSubCondition.Builder newBuilder()
Returns
newBuilder(DataProfilePubSubCondition.PubSubCondition prototype)
public static DataProfilePubSubCondition.PubSubCondition.Builder newBuilder(DataProfilePubSubCondition.PubSubCondition prototype)
Parameter
Returns
public static DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataProfilePubSubCondition.PubSubCondition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataProfilePubSubCondition.PubSubCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataProfilePubSubCondition.PubSubCondition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataProfilePubSubCondition.PubSubCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataProfilePubSubCondition.PubSubCondition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<DataProfilePubSubCondition.PubSubCondition> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataProfilePubSubCondition.PubSubCondition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataProfilePubSubCondition.PubSubCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataProfilePubSubCondition.PubSubCondition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions