Package com.google.privacy.dlp.v2
Class InspectConfig.FindingLimits.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.Builder>
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder
- All Implemented Interfaces:
InspectConfig.FindingLimitsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InspectConfig.FindingLimits
public static final class InspectConfig.FindingLimits.Builder
extends com.google.protobuf.GeneratedMessage.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][google.privacy.dlp.v2.DlpService.RedactImage] requests. Otherwise, Cloud DLP returns an error.Protobuf type
google.privacy.dlp.v2.InspectConfig.FindingLimits-
Method Summary
Modifier and TypeMethodDescriptionaddAllMaxFindingsPerInfoType(Iterable<? extends InspectConfig.FindingLimits.InfoTypeLimit> values) Configuration of findings limit given for specified infoTypes.addMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit value) Configuration of findings limit given for specified infoTypes.addMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) Configuration of findings limit given for specified infoTypes.Configuration of findings limit given for specified infoTypes.Configuration of findings limit given for specified infoTypes.Configuration of findings limit given for specified infoTypes.addMaxFindingsPerInfoTypeBuilder(int index) Configuration of findings limit given for specified infoTypes.build()clear()Configuration of findings limit given for specified infoTypes.Max number of findings that are returned for each item scanned.Max number of findings that are returned per request or job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMaxFindingsPerInfoType(int index) Configuration of findings limit given for specified infoTypes.getMaxFindingsPerInfoTypeBuilder(int index) Configuration of findings limit given for specified infoTypes.Configuration of findings limit given for specified infoTypes.intConfiguration of findings limit given for specified infoTypes.Configuration of findings limit given for specified infoTypes.getMaxFindingsPerInfoTypeOrBuilder(int index) Configuration of findings limit given for specified infoTypes.Configuration of findings limit given for specified infoTypes.intMax number of findings that are returned for each item scanned.intMax number of findings that are returned per request or job.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeMaxFindingsPerInfoType(int index) Configuration of findings limit given for specified infoTypes.setMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit value) Configuration of findings limit given for specified infoTypes.setMaxFindingsPerInfoType(int index, InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) Configuration of findings limit given for specified infoTypes.setMaxFindingsPerItem(int value) Max number of findings that are returned for each item scanned.setMaxFindingsPerRequest(int value) Max number of findings that are returned per request or job.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectConfig.FindingLimits.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.Builder>
-
mergeFrom
public InspectConfig.FindingLimits.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectConfig.FindingLimits.Builder>- Throws:
IOException
-
getMaxFindingsPerItem
public int getMaxFindingsPerItem()Max number of findings that are returned for each item scanned. When set within an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], this field is ignored. This value isn't a hard limit. If the number of findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can be multiple times higher than this value.
int32 max_findings_per_item = 1;- Specified by:
getMaxFindingsPerItemin interfaceInspectConfig.FindingLimitsOrBuilder- Returns:
- The maxFindingsPerItem.
-
setMaxFindingsPerItem
Max number of findings that are returned for each item scanned. When set within an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], this field is ignored. This value isn't a hard limit. If the number of findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can be multiple times higher than this value.
int32 max_findings_per_item = 1;- Parameters:
value- The maxFindingsPerItem to set.- Returns:
- This builder for chaining.
-
clearMaxFindingsPerItem
Max number of findings that are returned for each item scanned. When set within an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], this field is ignored. This value isn't a hard limit. If the number of findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can be multiple times higher than this value.
int32 max_findings_per_item = 1;- Returns:
- This builder for chaining.
-
getMaxFindingsPerRequest
public int getMaxFindingsPerRequest()Max number of findings that are returned per request or job. If you set this field in an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the resulting maximum value is the value that you set or 3,000, whichever is lower. This value isn't a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than this value.
int32 max_findings_per_request = 2;- Specified by:
getMaxFindingsPerRequestin interfaceInspectConfig.FindingLimitsOrBuilder- Returns:
- The maxFindingsPerRequest.
-
setMaxFindingsPerRequest
Max number of findings that are returned per request or job. If you set this field in an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the resulting maximum value is the value that you set or 3,000, whichever is lower. This value isn't a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than this value.
int32 max_findings_per_request = 2;- Parameters:
value- The maxFindingsPerRequest to set.- Returns:
- This builder for chaining.
-
clearMaxFindingsPerRequest
Max number of findings that are returned per request or job. If you set this field in an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the resulting maximum value is the value that you set or 3,000, whichever is lower. This value isn't a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than this value.
int32 max_findings_per_request = 2;- Returns:
- This builder for chaining.
-
getMaxFindingsPerInfoTypeList
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;- Specified by:
getMaxFindingsPerInfoTypeListin interfaceInspectConfig.FindingLimitsOrBuilder
-
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;- Specified by:
getMaxFindingsPerInfoTypeCountin interfaceInspectConfig.FindingLimitsOrBuilder
-
getMaxFindingsPerInfoType
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;- Specified by:
getMaxFindingsPerInfoTypein interfaceInspectConfig.FindingLimitsOrBuilder
-
setMaxFindingsPerInfoType
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
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; -
addMaxFindingsPerInfoType
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
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
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
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; -
addAllMaxFindingsPerInfoType
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; -
clearMaxFindingsPerInfoType
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; -
removeMaxFindingsPerInfoType
Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; -
getMaxFindingsPerInfoTypeBuilder
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; -
getMaxFindingsPerInfoTypeOrBuilder
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;- Specified by:
getMaxFindingsPerInfoTypeOrBuilderin interfaceInspectConfig.FindingLimitsOrBuilder
-
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;- Specified by:
getMaxFindingsPerInfoTypeOrBuilderListin interfaceInspectConfig.FindingLimitsOrBuilder
-
addMaxFindingsPerInfoTypeBuilder
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(int index) Configuration of findings limit given for specified infoTypes.
repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; -
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;
-