public static final class CustomInfoType.DetectionRule.Proximity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.Proximity.Builder> implements CustomInfoType.DetectionRule.ProximityOrBuilder
Message for specifying a window around a finding to apply a detection rule.Protobuf type
google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximitygetAllFields, 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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomInfoType.DetectionRule.Proximity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.DetectionRule.Proximity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomInfoType.DetectionRule.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.Builder mergeFrom(CustomInfoType.DetectionRule.Proximity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.Proximity.Builder>public CustomInfoType.DetectionRule.Proximity.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.Proximity.Builder>IOExceptionpublic int getWindowBefore()
Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see [Hotword example: Set the match likelihood of a table column] (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values).
int32 window_before = 1;getWindowBefore in interface CustomInfoType.DetectionRule.ProximityOrBuilderpublic CustomInfoType.DetectionRule.Proximity.Builder setWindowBefore(int value)
Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see [Hotword example: Set the match likelihood of a table column] (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values).
int32 window_before = 1;value - The windowBefore to set.public CustomInfoType.DetectionRule.Proximity.Builder clearWindowBefore()
Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see [Hotword example: Set the match likelihood of a table column] (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values).
int32 window_before = 1;public int getWindowAfter()
Number of characters after the finding to consider.
int32 window_after = 2;getWindowAfter in interface CustomInfoType.DetectionRule.ProximityOrBuilderpublic CustomInfoType.DetectionRule.Proximity.Builder setWindowAfter(int value)
Number of characters after the finding to consider.
int32 window_after = 2;value - The windowAfter to set.public CustomInfoType.DetectionRule.Proximity.Builder clearWindowAfter()
Number of characters after the finding to consider.
int32 window_after = 2;public final CustomInfoType.DetectionRule.Proximity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.Proximity.Builder>public final CustomInfoType.DetectionRule.Proximity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.Proximity.Builder>Copyright © 2022 Google LLC. All rights reserved.