Class DatabaseResourceCollection.Builder (3.56.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 Description
DatabaseResourceCollection.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeIncludeRegexes(DatabaseResourceRegexes value)

public DatabaseResourceCollection.Builder mergeIncludeRegexes(DatabaseResourceRegexes value)

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

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

Parameter
Name Description
value DatabaseResourceRegexes
Returns
Type Description
DatabaseResourceCollection.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeRegexes(DatabaseResourceRegexes value)

public DatabaseResourceCollection.Builder setIncludeRegexes(DatabaseResourceRegexes value)

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

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

Parameter
Name Description
value DatabaseResourceRegexes
Returns
Type Description
DatabaseResourceCollection.Builder

setIncludeRegexes(DatabaseResourceRegexes.Builder builderForValue)

public DatabaseResourceCollection.Builder setIncludeRegexes(DatabaseResourceRegexes.Builder builderForValue)

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

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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