public static final class CustomInfoType.DetectionRule.HotwordRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder> 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.HotwordRulegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomInfoType.DetectionRule.HotwordRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.DetectionRule.HotwordRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.DetectionRule.HotwordRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder mergeFrom(CustomInfoType.DetectionRule.HotwordRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public CustomInfoType.DetectionRule.HotwordRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>IOExceptionpublic 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.DetectionRule.HotwordRule.Builder setHotwordRegex(CustomInfoType.Regex value)
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;public CustomInfoType.DetectionRule.HotwordRule.Builder setHotwordRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;public CustomInfoType.DetectionRule.HotwordRule.Builder mergeHotwordRegex(CustomInfoType.Regex value)
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;public CustomInfoType.DetectionRule.HotwordRule.Builder clearHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;public CustomInfoType.Regex.Builder getHotwordRegexBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;public 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.HotwordRule.Builder setProximity(CustomInfoType.DetectionRule.Proximity value)
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;public CustomInfoType.DetectionRule.HotwordRule.Builder setProximity(CustomInfoType.DetectionRule.Proximity.Builder builderForValue)
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;public CustomInfoType.DetectionRule.HotwordRule.Builder mergeProximity(CustomInfoType.DetectionRule.Proximity value)
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;public CustomInfoType.DetectionRule.HotwordRule.Builder clearProximity()
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;public CustomInfoType.DetectionRule.Proximity.Builder getProximityBuilder()
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;public 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.HotwordRule.Builder setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
public CustomInfoType.DetectionRule.HotwordRule.Builder setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue)
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
public CustomInfoType.DetectionRule.HotwordRule.Builder mergeLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
public CustomInfoType.DetectionRule.HotwordRule.Builder clearLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder getLikelihoodAdjustmentBuilder()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
public 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 CustomInfoType.DetectionRule.HotwordRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>public final CustomInfoType.DetectionRule.HotwordRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.HotwordRule.Builder>Copyright © 2022 Google LLC. All rights reserved.