Class DiscoveryBigQueryFilter (3.48.0)

public final class DiscoveryBigQueryFilter extends GeneratedMessageV3 implements DiscoveryBigQueryFilterOrBuilder

Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.

Protobuf type google.privacy.dlp.v2.DiscoveryBigQueryFilter

Static Fields

OTHER_TABLES_FIELD_NUMBER

public static final int OTHER_TABLES_FIELD_NUMBER
Field Value
Type Description
int

TABLES_FIELD_NUMBER

public static final int TABLES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryBigQueryFilter getDefaultInstance()
Returns
Type Description
DiscoveryBigQueryFilter

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoveryBigQueryFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DiscoveryBigQueryFilter getDefaultInstanceForType()
Returns
Type Description
DiscoveryBigQueryFilter

getFilterCase()

public DiscoveryBigQueryFilter.FilterCase getFilterCase()
Returns
Type Description
DiscoveryBigQueryFilter.FilterCase

getOtherTables()

public DiscoveryBigQueryFilter.AllOtherBigQueryTables getOtherTables()

Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;

Returns
Type Description
DiscoveryBigQueryFilter.AllOtherBigQueryTables

The otherTables.

getOtherTablesOrBuilder()

public DiscoveryBigQueryFilter.AllOtherBigQueryTablesOrBuilder getOtherTablesOrBuilder()

Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;

Returns
Type Description
DiscoveryBigQueryFilter.AllOtherBigQueryTablesOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTables()

public BigQueryTableCollection getTables()

A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.

.google.privacy.dlp.v2.BigQueryTableCollection tables = 1;

Returns
Type Description
BigQueryTableCollection

The tables.

getTablesOrBuilder()

public BigQueryTableCollectionOrBuilder getTablesOrBuilder()

A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.

.google.privacy.dlp.v2.BigQueryTableCollection tables = 1;

Returns
Type Description
BigQueryTableCollectionOrBuilder

hasOtherTables()

public boolean hasOtherTables()

Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;

Returns
Type Description
boolean

Whether the otherTables field is set.

hasTables()

public boolean hasTables()

A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.

.google.privacy.dlp.v2.BigQueryTableCollection tables = 1;

Returns
Type Description
boolean

Whether the tables 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 DiscoveryBigQueryFilter.Builder newBuilderForType()
Returns
Type Description
DiscoveryBigQueryFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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