public final class ExclusionRule extends com.google.protobuf.GeneratedMessageV3 implements ExclusionRuleOrBuilder
The rule that specifies conditions when findings of infoTypes specified in `InspectionRuleSet` are removed from results.Protobuf type
google.privacy.dlp.v2.ExclusionRule| Modifier and Type | Class and Description |
|---|---|
static class |
ExclusionRule.Builder
The rule that specifies conditions when findings of infoTypes specified in
`InspectionRuleSet` are removed from results.
|
static class |
ExclusionRule.TypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DICTIONARY_FIELD_NUMBER |
static int |
EXCLUDE_INFO_TYPES_FIELD_NUMBER |
static int |
MATCHING_TYPE_FIELD_NUMBER |
static int |
REGEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExclusionRule |
getDefaultInstance() |
ExclusionRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CustomInfoType.Dictionary |
getDictionary()
Dictionary which defines the rule.
|
CustomInfoType.DictionaryOrBuilder |
getDictionaryOrBuilder()
Dictionary which defines the rule.
|
ExcludeInfoTypes |
getExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
|
ExcludeInfoTypesOrBuilder |
getExcludeInfoTypesOrBuilder()
Set of infoTypes for which findings would affect this rule.
|
MatchingType |
getMatchingType()
How the rule is applied, see MatchingType documentation for details.
|
int |
getMatchingTypeValue()
How the rule is applied, see MatchingType documentation for details.
|
com.google.protobuf.Parser<ExclusionRule> |
getParserForType() |
CustomInfoType.Regex |
getRegex()
Regular expression which defines the rule.
|
CustomInfoType.RegexOrBuilder |
getRegexOrBuilder()
Regular expression which defines the rule.
|
int |
getSerializedSize() |
ExclusionRule.TypeCase |
getTypeCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDictionary()
Dictionary which defines the rule.
|
boolean |
hasExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
|
int |
hashCode() |
boolean |
hasRegex()
Regular expression which defines the rule.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExclusionRule.Builder |
newBuilder() |
static ExclusionRule.Builder |
newBuilder(ExclusionRule prototype) |
ExclusionRule.Builder |
newBuilderForType() |
protected ExclusionRule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExclusionRule |
parseDelimitedFrom(InputStream input) |
static ExclusionRule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExclusionRule |
parseFrom(byte[] data) |
static ExclusionRule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExclusionRule |
parseFrom(ByteBuffer data) |
static ExclusionRule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExclusionRule |
parseFrom(com.google.protobuf.ByteString data) |
static ExclusionRule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExclusionRule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExclusionRule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExclusionRule |
parseFrom(InputStream input) |
static ExclusionRule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExclusionRule> |
parser() |
ExclusionRule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DICTIONARY_FIELD_NUMBER
public static final int REGEX_FIELD_NUMBER
public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER
public static final int MATCHING_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ExclusionRule.TypeCase getTypeCase()
getTypeCase in interface ExclusionRuleOrBuilderpublic boolean hasDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;hasDictionary in interface ExclusionRuleOrBuilderpublic CustomInfoType.Dictionary getDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;getDictionary in interface ExclusionRuleOrBuilderpublic CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;getDictionaryOrBuilder in interface ExclusionRuleOrBuilderpublic boolean hasRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;hasRegex in interface ExclusionRuleOrBuilderpublic CustomInfoType.Regex getRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;getRegex in interface ExclusionRuleOrBuilderpublic CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;getRegexOrBuilder in interface ExclusionRuleOrBuilderpublic boolean hasExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;hasExcludeInfoTypes in interface ExclusionRuleOrBuilderpublic ExcludeInfoTypes getExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;getExcludeInfoTypes in interface ExclusionRuleOrBuilderpublic ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;getExcludeInfoTypesOrBuilder in interface ExclusionRuleOrBuilderpublic int getMatchingTypeValue()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;getMatchingTypeValue in interface ExclusionRuleOrBuilderpublic MatchingType getMatchingType()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;getMatchingType in interface ExclusionRuleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExclusionRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExclusionRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExclusionRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExclusionRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExclusionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExclusionRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExclusionRule parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExclusionRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExclusionRule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExclusionRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExclusionRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExclusionRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExclusionRule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExclusionRule.Builder newBuilder()
public static ExclusionRule.Builder newBuilder(ExclusionRule prototype)
public ExclusionRule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExclusionRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExclusionRule getDefaultInstance()
public static com.google.protobuf.Parser<ExclusionRule> parser()
public com.google.protobuf.Parser<ExclusionRule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExclusionRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.