Class InspectConfig.FindingLimits.InfoTypeLimit.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder
All Implemented Interfaces:
InspectConfig.FindingLimits.InfoTypeLimitOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InspectConfig.FindingLimits.InfoTypeLimit

public static final class InspectConfig.FindingLimits.InfoTypeLimit.Builder extends com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder> implements InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
 Max findings configuration per infoType, per content item or long
 running DlpJob.
 
Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
  • 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.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
    • mergeFrom

      public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
      Throws:
      IOException
    • hasInfoType

      public boolean hasInfoType()
       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
      Specified by:
      hasInfoType in interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
      Returns:
      Whether the infoType field is set.
    • getInfoType

      public InfoType getInfoType()
       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
      Specified by:
      getInfoType in interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
      Returns:
      The infoType.
    • setInfoType

       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • setInfoType

       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • mergeInfoType

       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • clearInfoType

       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • getInfoTypeBuilder

      public InfoType.Builder getInfoTypeBuilder()
       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • getInfoTypeOrBuilder

      public InfoTypeOrBuilder getInfoTypeOrBuilder()
       Type of information the findings limit applies to. Only one limit per
       info_type should be provided. If InfoTypeLimit does not have an
       info_type, the DLP API applies the limit against all info_types that
       are found but not specified in another InfoTypeLimit.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
      Specified by:
      getInfoTypeOrBuilder in interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
    • getMaxFindings

      public int getMaxFindings()
       Max findings limit for the given infoType.
       
      int32 max_findings = 2;
      Specified by:
      getMaxFindings in interface InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
      Returns:
      The maxFindings.
    • setMaxFindings

      public InspectConfig.FindingLimits.InfoTypeLimit.Builder setMaxFindings(int value)
       Max findings limit for the given infoType.
       
      int32 max_findings = 2;
      Parameters:
      value - The maxFindings to set.
      Returns:
      This builder for chaining.
    • clearMaxFindings

       Max findings limit for the given infoType.
       
      int32 max_findings = 2;
      Returns:
      This builder for chaining.