Class DiscoveryBigQueryFilter.Builder (3.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryBigQueryFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides

build()

public DiscoveryBigQueryFilter build()
Returns
TypeDescription
DiscoveryBigQueryFilter

buildPartial()

public DiscoveryBigQueryFilter buildPartial()
Returns
TypeDescription
DiscoveryBigQueryFilter

clear()

public DiscoveryBigQueryFilter.Builder clear()
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiscoveryBigQueryFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides

clearFilter()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryBigQueryFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryFilter.Builder

clone()

public DiscoveryBigQueryFilter.Builder clone()
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryBigQueryFilter getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryBigQueryFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiscoveryBigQueryFilter other)

public DiscoveryBigQueryFilter.Builder mergeFrom(DiscoveryBigQueryFilter other)
Parameter
NameDescription
otherDiscoveryBigQueryFilter
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryBigQueryFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryBigQueryFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryFilter.AllOtherBigQueryTables
Returns
TypeDescription
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
NameDescription
valueBigQueryTableCollection
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryBigQueryFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryBigQueryFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryFilter.AllOtherBigQueryTables
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryBigQueryFilter.AllOtherBigQueryTables.Builder
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

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

public DiscoveryBigQueryFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBigQueryTableCollection
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryTableCollection.Builder
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryBigQueryFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryBigQueryFilter.Builder
Overrides