public static final class ExcludeInfoTypes.Builder extends GeneratedMessageV3.Builder<ExcludeInfoTypes.Builder> implements ExcludeInfoTypesOrBuilder
List of excluded infoTypes.
Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExcludeInfoTypes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExcludeInfoTypes build()
buildPartial()
public ExcludeInfoTypes buildPartial()
clear()
public ExcludeInfoTypes.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExcludeInfoTypes.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExcludeInfoTypes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ExcludeInfoTypes.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExcludeInfoTypes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExcludeInfoTypes.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExcludeInfoTypes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExcludeInfoTypes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides