Interface InspectConfig.InfoTypeLikelihoodOrBuilder (3.46.0)

public static interface InspectConfig.InfoTypeLikelihoodOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInfoType()

public abstract InfoType getInfoType()

Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoType

The infoType.

getInfoTypeOrBuilder()

public abstract InfoTypeOrBuilder getInfoTypeOrBuilder()

Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoTypeOrBuilder

getMinLikelihood()

public abstract Likelihood getMinLikelihood()

Only returns findings equal to or above this threshold. This field is required or else the configuration fails.

.google.privacy.dlp.v2.Likelihood min_likelihood = 2;

Returns
Type Description
Likelihood

The minLikelihood.

getMinLikelihoodValue()

public abstract int getMinLikelihoodValue()

Only returns findings equal to or above this threshold. This field is required or else the configuration fails.

.google.privacy.dlp.v2.Likelihood min_likelihood = 2;

Returns
Type Description
int

The enum numeric value on the wire for minLikelihood.

hasInfoType()

public abstract boolean hasInfoType()

Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
boolean

Whether the infoType field is set.