Class ExcludeByHotword (3.58.0)

public final class ExcludeByHotword extends GeneratedMessageV3 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

Static Fields

HOTWORD_REGEX_FIELD_NUMBER

public static final int HOTWORD_REGEX_FIELD_NUMBER
Field Value
Type Description
int

PROXIMITY_FIELD_NUMBER

public static final int PROXIMITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExcludeByHotword getDefaultInstance()
Returns
Type Description
ExcludeByHotword

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExcludeByHotword.Builder newBuilder()
Returns
Type Description
ExcludeByHotword.Builder

newBuilder(ExcludeByHotword prototype)

public static ExcludeByHotword.Builder newBuilder(ExcludeByHotword prototype)
Parameter
Name Description
prototype ExcludeByHotword
Returns
Type Description
ExcludeByHotword.Builder

parseDelimitedFrom(InputStream input)

public static ExcludeByHotword parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExcludeByHotword parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExcludeByHotword parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExcludeByHotword parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExcludeByHotword parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExcludeByHotword parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExcludeByHotword parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExcludeByHotword parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExcludeByHotword parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExcludeByHotword parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExcludeByHotword parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExcludeByHotword parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExcludeByHotword
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExcludeByHotword> parser()
Returns
Type Description
Parser<ExcludeByHotword>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExcludeByHotword getDefaultInstanceForType()
Returns
Type Description
ExcludeByHotword

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.

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

getParserForType()

public Parser<ExcludeByHotword> getParserForType()
Returns
Type Description
Parser<ExcludeByHotword>
Overrides

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;

Returns
Type Description
CustomInfoType.DetectionRule.Proximity

The proximity.

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;

Returns
Type Description
CustomInfoType.DetectionRule.ProximityOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExcludeByHotword.Builder newBuilderForType()
Returns
Type Description
ExcludeByHotword.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExcludeByHotword.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExcludeByHotword.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExcludeByHotword.Builder toBuilder()
Returns
Type Description
ExcludeByHotword.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException