Class BigQueryDiscoveryTarget.Builder (3.47.0)

public static final class BigQueryDiscoveryTarget.Builder extends GeneratedMessageV3.Builder<BigQueryDiscoveryTarget.Builder> implements BigQueryDiscoveryTargetOrBuilder

Target used to match against for discovery with BigQuery tables

Protobuf type google.privacy.dlp.v2.BigQueryDiscoveryTarget

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDiscoveryTarget build()
Returns
Type Description
BigQueryDiscoveryTarget

buildPartial()

public BigQueryDiscoveryTarget buildPartial()
Returns
Type Description
BigQueryDiscoveryTarget

clear()

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

clearCadence()

public BigQueryDiscoveryTarget.Builder clearCadence()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
BigQueryDiscoveryTarget.Builder

clearConditions()

public BigQueryDiscoveryTarget.Builder clearConditions()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
BigQueryDiscoveryTarget.Builder

clearDisabled()

public BigQueryDiscoveryTarget.Builder clearDisabled()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
BigQueryDiscoveryTarget.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public BigQueryDiscoveryTarget.Builder clearFilter()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDiscoveryTarget.Builder

clearFrequency()

public BigQueryDiscoveryTarget.Builder clearFrequency()
Returns
Type Description
BigQueryDiscoveryTarget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCadence()

public DiscoveryGenerationCadence getCadence()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
DiscoveryGenerationCadence

The cadence.

getCadenceBuilder()

public DiscoveryGenerationCadence.Builder getCadenceBuilder()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
DiscoveryGenerationCadence.Builder

getCadenceOrBuilder()

public DiscoveryGenerationCadenceOrBuilder getCadenceOrBuilder()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
DiscoveryGenerationCadenceOrBuilder

getConditions()

public DiscoveryBigQueryConditions getConditions()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
DiscoveryBigQueryConditions

The conditions.

getConditionsBuilder()

public DiscoveryBigQueryConditions.Builder getConditionsBuilder()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
DiscoveryBigQueryConditions.Builder

getConditionsOrBuilder()

public DiscoveryBigQueryConditionsOrBuilder getConditionsOrBuilder()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
DiscoveryBigQueryConditionsOrBuilder

getDefaultInstanceForType()

public BigQueryDiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
BigQueryDiscoveryTarget

getDescriptorForType()

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

getDisabled()

public Disabled getDisabled()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
Disabled

The disabled.

getDisabledBuilder()

public Disabled.Builder getDisabledBuilder()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
Disabled.Builder

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
DisabledOrBuilder

getFilter()

public DiscoveryBigQueryFilter getFilter()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryBigQueryFilter

The filter.

getFilterBuilder()

public DiscoveryBigQueryFilter.Builder getFilterBuilder()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryBigQueryFilter.Builder

getFilterOrBuilder()

public DiscoveryBigQueryFilterOrBuilder getFilterOrBuilder()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryBigQueryFilterOrBuilder

getFrequencyCase()

public BigQueryDiscoveryTarget.FrequencyCase getFrequencyCase()
Returns
Type Description
BigQueryDiscoveryTarget.FrequencyCase

hasCadence()

public boolean hasCadence()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
boolean

Whether the cadence field is set.

hasConditions()

public boolean hasConditions()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
boolean

Whether the conditions field is set.

hasDisabled()

public boolean hasDisabled()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
boolean

Whether the disabled field is set.

hasFilter()

public boolean hasFilter()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCadence(DiscoveryGenerationCadence value)

public BigQueryDiscoveryTarget.Builder mergeCadence(DiscoveryGenerationCadence value)

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Parameter
Name Description
value DiscoveryGenerationCadence
Returns
Type Description
BigQueryDiscoveryTarget.Builder

mergeConditions(DiscoveryBigQueryConditions value)

public BigQueryDiscoveryTarget.Builder mergeConditions(DiscoveryBigQueryConditions value)

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Parameter
Name Description
value DiscoveryBigQueryConditions
Returns
Type Description
BigQueryDiscoveryTarget.Builder

mergeDisabled(Disabled value)

public BigQueryDiscoveryTarget.Builder mergeDisabled(Disabled value)

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Parameter
Name Description
value Disabled
Returns
Type Description
BigQueryDiscoveryTarget.Builder

mergeFilter(DiscoveryBigQueryFilter value)

public BigQueryDiscoveryTarget.Builder mergeFilter(DiscoveryBigQueryFilter value)

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DiscoveryBigQueryFilter
Returns
Type Description
BigQueryDiscoveryTarget.Builder

mergeFrom(BigQueryDiscoveryTarget other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCadence(DiscoveryGenerationCadence value)

public BigQueryDiscoveryTarget.Builder setCadence(DiscoveryGenerationCadence value)

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Parameter
Name Description
value DiscoveryGenerationCadence
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setCadence(DiscoveryGenerationCadence.Builder builderForValue)

public BigQueryDiscoveryTarget.Builder setCadence(DiscoveryGenerationCadence.Builder builderForValue)

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Parameter
Name Description
builderForValue DiscoveryGenerationCadence.Builder
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setConditions(DiscoveryBigQueryConditions value)

public BigQueryDiscoveryTarget.Builder setConditions(DiscoveryBigQueryConditions value)

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Parameter
Name Description
value DiscoveryBigQueryConditions
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setConditions(DiscoveryBigQueryConditions.Builder builderForValue)

public BigQueryDiscoveryTarget.Builder setConditions(DiscoveryBigQueryConditions.Builder builderForValue)

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Parameter
Name Description
builderForValue DiscoveryBigQueryConditions.Builder
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setDisabled(Disabled value)

public BigQueryDiscoveryTarget.Builder setDisabled(Disabled value)

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Parameter
Name Description
value Disabled
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setDisabled(Disabled.Builder builderForValue)

public BigQueryDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Parameter
Name Description
builderForValue Disabled.Builder
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(DiscoveryBigQueryFilter value)

public BigQueryDiscoveryTarget.Builder setFilter(DiscoveryBigQueryFilter value)

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DiscoveryBigQueryFilter
Returns
Type Description
BigQueryDiscoveryTarget.Builder

setFilter(DiscoveryBigQueryFilter.Builder builderForValue)

public BigQueryDiscoveryTarget.Builder setFilter(DiscoveryBigQueryFilter.Builder builderForValue)

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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