public static final class ExcludeInfoTypes.Builder extends GeneratedMessage.Builder<ExcludeInfoTypes.Builder> implements ExcludeInfoTypesOrBuilder
List of excluded infoTypes.
Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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;
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;
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;
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(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
|
build()
public ExcludeInfoTypes build()
buildPartial()
public ExcludeInfoTypes buildPartial()
clear()
public ExcludeInfoTypes.Builder clear()
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;
getDefaultInstanceForType()
public ExcludeInfoTypes getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExcludeInfoTypes other)
public ExcludeInfoTypes.Builder mergeFrom(ExcludeInfoTypes other)
public ExcludeInfoTypes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExcludeInfoTypes.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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;
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;