Package com.google.privacy.dlp.v2
Interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InspectConfig.FindingLimits.InfoTypeLimit,InspectConfig.FindingLimits.InfoTypeLimit.Builder
- Enclosing class:
- InspectConfig.FindingLimits
public static interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionType of information the findings limit applies to.Type of information the findings limit applies to.intMax findings limit for the given infoType.booleanType of information the findings limit 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 findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;- Returns:
- Whether the infoType field is set.
-
getInfoType
InfoType getInfoType()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;- Returns:
- The infoType.
-
getInfoTypeOrBuilder
InfoTypeOrBuilder getInfoTypeOrBuilder()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1; -
getMaxFindings
int getMaxFindings()Max findings limit for the given infoType.
int32 max_findings = 2;- Returns:
- The maxFindings.
-