Interface InspectConfig.InfoTypeLikelihoodOrBuilder (3.39.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the infoType field is set.