Class InspectConfig.FindingLimits.InfoTypeLimit.Builder (3.48.0)

public static final class InspectConfig.FindingLimits.InfoTypeLimit.Builder extends GeneratedMessageV3.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder> implements InspectConfig.FindingLimits.InfoTypeLimitOrBuilder

Max findings configuration per infoType, per content item or long running DlpJob.

Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

build()

public InspectConfig.FindingLimits.InfoTypeLimit build()
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit

buildPartial()

public InspectConfig.FindingLimits.InfoTypeLimit buildPartial()
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit

clear()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clear()
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

clearInfoType()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearInfoType()

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
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

clearMaxFindings()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearMaxFindings()

Max findings limit for the given infoType.

int32 max_findings = 2;

Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

clone()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clone()
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

getDefaultInstanceForType()

public InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType()
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInfoType()

public 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
Type Description
InfoType

The infoType.

getInfoTypeBuilder()

public InfoType.Builder getInfoTypeBuilder()

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
Type Description
InfoType.Builder

getInfoTypeOrBuilder()

public 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
Type Description
InfoTypeOrBuilder

getMaxFindings()

public int getMaxFindings()

Max findings limit for the given infoType.

int32 max_findings = 2;

Returns
Type Description
int

The maxFindings.

hasInfoType()

public 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
Type Description
boolean

Whether the infoType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)
Parameter
Name Description
other InspectConfig.FindingLimits.InfoTypeLimit
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

mergeInfoType(InfoType value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeInfoType(InfoType value)

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;

Parameter
Name Description
value InfoType
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

setInfoType(InfoType value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder setInfoType(InfoType value)

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;

Parameter
Name Description
value InfoType
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

setInfoType(InfoType.Builder builderForValue)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder setInfoType(InfoType.Builder builderForValue)

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;

Parameter
Name Description
builderForValue InfoType.Builder
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

setMaxFindings(int value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder setMaxFindings(int value)

Max findings limit for the given infoType.

int32 max_findings = 2;

Parameter
Name Description
value int

The maxFindings to set.

Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InspectConfig.FindingLimits.InfoTypeLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides