public static final class InspectConfig.FindingLimits.Builder extends GeneratedMessageV3.Builder<InspectConfig.FindingLimits.Builder> implements InspectConfig.FindingLimitsOrBuilder
Configuration to control the number of findings returned. Cannot be set if
de-identification is requested.
Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.FindingLimits.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InspectConfig.FindingLimits build()
Returns
buildPartial()
public InspectConfig.FindingLimits buildPartial()
Returns
clear()
public InspectConfig.FindingLimits.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InspectConfig.FindingLimits.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectConfig.FindingLimits.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InspectConfig.FindingLimits.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InspectConfig.FindingLimits getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InspectConfig.FindingLimits other)
public InspectConfig.FindingLimits.Builder mergeFrom(InspectConfig.FindingLimits other)
Parameter
Returns
public InspectConfig.FindingLimits.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InspectConfig.FindingLimits.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.FindingLimits.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.FindingLimits.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectConfig.FindingLimits.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.FindingLimits.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides