public static final class CustomInfoType.DetectionRule.HotwordRule extends com.google.protobuf.GeneratedMessageV3 implements CustomInfoType.DetectionRule.HotwordRuleOrBuilder
The rule that adjusts the likelihood of findings within a certain proximity of hotwords.Protobuf type
google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule| Modifier and Type | Class and Description |
|---|---|
static class |
CustomInfoType.DetectionRule.HotwordRule.Builder
The rule that adjusts the likelihood of findings within a certain
proximity of hotwords.
|
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 |
HOTWORD_REGEX_FIELD_NUMBER |
static int |
LIKELIHOOD_ADJUSTMENT_FIELD_NUMBER |
static int |
PROXIMITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CustomInfoType.DetectionRule.HotwordRule |
getDefaultInstance() |
CustomInfoType.DetectionRule.HotwordRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CustomInfoType.Regex |
getHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
|
CustomInfoType.RegexOrBuilder |
getHotwordRegexOrBuilder()
Regular expression pattern defining what qualifies as a hotword.
|
CustomInfoType.DetectionRule.LikelihoodAdjustment |
getLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
|
CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder |
getLikelihoodAdjustmentOrBuilder()
Likelihood adjustment to apply to all matching findings.
|
com.google.protobuf.Parser<CustomInfoType.DetectionRule.HotwordRule> |
getParserForType() |
CustomInfoType.DetectionRule.Proximity |
getProximity()
Range of characters within which the entire hotword must reside.
|
CustomInfoType.DetectionRule.ProximityOrBuilder |
getProximityOrBuilder()
Range of characters within which the entire hotword must reside.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
|
boolean |
hasLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
|
boolean |
hasProximity()
Range of characters within which the entire hotword must reside.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomInfoType.DetectionRule.HotwordRule.Builder |
newBuilder() |
static CustomInfoType.DetectionRule.HotwordRule.Builder |
newBuilder(CustomInfoType.DetectionRule.HotwordRule prototype) |
CustomInfoType.DetectionRule.HotwordRule.Builder |
newBuilderForType() |
protected CustomInfoType.DetectionRule.HotwordRule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomInfoType.DetectionRule.HotwordRule |
parseDelimitedFrom(InputStream input) |
static CustomInfoType.DetectionRule.HotwordRule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(byte[] data) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(ByteBuffer data) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(com.google.protobuf.ByteString data) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(InputStream input) |
static CustomInfoType.DetectionRule.HotwordRule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomInfoType.DetectionRule.HotwordRule> |
parser() |
CustomInfoType.DetectionRule.HotwordRule.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 HOTWORD_REGEX_FIELD_NUMBER
public static final int PROXIMITY_FIELD_NUMBER
public static final int LIKELIHOOD_ADJUSTMENT_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 boolean hasHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;hasHotwordRegex in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic CustomInfoType.Regex getHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;getHotwordRegex in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;getHotwordRegexOrBuilder in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic boolean hasProximity()
Range of characters within which the entire hotword must reside.
The total length of the window cannot exceed 1000 characters.
The finding itself will be included in the window, so that hotwords can
be used to match substrings of the finding itself. Suppose you
want Cloud DLP to promote the likelihood of the phone number
regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the
area code of a company's office. In this case, use the hotword regex
"\(xxx\)", where "xxx" is the area code in question.
For tabular data, if you want to modify the likelihood of an entire
column of findngs, see
[Hotword example: Set the match likelihood of a table column]
(https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values).
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;hasProximity in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic CustomInfoType.DetectionRule.Proximity getProximity()
Range of characters within which the entire hotword must reside.
The total length of the window cannot exceed 1000 characters.
The finding itself will be included in the window, so that hotwords can
be used to match substrings of the finding itself. Suppose you
want Cloud DLP to promote the likelihood of the phone number
regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the
area code of a company's office. In this case, use the hotword regex
"\(xxx\)", where "xxx" is the area code in question.
For tabular data, if you want to modify the likelihood of an entire
column of findngs, see
[Hotword example: Set the match likelihood of a table column]
(https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values).
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;getProximity in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder()
Range of characters within which the entire hotword must reside.
The total length of the window cannot exceed 1000 characters.
The finding itself will be included in the window, so that hotwords can
be used to match substrings of the finding itself. Suppose you
want Cloud DLP to promote the likelihood of the phone number
regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the
area code of a company's office. In this case, use the hotword regex
"\(xxx\)", where "xxx" is the area code in question.
For tabular data, if you want to modify the likelihood of an entire
column of findngs, see
[Hotword example: Set the match likelihood of a table column]
(https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values).
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;getProximityOrBuilder in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic boolean hasLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
hasLikelihoodAdjustment in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
getLikelihoodAdjustment in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
getLikelihoodAdjustmentOrBuilder in interface CustomInfoType.DetectionRule.HotwordRuleOrBuilderpublic 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 CustomInfoType.DetectionRule.HotwordRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomInfoType.DetectionRule.HotwordRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomInfoType.DetectionRule.HotwordRule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomInfoType.DetectionRule.HotwordRule.Builder newBuilder()
public static CustomInfoType.DetectionRule.HotwordRule.Builder newBuilder(CustomInfoType.DetectionRule.HotwordRule prototype)
public CustomInfoType.DetectionRule.HotwordRule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomInfoType.DetectionRule.HotwordRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomInfoType.DetectionRule.HotwordRule getDefaultInstance()
public static com.google.protobuf.Parser<CustomInfoType.DetectionRule.HotwordRule> parser()
public com.google.protobuf.Parser<CustomInfoType.DetectionRule.HotwordRule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.