- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class CustomInfoType.DetectionRule.HotwordRule.Builder extends 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.HotwordRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CustomInfoType.DetectionRule.HotwordRule.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType.DetectionRule.HotwordRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
build()
public CustomInfoType.DetectionRule.HotwordRule build()
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule |
buildPartial()
public CustomInfoType.DetectionRule.HotwordRule buildPartial()
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule |
clear()
public CustomInfoType.DetectionRule.HotwordRule.Builder clear()
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public CustomInfoType.DetectionRule.HotwordRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
clearHotwordRegex()
public CustomInfoType.DetectionRule.HotwordRule.Builder clearHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
clearLikelihoodAdjustment()
public CustomInfoType.DetectionRule.HotwordRule.Builder clearLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomInfoType.DetectionRule.HotwordRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
clearProximity()
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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
clone()
public CustomInfoType.DetectionRule.HotwordRule.Builder clone()
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
getDefaultInstanceForType()
public CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHotwordRegex()
public CustomInfoType.Regex getHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
Returns | |
---|---|
Type | Description |
CustomInfoType.Regex |
The hotwordRegex. |
getHotwordRegexBuilder()
public CustomInfoType.Regex.Builder getHotwordRegexBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
Returns | |
---|---|
Type | Description |
CustomInfoType.Regex.Builder |
getHotwordRegexOrBuilder()
public CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
Returns | |
---|---|
Type | Description |
CustomInfoType.RegexOrBuilder |
getLikelihoodAdjustment()
public CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.LikelihoodAdjustment |
The likelihoodAdjustment. |
getLikelihoodAdjustmentBuilder()
public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder getLikelihoodAdjustmentBuilder()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder |
getLikelihoodAdjustmentOrBuilder()
public CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder |
getProximity()
public 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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.Proximity |
The proximity. |
getProximityBuilder()
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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.Proximity.Builder |
getProximityOrBuilder()
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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.ProximityOrBuilder |
hasHotwordRegex()
public boolean hasHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the hotwordRegex field is set. |
hasLikelihoodAdjustment()
public boolean hasLikelihoodAdjustment()
Likelihood adjustment to apply to all matching findings.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the likelihoodAdjustment field is set. |
hasProximity()
public 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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the proximity field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CustomInfoType.DetectionRule.HotwordRule other)
public CustomInfoType.DetectionRule.HotwordRule.Builder mergeFrom(CustomInfoType.DetectionRule.HotwordRule other)
Parameter | |
---|---|
Name | Description |
other |
CustomInfoType.DetectionRule.HotwordRule |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomInfoType.DetectionRule.HotwordRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CustomInfoType.DetectionRule.HotwordRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
mergeHotwordRegex(CustomInfoType.Regex value)
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;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType.Regex |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
mergeLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)
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;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType.DetectionRule.LikelihoodAdjustment |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
mergeProximity(CustomInfoType.DetectionRule.Proximity value)
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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType.DetectionRule.Proximity |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType.DetectionRule.HotwordRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType.DetectionRule.HotwordRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setHotwordRegex(CustomInfoType.Regex value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType.Regex |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setHotwordRegex(CustomInfoType.Regex.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
CustomInfoType.Regex.Builder |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType.DetectionRule.LikelihoodAdjustment |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setProximity(CustomInfoType.DetectionRule.Proximity value)
public 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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType.DetectionRule.Proximity |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setProximity(CustomInfoType.DetectionRule.Proximity.Builder builderForValue)
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.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
CustomInfoType.DetectionRule.Proximity.Builder |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomInfoType.DetectionRule.HotwordRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType.DetectionRule.HotwordRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |