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
Static Methods
getDefaultInstance()
public static ExcludeInfoTypes getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ExcludeInfoTypes.Builder newBuilder()
Returns
newBuilder(ExcludeInfoTypes prototype)
public static ExcludeInfoTypes.Builder newBuilder(ExcludeInfoTypes prototype)
Parameter
Returns
public static ExcludeInfoTypes parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExcludeInfoTypes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ExcludeInfoTypes parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExcludeInfoTypes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ExcludeInfoTypes parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExcludeInfoTypes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExcludeInfoTypes parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExcludeInfoTypes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExcludeInfoTypes parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExcludeInfoTypes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ExcludeInfoTypes parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExcludeInfoTypes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ExcludeInfoTypes> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ExcludeInfoTypes getDefaultInstanceForType()
Returns
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
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> | |
getParserForType()
public Parser<ExcludeInfoTypes> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ExcludeInfoTypes.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExcludeInfoTypes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ExcludeInfoTypes.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions