Class DatabaseResourceCollection (3.51.0)

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

INCLUDE_REGEXES_FIELD_NUMBER

public static final int INCLUDE_REGEXES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatabaseResourceCollection getDefaultInstance()
Returns
Type Description
DatabaseResourceCollection

getDescriptor()

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

newBuilder()

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

newBuilder(DatabaseResourceCollection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DatabaseResourceCollection getDefaultInstanceForType()
Returns
Type Description
DatabaseResourceCollection

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.

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

getParserForType()

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

getPatternCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 DatabaseResourceCollection.Builder newBuilderForType()
Returns
Type Description
DatabaseResourceCollection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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