Class ExcludeInfoTypes (3.57.0)

public final class ExcludeInfoTypes extends GeneratedMessageV3 implements ExcludeInfoTypesOrBuilder

List of excluded infoTypes.

Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes

Static Fields

INFO_TYPES_FIELD_NUMBER

public static final int INFO_TYPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExcludeInfoTypes getDefaultInstance()
Returns
Type Description
ExcludeInfoTypes

getDescriptor()

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

newBuilder()

public static ExcludeInfoTypes.Builder newBuilder()
Returns
Type Description
ExcludeInfoTypes.Builder

newBuilder(ExcludeInfoTypes prototype)

public static ExcludeInfoTypes.Builder newBuilder(ExcludeInfoTypes prototype)
Parameter
Name Description
prototype ExcludeInfoTypes
Returns
Type Description
ExcludeInfoTypes.Builder

parseDelimitedFrom(InputStream input)

public static ExcludeInfoTypes parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExcludeInfoTypes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExcludeInfoTypes parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExcludeInfoTypes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExcludeInfoTypes parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExcludeInfoTypes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExcludeInfoTypes parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExcludeInfoTypes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExcludeInfoTypes parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExcludeInfoTypes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExcludeInfoTypes parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExcludeInfoTypes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeInfoTypes
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExcludeInfoTypes> parser()
Returns
Type Description
Parser<ExcludeInfoTypes>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExcludeInfoTypes getDefaultInstanceForType()
Returns
Type Description
ExcludeInfoTypes

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

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>

getParserForType()

public Parser<ExcludeInfoTypes> getParserForType()
Returns
Type Description
Parser<ExcludeInfoTypes>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExcludeInfoTypes.Builder newBuilderForType()
Returns
Type Description
ExcludeInfoTypes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExcludeInfoTypes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExcludeInfoTypes.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExcludeInfoTypes.Builder toBuilder()
Returns
Type Description
ExcludeInfoTypes.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException