Package com.google.privacy.dlp.v2
Interface InspectConfig.InfoTypeLikelihoodOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InspectConfig.InfoTypeLikelihood,InspectConfig.InfoTypeLikelihood.Builder
- Enclosing class:
- InspectConfig
public static interface InspectConfig.InfoTypeLikelihoodOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionType of information the likelihood threshold applies to.Type of information the likelihood threshold applies to.Only returns findings equal to or above this threshold.intOnly returns findings equal to or above this threshold.booleanType of information the likelihood threshold applies to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInfoType
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:
- Whether the infoType field is set.
-
getInfoType
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:
- The infoType.
-
getInfoTypeOrBuilder
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; -
getMinLikelihoodValue
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:
- The enum numeric value on the wire for minLikelihood.
-
getMinLikelihood
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:
- The minLikelihood.
-