public static final class ExcludeByHotword.Builder extends GeneratedMessageV3.Builder<ExcludeByHotword.Builder> implements ExcludeByHotwordOrBuilder
The rule to exclude findings based on a hotword. For record inspection of
tables, column names are considered hotwords. An example of this is to
exclude a finding if a BigQuery column matches a specific pattern.
Protobuf type google.privacy.dlp.v2.ExcludeByHotword
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExcludeByHotword.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExcludeByHotword build()
buildPartial()
public ExcludeByHotword buildPartial()
clear()
public ExcludeByHotword.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExcludeByHotword.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHotwordRegex()
public ExcludeByHotword.Builder clearHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExcludeByHotword.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProximity()
public ExcludeByHotword.Builder clearProximity()
Range of characters within which the entire hotword must reside.
The total length of the window cannot exceed 1000 characters.
The windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
clone()
public ExcludeByHotword.Builder clone()
Overrides
getDefaultInstanceForType()
public ExcludeByHotword getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHotwordRegex()
public CustomInfoType.Regex getHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
getHotwordRegexBuilder()
public CustomInfoType.Regex.Builder getHotwordRegexBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
getHotwordRegexOrBuilder()
public CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
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.
|
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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
Returns |
---|
Type | Description |
boolean | Whether the proximity field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExcludeByHotword other)
public ExcludeByHotword.Builder mergeFrom(ExcludeByHotword other)
public ExcludeByHotword.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExcludeByHotword.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeHotwordRegex(CustomInfoType.Regex value)
public ExcludeByHotword.Builder mergeHotwordRegex(CustomInfoType.Regex value)
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
mergeProximity(CustomInfoType.DetectionRule.Proximity value)
public ExcludeByHotword.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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExcludeByHotword.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExcludeByHotword.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHotwordRegex(CustomInfoType.Regex value)
public ExcludeByHotword.Builder setHotwordRegex(CustomInfoType.Regex value)
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
setHotwordRegex(CustomInfoType.Regex.Builder builderForValue)
public ExcludeByHotword.Builder setHotwordRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
setProximity(CustomInfoType.DetectionRule.Proximity value)
public ExcludeByHotword.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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
setProximity(CustomInfoType.DetectionRule.Proximity.Builder builderForValue)
public ExcludeByHotword.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 windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExcludeByHotword.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExcludeByHotword.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides