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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InspectConfig.FindingLimits.InfoTypeLimit build()
Returns
buildPartial()
public InspectConfig.FindingLimits.InfoTypeLimit buildPartial()
Returns
clear()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearMaxFindings()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearMaxFindings()
Max findings limit for the given infoType.
int32 max_findings = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)
Parameter
Returns
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.FindingLimits.InfoTypeLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides