Class ExcludeInfoTypes.Builder (3.4.0)

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

List of exclude infoTypes.

Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.InfoType>
Returns
TypeDescription
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
NameDescription
valueInfoType
Returns
TypeDescription
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
NameDescription
builderForValueInfoType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInfoType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoType.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InfoType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExcludeInfoTypes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides

build()

public ExcludeInfoTypes build()
Returns
TypeDescription
ExcludeInfoTypes

buildPartial()

public ExcludeInfoTypes buildPartial()
Returns
TypeDescription
ExcludeInfoTypes

clear()

public ExcludeInfoTypes.Builder clear()
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExcludeInfoTypes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ExcludeInfoTypes.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExcludeInfoTypes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides

clone()

public ExcludeInfoTypes.Builder clone()
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides

getDefaultInstanceForType()

public ExcludeInfoTypes getDefaultInstanceForType()
Returns
TypeDescription
ExcludeInfoTypes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExcludeInfoTypes other)

public ExcludeInfoTypes.Builder mergeFrom(ExcludeInfoTypes other)
Parameter
NameDescription
otherExcludeInfoTypes
Returns
TypeDescription
ExcludeInfoTypes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExcludeInfoTypes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExcludeInfoTypes.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExcludeInfoTypes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ExcludeInfoTypes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExcludeInfoTypes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInfoType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoType.Builder
Returns
TypeDescription
ExcludeInfoTypes.Builder

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

public ExcludeInfoTypes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExcludeInfoTypes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExcludeInfoTypes.Builder
Overrides