Interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder (3.27.0)

public static interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInfoType()

public abstract 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
TypeDescription
InfoType

The infoType.

getInfoTypeOrBuilder()

public abstract 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;

Returns
TypeDescription
InfoTypeOrBuilder

getMaxFindings()

public abstract int getMaxFindings()

Max findings limit for the given infoType.

int32 max_findings = 2;

Returns
TypeDescription
int

The maxFindings.

hasInfoType()

public abstract 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
TypeDescription
boolean

Whether the infoType field is set.