Class DatabaseResourceRegexes.Builder (3.47.0)

public static final class DatabaseResourceRegexes.Builder extends GeneratedMessageV3.Builder<DatabaseResourceRegexes.Builder> implements DatabaseResourceRegexesOrBuilder

A collection of regular expressions to determine what database resources to match against.

Protobuf type google.privacy.dlp.v2.DatabaseResourceRegexes

Static Methods

getDescriptor()

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

Methods

addAllPatterns(Iterable<? extends DatabaseResourceRegex> values)

public DatabaseResourceRegexes.Builder addAllPatterns(Iterable<? extends DatabaseResourceRegex> values)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DatabaseResourceRegex>
Returns
Type Description
DatabaseResourceRegexes.Builder

addPatterns(DatabaseResourceRegex value)

public DatabaseResourceRegexes.Builder addPatterns(DatabaseResourceRegex value)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
value DatabaseResourceRegex
Returns
Type Description
DatabaseResourceRegexes.Builder

addPatterns(DatabaseResourceRegex.Builder builderForValue)

public DatabaseResourceRegexes.Builder addPatterns(DatabaseResourceRegex.Builder builderForValue)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
builderForValue DatabaseResourceRegex.Builder
Returns
Type Description
DatabaseResourceRegexes.Builder

addPatterns(int index, DatabaseResourceRegex value)

public DatabaseResourceRegexes.Builder addPatterns(int index, DatabaseResourceRegex value)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameters
Name Description
index int
value DatabaseResourceRegex
Returns
Type Description
DatabaseResourceRegexes.Builder

addPatterns(int index, DatabaseResourceRegex.Builder builderForValue)

public DatabaseResourceRegexes.Builder addPatterns(int index, DatabaseResourceRegex.Builder builderForValue)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameters
Name Description
index int
builderForValue DatabaseResourceRegex.Builder
Returns
Type Description
DatabaseResourceRegexes.Builder

addPatternsBuilder()

public DatabaseResourceRegex.Builder addPatternsBuilder()

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Returns
Type Description
DatabaseResourceRegex.Builder

addPatternsBuilder(int index)

public DatabaseResourceRegex.Builder addPatternsBuilder(int index)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceRegex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseResourceRegexes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

build()

public DatabaseResourceRegexes build()
Returns
Type Description
DatabaseResourceRegexes

buildPartial()

public DatabaseResourceRegexes buildPartial()
Returns
Type Description
DatabaseResourceRegexes

clear()

public DatabaseResourceRegexes.Builder clear()
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DatabaseResourceRegexes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseResourceRegexes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

clearPatterns()

public DatabaseResourceRegexes.Builder clearPatterns()

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Returns
Type Description
DatabaseResourceRegexes.Builder

clone()

public DatabaseResourceRegexes.Builder clone()
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

getDefaultInstanceForType()

public DatabaseResourceRegexes getDefaultInstanceForType()
Returns
Type Description
DatabaseResourceRegexes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPatterns(int index)

public DatabaseResourceRegex getPatterns(int index)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceRegex

getPatternsBuilder(int index)

public DatabaseResourceRegex.Builder getPatternsBuilder(int index)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceRegex.Builder

getPatternsBuilderList()

public List<DatabaseResourceRegex.Builder> getPatternsBuilderList()

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Returns
Type Description
List<Builder>

getPatternsCount()

public int getPatternsCount()

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Returns
Type Description
int

getPatternsList()

public List<DatabaseResourceRegex> getPatternsList()

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Returns
Type Description
List<DatabaseResourceRegex>

getPatternsOrBuilder(int index)

public DatabaseResourceRegexOrBuilder getPatternsOrBuilder(int index)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceRegexOrBuilder

getPatternsOrBuilderList()

public List<? extends DatabaseResourceRegexOrBuilder> getPatternsOrBuilderList()

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.DatabaseResourceRegexOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatabaseResourceRegexes other)

public DatabaseResourceRegexes.Builder mergeFrom(DatabaseResourceRegexes other)
Parameter
Name Description
other DatabaseResourceRegexes
Returns
Type Description
DatabaseResourceRegexes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseResourceRegexes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatabaseResourceRegexes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseResourceRegexes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

removePatterns(int index)

public DatabaseResourceRegexes.Builder removePatterns(int index)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceRegexes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseResourceRegexes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

setPatterns(int index, DatabaseResourceRegex value)

public DatabaseResourceRegexes.Builder setPatterns(int index, DatabaseResourceRegex value)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameters
Name Description
index int
value DatabaseResourceRegex
Returns
Type Description
DatabaseResourceRegexes.Builder

setPatterns(int index, DatabaseResourceRegex.Builder builderForValue)

public DatabaseResourceRegexes.Builder setPatterns(int index, DatabaseResourceRegex.Builder builderForValue)

A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1;

Parameters
Name Description
index int
builderForValue DatabaseResourceRegex.Builder
Returns
Type Description
DatabaseResourceRegexes.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DatabaseResourceRegexes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseResourceRegexes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseResourceRegexes.Builder
Overrides