Class DatabaseResourceCollection.Builder (3.48.0)

public static final class DatabaseResourceCollection.Builder extends GeneratedMessageV3.Builder<DatabaseResourceCollection.Builder> implements DatabaseResourceCollectionOrBuilder

Match database resources using regex filters. Examples of database resources are tables, views, and stored procedures.

Protobuf type google.privacy.dlp.v2.DatabaseResourceCollection

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatabaseResourceCollection build()
Returns
Type Description
DatabaseResourceCollection

buildPartial()

public DatabaseResourceCollection buildPartial()
Returns
Type Description
DatabaseResourceCollection

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeRegexes()

public DatabaseResourceCollection.Builder clearIncludeRegexes()

A collection of regular expressions to match a database resource against.

.google.privacy.dlp.v2.DatabaseResourceRegexes include_regexes = 1;

Returns
Type Description
DatabaseResourceCollection.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPattern()

public DatabaseResourceCollection.Builder clearPattern()
Returns
Type Description
DatabaseResourceCollection.Builder

clone()

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

getDefaultInstanceForType()

public DatabaseResourceCollection getDefaultInstanceForType()
Returns
Type Description
DatabaseResourceCollection

getDescriptorForType()

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

getIncludeRegexes()

public DatabaseResourceRegexes getIncludeRegexes()

A collection of regular expressions to match a database resource against.

.google.privacy.dlp.v2.DatabaseResourceRegexes include_regexes = 1;

Returns
Type Description
DatabaseResourceRegexes

The includeRegexes.

getIncludeRegexesBuilder()

public DatabaseResourceRegexes.Builder getIncludeRegexesBuilder()

A collection of regular expressions to match a database resource against.

.google.privacy.dlp.v2.DatabaseResourceRegexes include_regexes = 1;

Returns
Type Description
DatabaseResourceRegexes.Builder

getIncludeRegexesOrBuilder()

public DatabaseResourceRegexesOrBuilder getIncludeRegexesOrBuilder()

A collection of regular expressions to match a database resource against.

.google.privacy.dlp.v2.DatabaseResourceRegexes include_regexes = 1;

Returns
Type Description
DatabaseResourceRegexesOrBuilder

getPatternCase()

public DatabaseResourceCollection.PatternCase getPatternCase()
Returns
Type Description
DatabaseResourceCollection.PatternCase

hasIncludeRegexes()

public boolean hasIncludeRegexes()

A collection of regular expressions to match a database resource against.

.google.privacy.dlp.v2.DatabaseResourceRegexes include_regexes = 1;

Returns
Type Description
boolean

Whether the includeRegexes field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatabaseResourceCollection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseResourceCollection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type