Enum Likelihood (3.36.0)

public enum Likelihood extends Enum<Likelihood> implements ProtocolMessageEnum

Coarse-grained confidence level of how well a particular finding satisfies the criteria to match a particular infoType.

Likelihood is calculated based on the number of signals a finding has that implies that the finding matches the infoType. For example, a string that has an '@' and a '.com' is more likely to be a match for an email address than a string that only has an '@'.

In general, the highest likelihood level has the strongest signals that indicate a match. That is, a finding with a high likelihood has a low chance of being a false positive.

For more information about each likelihood level and how likelihood works, see Match likelihood.

Protobuf enum google.privacy.dlp.v2.Likelihood

Implements

ProtocolMessageEnum

Static Fields

NameDescription
LIKELIHOOD_UNSPECIFIED

Default value; same as POSSIBLE.

LIKELIHOOD_UNSPECIFIED = 0;

LIKELIHOOD_UNSPECIFIED_VALUE

Default value; same as POSSIBLE.

LIKELIHOOD_UNSPECIFIED = 0;

LIKELY

Low chance of a false positive.

LIKELY = 4;

LIKELY_VALUE

Low chance of a false positive.

LIKELY = 4;

POSSIBLE

Some matching signals. The default value.

POSSIBLE = 3;

POSSIBLE_VALUE

Some matching signals. The default value.

POSSIBLE = 3;

UNLIKELY

High chance of a false positive.

UNLIKELY = 2;

UNLIKELY_VALUE

High chance of a false positive.

UNLIKELY = 2;

UNRECOGNIZED
VERY_LIKELY

Confidence level is high. Lowest chance of a false positive.

VERY_LIKELY = 5;

VERY_LIKELY_VALUE

Confidence level is high. Lowest chance of a false positive.

VERY_LIKELY = 5;

VERY_UNLIKELY

Highest chance of a false positive.

VERY_UNLIKELY = 1;

VERY_UNLIKELY_VALUE

Highest chance of a false positive.

VERY_UNLIKELY = 1;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()