Class BigQueryDiscoveryTarget.Builder (3.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDiscoveryTarget build()
Returns
TypeDescription
BigQueryDiscoveryTarget

buildPartial()

public BigQueryDiscoveryTarget buildPartial()
Returns
TypeDescription
BigQueryDiscoveryTarget

clear()

public BigQueryDiscoveryTarget.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BigQueryDiscoveryTarget.Builder

clearField(Descriptors.FieldDescriptor field)

public BigQueryDiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BigQueryDiscoveryTarget.Builder

clearFrequency()

public BigQueryDiscoveryTarget.Builder clearFrequency()
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryDiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder
Overrides

clone()

public BigQueryDiscoveryTarget.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryConditionsOrBuilder

getDefaultInstanceForType()

public BigQueryDiscoveryTarget getDefaultInstanceForType()
Returns
TypeDescription
BigQueryDiscoveryTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisabled()

public Disabled getDisabled()

Tables that match this filter will not have profiles created.

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

Returns
TypeDescription
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
TypeDescription
Disabled.Builder

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Tables that match this filter will not have profiles created.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryFilterOrBuilder

getFrequencyCase()

public BigQueryDiscoveryTarget.FrequencyCase getFrequencyCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the filter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDiscoveryGenerationCadence
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryConditions
Returns
TypeDescription
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
NameDescription
valueDisabled
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryFilter
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

mergeFrom(BigQueryDiscoveryTarget other)

public BigQueryDiscoveryTarget.Builder mergeFrom(BigQueryDiscoveryTarget other)
Parameter
NameDescription
otherBigQueryDiscoveryTarget
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BigQueryDiscoveryTarget.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryDiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDiscoveryGenerationCadence
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryGenerationCadence.Builder
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryConditions
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryBigQueryConditions.Builder
Returns
TypeDescription
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
NameDescription
valueDisabled
Returns
TypeDescription
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
NameDescription
builderForValueDisabled.Builder
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BigQueryDiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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