Class AdjustByMatchingInfoTypes.Builder

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

public static final class AdjustByMatchingInfoTypes.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdjustByMatchingInfoTypes.Builder> implements AdjustByMatchingInfoTypesOrBuilder
 AdjustmentRule condition for matching infoTypes.
 
Protobuf type google.privacy.dlp.v2.AdjustByMatchingInfoTypes
  • 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<AdjustByMatchingInfoTypes.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<AdjustByMatchingInfoTypes.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<AdjustByMatchingInfoTypes.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public List<InfoType> getInfoTypesList()
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesList in interface AdjustByMatchingInfoTypesOrBuilder
    • getInfoTypesCount

      public int getInfoTypesCount()
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesCount in interface AdjustByMatchingInfoTypesOrBuilder
    • getInfoTypes

      public InfoType getInfoTypes(int index)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypes in interface AdjustByMatchingInfoTypesOrBuilder
    • setInfoTypes

      public AdjustByMatchingInfoTypes.Builder setInfoTypes(int index, InfoType value)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • setInfoTypes

      public AdjustByMatchingInfoTypes.Builder setInfoTypes(int index, InfoType.Builder builderForValue)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public AdjustByMatchingInfoTypes.Builder addInfoTypes(InfoType value)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public AdjustByMatchingInfoTypes.Builder addInfoTypes(int index, InfoType value)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public AdjustByMatchingInfoTypes.Builder addInfoTypes(InfoType.Builder builderForValue)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public AdjustByMatchingInfoTypes.Builder addInfoTypes(int index, InfoType.Builder builderForValue)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addAllInfoTypes

      public AdjustByMatchingInfoTypes.Builder addAllInfoTypes(Iterable<? extends InfoType> values)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • clearInfoTypes

      public AdjustByMatchingInfoTypes.Builder clearInfoTypes()
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • removeInfoTypes

      public AdjustByMatchingInfoTypes.Builder removeInfoTypes(int index)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesBuilder

      public InfoType.Builder getInfoTypesBuilder(int index)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesOrBuilder

      public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesOrBuilder in interface AdjustByMatchingInfoTypesOrBuilder
    • getInfoTypesOrBuilderList

      public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesOrBuilderList in interface AdjustByMatchingInfoTypesOrBuilder
    • addInfoTypesBuilder

      public InfoType.Builder addInfoTypesBuilder()
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypesBuilder

      public InfoType.Builder addInfoTypesBuilder(int index)
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesBuilderList

      public List<InfoType.Builder> getInfoTypesBuilderList()
       Sensitive Data Protection adjusts the likelihood of a finding if that
       finding also matches one of these infoTypes.
      
       For example, you can create a rule to adjust the likelihood of a
       `PHONE_NUMBER` finding if the string is found within a document that is
       classified as `DOCUMENT_TYPE/HR/RESUME`. To configure this, set
       `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `adjustment_rule`
       with an `adjust_by_matching_info_types.info_types` that contains
       `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the
       `PHONE_NUMBER` finding is adjusted, but the likelihood of the
       `DOCUMENT_TYPE/HR/RESUME` finding is not.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getMinLikelihoodValue

      public int getMinLikelihoodValue()
       Required. Minimum likelihood of the
       `adjust_by_matching_info_types.info_types` finding. If the likelihood is
       lower than this value, Sensitive Data Protection doesn't adjust the
       likelihood of the `InspectionRuleSet.info_types` finding.
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Specified by:
      getMinLikelihoodValue in interface AdjustByMatchingInfoTypesOrBuilder
      Returns:
      The enum numeric value on the wire for minLikelihood.
    • setMinLikelihoodValue

      public AdjustByMatchingInfoTypes.Builder setMinLikelihoodValue(int value)
       Required. Minimum likelihood of the
       `adjust_by_matching_info_types.info_types` finding. If the likelihood is
       lower than this value, Sensitive Data Protection doesn't adjust the
       likelihood of the `InspectionRuleSet.info_types` finding.
       
      .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()
       Required. Minimum likelihood of the
       `adjust_by_matching_info_types.info_types` finding. If the likelihood is
       lower than this value, Sensitive Data Protection doesn't adjust the
       likelihood of the `InspectionRuleSet.info_types` finding.
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Specified by:
      getMinLikelihood in interface AdjustByMatchingInfoTypesOrBuilder
      Returns:
      The minLikelihood.
    • setMinLikelihood

      public AdjustByMatchingInfoTypes.Builder setMinLikelihood(Likelihood value)
       Required. Minimum likelihood of the
       `adjust_by_matching_info_types.info_types` finding. If the likelihood is
       lower than this value, Sensitive Data Protection doesn't adjust the
       likelihood of the `InspectionRuleSet.info_types` finding.
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Parameters:
      value - The minLikelihood to set.
      Returns:
      This builder for chaining.
    • clearMinLikelihood

      public AdjustByMatchingInfoTypes.Builder clearMinLikelihood()
       Required. Minimum likelihood of the
       `adjust_by_matching_info_types.info_types` finding. If the likelihood is
       lower than this value, Sensitive Data Protection doesn't adjust the
       likelihood of the `InspectionRuleSet.info_types` finding.
       
      .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
      Returns:
      This builder for chaining.
    • getMatchingTypeValue

      public int getMatchingTypeValue()
       How the adjustment rule is applied.
      
       Only `MATCHING_TYPE_PARTIAL_MATCH` is supported:
      
       - Partial match: adjusts the findings of infoTypes specified in the
       inspection rule when they have a nonempty intersection with a finding of an
       infoType specified in this adjustment rule.
       
      .google.privacy.dlp.v2.MatchingType matching_type = 3;
      Specified by:
      getMatchingTypeValue in interface AdjustByMatchingInfoTypesOrBuilder
      Returns:
      The enum numeric value on the wire for matchingType.
    • setMatchingTypeValue

      public AdjustByMatchingInfoTypes.Builder setMatchingTypeValue(int value)
       How the adjustment rule is applied.
      
       Only `MATCHING_TYPE_PARTIAL_MATCH` is supported:
      
       - Partial match: adjusts the findings of infoTypes specified in the
       inspection rule when they have a nonempty intersection with a finding of an
       infoType specified in this adjustment rule.
       
      .google.privacy.dlp.v2.MatchingType matching_type = 3;
      Parameters:
      value - The enum numeric value on the wire for matchingType to set.
      Returns:
      This builder for chaining.
    • getMatchingType

      public MatchingType getMatchingType()
       How the adjustment rule is applied.
      
       Only `MATCHING_TYPE_PARTIAL_MATCH` is supported:
      
       - Partial match: adjusts the findings of infoTypes specified in the
       inspection rule when they have a nonempty intersection with a finding of an
       infoType specified in this adjustment rule.
       
      .google.privacy.dlp.v2.MatchingType matching_type = 3;
      Specified by:
      getMatchingType in interface AdjustByMatchingInfoTypesOrBuilder
      Returns:
      The matchingType.
    • setMatchingType

      public AdjustByMatchingInfoTypes.Builder setMatchingType(MatchingType value)
       How the adjustment rule is applied.
      
       Only `MATCHING_TYPE_PARTIAL_MATCH` is supported:
      
       - Partial match: adjusts the findings of infoTypes specified in the
       inspection rule when they have a nonempty intersection with a finding of an
       infoType specified in this adjustment rule.
       
      .google.privacy.dlp.v2.MatchingType matching_type = 3;
      Parameters:
      value - The matchingType to set.
      Returns:
      This builder for chaining.
    • clearMatchingType

      public AdjustByMatchingInfoTypes.Builder clearMatchingType()
       How the adjustment rule is applied.
      
       Only `MATCHING_TYPE_PARTIAL_MATCH` is supported:
      
       - Partial match: adjusts the findings of infoTypes specified in the
       inspection rule when they have a nonempty intersection with a finding of an
       infoType specified in this adjustment rule.
       
      .google.privacy.dlp.v2.MatchingType matching_type = 3;
      Returns:
      This builder for chaining.