Class ExcludeInfoTypes.Builder (3.47.0)

public static final class ExcludeInfoTypes.Builder extends GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder> implements ExcludeInfoTypesOrBuilder

List of excluded infoTypes.

Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInfoTypes(Iterable<? extends InfoType> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.InfoType>
Returns
Type Description
ExcludeInfoTypes.Builder

addInfoTypes(InfoType value)

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;

Parameter
Name Description
value InfoType
Returns
Type Description
ExcludeInfoTypes.Builder

addInfoTypes(InfoType.Builder builderForValue)

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;

Parameter
Name Description
builderForValue InfoType.Builder
Returns
Type Description
ExcludeInfoTypes.Builder

addInfoTypes(int index, InfoType value)

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;

Parameters
Name Description
index int
value InfoType
Returns
Type Description
ExcludeInfoTypes.Builder

addInfoTypes(int index, InfoType.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue InfoType.Builder
Returns
Type Description
ExcludeInfoTypes.Builder

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;

Returns
Type Description
InfoType.Builder

addInfoTypesBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
InfoType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExcludeInfoTypes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

build()

public ExcludeInfoTypes build()
Returns
Type Description
ExcludeInfoTypes

buildPartial()

public ExcludeInfoTypes buildPartial()
Returns
Type Description
ExcludeInfoTypes

clear()

public ExcludeInfoTypes.Builder clear()
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExcludeInfoTypes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

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;

Returns
Type Description
ExcludeInfoTypes.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExcludeInfoTypes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

clone()

public ExcludeInfoTypes.Builder clone()
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

getDefaultInstanceForType()

public ExcludeInfoTypes getDefaultInstanceForType()
Returns
Type Description
ExcludeInfoTypes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInfoTypes(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
InfoType

getInfoTypesBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
InfoType.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<InfoType>

getInfoTypesOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeOrBuilder

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;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExcludeInfoTypes other)

public ExcludeInfoTypes.Builder mergeFrom(ExcludeInfoTypes other)
Parameter
Name Description
other ExcludeInfoTypes
Returns
Type Description
ExcludeInfoTypes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExcludeInfoTypes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExcludeInfoTypes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExcludeInfoTypes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

removeInfoTypes(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ExcludeInfoTypes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExcludeInfoTypes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

setInfoTypes(int index, InfoType value)

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;

Parameters
Name Description
index int
value InfoType
Returns
Type Description
ExcludeInfoTypes.Builder

setInfoTypes(int index, InfoType.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue InfoType.Builder
Returns
Type Description
ExcludeInfoTypes.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExcludeInfoTypes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExcludeInfoTypes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides