Package com.google.privacy.dlp.v2
Class InspectConfig.FindingLimits
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.InspectConfig.FindingLimits
- All Implemented Interfaces:
InspectConfig.FindingLimitsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- InspectConfig
public static final class InspectConfig.FindingLimits
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration to control the number of findings returned for inspection.static final classMax findings configuration per infoType, per content item or long running DlpJob.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InspectConfig.FindingLimitsstatic final com.google.protobuf.Descriptors.DescriptorgetMaxFindingsPerInfoType(int index) 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.com.google.protobuf.Parser<InspectConfig.FindingLimits>intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(InspectConfig.FindingLimits prototype) protected InspectConfig.FindingLimits.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InspectConfig.FindingLimitsparseDelimitedFrom(InputStream input) static InspectConfig.FindingLimitsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InspectConfig.FindingLimitsparseFrom(byte[] data) static InspectConfig.FindingLimitsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InspectConfig.FindingLimitsparseFrom(com.google.protobuf.ByteString data) static InspectConfig.FindingLimitsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InspectConfig.FindingLimitsparseFrom(com.google.protobuf.CodedInputStream input) static InspectConfig.FindingLimitsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InspectConfig.FindingLimitsparseFrom(InputStream input) static InspectConfig.FindingLimitsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InspectConfig.FindingLimitsparseFrom(ByteBuffer data) static InspectConfig.FindingLimitsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InspectConfig.FindingLimits>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAX_FINDINGS_PER_ITEM_FIELD_NUMBER
public static final int MAX_FINDINGS_PER_ITEM_FIELD_NUMBER- See Also:
-
MAX_FINDINGS_PER_REQUEST_FIELD_NUMBER
public static final int MAX_FINDINGS_PER_REQUEST_FIELD_NUMBER- See Also:
-
MAX_FINDINGS_PER_INFO_TYPE_FIELD_NUMBER
public static final int MAX_FINDINGS_PER_INFO_TYPE_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static InspectConfig.FindingLimits parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InspectConfig.FindingLimits parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InspectConfig.FindingLimits.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-