Class DataProfilePubSubCondition.PubSubCondition (3.11.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
TypeDescription
int

MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER

public static final int MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfilePubSubCondition.PubSubCondition getDefaultInstance()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataProfilePubSubCondition.PubSubCondition.Builder newBuilder()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition.Builder

newBuilder(DataProfilePubSubCondition.PubSubCondition prototype)

public static DataProfilePubSubCondition.PubSubCondition.Builder newBuilder(DataProfilePubSubCondition.PubSubCondition prototype)
Parameter
NameDescription
prototypeDataProfilePubSubCondition.PubSubCondition
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition.Builder

parseDelimitedFrom(InputStream input)

public static DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfilePubSubCondition.PubSubCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for minimumSensitivityScore.

getParserForType()

public Parser<DataProfilePubSubCondition.PubSubCondition> getParserForType()
Returns
TypeDescription
Parser<PubSubCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValueCase()

public DataProfilePubSubCondition.PubSubCondition.ValueCase getValueCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the minimumSensitivityScore field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataProfilePubSubCondition.PubSubCondition.Builder newBuilderForType()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfilePubSubCondition.PubSubCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataProfilePubSubCondition.PubSubCondition.Builder toBuilder()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException