Class DiscoveryBigQueryFilter (3.36.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
TypeDescription
int

TABLES_FIELD_NUMBER

public static final int TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiscoveryBigQueryFilter getDefaultInstance()
Returns
TypeDescription
DiscoveryBigQueryFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DiscoveryBigQueryFilter.Builder newBuilder()
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

newBuilder(DiscoveryBigQueryFilter prototype)

public static DiscoveryBigQueryFilter.Builder newBuilder(DiscoveryBigQueryFilter prototype)
Parameter
NameDescription
prototypeDiscoveryBigQueryFilter
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryBigQueryFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryBigQueryFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DiscoveryBigQueryFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryBigQueryFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryBigQueryFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryBigQueryFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryBigQueryFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryBigQueryFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DiscoveryBigQueryFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryBigQueryFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DiscoveryBigQueryFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryBigQueryFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DiscoveryBigQueryFilter> parser()
Returns
TypeDescription
Parser<DiscoveryBigQueryFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DiscoveryBigQueryFilter getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryBigQueryFilter

getFilterCase()

public DiscoveryBigQueryFilter.FilterCase getFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryFilter.AllOtherBigQueryTablesOrBuilder

getParserForType()

public Parser<DiscoveryBigQueryFilter> getParserForType()
Returns
TypeDescription
Parser<DiscoveryBigQueryFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the tables field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DiscoveryBigQueryFilter.Builder newBuilderForType()
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryBigQueryFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DiscoveryBigQueryFilter.Builder toBuilder()
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException