Class 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.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
    implements ExcludeInfoTypesOrBuilder
     List of excluded infoTypes.
     
    Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ExcludeInfoTypes.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
      • setField

        public ExcludeInfoTypes.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
      • clearField

        public ExcludeInfoTypes.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
      • clearOneof

        public ExcludeInfoTypes.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
      • setRepeatedField

        public ExcludeInfoTypes.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
      • addRepeatedField

        public ExcludeInfoTypes.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • setUnknownFields

        public final ExcludeInfoTypes.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>
      • mergeUnknownFields

        public final ExcludeInfoTypes.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder>