Package com.google.privacy.dlp.v2
Class ExcludeByHotword.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExcludeByHotword.Builder>
com.google.privacy.dlp.v2.ExcludeByHotword.Builder
- All Implemented Interfaces:
ExcludeByHotwordOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExcludeByHotword
public static final class ExcludeByHotword.Builder
extends com.google.protobuf.GeneratedMessage.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 it belongs to a BigQuery column that matches a specific pattern.Protobuf type
google.privacy.dlp.v2.ExcludeByHotword-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Regular expression pattern defining what qualifies as a hotword.Range of characters within which the entire hotword must reside.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRegular expression pattern defining what qualifies as a hotword.Regular expression pattern defining what qualifies as a hotword.Regular expression pattern defining what qualifies as a hotword.Range of characters within which the entire hotword must reside.Range of characters within which the entire hotword must reside.Range of characters within which the entire hotword must reside.booleanRegular expression pattern defining what qualifies as a hotword.booleanRange of characters within which the entire hotword must reside.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExcludeByHotword other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Regular expression pattern defining what qualifies as a hotword.Range of characters within which the entire hotword must reside.Regular expression pattern defining what qualifies as a hotword.setHotwordRegex(CustomInfoType.Regex.Builder builderForValue) Regular expression pattern defining what qualifies as a hotword.Range of characters within which the entire hotword must reside.setProximity(CustomInfoType.DetectionRule.Proximity.Builder builderForValue) Range of characters within which the entire hotword must reside.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExcludeByHotword.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExcludeByHotword.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExcludeByHotword.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExcludeByHotword.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExcludeByHotword.Builder>
-
mergeFrom
public ExcludeByHotword.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExcludeByHotword.Builder>- Throws:
IOException
-
hasHotwordRegex
public boolean hasHotwordRegex()Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;- Specified by:
hasHotwordRegexin interfaceExcludeByHotwordOrBuilder- Returns:
- Whether the hotwordRegex field is set.
-
getHotwordRegex
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;- Specified by:
getHotwordRegexin interfaceExcludeByHotwordOrBuilder- Returns:
- The hotwordRegex.
-
setHotwordRegex
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; -
setHotwordRegex
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; -
mergeHotwordRegex
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; -
clearHotwordRegex
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; -
getHotwordRegexBuilder
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; -
getHotwordRegexOrBuilder
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;- Specified by:
getHotwordRegexOrBuilderin interfaceExcludeByHotwordOrBuilder
-
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;- Specified by:
hasProximityin interfaceExcludeByHotwordOrBuilder- Returns:
- Whether the proximity field is set.
-
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;- Specified by:
getProximityin interfaceExcludeByHotwordOrBuilder- Returns:
- The proximity.
-
setProximity
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
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; -
mergeProximity
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; -
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; -
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
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;- Specified by:
getProximityOrBuilderin interfaceExcludeByHotwordOrBuilder
-