Class InspectConfig.Builder

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

public static final class InspectConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<InspectConfig.Builder> implements InspectConfigOrBuilder
 Configuration description of the scanning process.
 When used with redactContent only info_types and min_likelihood are currently
 used.
 
Protobuf type google.privacy.dlp.v2.InspectConfig
  • 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.Builder>
    • clear

      public InspectConfig.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.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.Builder>
    • getDefaultInstanceForType

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

      public InspectConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InspectConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InspectConfig.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.Builder>
    • mergeFrom

      public InspectConfig.Builder mergeFrom(InspectConfig other)
    • isInitialized

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

      public InspectConfig.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.Builder>
      Throws:
      IOException
    • getInfoTypesList

      public List<InfoType> getInfoTypesList()
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesList in interface InspectConfigOrBuilder
    • getInfoTypesCount

      public int getInfoTypesCount()
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesCount in interface InspectConfigOrBuilder
    • getInfoTypes

      public InfoType getInfoTypes(int index)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypes in interface InspectConfigOrBuilder
    • setInfoTypes

      public InspectConfig.Builder setInfoTypes(int index, InfoType value)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • setInfoTypes

      public InspectConfig.Builder setInfoTypes(int index, InfoType.Builder builderForValue)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public InspectConfig.Builder addInfoTypes(InfoType value)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public InspectConfig.Builder addInfoTypes(int index, InfoType value)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public InspectConfig.Builder addInfoTypes(InfoType.Builder builderForValue)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public InspectConfig.Builder addInfoTypes(int index, InfoType.Builder builderForValue)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addAllInfoTypes

      public InspectConfig.Builder addAllInfoTypes(Iterable<? extends InfoType> values)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • clearInfoTypes

      public InspectConfig.Builder clearInfoTypes()
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • removeInfoTypes

      public InspectConfig.Builder removeInfoTypes(int index)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesBuilder

      public InfoType.Builder getInfoTypesBuilder(int index)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesOrBuilder

      public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesOrBuilder in interface InspectConfigOrBuilder
    • getInfoTypesOrBuilderList

      public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesOrBuilderList in interface InspectConfigOrBuilder
    • addInfoTypesBuilder

      public InfoType.Builder addInfoTypesBuilder()
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypesBuilder

      public InfoType.Builder addInfoTypesBuilder(int index)
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesBuilderList

      public List<InfoType.Builder> getInfoTypesBuilderList()
       Restricts what info_types to look for. The values must correspond to
       InfoType values returned by ListInfoTypes or listed at
       https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
      
       When no InfoTypes or CustomInfoTypes are specified in a request, the
       system may automatically choose a default list of detectors to run, which
       may change over time.
      
       If you need precise control and predictability as to what detectors are
       run you should specify specific InfoTypes listed in the reference,
       otherwise a default list will be used, which may change over time.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getMinLikelihoodValue

      public int getMinLikelihoodValue()
       Only returns findings equal to or above this threshold. The default is
       POSSIBLE.
      
       In general, the highest likelihood setting yields the fewest findings in
       results and the lowest chance of a false positive. For more information,
       see [Match
       likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Specified by:
      getMinLikelihoodValue in interface InspectConfigOrBuilder
      Returns:
      The enum numeric value on the wire for minLikelihood.
    • setMinLikelihoodValue

      public InspectConfig.Builder setMinLikelihoodValue(int value)
       Only returns findings equal to or above this threshold. The default is
       POSSIBLE.
      
       In general, the highest likelihood setting yields the fewest findings in
       results and the lowest chance of a false positive. For more information,
       see [Match
       likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Parameters:
      value - The enum numeric value on the wire for minLikelihood to set.
      Returns:
      This builder for chaining.
    • getMinLikelihood

      public Likelihood getMinLikelihood()
       Only returns findings equal to or above this threshold. The default is
       POSSIBLE.
      
       In general, the highest likelihood setting yields the fewest findings in
       results and the lowest chance of a false positive. For more information,
       see [Match
       likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Specified by:
      getMinLikelihood in interface InspectConfigOrBuilder
      Returns:
      The minLikelihood.
    • setMinLikelihood

      public InspectConfig.Builder setMinLikelihood(Likelihood value)
       Only returns findings equal to or above this threshold. The default is
       POSSIBLE.
      
       In general, the highest likelihood setting yields the fewest findings in
       results and the lowest chance of a false positive. For more information,
       see [Match
       likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Parameters:
      value - The minLikelihood to set.
      Returns:
      This builder for chaining.
    • clearMinLikelihood

      public InspectConfig.Builder clearMinLikelihood()
       Only returns findings equal to or above this threshold. The default is
       POSSIBLE.
      
       In general, the highest likelihood setting yields the fewest findings in
       results and the lowest chance of a false positive. For more information,
       see [Match
       likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Returns:
      This builder for chaining.
    • getMinLikelihoodPerInfoTypeList

      public List<InspectConfig.InfoTypeLikelihood> getMinLikelihoodPerInfoTypeList()
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
      Specified by:
      getMinLikelihoodPerInfoTypeList in interface InspectConfigOrBuilder
    • getMinLikelihoodPerInfoTypeCount

      public int getMinLikelihoodPerInfoTypeCount()
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
      Specified by:
      getMinLikelihoodPerInfoTypeCount in interface InspectConfigOrBuilder
    • getMinLikelihoodPerInfoType

      public InspectConfig.InfoTypeLikelihood getMinLikelihoodPerInfoType(int index)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
      Specified by:
      getMinLikelihoodPerInfoType in interface InspectConfigOrBuilder
    • setMinLikelihoodPerInfoType

      public InspectConfig.Builder setMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood value)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • setMinLikelihoodPerInfoType

      public InspectConfig.Builder setMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood.Builder builderForValue)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • addMinLikelihoodPerInfoType

      public InspectConfig.Builder addMinLikelihoodPerInfoType(InspectConfig.InfoTypeLikelihood value)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • addMinLikelihoodPerInfoType

      public InspectConfig.Builder addMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood value)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • addMinLikelihoodPerInfoType

      public InspectConfig.Builder addMinLikelihoodPerInfoType(InspectConfig.InfoTypeLikelihood.Builder builderForValue)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • addMinLikelihoodPerInfoType

      public InspectConfig.Builder addMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood.Builder builderForValue)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • addAllMinLikelihoodPerInfoType

      public InspectConfig.Builder addAllMinLikelihoodPerInfoType(Iterable<? extends InspectConfig.InfoTypeLikelihood> values)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • clearMinLikelihoodPerInfoType

      public InspectConfig.Builder clearMinLikelihoodPerInfoType()
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • removeMinLikelihoodPerInfoType

      public InspectConfig.Builder removeMinLikelihoodPerInfoType(int index)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • getMinLikelihoodPerInfoTypeBuilder

      public InspectConfig.InfoTypeLikelihood.Builder getMinLikelihoodPerInfoTypeBuilder(int index)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • getMinLikelihoodPerInfoTypeOrBuilder

      public InspectConfig.InfoTypeLikelihoodOrBuilder getMinLikelihoodPerInfoTypeOrBuilder(int index)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
      Specified by:
      getMinLikelihoodPerInfoTypeOrBuilder in interface InspectConfigOrBuilder
    • getMinLikelihoodPerInfoTypeOrBuilderList

      public List<? extends InspectConfig.InfoTypeLikelihoodOrBuilder> getMinLikelihoodPerInfoTypeOrBuilderList()
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
      Specified by:
      getMinLikelihoodPerInfoTypeOrBuilderList in interface InspectConfigOrBuilder
    • addMinLikelihoodPerInfoTypeBuilder

      public InspectConfig.InfoTypeLikelihood.Builder addMinLikelihoodPerInfoTypeBuilder()
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • addMinLikelihoodPerInfoTypeBuilder

      public InspectConfig.InfoTypeLikelihood.Builder addMinLikelihoodPerInfoTypeBuilder(int index)
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • getMinLikelihoodPerInfoTypeBuilderList

      public List<InspectConfig.InfoTypeLikelihood.Builder> getMinLikelihoodPerInfoTypeBuilderList()
       Minimum likelihood per infotype. For each infotype, a user can specify a
       minimum likelihood. The system only returns a finding if its likelihood is
       above this threshold. If this field is not set, the system uses the
       InspectConfig min_likelihood.
       
      repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11;
    • hasLimits

      public boolean hasLimits()
       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
      Specified by:
      hasLimits in interface InspectConfigOrBuilder
      Returns:
      Whether the limits field is set.
    • getLimits

      public InspectConfig.FindingLimits getLimits()
       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
      Specified by:
      getLimits in interface InspectConfigOrBuilder
      Returns:
      The limits.
    • setLimits

       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
    • setLimits

      public InspectConfig.Builder setLimits(InspectConfig.FindingLimits.Builder builderForValue)
       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
    • mergeLimits

       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
    • clearLimits

      public InspectConfig.Builder clearLimits()
       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
    • getLimitsBuilder

      public InspectConfig.FindingLimits.Builder getLimitsBuilder()
       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
    • getLimitsOrBuilder

      public InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder()
       Configuration to control the number of findings returned.
       This is not used for 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.
      
       When set within an
       [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
       maximum values aren't hard limits. If an inspection job reaches these
       limits, the job ends gradually, not abruptly. Therefore, the actual number
       of findings that Cloud DLP returns can be multiple times higher than these
       maximum values.
       
      .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
      Specified by:
      getLimitsOrBuilder in interface InspectConfigOrBuilder
    • getIncludeQuote

      public boolean getIncludeQuote()
       When true, a contextual quote from the data that triggered a finding is
       included in the response; see
       [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for
       data profiling.
       
      bool include_quote = 4;
      Specified by:
      getIncludeQuote in interface InspectConfigOrBuilder
      Returns:
      The includeQuote.
    • setIncludeQuote

      public InspectConfig.Builder setIncludeQuote(boolean value)
       When true, a contextual quote from the data that triggered a finding is
       included in the response; see
       [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for
       data profiling.
       
      bool include_quote = 4;
      Parameters:
      value - The includeQuote to set.
      Returns:
      This builder for chaining.
    • clearIncludeQuote

      public InspectConfig.Builder clearIncludeQuote()
       When true, a contextual quote from the data that triggered a finding is
       included in the response; see
       [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for
       data profiling.
       
      bool include_quote = 4;
      Returns:
      This builder for chaining.
    • getExcludeInfoTypes

      public boolean getExcludeInfoTypes()
       When true, excludes type information of the findings.
       This is not used for data profiling.
       
      bool exclude_info_types = 5;
      Specified by:
      getExcludeInfoTypes in interface InspectConfigOrBuilder
      Returns:
      The excludeInfoTypes.
    • setExcludeInfoTypes

      public InspectConfig.Builder setExcludeInfoTypes(boolean value)
       When true, excludes type information of the findings.
       This is not used for data profiling.
       
      bool exclude_info_types = 5;
      Parameters:
      value - The excludeInfoTypes to set.
      Returns:
      This builder for chaining.
    • clearExcludeInfoTypes

      public InspectConfig.Builder clearExcludeInfoTypes()
       When true, excludes type information of the findings.
       This is not used for data profiling.
       
      bool exclude_info_types = 5;
      Returns:
      This builder for chaining.
    • getCustomInfoTypesList

      public List<CustomInfoType> getCustomInfoTypesList()
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      Specified by:
      getCustomInfoTypesList in interface InspectConfigOrBuilder
    • getCustomInfoTypesCount

      public int getCustomInfoTypesCount()
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      Specified by:
      getCustomInfoTypesCount in interface InspectConfigOrBuilder
    • getCustomInfoTypes

      public CustomInfoType getCustomInfoTypes(int index)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      Specified by:
      getCustomInfoTypes in interface InspectConfigOrBuilder
    • setCustomInfoTypes

      public InspectConfig.Builder setCustomInfoTypes(int index, CustomInfoType value)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • setCustomInfoTypes

      public InspectConfig.Builder setCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • addCustomInfoTypes

      public InspectConfig.Builder addCustomInfoTypes(CustomInfoType value)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • addCustomInfoTypes

      public InspectConfig.Builder addCustomInfoTypes(int index, CustomInfoType value)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • addCustomInfoTypes

      public InspectConfig.Builder addCustomInfoTypes(CustomInfoType.Builder builderForValue)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • addCustomInfoTypes

      public InspectConfig.Builder addCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • addAllCustomInfoTypes

      public InspectConfig.Builder addAllCustomInfoTypes(Iterable<? extends CustomInfoType> values)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • clearCustomInfoTypes

      public InspectConfig.Builder clearCustomInfoTypes()
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • removeCustomInfoTypes

      public InspectConfig.Builder removeCustomInfoTypes(int index)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • getCustomInfoTypesBuilder

      public CustomInfoType.Builder getCustomInfoTypesBuilder(int index)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • getCustomInfoTypesOrBuilder

      public CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      Specified by:
      getCustomInfoTypesOrBuilder in interface InspectConfigOrBuilder
    • getCustomInfoTypesOrBuilderList

      public List<? extends CustomInfoTypeOrBuilder> getCustomInfoTypesOrBuilderList()
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      Specified by:
      getCustomInfoTypesOrBuilderList in interface InspectConfigOrBuilder
    • addCustomInfoTypesBuilder

      public CustomInfoType.Builder addCustomInfoTypesBuilder()
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • addCustomInfoTypesBuilder

      public CustomInfoType.Builder addCustomInfoTypesBuilder(int index)
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • getCustomInfoTypesBuilderList

      public List<CustomInfoType.Builder> getCustomInfoTypesBuilderList()
       CustomInfoTypes provided by the user. See
       https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
       to learn more.
       
      repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    • getContentOptionsList

      public List<ContentOption> getContentOptionsList()
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Specified by:
      getContentOptionsList in interface InspectConfigOrBuilder
      Returns:
      A list containing the contentOptions.
    • getContentOptionsCount

      public int getContentOptionsCount()
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Specified by:
      getContentOptionsCount in interface InspectConfigOrBuilder
      Returns:
      The count of contentOptions.
    • getContentOptions

      public ContentOption getContentOptions(int index)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Specified by:
      getContentOptions in interface InspectConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The contentOptions at the given index.
    • setContentOptions

      public InspectConfig.Builder setContentOptions(int index, ContentOption value)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Parameters:
      index - The index to set the value at.
      value - The contentOptions to set.
      Returns:
      This builder for chaining.
    • addContentOptions

      public InspectConfig.Builder addContentOptions(ContentOption value)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Parameters:
      value - The contentOptions to add.
      Returns:
      This builder for chaining.
    • addAllContentOptions

      public InspectConfig.Builder addAllContentOptions(Iterable<? extends ContentOption> values)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Parameters:
      values - The contentOptions to add.
      Returns:
      This builder for chaining.
    • clearContentOptions

      public InspectConfig.Builder clearContentOptions()
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Returns:
      This builder for chaining.
    • getContentOptionsValueList

      public List<Integer> getContentOptionsValueList()
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Specified by:
      getContentOptionsValueList in interface InspectConfigOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for contentOptions.
    • getContentOptionsValue

      public int getContentOptionsValue(int index)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Specified by:
      getContentOptionsValue in interface InspectConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of contentOptions at the given index.
    • setContentOptionsValue

      public InspectConfig.Builder setContentOptionsValue(int index, int value)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for contentOptions to set.
      Returns:
      This builder for chaining.
    • addContentOptionsValue

      public InspectConfig.Builder addContentOptionsValue(int value)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Parameters:
      value - The enum numeric value on the wire for contentOptions to add.
      Returns:
      This builder for chaining.
    • addAllContentOptionsValue

      public InspectConfig.Builder addAllContentOptionsValue(Iterable<Integer> values)
       Deprecated and unused.
       
      repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
      Parameters:
      values - The enum numeric values on the wire for contentOptions to add.
      Returns:
      This builder for chaining.
    • getRuleSetList

      public List<InspectionRuleSet> getRuleSetList()
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      Specified by:
      getRuleSetList in interface InspectConfigOrBuilder
    • getRuleSetCount

      public int getRuleSetCount()
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      Specified by:
      getRuleSetCount in interface InspectConfigOrBuilder
    • getRuleSet

      public InspectionRuleSet getRuleSet(int index)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      Specified by:
      getRuleSet in interface InspectConfigOrBuilder
    • setRuleSet

      public InspectConfig.Builder setRuleSet(int index, InspectionRuleSet value)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • setRuleSet

      public InspectConfig.Builder setRuleSet(int index, InspectionRuleSet.Builder builderForValue)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • addRuleSet

      public InspectConfig.Builder addRuleSet(InspectionRuleSet value)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • addRuleSet

      public InspectConfig.Builder addRuleSet(int index, InspectionRuleSet value)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • addRuleSet

      public InspectConfig.Builder addRuleSet(InspectionRuleSet.Builder builderForValue)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • addRuleSet

      public InspectConfig.Builder addRuleSet(int index, InspectionRuleSet.Builder builderForValue)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • addAllRuleSet

      public InspectConfig.Builder addAllRuleSet(Iterable<? extends InspectionRuleSet> values)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • clearRuleSet

      public InspectConfig.Builder clearRuleSet()
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • removeRuleSet

      public InspectConfig.Builder removeRuleSet(int index)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • getRuleSetBuilder

      public InspectionRuleSet.Builder getRuleSetBuilder(int index)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • getRuleSetOrBuilder

      public InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      Specified by:
      getRuleSetOrBuilder in interface InspectConfigOrBuilder
    • getRuleSetOrBuilderList

      public List<? extends InspectionRuleSetOrBuilder> getRuleSetOrBuilderList()
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      Specified by:
      getRuleSetOrBuilderList in interface InspectConfigOrBuilder
    • addRuleSetBuilder

      public InspectionRuleSet.Builder addRuleSetBuilder()
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • addRuleSetBuilder

      public InspectionRuleSet.Builder addRuleSetBuilder(int index)
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    • getRuleSetBuilderList

      public List<InspectionRuleSet.Builder> getRuleSetBuilderList()
       Set of rules to apply to the findings for this InspectConfig.
       Exclusion rules, contained in the set are executed in the end, other
       rules are executed in the order they are specified for each info type. Not
       supported for the `metadata_key_value_expression` CustomInfoType.
       
      repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;