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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExcludeInfoTypes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExcludeInfoTypes build()
Returns
buildPartial()
public ExcludeInfoTypes buildPartial()
Returns
clear()
public ExcludeInfoTypes.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExcludeInfoTypes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ExcludeInfoTypes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ExcludeInfoTypes.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ExcludeInfoTypes getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExcludeInfoTypes other)
public ExcludeInfoTypes.Builder mergeFrom(ExcludeInfoTypes other)
Parameter
Returns
public ExcludeInfoTypes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExcludeInfoTypes.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExcludeInfoTypes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ExcludeInfoTypes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExcludeInfoTypes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExcludeInfoTypes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides