Class DiscoveryBigQueryFilter.Builder (3.47.0)

public static final class DiscoveryBigQueryFilter.Builder extends GeneratedMessageV3.Builder<DiscoveryBigQueryFilter.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryBigQueryFilter build()
Returns
Type Description
DiscoveryBigQueryFilter

buildPartial()

public DiscoveryBigQueryFilter buildPartial()
Returns
Type Description
DiscoveryBigQueryFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOtherTables()

public DiscoveryBigQueryFilter.Builder clearOtherTables()

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.Builder

clearTables()

public DiscoveryBigQueryFilter.Builder clearTables()

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
DiscoveryBigQueryFilter.Builder

clone()

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

getDefaultInstanceForType()

public DiscoveryBigQueryFilter getDefaultInstanceForType()
Returns
Type Description
DiscoveryBigQueryFilter

getDescriptorForType()

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

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.

getOtherTablesBuilder()

public DiscoveryBigQueryFilter.AllOtherBigQueryTables.Builder getOtherTablesBuilder()

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.Builder

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

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.

getTablesBuilder()

public BigQueryTableCollection.Builder getTablesBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryBigQueryFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryBigQueryFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryBigQueryFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeOtherTables(DiscoveryBigQueryFilter.AllOtherBigQueryTables value)

public DiscoveryBigQueryFilter.Builder mergeOtherTables(DiscoveryBigQueryFilter.AllOtherBigQueryTables value)

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;

Parameter
Name Description
value DiscoveryBigQueryFilter.AllOtherBigQueryTables
Returns
Type Description
DiscoveryBigQueryFilter.Builder

mergeTables(BigQueryTableCollection value)

public DiscoveryBigQueryFilter.Builder mergeTables(BigQueryTableCollection value)

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;

Parameter
Name Description
value BigQueryTableCollection
Returns
Type Description
DiscoveryBigQueryFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOtherTables(DiscoveryBigQueryFilter.AllOtherBigQueryTables value)

public DiscoveryBigQueryFilter.Builder setOtherTables(DiscoveryBigQueryFilter.AllOtherBigQueryTables value)

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;

Parameter
Name Description
value DiscoveryBigQueryFilter.AllOtherBigQueryTables
Returns
Type Description
DiscoveryBigQueryFilter.Builder

setOtherTables(DiscoveryBigQueryFilter.AllOtherBigQueryTables.Builder builderForValue)

public DiscoveryBigQueryFilter.Builder setOtherTables(DiscoveryBigQueryFilter.AllOtherBigQueryTables.Builder builderForValue)

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;

Parameter
Name Description
builderForValue DiscoveryBigQueryFilter.AllOtherBigQueryTables.Builder
Returns
Type Description
DiscoveryBigQueryFilter.Builder

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

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

setTables(BigQueryTableCollection value)

public DiscoveryBigQueryFilter.Builder setTables(BigQueryTableCollection value)

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;

Parameter
Name Description
value BigQueryTableCollection
Returns
Type Description
DiscoveryBigQueryFilter.Builder

setTables(BigQueryTableCollection.Builder builderForValue)

public DiscoveryBigQueryFilter.Builder setTables(BigQueryTableCollection.Builder builderForValue)

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;

Parameter
Name Description
builderForValue BigQueryTableCollection.Builder
Returns
Type Description
DiscoveryBigQueryFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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