Class ExcludeInfoTypes.Builder

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

public static final class ExcludeInfoTypes.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExcludeInfoTypes.Builder> implements ExcludeInfoTypesOrBuilder
 List of excluded infoTypes.
 
Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllInfoTypes(Iterable<? extends InfoType> values)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    addInfoTypes(int index, InfoType value)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    addInfoTypes(int index, InfoType.Builder builderForValue)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    addInfoTypes(InfoType.Builder builderForValue)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
     
     
     
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getInfoTypes(int index)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    int
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    removeInfoTypes(int index)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    setInfoTypes(int index, InfoType value)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.
    setInfoTypes(int index, InfoType.Builder builderForValue)
    InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<ExcludeInfoTypes.Builder>
    • clear

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

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

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

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

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

      public ExcludeInfoTypes.Builder mergeFrom(ExcludeInfoTypes other)
    • isInitialized

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

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

      public List<InfoType> getInfoTypesList()
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesList in interface ExcludeInfoTypesOrBuilder
    • getInfoTypesCount

      public int getInfoTypesCount()
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesCount in interface ExcludeInfoTypesOrBuilder
    • getInfoTypes

      public InfoType getInfoTypes(int index)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypes in interface ExcludeInfoTypesOrBuilder
    • setInfoTypes

      public ExcludeInfoTypes.Builder setInfoTypes(int index, InfoType value)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • setInfoTypes

      public ExcludeInfoTypes.Builder setInfoTypes(int index, InfoType.Builder builderForValue)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public ExcludeInfoTypes.Builder addInfoTypes(InfoType value)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public ExcludeInfoTypes.Builder addInfoTypes(int index, InfoType value)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public ExcludeInfoTypes.Builder addInfoTypes(InfoType.Builder builderForValue)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypes

      public ExcludeInfoTypes.Builder addInfoTypes(int index, InfoType.Builder builderForValue)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addAllInfoTypes

      public ExcludeInfoTypes.Builder addAllInfoTypes(Iterable<? extends InfoType> values)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • clearInfoTypes

      public ExcludeInfoTypes.Builder clearInfoTypes()
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • removeInfoTypes

      public ExcludeInfoTypes.Builder removeInfoTypes(int index)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesBuilder

      public InfoType.Builder getInfoTypesBuilder(int index)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesOrBuilder

      public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesOrBuilder in interface ExcludeInfoTypesOrBuilder
    • getInfoTypesOrBuilderList

      public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      Specified by:
      getInfoTypesOrBuilderList in interface ExcludeInfoTypesOrBuilder
    • addInfoTypesBuilder

      public InfoType.Builder addInfoTypesBuilder()
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • addInfoTypesBuilder

      public InfoType.Builder addInfoTypesBuilder(int index)
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    • getInfoTypesBuilderList

      public List<InfoType.Builder> getInfoTypesBuilderList()
       InfoType list in ExclusionRule rule drops a finding when it overlaps or
       contained within with a finding of an infoType from this list. For
       example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
       `exclusion_rule` containing `exclude_info_types.info_types` with
       "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
       with EMAIL_ADDRESS finding.
       That leads to "555-222-2222@example.org" to generate only a single
       finding, namely email address.
       
      repeated .google.privacy.dlp.v2.InfoType info_types = 1;