public static final class InspectConfig.FindingLimits.Builder extends GeneratedMessageV3.Builder<InspectConfig.FindingLimits.Builder> implements InspectConfig.FindingLimitsOrBuilder
Configuration to control the number of findings returned for inspection.
This is not used for de-identification or data profiling.
When redacting sensitive data from images, finding limits don't apply. They
can cause unexpected or inconsistent results, where only some data is
redacted. Don't include finding limits in
RedactImage
requests. Otherwise, Cloud DLP returns an error.
Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits
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()
Methods
addAllMaxFindingsPerInfoType(Iterable<? extends InspectConfig.FindingLimits.InfoTypeLimit> values)
public InspectConfig.FindingLimits.Builder addAllMaxFindingsPerInfoType(Iterable<? extends InspectConfig.FindingLimits.InfoTypeLimit> values)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>
|
addMaxFindingsPerInfoType(InspectConfig.FindingLimits.InfoTypeLimit value)
public InspectConfig.FindingLimits.Builder addMaxFindingsPerInfoType(InspectConfig.FindingLimits.InfoTypeLimit value)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
addMaxFindingsPerInfoType(InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue)
public InspectConfig.FindingLimits.Builder addMaxFindingsPerInfoType(InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
addMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit value)
public InspectConfig.FindingLimits.Builder addMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit value)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
addMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue)
public InspectConfig.FindingLimits.Builder addMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
addMaxFindingsPerInfoTypeBuilder()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder addMaxFindingsPerInfoTypeBuilder()
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
addMaxFindingsPerInfoTypeBuilder(int index)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder addMaxFindingsPerInfoTypeBuilder(int index)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.FindingLimits.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InspectConfig.FindingLimits build()
buildPartial()
public InspectConfig.FindingLimits buildPartial()
clear()
public InspectConfig.FindingLimits.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InspectConfig.FindingLimits.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxFindingsPerInfoType()
public InspectConfig.FindingLimits.Builder clearMaxFindingsPerInfoType()
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
clearMaxFindingsPerItem()
public InspectConfig.FindingLimits.Builder clearMaxFindingsPerItem()
Max number of findings that will be returned for each item scanned.
When set within InspectJobConfig
,
the maximum returned is 2000 regardless if this is set higher.
When set within InspectContentRequest
, this field is ignored.
int32 max_findings_per_item = 1;
clearMaxFindingsPerRequest()
public InspectConfig.FindingLimits.Builder clearMaxFindingsPerRequest()
Max number of findings that will be returned per request/job.
When set within InspectContentRequest
, the maximum returned is 2000
regardless if this is set higher.
int32 max_findings_per_request = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectConfig.FindingLimits.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InspectConfig.FindingLimits.Builder clone()
Overrides
getDefaultInstanceForType()
public InspectConfig.FindingLimits getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMaxFindingsPerInfoType(int index)
public InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Parameter |
---|
Name | Description |
index | int
|
getMaxFindingsPerInfoTypeBuilder(int index)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder getMaxFindingsPerInfoTypeBuilder(int index)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Parameter |
---|
Name | Description |
index | int
|
getMaxFindingsPerInfoTypeBuilderList()
public List<InspectConfig.FindingLimits.InfoTypeLimit.Builder> getMaxFindingsPerInfoTypeBuilderList()
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
getMaxFindingsPerInfoTypeCount()
public int getMaxFindingsPerInfoTypeCount()
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Returns |
---|
Type | Description |
int | |
getMaxFindingsPerInfoTypeList()
public List<InspectConfig.FindingLimits.InfoTypeLimit> getMaxFindingsPerInfoTypeList()
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
getMaxFindingsPerInfoTypeOrBuilder(int index)
public InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder(int index)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Parameter |
---|
Name | Description |
index | int
|
getMaxFindingsPerInfoTypeOrBuilderList()
public List<? extends InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> getMaxFindingsPerInfoTypeOrBuilderList()
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Returns |
---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> | |
getMaxFindingsPerItem()
public int getMaxFindingsPerItem()
Max number of findings that will be returned for each item scanned.
When set within InspectJobConfig
,
the maximum returned is 2000 regardless if this is set higher.
When set within InspectContentRequest
, this field is ignored.
int32 max_findings_per_item = 1;
Returns |
---|
Type | Description |
int | The maxFindingsPerItem.
|
getMaxFindingsPerRequest()
public int getMaxFindingsPerRequest()
Max number of findings that will be returned per request/job.
When set within InspectContentRequest
, the maximum returned is 2000
regardless if this is set higher.
int32 max_findings_per_request = 2;
Returns |
---|
Type | Description |
int | The maxFindingsPerRequest.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InspectConfig.FindingLimits other)
public InspectConfig.FindingLimits.Builder mergeFrom(InspectConfig.FindingLimits other)
public InspectConfig.FindingLimits.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InspectConfig.FindingLimits.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.FindingLimits.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMaxFindingsPerInfoType(int index)
public InspectConfig.FindingLimits.Builder removeMaxFindingsPerInfoType(int index)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.FindingLimits.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit value)
public InspectConfig.FindingLimits.Builder setMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit value)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
setMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue)
public InspectConfig.FindingLimits.Builder setMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue)
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
setMaxFindingsPerItem(int value)
public InspectConfig.FindingLimits.Builder setMaxFindingsPerItem(int value)
Max number of findings that will be returned for each item scanned.
When set within InspectJobConfig
,
the maximum returned is 2000 regardless if this is set higher.
When set within InspectContentRequest
, this field is ignored.
int32 max_findings_per_item = 1;
Parameter |
---|
Name | Description |
value | int
The maxFindingsPerItem to set.
|
setMaxFindingsPerRequest(int value)
public InspectConfig.FindingLimits.Builder setMaxFindingsPerRequest(int value)
Max number of findings that will be returned per request/job.
When set within InspectContentRequest
, the maximum returned is 2000
regardless if this is set higher.
int32 max_findings_per_request = 2;
Parameter |
---|
Name | Description |
value | int
The maxFindingsPerRequest to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectConfig.FindingLimits.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.FindingLimits.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides