Class InspectConfig.FindingLimits.InfoTypeLimit.Builder (3.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

build()

public InspectConfig.FindingLimits.InfoTypeLimit build()
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit

buildPartial()

public InspectConfig.FindingLimits.InfoTypeLimit buildPartial()
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit

clear()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clear()
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder

clearMaxFindings()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearMaxFindings()

Max findings limit for the given infoType.

int32 max_findings = 2;

Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

clone()

public InspectConfig.FindingLimits.InfoTypeLimit.Builder clone()
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

getDefaultInstanceForType()

public InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType()
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InfoTypeOrBuilder

getMaxFindings()

public int getMaxFindings()

Max findings limit for the given infoType.

int32 max_findings = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the infoType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)
Parameter
NameDescription
otherInspectConfig.FindingLimits.InfoTypeLimit
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInfoType
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InspectConfig.FindingLimits.InfoTypeLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInfoType
Returns
TypeDescription
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
NameDescription
builderForValueInfoType.Builder
Returns
TypeDescription
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
NameDescription
valueint

The maxFindings to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InspectConfig.FindingLimits.InfoTypeLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InspectConfig.FindingLimits.InfoTypeLimit.Builder
Overrides