Class DataProfilePubSubCondition.PubSubCondition (3.46.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataProfilePubSubCondition.PubSubCondition

Static Fields

MINIMUM_RISK_SCORE_FIELD_NUMBER

public static final int MINIMUM_RISK_SCORE_FIELD_NUMBER
Field Value
Type Description
int

MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER

public static final int MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataProfilePubSubCondition.PubSubCondition getDefaultInstance()
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataProfilePubSubCondition.PubSubCondition.Builder newBuilder()
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder

newBuilder(DataProfilePubSubCondition.PubSubCondition prototype)

public static DataProfilePubSubCondition.PubSubCondition.Builder newBuilder(DataProfilePubSubCondition.PubSubCondition prototype)
Parameter
Name Description
prototype DataProfilePubSubCondition.PubSubCondition
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder

parseDelimitedFrom(InputStream input)

public static DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProfilePubSubCondition.PubSubCondition> parser()
Returns
Type Description
Parser<PubSubCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType()
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition

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
Type Description
DataProfilePubSubCondition.ProfileScoreBucket

The minimumRiskScore.

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
Type Description
DataProfilePubSubCondition.ProfileScoreBucket

The minimumSensitivityScore.

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
Type Description
Parser<PubSubCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValueCase()

public DataProfilePubSubCondition.PubSubCondition.ValueCase getValueCase()
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.ValueCase

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataProfilePubSubCondition.PubSubCondition.Builder newBuilderForType()
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfilePubSubCondition.PubSubCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataProfilePubSubCondition.PubSubCondition.Builder toBuilder()
Returns
Type Description
DataProfilePubSubCondition.PubSubCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException