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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      getMaxFindingsPerItem in interface InspectConfig.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:
      getMaxFindingsPerRequest in interface InspectConfig.FindingLimitsOrBuilder
      Returns:
      The maxFindingsPerRequest.
    • 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;
      Specified by:
      getMaxFindingsPerInfoTypeList in interface InspectConfig.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:
      getMaxFindingsPerInfoTypeOrBuilderList in interface InspectConfig.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:
      getMaxFindingsPerInfoTypeCount in interface InspectConfig.FindingLimitsOrBuilder
    • getMaxFindingsPerInfoType

      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;
      Specified by:
      getMaxFindingsPerInfoType in interface InspectConfig.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:
      getMaxFindingsPerInfoTypeOrBuilder in interface InspectConfig.FindingLimitsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static InspectConfig.FindingLimits parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InspectConfig.FindingLimits parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InspectConfig.FindingLimits parseDelimitedFrom(InputStream input) throws IOException
      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

      public InspectConfig.FindingLimits.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InspectConfig.FindingLimits.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InspectConfig.FindingLimits.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InspectConfig.FindingLimits getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InspectConfig.FindingLimits> parser()
    • getParserForType

      public com.google.protobuf.Parser<InspectConfig.FindingLimits> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InspectConfig.FindingLimits getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder